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= 13CWARNFLAGS.jailparse.c= ${NO_WUNUSED_BUT_SET_VARIABLE} 14 15YFLAGS+=-v 16CFLAGS+=-I. -I${.CURDIR} 17 18# workaround for GNU ld (GNU Binutils) 2.33.1: 19# relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR2' 20# https://bugs.freebsd.org/242109 21.if defined(LINKER_TYPE) && ${LINKER_TYPE} == "bfd" && ${MACHINE} == "riscv" 22CFLAGS+=-Wl,--no-relax 23.endif 24 25.if ${MK_INET6_SUPPORT} != "no" 26CFLAGS+= -DINET6 27.endif 28.if ${MK_INET_SUPPORT} != "no" 29CFLAGS+= -DINET 30.endif 31 32CLEANFILES= y.output 33 34HAS_TESTS= 35SUBDIR.${MK_TESTS}+= tests 36 37.include <bsd.prog.mk> 38