1 # $MirOS: contrib/hosted/fwcf/Makefile.inc,v 1.10 2007/05/08 21:52:53 tg Exp $
2 # This file is part of the FreeWRT project. FreeWRT is copyrighted
3 # material, please see the LICENCE file in the top-level directory
4 # or at http://www.freewrt.org/licence for details.
12 . if exists(${.CURDIR}/../lib/${__objdir})
13 DPADD+= ${.CURDIR}/../lib/${__objdir}/libfwcf.a
14 LDADD+= -L${.CURDIR}/../lib/${__objdir} -lfwcf
16 DPADD+= ${.CURDIR}/../lib/libfwcf.a
17 LDADD+= -L${.CURDIR}/../lib -lfwcf
21 CPPFLAGS+= -I${.CURDIR}/..
26 COMPRESSORS+= c_null.c
27 COMPRESSORS+= c_zlib.c
28 CPPFLAGS+= -DZCONST=const
30 COMPRESSORS+= c_lzo1x1.c
31 MKDEP+= -I${.CURDIR}/../bundled
32 CFLAGS_c_lzo1x1.o+= -I${.CURDIR}/../bundled -Wno-undef
36 CFLAGS_sys_bsd.o+= -DRND_DISABLE
40 .if ${UNAME_S} == "OpenBSD"
41 . for _i in ${_CFLADD}
42 CFLAGS+= ${CFLAGS_${_i}}