14b88c807SRodney W. Grimes 2dd2b763aSEnji Cooper.include <src.opts.mk> 3dd2b763aSEnji Cooper 4ac2875faSGlen BarberPACKAGE=runtime 54b88c807SRodney W. GrimesPROG= cat 64b88c807SRodney W. Grimes 7a33ee411SAlex Richardson.ifdef BOOTSTRAPPING 8a33ee411SAlex Richardson# For the bootstrap cat we disable all wide char support to allow building 9a33ee411SAlex Richardson# on Linux/macOS 10a33ee411SAlex RichardsonCFLAGS+=-DBOOTSTRAP_CAT 11a33ee411SAlex Richardson.endif 12a33ee411SAlex Richardson 13d511b20aSEnji CooperHAS_TESTS= 144b330699SEnji CooperSUBDIR.${MK_TESTS}+= tests 15dd2b763aSEnji Cooper 16b7ab6832SMariusz Zaborski# Temporary disable building cat with Casper. 17b7ab6832SMariusz Zaborski#.if ${MK_CASPER} != "no" && !defined(RESCUE) && !defined(BOOTSTRAPPING) 18b7ab6832SMariusz Zaborski#LIBADD+= casper 19b7ab6832SMariusz Zaborski#LIBADD+= cap_fileargs 20b7ab6832SMariusz Zaborski#LIBADD+= cap_net 21b7ab6832SMariusz Zaborski#CFLAGS+=-DWITH_CASPER 22b7ab6832SMariusz Zaborski#.endif 23c1b12377SKai-Yang Chen# Depend on Makefile to rebuild when WITH_CASPER changes 24e83b514aSEd Mastecat.o: Makefile 25aefe30c5SMariusz Zaborski 264b88c807SRodney W. Grimes.include <bsd.prog.mk> 27