mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
aefe30c543
Reviewed by: markj, arichardson Differential Revision: https://reviews.freebsd.org/D28083
26 lines
487 B
Makefile
26 lines
487 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE=runtime
|
|
PROG= cat
|
|
|
|
.ifdef BOOTSTRAPPING
|
|
# For the bootstrap cat we disable all wide char support to allow building
|
|
# on Linux/macOS
|
|
CFLAGS+=-DBOOTSTRAP_CAT
|
|
.endif
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.if ${MK_CASPER} != "no" && !defined(RESCUE) && !defined(BOOTSTRAPPING)
|
|
LIBADD+= casper
|
|
LIBADD+= cap_fileargs
|
|
LIBADD+= cap_net
|
|
CFLAGS+=-DWITH_CASPER
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|