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 21CFLAGS+=-Wl,--no-relax 22 23.if ${MK_INET6_SUPPORT} != "no" 24CFLAGS+= -DINET6 25.endif 26.if ${MK_INET_SUPPORT} != "no" 27CFLAGS+= -DINET 28.endif 29 30CLEANFILES= y.output 31 32HAS_TESTS= 33SUBDIR.${MK_TESTS}+= tests 34 35.include <bsd.prog.mk> 36