Makefile revision 329183
1# $FreeBSD: stable/11/stand/ficl/Makefile 329183 2018-02-12 20:51:28Z kevans $ 2# 3 4.include <bsd.init.mk> 5.include "${BOOTSRC}/ficl.mk" 6 7.PATH: ${FICLSRC} ${FICLSRC}/${FICL_CPUARCH} 8 9BASE_SRCS= dict.c ficl.c fileaccess.c float.c loader.c math64.c \ 10 prefix.c search.c stack.c tools.c vm.c words.c 11 12SRCS= ${BASE_SRCS} sysdep.c softcore.c 13CLEANFILES+= softcore.c testmain testmain.o 14 15.include <bsd.stand.mk> 16.ifmake testmain 17CFLAGS+= -DTESTMAIN -D_TESTMAIN 18SRCS+= testmain.c 19PROG= testmain 20.include <bsd.prog.mk> 21.else 22LIB= ficl 23.include <bsd.lib.mk> 24.endif 25 26# Standard softwords 27.PATH: ${FICLSRC}/softwords 28SOFTWORDS= softcore.fr jhlocal.fr marker.fr freebsd.fr ficllocal.fr \ 29 ifbrack.fr 30 31softcore.c: ${SOFTWORDS} softcore.awk 32 (cd ${FICLSRC}/softwords; cat ${SOFTWORDS} \ 33 | awk -f softcore.awk -v datestamp="`LC_ALL=C date`") > ${.TARGET} 34