#
# (C) 2011 by Michael Pounov <misho@openbsd-bg.org>
# AITNET ltd - Sofia/Bulgaria
#
# $Author: misho $
# $Id: Makefile.in,v 1.4.52.1 2024/08/19 15:43:52 misho Exp $
#
prefix = @prefix@
exec_prefix = @exec_prefix@
includedir = @includedir@
libdir = @libdir@
LIBS = @LIBS@
CC = @CC@
MKDEP = @MKDEP@
RANLIB = @RANLIB@
INC = ../inc
LIB = ../lib
LDADD = ${LIBS}
CFLAGS = -I. -I${INC} -Wall -fPIC @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}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>