2 SRCS
= bsdcat.c cmdline.c
6 DPADD
= ${LIBARCHIVE} ${LIBBZ2} ${LIBLZMA} ${LIBMD} ${LIBZ}
7 LDADD
= -larchive
-lbz2
-llzma
-lmd
-lz
9 CONTRIBDIR
= ${.CURDIR
}/..
/..
/contrib
/libarchive
/cat
10 .PATH
: ${CONTRIBDIR} ${CONTRIBDIR}/..
/libarchive_fe
11 LIBARCHIVE_VERSION
!= cat
${CONTRIBDIR}/..
/build
/version
12 VERSION
!= echo
$$((${LIBARCHIVE_VERSION} / 1000000)).
$$((${LIBARCHIVE_VERSION} / 1000 % 1000)).
$$((${LIBARCHIVE_VERSION} % 1000))
13 CFLAGS
+= -I
${.CURDIR
}/..
/..
/lib
/libarchive
-I
${CONTRIBDIR} -I
${CONTRIBDIR}/..
/libarchive_fe
14 CFLAGS
+= -DPLATFORM_CONFIG_H
=\"config.h
\"
15 CFLAGS
+= -DBSDCAT_VERSION_STRING
=\"${VERSION}\"
17 .
include <bsd.prog.mk
>