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