#
# (C) 2010 by Michael Pounov <misho@openbsd-bg.org>
# AITNET ltd - Sofia/Bulgaria
#
# $Author: misho $
# $Id: Makefile.in,v 1.1.1.1 2010/03/24 16:00:15 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} @CFLAGS@
LDFLAGS = -L. -L${LIB} @LDFLAGS@
SRCS = aitsync.c file.c tool.c zc.c patch.c
OBJS = aitsync.o file.o tool.o zc.o patch.o
LIBA = libaitsync.a
LIBSO = libaitsync.so
all: depend \
${LIBA} \
${LIBSO}
depend:
${MKDEP} ${CFLAGS} ${SRCS}
clean:
@rm -f *.o .depend *~
install:
.c.o:
${CC} ${CFLAGS} -c $<
${LIBA}: ${OBJS}
${AR} -rc ${LIB}/$@ ${OBJS}
${RANLIB} ${LIB}/$@
${LIBSO}: ${OBJS}
${CC} ${LDFLAGS} -o ${LIB}/$@ -shared -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>