I've got the start of this patch ready, but was working on expanding it. Basically, instead of src/config/Makefile.$SYS_NAME, I build a common src/config/Makefile.config that has all the vars defined in it.
I was thinking - since this Makefile.config.in has all the vars in it, including the rest that are typically substituted into the individual makefiles, why not just strip them out of the individual makefiles entirely. Then the top of each makefile would have just: srcdir=@srcdir@ include @TOP_OBJDIR@/src/config/Makefile.config srcdir is special since it is dynamic based on the location of the particular file being built. Seems like that would make all the individual makefiles a lot simpler. -- Nathan > From: Derek Atkins [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 24, 2001 7:05 PM > To: Nathan Neulinger > Cc: [EMAIL PROTECTED] > Subject: Re: [OpenAFS-devel] debug/optimize flags in Makefiles... > > > I was thinking that for the first pass, just set CC, MT_CC, and KCC > based upon a large 'case' statement switched off the sysname. Within > the case statement, make the assignments as based in the current > Makefile.`sys`. > > In other words, I would say that as a first pass, don't do anything > special at all w.r.t. trying to configure these values. _______________________________________________ OpenAFS-devel mailing list [EMAIL PROTECTED] https://lists.openafs.org/mailman/listinfo/openafs-devel
