xref: /freebsd/bin/cat/Makefile (revision 8aac90f18aef7c9eea906c3ff9a001ca7b94f375)
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