Fixed some style bugs. Mainly, don't use ${.ALLSRC} in implicit rules.

This change should have been in rev.1.37.
This commit is contained in:
Bruce Evans 2002-03-17 09:53:21 +00:00
parent e0d83003c4
commit bb791077c7

View File

@ -391,10 +391,10 @@ SYMLINKS+= lib${LIB}_p.a ${LIBDIR}/libdes_p.a
.if !defined(NOPERL) && !defined(NO_PERL) && ${MACHINE_ARCH} == "i386"
CLEANFILES+= ${SRCS:M*.pl:S/.pl$/.cmt/} ${SRCS:M*.pl:S/.pl$/.s/}
.SUFFIXES: .pl .cmt
.pl.cmt:
perl -I${PERLPATH} ${.ALLSRC} elf ${CPUTYPE:Mi386:S/i//} > ${.TARGET}
perl -I${PERLPATH} ${.IMPSRC} elf ${CPUTYPE:Mi386:S/i//} > ${.TARGET}
.cmt.s:
tr -d "'" < ${.ALLSRC} > ${.TARGET}
tr -d "'" < ${.IMPSRC} > ${.TARGET}
.endif