Annotation of libelwix/src/Makefile.in, revision 1.4.2.1
1.1 misho 1: #
2: # (C) 2013 by Michael Pounov <misho@elwix.org>
3: # AITNET ltd - Sofia/Bulgaria
4: #
5: # $Author: misho $
1.4.2.1 ! misho 6: # $Id: Makefile.in,v 1.4 2013/12/15 22:54:41 misho Exp $
1.1 misho 7: #
8:
9: prefix = @prefix@
10: exec_prefix = @exec_prefix@
1.4.2.1 ! 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:
22: LDADD = ${LIBS}
23:
1.4.2.1 ! misho 24: CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
! 25: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
1.1 misho 26:
27: SRCS = elwix.c mem.c crc.c hash.c pelco.c str.c av.c regex.c \
1.4 misho 28: array.c sarray.c vars.c net.c patricia.c time.c pack.c \
29: pio.c
1.1 misho 30: OBJS = elwix.o mem.o crc.o hash.o pelco.o str.o av.o regex.o \
1.4 misho 31: array.o sarray.o vars.o net.o patricia.o time.o pack.o \
32: pio.o
1.1 misho 33: LIBSO = libelwix.so
34: LIBA = libelwix.a
35:
36: all: depend \
37: ${LIBA} \
38: ${LIBSO}
39:
40: depend:
41: ${MKDEP} ${CFLAGS} ${SRCS}
42:
43: clean:
44: @rm -f *.o *~ .depend
45:
46: install:
47:
48: .c.o:
49: ${CC} -c ${CFLAGS} $<
50:
51: ${LIBA}: ${OBJS}
52: ${AR} -rc ${LIB}/$@ ${OBJS}
53: ${RANLIB} ${LIB}/$@
54:
55: ${LIBSO}: ${OBJS}
56: ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>