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