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