1.include <src.opts.mk> 2 3PROG= jail 4MAN= jail.8 jail.conf.5 5SRCS= jail.c command.c config.c state.c jailp.h jaillex.l jailparse.y y.tab.h 6 7LIBADD= jail kvm util 8 9PACKAGE=jail 10 11NO_WMISSING_VARIABLE_DECLARATIONS= 12CWARNFLAGS.jailparse.c= ${NO_WUNUSED_BUT_SET_VARIABLE} 13 14YFLAGS+=-v 15CFLAGS+=-I. -I${.CURDIR} 16 17# workaround for GNU ld (GNU Binutils) 2.33.1: 18# relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR2' 19# https://bugs.freebsd.org/242109 20.if defined(LINKER_TYPE) && ${LINKER_TYPE} == "bfd" && ${MACHINE} == "riscv" 21CFLAGS+=-Wl,--no-relax 22.endif 23 24.if ${MK_INET6_SUPPORT} != "no" 25CFLAGS+= -DINET6 26.endif 27.if ${MK_INET_SUPPORT} != "no" 28CFLAGS+= -DINET 29.endif 30 31CLEANFILES= y.output 32 33HAS_TESTS= 34SUBDIR.${MK_TESTS}+= tests 35 36.include <bsd.prog.mk> 37