File:  [ELWIX - Embedded LightWeight unIX -] / libaitcfg / src / Makefile.in
Revision 1.1.2.2: download - view: text, annotated - select for diffs - revision graph
Tue Sep 30 14:52:17 2008 UTC (15 years, 8 months ago) by misho
Branches: cfg3_0
small fix for 64bit

    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.2 2008/09/30 14:52:17 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 @CFLAGS@
   23: LDFLAGS = -L. -L${LIB} @LDFLAGS@
   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: 		${LIBSO}
   31: 
   32: depend:
   33: 	${MKDEP} ${CFLAGS} ${SRCS}
   34: 
   35: clean:
   36: 	@rm -f *.o *~ .depend
   37: 
   38: install:
   39: 
   40: .c.o:
   41: 	${CC} -c ${CFLAGS} $<
   42: 
   43: ${LIBSO}: ${OBJS}
   44: 	${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD}

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