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