Annotation of libaitrpc/src/Makefile.in, revision 1.4.8.4
1.1 misho 1: #
2: # (C) 2010 by Michael Pounov <misho@openbsd-bg.org>
3: # AITNET ltd - Sofia/Bulgaria
4: #
5: # $Author: misho $
1.4.8.4 ! misho 6: # $Id: Makefile.in,v 1.4.8.3 2015/07/02 22:20:48 misho Exp $
1.1 misho 7: #
8:
9: prefix = @prefix@
10: exec_prefix = @exec_prefix@
1.3 misho 11: includedir = @includedir@
12: libdir = @libdir@
1.1 misho 13:
14: LIBS = @LIBS@
15:
16: CC = @CC@
17: MKDEP = @MKDEP@
18:
19: INC = ../inc
20: LIB = ../lib
21:
1.2 misho 22: LDADD = -pthread ${LIBS}
1.1 misho 23:
1.3 misho 24: CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
25: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
1.1 misho 26:
1.4.8.1 misho 27: SRCS = aitrpc.c srv.c cli.c builtin.c lists.c blob.c blobcli.c
28: OBJS = aitrpc.o srv.o cli.o builtin.o lists.o blob.o blobcli.o
1.1 misho 29: LIBSO = libaitrpc.so
30: LIBA = libaitrpc.a
31:
1.4.8.1 misho 32: SRCS_CLI = aitrpc.c cli.c blobcli.c
33: OBJS_CLI = aitrpc.o cli.o blobcli.o
34: LIBSO_CLI = libaitrpc_cli.so
35: LIBA_CLI = libaitrpc_cli.a
36:
1.4.8.2 misho 37: all: allc
38:
39: depend: dependc
40:
41: allc: depend \
1.4.8.1 misho 42: ${LIBA_CLI} \
43: ${LIBSO_CLI}
1.1 misho 44:
1.4.8.3 misho 45: alls: depends \
1.4.8.2 misho 46: ${LIBA} \
47: ${LIBSO}
48:
49: dependc:
50: ${MKDEP} -a ${CFLAGS} ${SRCS_CLI}
51:
52: depends:
53: ${MKDEP} -a ${CFLAGS} ${SRCS}
1.1 misho 54:
55: clean:
56: @rm -f *.o *~ .depend
57:
58: install:
59:
1.4.8.4 ! misho 60: installs:
! 61:
1.1 misho 62: .c.o:
63: ${CC} -c ${CFLAGS} $<
64:
65: ${LIBA}: ${OBJS}
66: ${AR} -rc ${LIB}/$@ ${OBJS}
67: ${RANLIB} ${LIB}/$@
68:
69: ${LIBSO}: ${OBJS}
1.4 misho 70: ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
1.4.8.1 misho 71:
72: ${LIBA_CLI}: ${OBJS_CLI}
73: ${AR} -rc ${LIB}/$@ ${OBJS_CLI}
74: ${RANLIB} ${LIB}/$@
75:
76: ${LIBSO_CLI}: ${OBJS_CLI}
77: ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS_CLI} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>