xref: /freebsd/stand/ficl.mk (revision 8e9740b62e950b40dcf7dbe729855be14450d40d)
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