#
# (C) 2008 by Michael Pounov <misho@openbsd-bg.org>
# AITNET ltd - Sofia/Bulgaria
#
# $Author: misho $
# $Id: Makefile.in,v 1.4 2012/07/22 22:13:48 misho Exp $
#
prefix = @prefix@
exec_prefix = @exec_prefix@
CC = @CC@
MKDEP = @MKDEP@
LIBS = @LIBS@
INC = ../inc
LIB = ../lib
LDADD = ${LIBS}
CFLAGS = -I. -I${INC} -g @CFLAGS@
LDFLAGS = -L. -L${LIB} @LDFLAGS@
SRCS = aitsess.c sess.c
OBJS = aitsess.o sess.o
LIBSO = libaitsess.so
LIBA = libaitsess.a
all: depend \
${LIBA} \
${LIBSO}
depend:
${MKDEP} ${CFLAGS} ${SRCS}
clean:
@rm -f *.o *~ .depend
install:
.c.o:
${CC} -c ${CFLAGS} $<
${LIBA}: ${OBJS}
${AR} -rc ${LIB}/$@ ${OBJS}
${RANLIB} ${LIB}/$@
${LIBSO}: ${OBJS}
${CC} ${LDFLAGS} -shared -nostartfiles -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>