summaryrefslogtreecommitdiff
path: root/package/cfgfs/src/unfwcf/Makefile
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/cfgfs/src/unfwcf/Makefile
Initial import
Diffstat (limited to 'package/cfgfs/src/unfwcf/Makefile')
-rw-r--r--package/cfgfs/src/unfwcf/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/cfgfs/src/unfwcf/Makefile b/package/cfgfs/src/unfwcf/Makefile
new file mode 100644
index 000000000..678482ad4
--- /dev/null
+++ b/package/cfgfs/src/unfwcf/Makefile
@@ -0,0 +1,28 @@
+# $MirOS: contrib/hosted/fwcf/unfwcf/Makefile,v 1.14 2006/09/26 10:25:06 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= unfwcf
+SRCS= ${PROG}.c ${COMPRESSORS} sys_bsd.c
+NOMAN= yes
+DPADD+= ${LIBZ}
+LDADD+= -lz
+CLEANFILES+= ${.CURDIR}/test.out ${.CURDIR}/tesz.out \
+ ${.CURDIR}/test.nil ${.CURDIR}/tesz.nil
+
+test: ${PROG}
+ ./${PROG} -d <${.CURDIR}/../mkfwcf/test.out >${.CURDIR}/test.out
+ ./${PROG} -d <${.CURDIR}/../mkfwcf/tesz.out >${.CURDIR}/tesz.out
+ ./${PROG} -d <${.CURDIR}/../mkfwcf/test.nil >${.CURDIR}/test.nil
+ ./${PROG} -d <${.CURDIR}/../mkfwcf/tesz.nil >${.CURDIR}/tesz.nil
+ ./${PROG} -i ${.CURDIR}/../mkfwcf/test.out out.test
+ ./${PROG} -i ${.CURDIR}/../mkfwcf/tesz.out out.tesz
+
+.include <bsd.prog.mk>
+
+clean cleandir: clean-local
+
+clean-local:
+ -rm -rf out.test out.tesz