1 2.include <src.opts.mk> 3 4PROG= jail 5MAN= jail.8 jail.conf.5 6SRCS= jail.c command.c config.c state.c jailp.h jaillex.l jailparse.y y.tab.h 7 8LIBADD= jail kvm util 9 10PACKAGE=jail 11 12NO_WMISSING_VARIABLE_DECLARATIONS= 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