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, 7 months ago) by misho
Branches: cfg3_0
small fix for 64bit

#
# (C) 2008 by Michael Pounov <misho@openbsd-bg.org>
#   AITNET ltd - Sofia/Bulgaria
#
# $Author: misho $
# $Id: Makefile.in,v 1.1.2.2 2008/09/30 14:52:17 misho Exp $
#

prefix = @prefix@
exec_prefix = @exec_prefix@

LIBS = @LIBS@

CC = @CC@
MKDEP = @MKDEP@

INC = ../inc
LIB = ../lib

LDADD = ${LIBS}

CFLAGS = -I. -I${INC} -g @CFLAGS@
LDFLAGS = -L. -L${LIB} @LDFLAGS@

SRCS = aitcfg.c parse.c tools.c queue.c
OBJS = aitcfg.o parse.o tools.o queue.o
LIBSO = libaitcfg.so

all: depend \
		${LIBSO}

depend:
	${MKDEP} ${CFLAGS} ${SRCS}

clean:
	@rm -f *.o *~ .depend

install:

.c.o:
	${CC} -c ${CFLAGS} $<

${LIBSO}: ${OBJS}
	${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD}

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