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