Makefile revision 191192
11556Srgrimes# $FreeBSD: head/usr.bin/cpio/Makefile 191192 2009-04-17 04:04:57Z kientzle $ 21556Srgrimes 31556Srgrimes.include <bsd.own.mk> 41556Srgrimes 51556SrgrimesPROG= bsdcpio 61556SrgrimesBSDCPIO_VERSION_STRING=2.7.0 71556SrgrimesSRCS= cpio.c cmdline.c err.c matching.c pathmatch.c 81556SrgrimesWARNS?= 6 91556SrgrimesDPADD= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2} 101556SrgrimesCFLAGS+= -DBSDCPIO_VERSION_STRING=\"${BSDCPIO_VERSION_STRING}\" 111556SrgrimesCFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\" 121556SrgrimesLDADD+= -larchive -lz -lbz2 -lmd -lcrypto 131556Srgrimes 141556Srgrimes.if ${MK_GNU_CPIO} != "yes" 151556SrgrimesSYMLINKS=bsdcpio ${BINDIR}/cpio 161556SrgrimesMLINKS= bsdcpio.1 cpio.1 171556Srgrimes.endif 181556Srgrimes 191556Srgrimes.PHONY: check test 201556Srgrimes 211556Srgrimescheck test: $(PROG) bsdcpio.1.gz 221556Srgrimes cd ${.CURDIR}/test && make clean test 231556Srgrimes 241556Srgrimes.include <bsd.prog.mk> 251556Srgrimes