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