diff options
author | ru <ru@FreeBSD.org> | 2002-04-11 14:49:32 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-04-11 14:49:32 +0000 |
commit | ff35a38e498354e38e28bc246a1341a8fe2fbf91 (patch) | |
tree | 1c681b5b383f077c693c56ae7f83f2733e507991 | |
parent | d2541f338708e5848c60f6c312b92eba89ae2735 (diff) | |
download | FreeBSD-src-ff35a38e498354e38e28bc246a1341a8fe2fbf91.zip FreeBSD-src-ff35a38e498354e38e28bc246a1341a8fe2fbf91.tar.gz |
I now don't seem to be able to reproduce the -DNOCLEAN buildworld
breakage with ioctl.c. The .depend file should track dependencies
just fine, and the worst we can have is to miss new ioctls.
But I still think it's a good idea to have -DNOCLEAN build produce
the same ioctl.c as it would without -DNOCLEAN.
Prodded for a long time by: bde
-rw-r--r-- | Makefile.inc1 | 4 | ||||
-rw-r--r-- | usr.bin/kdump/Makefile | 4 | ||||
-rw-r--r-- | usr.bin/truss/Makefile | 6 |
3 files changed, 5 insertions, 9 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 0ee0922..38e2c97 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -246,6 +246,10 @@ buildworld: @echo "--------------------------------------------------------------" .if !defined(NOCLEAN) rm -rf ${WORLDTMP} +.else + # XXX - These two can depend on any header file. + rm -f ${OBJTREE}${.CURDIR}/usr.bin/kdump/ioctl.c + rm -f ${OBJTREE}${.CURDIR}/usr.bin/truss/ioctl.c .endif .for _dir in ${USRDIRS} mkdir -p ${WORLDTMP}/${_dir} diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile index ddafcc0..cc7bfbe 100644 --- a/usr.bin/kdump/Makefile +++ b/usr.bin/kdump/Makefile @@ -7,11 +7,7 @@ SRCS= kdump.c ioctl.c subr.c .PATH: ${.CURDIR}/../ktrace CLEANFILES+=ioctl.c -.if make(depend) -ioctl.c: .PHONY -.else ioctl.c: mkioctls -.endif sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ${.TARGET} .include <bsd.prog.mk> diff --git a/usr.bin/truss/Makefile b/usr.bin/truss/Makefile index 9b43792..679f694 100644 --- a/usr.bin/truss/Makefile +++ b/usr.bin/truss/Makefile @@ -28,11 +28,7 @@ syscalls.h: syscalls.master /bin/sh ${.CURDIR}/../../sys/kern/makesyscalls.sh syscalls.master \ ${.CURDIR}/i386.conf -.if make(depend) -ioctl.c: .PHONY -.else -ioctl.c: ${.CURDIR}/../kdump/mkioctls -.endif +ioctl.c: ${.CURDIR}/../kdump/mkioctls sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include > ${.TARGET} .include <bsd.prog.mk> |