Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!shell.COM!jody From: jody@shell.COM (Jody Winston) Newsgroups: comp.windows.x Subject: imake Message-ID: <9006112051.AA01935@robulus.brc.shell.com> Date: 11 Jun 90 20:51:13 GMT Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 40 Please reply to oldham@shell.com In mit/config/Project.tmpl, there is imake rule BandAid- LibraryMake(). This rule should be in mit/config/Imake.rules with every other default imake rule. The following comments in mit/config/Imake.tmpl are incorrect. Line 32: The symbols are to be added to mit/config/imakemdep.h, not mit/util/imake/imake.c. Line 37: The symbols are to be added to mit/config/imakemdep.h, not mit/util/makedepend/main.c. The following comments in mit/config/imakemdep.h are incorrect. Line 135: The definition of struct symtab is in mit/util/makedepend/def.h, not mit/util/makedepend/main.c. The authors of the default imake(1) rules should not make assumptions about filename suffixes. For example, for sgi (Silicon Graphics), object file names end in .os, not .o. A similar problem occurs for a hypercube computer. Instead of specifying bith SRCS and OBJS in an Imakefile, specify the sources and then add a line OBJS=$(SRCS:$(SRC_SUFFIX)=$(OBJ_SUFFIX)) Less generally, you could use, OBJS=$(SRCS:.c=.o). This would reduce the number of parameters and would allow having non-standard suffixes. The parameters configuring the X Window System should have a section for parameters only dealing with the server. These would not need to be set if servers were not being made. Currently, BuildServer is set to NO if a client-only build is desired (see mit/config/README). However, those parameters which are only used when compiling servers, such as AdmDir found in Project.tmpl, are not specified. Another section could be for xdm parameters, containing DefaultSystemPath, DefaultSystemShell, .... There is no clean separation among the parameters to allow easy cross-compialtion. From: oldham@shell.com