Novice imake question
Jonathan I. Kamens
jik at athena.mit.edu
Mon Apr 29 16:31:30 AEST 1991
In article <120873 at unix.cis.pitt.edu>, nr3m at 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 at Athena.MIT.EDU Allston, MA 02134
Office: 617-253-8085 Home: 617-782-0710
More information about the Comp.unix.programmer
mailing list