1# $FreeBSD$ 2 3# Common flags to build FICL related files 4 5.include "defs.mk" 6 7.if ${MACHINE_CPUARCH} == "amd64" && ${DO32:U0} == 1 8FICL_CPUARCH= i386 9.elif ${MACHINE_ARCH:Mmips64*} != "" 10FICL_CPUARCH= mips64 11.else 12FICL_CPUARCH= ${MACHINE_CPUARCH} 13.endif 14 15.PATH: ${FICLSRC} ${FICLSRC}/${FICL_CPUARCH} 16 17.if ${MACHINE_CPUARCH} == "amd64" && ${DO32:U0} == 0 18CFLAGS+= -fPIC 19.endif 20 21CFLAGS+= -I${FICLSRC} -I${FICLSRC}/${FICL_CPUARCH} -I${LDRSRC} 22CFLAGS+= -DBOOT_FORTH 23CFLAGS+= -DBF_DICTSIZE=15000 24