1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1998-11-03 06:11:35 +00:00
|
|
|
#
|
1999-11-23 15:55:28 +00:00
|
|
|
.PATH: ${.CURDIR}/${MACHINE_ARCH}
|
|
|
|
|
1998-11-03 06:11:35 +00:00
|
|
|
LIB= ficl
|
|
|
|
NOPROFILE= yes
|
|
|
|
INTERNALLIB= yes
|
|
|
|
INTERNALSTATICLIB= yes
|
1999-11-23 15:55:28 +00:00
|
|
|
BASE_SRCS= dict.c ficl.c math64.c stack.c sysdep.c vm.c words.c
|
|
|
|
SRCS= ${BASE_SRCS} softcore.c
|
1998-11-04 03:42:16 +00:00
|
|
|
CLEANFILES= softcore.c testmain
|
1998-11-03 06:11:35 +00:00
|
|
|
|
|
|
|
# Standard softwords
|
1999-09-29 04:43:16 +00:00
|
|
|
SOFTWORDS= softcore.fr jhlocal.fr marker.fr freebsd.fr ficllocal.fr \
|
|
|
|
ifbrack.fr
|
1998-11-03 06:11:35 +00:00
|
|
|
# Optional OO extension softwords
|
|
|
|
#SOFTWORDS+= oo.fr classes.fr
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/softwords
|
1999-11-23 15:24:30 +00:00
|
|
|
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/${MACHINE_ARCH} -DFICL_TRACE
|
1998-11-03 06:11:35 +00:00
|
|
|
|
1999-01-18 19:05:27 +00:00
|
|
|
softcore.c: ${SOFTWORDS} softcore.awk
|
|
|
|
(cd ${.CURDIR}/softwords; cat ${SOFTWORDS} | awk -f softcore.awk) > ${.TARGET}
|
1998-11-03 06:11:35 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
|
1999-11-23 15:24:30 +00:00
|
|
|
CFLAGS+= -DTESTMAIN
|
|
|
|
|
|
|
|
testmain: ${.CURDIR}/testmain.c ${OBJS}
|
|
|
|
cc -o ${.TARGET} ${CFLAGS} ${.CURDIR}/testmain.c ${OBJS}
|
1998-11-04 03:42:16 +00:00
|
|
|
|