File:
[ELWIX - Embedded LightWeight unIX -] /
libelwix /
src /
Makefile.in
Revision
1.6:
download - view:
text,
annotated -
select for diffs -
revision graph
Wed May 18 12:47:42 2016 UTC (8 years, 4 months ago) by
misho
Branches:
MAIN
CVS tags:
elwix4_5,
elwix4_4,
elwix4_3,
elwix4_2,
elwix4_1,
HEAD,
ELWIX4_4,
ELWIX4_3,
ELWIX4_2,
ELWIX4_1,
ELWIX4_0
version 4.0
1: #
2: # (C) 2013 by Michael Pounov <misho@elwix.org>
3: # AITNET ltd - Sofia/Bulgaria
4: #
5: # $Author: misho $
6: # $Id: Makefile.in,v 1.6 2016/05/18 12:47:42 misho Exp $
7: #
8:
9: prefix = @prefix@
10: exec_prefix = @exec_prefix@
11: includedir = @includedir@
12: libdir = @libdir@
13:
14: LIBS = @LIBS@
15:
16: CC = @CC@
17: RANLIB = @RANLIB@
18: MKDEP = @MKDEP@
19:
20: INC = ../inc
21: LIB = ../lib
22:
23: LDADD = ${LIBS}
24:
25: CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
26: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
27:
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
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>