Minor cleanup

Remove ancient comment about words to maybe add to the builds as
softwords. We're not going to bring them in, so delete the noise.
Also, check to see if HAVE_PNP is defined rather than if its value is
true.

Sponsored by: Netflix
This commit is contained in:
Warner Losh 2017-10-30 23:14:53 +00:00
parent a54409db16
commit 89ec162979

View File

@ -13,7 +13,7 @@ CLEANFILES= softcore.c testmain testmain.o
(${MACHINE_CPUARCH} == "amd64" && defined(FICL32))
CFLAGS+= -march=i386
.endif
.if HAVE_PNP
.if defined(HAVE_PNP)
CFLAGS+= -DHAVE_PNP
.endif
.include <bsd.stand.mk>
@ -32,8 +32,6 @@ INTERNALLIB=
.PATH: ${FICLSRC}/softwords
SOFTWORDS= softcore.fr jhlocal.fr marker.fr freebsd.fr ficllocal.fr \
ifbrack.fr
# Optional OO extension softwords
#SOFTWORDS+= oo.fr classes.fr
softcore.c: ${SOFTWORDS} softcore.awk
(cd ${FICLSRC}/softwords; cat ${SOFTWORDS} \