Annotation of libaitrpc/src/Makefile.in, revision 1.2
1.1 misho 1: #
2: # (C) 2010 by Michael Pounov <misho@openbsd-bg.org>
3: # AITNET ltd - Sofia/Bulgaria
4: #
5: # $Author: misho $
1.2 ! misho 6: # $Id: Makefile.in,v 1.1.1.1.2.3 2010/06/23 15:07:15 misho Exp $
1.1 misho 7: #
8:
9: prefix = @prefix@
10: exec_prefix = @exec_prefix@
11:
12: LIBS = @LIBS@
13:
14: CC = @CC@
15: MKDEP = @MKDEP@
16:
17: INC = ../inc
18: LIB = ../lib
19:
1.2 ! misho 20: LDADD = -pthread ${LIBS}
1.1 misho 21:
22: CFLAGS = -I. -I${INC} -Wall @CFLAGS@
23: LDFLAGS = -L. -L${LIB} @LDFLAGS@
24:
1.2 ! misho 25: SRCS = aitrpc.c srv.c cli.c builtin.c lists.c blob.c
! 26: OBJS = aitrpc.o srv.o cli.o builtin.o lists.o blob.o
1.1 misho 27: LIBSO = libaitrpc.so
28: LIBA = libaitrpc.a
29:
30: all: depend \
31: ${LIBA} \
32: ${LIBSO}
33:
34: depend:
35: ${MKDEP} ${CFLAGS} ${SRCS}
36:
37: clean:
38: @rm -f *.o *~ .depend
39:
40: install:
41:
42: .c.o:
43: ${CC} -c ${CFLAGS} $<
44:
45: ${LIBA}: ${OBJS}
46: ${AR} -rc ${LIB}/$@ ${OBJS}
47: ${RANLIB} ${LIB}/$@
48:
49: ${LIBSO}: ${OBJS}
50: ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>