Annotation of libelwix/src/Makefile.in, revision 1.9.16.1
1.1 misho 1: #
2: # (C) 2013 by Michael Pounov <misho@elwix.org>
3: # AITNET ltd - Sofia/Bulgaria
4: #
5: # $Author: misho $
1.9.16.1! misho 6: # $Id: Makefile.in,v 1.9 2022/01/06 15:13:01 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.6 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 \
1.9.16.1! misho 29: array.c sarray.c vars.c net.c time.c pack.c pio.c json.c \
1.9 misho 30: iov.c index.c
1.5 misho 31: OBJS = elwix.o mem.o crc.o crc_tbl.o hash.o pelco.o str.o av.o regex.o \
1.9.16.1! misho 32: array.o sarray.o vars.o net.o time.o pack.o pio.o json.o \
1.9 misho 33: iov.o index.o
1.1 misho 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>