File:
[ELWIX - Embedded LightWeight unIX -] /
libelwix /
src /
Makefile.in
Revision
1.10:
download - view:
text,
annotated -
select for diffs -
revision graph
Mon Jan 22 15:24:28 2024 UTC (5 months, 1 week ago) by
misho
Branches:
MAIN
CVS tags:
elwix5_9,
elwix5_12,
elwix5_11,
elwix5_10,
HEAD,
ELWIX5_9,
ELWIX5_8,
ELWIX5_11,
ELWIX5_10
Version 5.8
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.10 2024/01/22 15:24:28 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 time.c pack.c pio.c json.c \
30: iov.c index.c patricia.c
31: OBJS = elwix.o mem.o crc.o crc_tbl.o hash.o pelco.o str.o av.o regex.o \
32: array.o sarray.o vars.o net.o time.o pack.o pio.o json.o \
33: iov.o index.o patricia.o
34: LIBSO = libelwix.so
35: LIBA = libelwix.a
36:
37: all: depend \
38: ${LIBA} \
39: ${LIBSO}
40:
41: depend:
42: ${MKDEP} ${CFLAGS} ${SRCS}
43:
44: clean:
45: @rm -f *.o *~ .depend
46:
47: install:
48:
49: .c.o:
50: ${CC} -c ${CFLAGS} $<
51:
52: ${LIBA}: ${OBJS}
53: ${AR} -rc ${LIB}/$@ ${OBJS}
54: ${RANLIB} ${LIB}/$@
55:
56: ${LIBSO}: ${OBJS}
57: ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>