Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!uakari.primate.wisc.edu!bin From: bin@primate.wisc.edu (Brain in Neutral) Newsgroups: comp.windows.x Subject: Re: Bug with imake (I think) Message-ID: <2856@uakari.primate.wisc.edu> Date: 1 Aug 90 05:36:17 GMT References: <9007311753.AA01310@denali.WV.TEK.COM> Sender: bin@primate.wisc.edu Reply-To: bin@primate.wisc.edu Lines: 19 From article <9007311753.AA01310@denali.WV.TEK.COM>, by paulsh@denali.wv.tek.COM (Paul Shearer): > The mistake made below is a common one. The user should remember the > general rule that Make macros are all capitals and the cpp macros have > only the first letter capitalized. Thus the convention is: > > ALL_CAPITALS this is a Makefile macro > FirstLetterCapital this is a cpp macro to be set in configuration files As a general rule, yes. A better rule is: look at the configuration files and find out how the symbol is actually used. There are numerous exceptions to the makevar=ALLCAPS, cppsymbol=UpperLower rule, unfortunately. For example: Imake.tmpl: YES NO UNCOMPRESSPATH TOPDIR CURDIR INCLUDE_IMAKEFILE Project.tmpl: UNCOMPRESSFILT BDFTOSNFFILT SHELLPATH ZBDFTOSNFFILT Paul DuBois dubois@primate.wisc.edu