File:  [ELWIX - Embedded LightWeight unIX -] / libaitcfg / src / Makefile.in
Revision 1.1.2.1: download - view: text, annotated - select for diffs - revision graph
Tue Sep 30 14:33:36 2008 UTC (15 years, 8 months ago) by misho
Branches: cfg3_0
added changes

    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.1.2.1 2008/09/30 14:33:36 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} -g
   23: LDFLAGS = -L. -L${LIB}
   24: 
   25: SRCS = aitcfg.c parse.c tools.c queue.c
   26: OBJS = aitcfg.o parse.o tools.o queue.o
   27: LIBSO = libaitcfg.so
   28: 
   29: all: depend \
   30: 		${OBJS} \
   31: 		${LIBSO}
   32: 
   33: depend:
   34: 	${MKDEP} ${CFLAGS} ${SRCS}
   35: 
   36: clean:
   37: 	@rm -f *.o *~ .depend
   38: 
   39: install:
   40: 
   41: .c.o:
   42: 	${CC} -c ${CFLAGS} $<
   43: 
   44: ${LIBSO}:
   45: 	${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD}

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