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