xref: /freebsd/bin/cat/Makefile (revision efe014e6b177ba1b0d70f7df751f5066d4eafe9b)
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# Depend on Makefile to rebiuld when WITH_CASPER changes
26cat.o:	Makefile
27
28.include <bsd.prog.mk>
29