mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-29 12:03:03 +00:00
Attempt to fix the problem with -j builds, and du-uglify the asm code
generation and assembly targets. Help from: bde, obrien
This commit is contained in:
parent
0916708e8f
commit
50c83208db
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74243
@ -380,16 +380,12 @@ SYMLINKS+= lib${LIB}_p.a ${LIBDIR}/libdes_p.a
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
|
||||
.SUFFIXES: .o .pl
|
||||
.SUFFIXES: .po .pl
|
||||
.SUFFIXES: .So .pl
|
||||
.pl.o:
|
||||
perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
|
||||
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}
|
||||
|
||||
.pl.po:
|
||||
perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
|
||||
|
||||
.pl.So:
|
||||
perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
|
||||
.cmt.s:
|
||||
tr -d "'" < ${.ALLSRC} > ${.TARGET}
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user