xref: /freebsd/stand/ficl.mk (revision 123af6ec70016f5556da5972d4d63c7d175c06d3)
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=15000
19