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