Makefile 943 B

123456789101112131415161718192021222324252627
  1. # $MirOS: contrib/hosted/fwcf/unfwcf/Makefile,v 1.14 2006/09/26 10:25:06 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.
  5. PROG= unfwcf
  6. SRCS= ${PROG}.c ${COMPRESSORS} sys_bsd.c
  7. NOMAN= yes
  8. DPADD+= ${LIBZ}
  9. LDADD+= -lz
  10. CLEANFILES+= ${.CURDIR}/test.out ${.CURDIR}/tesz.out \
  11. ${.CURDIR}/test.nil ${.CURDIR}/tesz.nil
  12. test: ${PROG}
  13. ./${PROG} -d <${.CURDIR}/../mkfwcf/test.out >${.CURDIR}/test.out
  14. ./${PROG} -d <${.CURDIR}/../mkfwcf/tesz.out >${.CURDIR}/tesz.out
  15. ./${PROG} -d <${.CURDIR}/../mkfwcf/test.nil >${.CURDIR}/test.nil
  16. ./${PROG} -d <${.CURDIR}/../mkfwcf/tesz.nil >${.CURDIR}/tesz.nil
  17. ./${PROG} -i ${.CURDIR}/../mkfwcf/test.out out.test
  18. ./${PROG} -i ${.CURDIR}/../mkfwcf/tesz.out out.tesz
  19. .include <bsd.prog.mk>
  20. clean cleandir: clean-local
  21. clean-local:
  22. -rm -rf out.test out.tesz