Annotation of libaitrpc/src/Makefile.in, revision 1.3
1.1 misho 1: #
2: # (C) 2010 by Michael Pounov <misho@openbsd-bg.org>
3: # AITNET ltd - Sofia/Bulgaria
4: #
5: # $Author: misho $
1.3 ! misho 6: # $Id: Makefile.in,v 1.2.54.1 2014/01/21 16:04:54 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.2 misho 27: SRCS = aitrpc.c srv.c cli.c builtin.c lists.c blob.c
28: OBJS = aitrpc.o srv.o cli.o builtin.o lists.o blob.o
1.1 misho 29: LIBSO = libaitrpc.so
30: LIBA = libaitrpc.a
31:
32: all: depend \
33: ${LIBA} \
34: ${LIBSO}
35:
36: depend:
37: ${MKDEP} ${CFLAGS} ${SRCS}
38:
39: clean:
40: @rm -f *.o *~ .depend
41:
42: install:
43:
44: .c.o:
45: ${CC} -c ${CFLAGS} $<
46:
47: ${LIBA}: ${OBJS}
48: ${AR} -rc ${LIB}/$@ ${OBJS}
49: ${RANLIB} ${LIB}/$@
50:
51: ${LIBSO}: ${OBJS}
52: ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>