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, 7 months ago) by misho
Branches: cfg3_0
added changes

#
# (C) 2008 by Michael Pounov <misho@openbsd-bg.org>
#   AITNET ltd - Sofia/Bulgaria
#
# $Author: misho $
# $Id: Makefile.in,v 1.1.2.1 2008/09/30 14:33:36 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
LDFLAGS = -L. -L${LIB}

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

all: depend \
		${OBJS} \
		${LIBSO}

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

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

install:

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

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

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