1# $FreeBSD: head/sys/boot/userboot/ficl/Makefile 259913 2013-12-26 11:32:39Z dim $
| 1# $FreeBSD: head/sys/boot/userboot/ficl/Makefile 287227 2015-08-27 23:46:42Z imp $
|
2# 3.include <bsd.own.mk> 4MK_SSP= no 5 6.PATH: ${.CURDIR}/../../ficl 7.PATH: ${.CURDIR}/../../ficl/${MACHINE_CPUARCH} 8BASE_SRCS= dict.c ficl.c fileaccess.c float.c loader.c math64.c \ 9 prefix.c search.c stack.c tools.c vm.c words.c 10 11SRCS= ${BASE_SRCS} sysdep.c softcore.c 12CLEANFILES= softcore.c testmain testmain.o
| 2# 3.include <bsd.own.mk> 4MK_SSP= no 5 6.PATH: ${.CURDIR}/../../ficl 7.PATH: ${.CURDIR}/../../ficl/${MACHINE_CPUARCH} 8BASE_SRCS= dict.c ficl.c fileaccess.c float.c loader.c math64.c \ 9 prefix.c search.c stack.c tools.c vm.c words.c 10 11SRCS= ${BASE_SRCS} sysdep.c softcore.c 12CLEANFILES= softcore.c testmain testmain.o
|
13CFLAGS+= -ffreestanding -fPIC 14.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 15#CFLAGS+= -march=i386 16CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 17.endif 18.if ${MACHINE_CPUARCH} == "i386" 19CFLAGS.gcc+= -mpreferred-stack-boundary=2 20CFLAGS+= -mno-sse3 21.endif 22.if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_CPUARCH} == "arm" 23CFLAGS+= -msoft-float 24.endif 25.if ${MACHINE} == "pc98" 26CFLAGS+= -Os -DPC98 27.endif
| |
28.if HAVE_PNP 29CFLAGS+= -DHAVE_PNP 30.endif
| 13.if HAVE_PNP 14CFLAGS+= -DHAVE_PNP 15.endif
|
| 16.include <bsd.stand.mk>
|
31.ifmake testmain 32CFLAGS+= -DTESTMAIN -D_TESTMAIN 33SRCS+= testmain.c 34PROG= testmain 35.include <bsd.prog.mk> 36.else 37LIB= ficl 38INTERNALLIB=
--- 36 unchanged lines hidden --- | 17.ifmake testmain 18CFLAGS+= -DTESTMAIN -D_TESTMAIN 19SRCS+= testmain.c 20PROG= testmain 21.include <bsd.prog.mk> 22.else 23LIB= ficl 24INTERNALLIB=
--- 36 unchanged lines hidden --- |