Annotation of libaitmqtt/src/Makefile.in, revision 1.2
1.1 misho 1: #
2: # (C) 2011 AITnet - Sofia/Bulgaria - <misho@openbsd-bg.org>
3: # by Michael Pounov <misho@elwix.org>
4: #
5: # $Author: misho $
1.2 ! misho 6: # $Id: Makefile.in,v 1.1.1.1.2.3 2012/05/03 08:21:51 misho Exp $
1.1 misho 7: #
8: prefix = @prefix@
9: exec_prefix = @exec_prefix@
10:
11: LIBS = @LIBS@
12:
13: AR = @AR@
14: CC = @CC@
15: MKDEP = @MKDEP@
16: RANLIB = @RANLIB@
17:
18: INC = ../inc
19: LIB = ../lib
20:
21: LDADD = ${LIBS}
22:
1.2 ! misho 23: CFLAGS = -I. -I${INC} -DAPI_SERVER_SIDE -DAPI_CLIENT_SIDE @CFLAGS@
1.1 misho 24: LDFLAGS = -L. -L${LIB} @LDFLAGS@
25:
26:
1.2 ! misho 27: SRCS = aitmqtt.c conn.c pub.c sub.c srvside.c cliside.c cmds.c
! 28: OBJS = aitmqtt.o conn.o pub.o sub.o srvside.o cliside.o cmds.o
1.1 misho 29: LIBA = libaitmqtt.a
30: LIBSO = libaitmqtt.so
31:
32:
33: all: depend \
34: ${LIBA} \
35: ${LIBSO}
36:
37: depend:
38: ${MKDEP} ${CFLAGS} ${SRCS}
39:
40: clean:
41: @rm -f *.o .depend *~
42:
43: install:
44:
45: .o:
46: ${CC} -c ${CFLAGS} $<
47:
48: ${LIBA}: ${OBJS}
49: ${AR} -rc ${LIB}/$@ ${OBJS}
50: ${RANLIB} ${LIB}/$@
51:
52: ${LIBSO}: ${OBJS}
53: ${CC} ${LDFLAGS} -shared -nostartfiles -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>