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