nr3m@unix.cis.pitt.edu (Matthew A Henry) (04/27/91)
Can someone explain to me how to create a template file for imake? Thanks, Matt nr3m@unix.cis.pitt.edu
jik@athena.mit.edu (Jonathan I. Kamens) (04/29/91)
In article <120873@unix.cis.pitt.edu>, nr3m@unix.cis.pitt.edu (Matthew A Henry) writes: |> Can someone explain to me how to create a template file for imake? "If you have to ask, then you don't need to do it." That's said in jest, but there is some truth to it. Are you really trying to create the Imake.tmpl file that resides in the Imake include directory and controls how Imake works for a particular software distribution, or are you trying to create an Imakefile for a particular package, using the Imake template and site files that have already been provided (e.g. writing an Imakefile for an X program, based on the files in /usr/lib/X11/config)? If the former, then take a look at the Imake template files for another package, such as X. All you're really designing is a bunch of files to be preprocessed and to at some point include the Imakefile that the user provides. If the latter, then take a look at the Imakefiles for some other programs that use the same template files as the ones you're using. Either that, or look in Imake.rules in the config files, to get some idea of what each Imake rule does. It is unfortunate that the learning curve for imake is quite steep, considering that once you manage to learn it, it makes things quite a bit easier in many situations. -- Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8085 Home: 617-782-0710
schwartz@groucho.cs.psu.edu (Scott Schwartz) (05/01/91)
jik@athena.mit.edu (Jonathan I. Kamens) writes: | It is unfortunate that the learning curve for imake is quite steep, | considering that once you manage to learn it, it makes things quite a bit | easier in many situations. For small values of "many". The easiest way up the imake learning curve: find / -name '*[Ii]make*' -print | xargs rm Complexity is its own reward.