From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/cfgfs/src/fwcf.helper/Makefile | 51 ++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 package/cfgfs/src/fwcf.helper/Makefile (limited to 'package/cfgfs/src/fwcf.helper/Makefile') diff --git a/package/cfgfs/src/fwcf.helper/Makefile b/package/cfgfs/src/fwcf.helper/Makefile new file mode 100644 index 000000000..882c0d486 --- /dev/null +++ b/package/cfgfs/src/fwcf.helper/Makefile @@ -0,0 +1,51 @@ +# $MirOS: contrib/hosted/fwcf/fwcf.helper/Makefile,v 1.9 2007/03/13 18:14:31 tg Exp $ +#- +# This file is part of the FreeWRT project. FreeWRT is copyrighted +# material, please see the LICENCE file in the top-level directory +# or at http://www.freewrt.org/licence for details. + +PROG= fwcf.helper +SRCS= tool.c sys_bsd.c +CFLAGS_tool.o+= -DSMALL +_CFLADD+= tool.o +NOMAN= Yes +SRCS+= compress.c +SRCS+= cpr_get.c +SRCS+= cpr_list.c +SRCS+= cpr_lsth.c +SRCS+= ft_creat.c +SRCS+= ft_pack.c +SRCS+= ft_packm.c +SRCS+= fts_subs.c +SRCS+= header.c +SRCS+= minilzop.c +SRCS+= unwraps.c +SRCS+= wraps.c +CLEANFILES+= ${.CURDIR}/test.out ${.CURDIR}/test.nil + +LIB= # don't need, thanks + +.ifdef COMPRESSOR_ZLIB +SRCS+= c_zlib.c +DPADD+= ${LIBZ} +LDADD+= -lz +.else +SRCS+= c_lzo1x1.c +.endif + +test: ${PROG} + ./${PROG} -M ${.CURDIR}/../mkfwcf/CVS >${.CURDIR}/test.out + ./${PROG} -Me >${.CURDIR}/test.nil +# ./${PROG} -U out.test <${.CURDIR}/../mkfwcf/test.out +.ifdef COMPRESSOR_ZLIB + ./${PROG} -U out.tesz <${.CURDIR}/../mkfwcf/tesz.out +.else + ./${PROG} -U out.tesL <${.CURDIR}/../mkfwcf/tesL.out +.endif + +.include + +clean cleandir: clean-local + +clean-local: + -rm -rf out.test out.tesz out.tesL -- cgit v1.2.3