File:  [ELWIX - Embedded LightWeight unIX -] / libaitcfg / src / Makefile.in
Revision 1.6: download - view: text, annotated - select for diffs - revision graph
Mon Apr 14 19:58:21 2014 UTC (10 years, 1 month ago) by misho
Branches: MAIN
CVS tags: cfg7_7, HEAD, CFG7_6
version 7.6

    1: #
    2: # (C) 2008 by Michael Pounov <misho@openbsd-bg.org>
    3: #   AITNET ltd - Sofia/Bulgaria
    4: #
    5: # $Author: misho $
    6: # $Id: Makefile.in,v 1.6 2014/04/14 19:58:21 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 = aitcfg.c parse.c queue.c pwd.c pq.c
   28: OBJS = aitcfg.o parse.o queue.o pwd.o pq.o
   29: LIBSO = libaitcfg.so
   30: LIBA = libaitcfg.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>