diff options
author | phk <phk@FreeBSD.org> | 1996-05-09 11:30:51 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-05-09 11:30:51 +0000 |
commit | 229b3aa014005af4ac9ba99750b8a6c53e023d02 (patch) | |
tree | 8652c288575bd0c3174e3028d54efebfcc35615b /lib/libc/sys/Makefile.inc | |
parent | 0f600e3b3639c4d0d645e43e9b3790d659fdfbbc (diff) | |
download | FreeBSD-src-229b3aa014005af4ac9ba99750b8a6c53e023d02.zip FreeBSD-src-229b3aa014005af4ac9ba99750b8a6c53e023d02.tar.gz |
Make rules reentrant.
Diffstat (limited to 'lib/libc/sys/Makefile.inc')
-rw-r--r-- | lib/libc/sys/Makefile.inc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc index 0e23be3..411c3d9 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -1,5 +1,5 @@ # @(#)Makefile.inc 8.1 (Berkeley) 6/17/93 -# $Id: $ +# $Id: Makefile.inc,v 1.17 1996/05/07 23:16:38 wosch Exp $ # sys sources .PATH: ${.CURDIR}/${MACHINE}/sys ${.CURDIR}/sys @@ -44,16 +44,16 @@ ${ASM}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @${ECHO} creating ${.PREFIX}.o @printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o - @${LD} -x -r ${.PREFIX}.o - @mv -f a.out ${.PREFIX}.o + @${LD} -o ${.PREFIX}.tmp -x -r ${.PREFIX}.o + @mv -f ${.PREFIX}.tmp ${.PREFIX}.o PASM= ${ASM:.o=.po} ${PASM}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @${ECHO} creating ${.PREFIX}.po @printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po - @${LD} -x -r ${.PREFIX}.po - @mv -f a.out ${.PREFIX}.po + @${LD} -o ${.PREFIX}.tmp -x -r ${.PREFIX}.po + @mv -f ${.PREFIX}.tmp ${.PREFIX}.po SASM= ${ASM:.o=.so} ${SASM}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -65,16 +65,16 @@ ${PSEUDO}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @${ECHO} creating ${.PREFIX}.o @printf '#include "SYS.h"\nPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o - @${LD} -x -r ${.PREFIX}.o - @mv -f a.out ${.PREFIX}.o + @${LD} -o ${.PREFIX}.tmp -x -r ${.PREFIX}.o + @mv -f ${.PREFIX}.tmp ${.PREFIX}.o PPSEUDO=${PSEUDO:.o=.po} ${PPSEUDO}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @${ECHO} creating ${.PREFIX}.po @printf '#include "SYS.h"\nPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po - @${LD} -x -r ${.PREFIX}.po - @mv -f a.out ${.PREFIX}.po + @${LD} -o ${.PREFIX}.tmp -x -r ${.PREFIX}.po + @mv -f ${.PREFIX}.tmp ${.PREFIX}.po SPSEUDO=${PSEUDO:.o=.so} ${SPSEUDO}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h |