Catch attempts to queue to unregistered ISRs
[dragonfly.git] / sys / boot / ficl / Makefile
CommitLineData
984263bc 1# $FreeBSD: src/sys/boot/ficl/Makefile,v 1.17.2.6 2002/07/19 18:46:28 ru Exp $
1de703da 2# $DragonFly: src/sys/boot/ficl/Makefile,v 1.2 2003/06/17 04:28:17 dillon Exp $
984263bc
MD
3#
4.PATH: ${.CURDIR}/${MACHINE_ARCH}
5BASE_SRCS= dict.c ficl.c math64.c stack.c vm.c words.c
6SRCS= ${BASE_SRCS} sysdep.c softcore.c
7CLEANFILES= softcore.c testmain testmain.o
8.if ${MACHINE_ARCH} == "alpha"
9CFLAGS+= -mno-fp-regs
10.endif
11.if ${MACHINE_ARCH} == "i386"
12CFLAGS+= -mpreferred-stack-boundary=2
13.endif
14.ifmake testmain
15CFLAGS+= -DTESTMAIN -D_TESTMAIN
16SRCS+= testmain.c
17PROG= testmain
18.include <bsd.prog.mk>
19.else
20LIB= ficl
21INTERNALLIB= yes
22SRCS+= loader.c
23.include <bsd.lib.mk>
24.endif
25
26# Standard softwords
27SOFTWORDS= softcore.fr jhlocal.fr marker.fr freebsd.fr ficllocal.fr \
28 ifbrack.fr
29# Optional OO extension softwords
30#SOFTWORDS+= oo.fr classes.fr
31
32.PATH: ${.CURDIR}/softwords
33CFLAGS+= -I${.CURDIR} -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR}/../common -DFICL_TRACE
34
35softcore.c: ${SOFTWORDS} softcore.awk
36 (cd ${.CURDIR}/softwords; cat ${SOFTWORDS} \
37 | awk -f softcore.awk -v datestamp="`LC_ALL=C date`") > ${.TARGET}
38
39