File:  [ELWIX - Embedded LightWeight unIX -] / libelwix / src / Makefile.in
Revision 1.2.16.1: download - view: text, annotated - select for diffs - revision graph
Fri Jun 28 08:39:41 2013 UTC (10 years, 11 months ago) by misho
Branches: elwix1_9
Diff to: branchpoint 1.2: preferred, unified
initial commit for new feature

    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.2.16.1 2013/06/28 08:39:41 misho Exp $
    7: #
    8: 
    9: prefix = @prefix@
   10: exec_prefix = @exec_prefix@
   11: 
   12: LIBS = @LIBS@
   13: 
   14: CC = @CC@
   15: MKDEP = @MKDEP@
   16: 
   17: INC = ../inc
   18: LIB = ../lib
   19: 
   20: LDADD = ${LIBS}
   21: 
   22: CFLAGS = -I. -I${INC} -Wall @CFLAGS@
   23: LDFLAGS = -L. -L${LIB} @LDFLAGS@
   24: 
   25: SRCS = elwix.c mem.c crc.c hash.c pelco.c str.c av.c regex.c \
   26:        array.c sarray.c vars.c net.c patricia.c time.c pack.c
   27: OBJS = elwix.o mem.o crc.o hash.o pelco.o str.o av.o regex.o \
   28:        array.o sarray.o vars.o net.o patricia.o time.o pack.o
   29: LIBSO = libelwix.so
   30: LIBA = libelwix.a
   31: 
   32: all: depend \
   33: 		${LIBA} \
   34: 		${LIBSO}
   35: 
   36: depend:
   37: 	${MKDEP} ${CFLAGS} ${SRCS}
   38: 
   39: clean:
   40: 	@rm -f *.o *~ .depend
   41: 
   42: install:
   43: 
   44: .c.o:
   45: 	${CC} -c ${CFLAGS} $<
   46: 
   47: ${LIBA}: ${OBJS}
   48: 	${AR} -rc ${LIB}/$@ ${OBJS}
   49: 	${RANLIB} ${LIB}/$@
   50: 
   51: ${LIBSO}: ${OBJS}
   52: 	${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>