[OpenAFS-devel] debug/optimize flags in Makefiles...
Derek Atkins
warlord@MIT.EDU
26 Oct 2001 11:19:34 -0400
Sounds good to me :)
-derek
"Neulinger, Nathan" <nneul@umr.edu> writes:
> 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:warlord@MIT.EDU]
> > Sent: Wednesday, October 24, 2001 7:05 PM
> > To: Nathan Neulinger
> > Cc: openafs-devel@openafs.org
> > 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
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available