From owner-freebsd-current Thu Mar 23 09:21:57 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA15341 for current-outgoing; Thu, 23 Mar 1995 09:21:57 -0800 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id JAA15330; Thu, 23 Mar 1995 09:21:56 -0800 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA18720; Thu, 23 Mar 95 10:15:35 MST From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9503231715.AA18720@cs.weber.edu> Subject: Re: Make World Times and a question about shared libs / make all To: hsu@freefall.cdrom.com (Jeffrey Hsu) Date: Thu, 23 Mar 95 10:15:34 MST Cc: rgrimes@gndrsh.aac.dev.com, current@freefall.cdrom.com In-Reply-To: <199503231112.DAA08205@freefall.cdrom.com> from "Jeffrey Hsu" at Mar 23, 95 03:12:09 am X-Mailer: ELM [version 2.4dev PL52] Sender: current-owner@FreeBSD.org Precedence: bulk > The one I really want to clean up is the installation of header > files, that causes more things to rebuild than anything to do > with the libraries. > > Yes! Yes! Yes! I've been thinking about this too. It's really > painful to have to recompile everything just because install is too dumb > to not update the mtime if the source and target are the same. I'd say that this had to do with using install directly at all instead of having the xxx/foo.h target depend on the yyy/foo.h source. In other words, it's a dependency issue. Part of this is the fact that there is not an include dir built in somewhere besides the system include directory, and the system include directory is (incorrectly) being use to build things in the build tree. This is also a problem for cross-compilation. The kernel build seems unable to take precompiled object files into account when sources are unavailable. This is necessary for the provision of binary-only pieces (like commercial drivers). The kernel build also seems to lack a dependency graph for the rebuilding of some objects based on optioning things in, or the delete/config/make_depend/make dance wouldn't be necessary. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.