#
# (C) 2011 by Michael Pounov <misho@openbsd-bg.org>
# AITNET ltd - Sofia/Bulgaria
#
# $Author: misho $
# $Id: Makefile.in,v 1.1.1.1.8.1 2012/01/08 01:32:12 misho Exp $
#
prefix = @prefix@
exec_prefix = @exec_prefix@
LIBS = @LIBS@
CC = @CC@
MKDEP = @MKDEP@
RANLIB = @RANLIB@
INC = ../inc
LIB = ../lib
LDADD = ${LIBS}
CFLAGS = -I. -I${INC} -g @CFLAGS@
LDFLAGS = -L. -L${LIB} @LDFLAGS@
SRCS = aitsched.c hooks.c tasks.c
OBJS = aitsched.o hooks.o tasks.o
LIBSO = libaitsched.so
LIBA = libaitsched.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 -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>