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