dtrace: Address KMSAN warnings in dtrace_disx86
[freebsd/src.git] / stand / ficl / Makefile
blobfe4ee03974b19d41e01cec43136e696dc821787d
3 .include <bsd.init.mk>
4 .include "${BOOTSRC}/ficl.mk"
6 .PATH: ${FICLSRC} ${FICLSRC}/${FICL_CPUARCH}
8 BASE_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
11 SRCS= ${BASE_SRCS} sysdep.c softcore.c
12 CLEANFILES+= softcore.c testmain testmain.o
14 CFLAGS.gfx_loader.c += -I${SRCTOP}/sys/teken
15 CFLAGS.gfx_loader.c += -I${SRCTOP}/contrib/pnglite
16 .ifmake testmain
17 CFLAGS= -DTESTMAIN -D_TESTMAIN
18 CFLAGS+= -I${FICLSRC} -I${FICLSRC}/${FICL_CPUARCH} -I${LDRSRC}
19 SRCS+= testmain.c
20 PROG= testmain
21 .include <bsd.prog.mk>
22 .else
23 LIB= ficl
24 BASE_SRCS+= gfx_loader.c # Not TESTMAINable
25 .include <bsd.lib.mk>
26 .endif
28 # Standard softwords
29 .PATH: ${FICLSRC}/softwords
30 SOFTWORDS= softcore.fr jhlocal.fr marker.fr freebsd.fr ficllocal.fr \
31 ifbrack.fr
33 softcore.c: ${SOFTWORDS} softcore.awk
34 (cd ${FICLSRC}/softwords; cat ${SOFTWORDS} \
35 | awk -f softcore.awk -v datestamp="`LC_ALL=C date`") > ${.TARGET}