File:  [ELWIX - Embedded LightWeight unIX -] / libelwix / src / Makefile.in
Revision 1.4.2.2: download - view: text, annotated - select for diffs - revision graph
Wed Jan 29 10:23:41 2014 UTC (10 years, 4 months ago) by misho
Branches: elwix2_7
Diff to: branchpoint 1.4: preferred, unified
add new file

    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.4.2.2 2014/01/29 10:23:41 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: MKDEP = @MKDEP@
   18: 
   19: INC = ../inc
   20: LIB = ../lib
   21: 
   22: LDADD = ${LIBS}
   23: 
   24: CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
   25: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
   26: 
   27: SRCS = elwix.c mem.c crc.c crc_tbl.c hash.c pelco.c str.c av.c regex.c \
   28:        array.c sarray.c vars.c net.c patricia.c time.c pack.c pio.c
   29: OBJS = elwix.o mem.o crc.o crc_tbl.c hash.o pelco.o str.o av.o regex.o \
   30:        array.o sarray.o vars.o net.o patricia.o time.o pack.o pio.o
   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>