xref: /freebsd/bin/cat/Makefile (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
1
2.include <src.opts.mk>
3
4PACKAGE=runtime
5PROG=	cat
6
7.ifdef BOOTSTRAPPING
8# For the bootstrap cat we disable all wide char support to allow building
9# on Linux/macOS
10CFLAGS+=-DBOOTSTRAP_CAT
11.endif
12
13HAS_TESTS=
14SUBDIR.${MK_TESTS}+= tests
15
16# Temporary disable building cat with Casper.
17#.if ${MK_CASPER} != "no" && !defined(RESCUE) && !defined(BOOTSTRAPPING)
18#LIBADD+=        casper
19#LIBADD+=        cap_fileargs
20#LIBADD+=        cap_net
21#CFLAGS+=-DWITH_CASPER
22#.endif
23# Depend on Makefile to rebuild when WITH_CASPER changes
24cat.o:	Makefile
25
26.include <bsd.prog.mk>
27