File:  [ELWIX - Embedded LightWeight unIX -] / libelwix / src / Makefile.in
Revision 1.9: download - view: text, annotated - select for diffs - revision graph
Thu Jan 6 15:13:01 2022 UTC (2 years, 4 months ago) by misho
Branches: MAIN
CVS tags: elwix5_8, elwix5_7, elwix5_6, elwix5_5, elwix5_4, elwix5_3, elwix5_2, elwix5_1, HEAD, ELWIX5_7, ELWIX5_6, ELWIX5_5, ELWIX5_4, ELWIX5_3, ELWIX5_2, ELWIX5_1, ELWIX5_0
Version 5.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.9 2022/01/06 15:13:01 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 json.c \
   30:        iov.c index.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 patricia.o time.o pack.o pio.o json.o \
   33:        iov.o index.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>