From owner-cvs-all Sat Dec 5 08:17:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA18736 for cvs-all-outgoing; Sat, 5 Dec 1998 08:17:01 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from sicily.odyssey.cs.cmu.edu (SICILY.ODYSSEY.CS.CMU.EDU [128.2.185.138]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA18730; Sat, 5 Dec 1998 08:16:56 -0800 (PST) (envelope-from rvb+@sicily.odyssey.cs.cmu.edu) To: "Jordan K. Hubbard" Cc: Mike Smith , Greg Lehey , Warner Losh , Steve Kargl , "Robert V. Baron" , wollman@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: Requiring make depend (was: cvs commit: src/sys/sys bus.h bus_private.h conf.h devicestat.h module.h src/sys/kern bus_if.m device_if.m kern_con) References: <3033.912832437@zippy.cdrom.com> From: "Robert V. Baron" Date: 05 Dec 1998 11:16:36 -0500 In-Reply-To: "Jordan K. Hubbard"'s message of Fri, 04 Dec 1998 20:33:57 -0800 Message-ID: Lines: 21 X-Mailer: Gnus v5.4.46/Emacs 19.34 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk I hate to find work for you ... "Jordan K. Hubbard" writes: > Were I to find myself feeling exceedingly bored one day, bored enough > to take on a controversial topic for no particularly good reason, I'd But here's the plan. Suppose you do an -MD the first time when you compile the files. This will generate .d files for every file run thru cpp. If you rolled all these files into a .depend file, you'd have a .depend file generated in real time (and with all the right flags handed to every compilation -- sometimes a problem). Now you might want to post process the .d files a bit to remove absolute paths and ... (call this program md.) So now you go and make again and it needs to recompile something. You get new .d files and you run md again to merge the current .d files into the .depend. Suppose you abort (^C) the compilation ... the md processing must get done so hang it as a dependency on .EXIT: And you can make depend no more ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message