From 51b913eb2ff91adfe8cd5e417759a6057c5a8a21 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 13 Nov 2008 16:17:55 +0000 Subject: XBitTorrent --- Makefile.inc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Makefile.inc (limited to 'Makefile.inc') diff --git a/Makefile.inc b/Makefile.inc new file mode 100644 index 0000000..ae40db6 --- /dev/null +++ b/Makefile.inc @@ -0,0 +1,28 @@ +# $Id$ + +.PATH: ${.CURDIR}/.. +CFLAGS+= -I${.CURDIR}/.. + +CFLAGS+= -DMMAP -DFAILURE +#DEBUG= -DDEBUG +#DEBUG= -DDEBUGTRACKER +WARNINGS= yes + +CDIAGFLAGS+= -Wall -Wpointer-arith \ + -Wstrict-prototypes -Wmissing-prototypes \ + -ggdb +LDFLAGS+= -pg +CFLAGS+= -pg +#CDIAGFLAGS+= -Wconversion -ansi -pedantic + +.include + +.if exists(${.CURDIR}/../lib/${__objdir}) +LDADD+= -L${.CURDIR}/../lib/${__objdir} -lxbt +DPADD+= ${.CURDIR}/../lib/${__objdir}/libxbt.a +.else +LDADD+= -L${.CURDIR}/../lib -lxbt +DPADD+= ${.CURDIR}/../lib/libxbt.a +.endif +LDADD+= -lcrypto +DPADD+= ${LIBCRYPTO} -- cgit v1.2.3