xref: /freebsd/stand/ficl.mk (revision 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
1# $FreeBSD$
2
3# Common flags to build FICL related files
4
5.if ${MACHINE_CPUARCH} == "amd64" && ${DO32:U0} == 1
6FICL_CPUARCH=	i386
7.else
8FICL_CPUARCH=	${MACHINE_CPUARCH}
9.endif
10
11.if ${MACHINE_CPUARCH} == "amd64" && ${DO32:U0} == 0
12CFLAGS+=	-fPIC
13.endif
14
15CFLAGS+=	-I${FICLSRC} -I${FICLSRC}/${FICL_CPUARCH} -I${LDRSRC}
16CFLAGS+=	-DBF_DICTSIZE=30000
17
18.include	"${BOOTSRC}/veriexec.mk"
19