1994-05-26 06:18:55 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
1999-08-27 23:15:48 +00:00
|
|
|
# $FreeBSD$
|
1994-05-26 06:18:55 +00:00
|
|
|
|
2015-01-04 22:37:44 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2016-02-09 16:58:50 +00:00
|
|
|
PACKAGE=runtime
|
1994-05-26 06:18:55 +00:00
|
|
|
PROG= cat
|
|
|
|
|
2020-01-16 14:15:00 +00:00
|
|
|
.ifdef BOOTSTRAPPING
|
|
|
|
# For the bootstrap cat we disable all wide char support to allow building
|
|
|
|
# on Linux/macOS
|
|
|
|
CFLAGS+=-DBOOTSTRAP_CAT
|
|
|
|
.endif
|
|
|
|
|
2017-08-02 08:50:42 +00:00
|
|
|
HAS_TESTS=
|
2017-08-02 08:35:51 +00:00
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
2015-01-04 22:37:44 +00:00
|
|
|
|
2021-01-17 00:04:28 +00:00
|
|
|
# Temporary disable building cat with Casper.
|
|
|
|
#.if ${MK_CASPER} != "no" && !defined(RESCUE) && !defined(BOOTSTRAPPING)
|
|
|
|
#LIBADD+= casper
|
|
|
|
#LIBADD+= cap_fileargs
|
|
|
|
#LIBADD+= cap_net
|
|
|
|
#CFLAGS+=-DWITH_CASPER
|
|
|
|
#.endif
|
2021-01-15 20:22:29 +00:00
|
|
|
|
1994-05-26 06:18:55 +00:00
|
|
|
.include <bsd.prog.mk>
|