home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / docs / howto / understand_imake < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.6 KB  |  49 lines

  1.  
  2.  
  3.  
  4.      imake - C preprocessor interface to the make utility
  5.  
  6.      imake [ -Ddefine ] [ -Idir ] [ -Ttemplate ] [ -f filename ]
  7.      [ -s filename ] [ -e ] [ -v ]
  8.  
  9.  
  10.      Imake is used to generate Makefiles from a template, a set
  11.      of cpp macro functions, and a per-directory input file
  12.      called an Imakefile.  This allows machine dependencies (such
  13.      has compiler options, alternate command names, and special
  14.      make rules) to be kept separate from the descriptions of the
  15.      various items to be built.
  16.  
  17.  
  18.      Here is a summary of the files read by imake as used by X.
  19.      The indentation shows what files include what other files.
  20.  
  21.          Imake.tmpl                generic variables
  22.              site.def              site-specific, BeforeVendorCF defined
  23.              sun.cf                machine-specific
  24.                  sunLib.rules      shared library rules
  25.              site.def              site-specific, AfterVendorCF defined
  26.              Project.tmpl          X-specific variables
  27.                  sunLib.tmpl       shared library variables
  28.              Imake.rules           rules
  29.          Imakefile
  30.              Library.tmpl          library rules
  31.              Server.tmpl           server rules
  32.  
  33.  
  34.  
  35.  
  36. ------------------------ Sample Imakefile (xclock) ----------------------
  37.  
  38. XCOMM $XConsortium: Imakefile,v 1.14 91/07/19 14:56:54 rws Exp $
  39.         DEPLIBS = XawClientDepLibs
  40. LOCAL_LIBRARIES = XawClientLibs
  41.            SRCS = xclock.c
  42.            OBJS = xclock.o
  43.  
  44. ComplexProgramTarget(xclock)
  45. InstallAppDefaults(XClock)
  46.  
  47. ---------------------------------------------------------------------------
  48.  
  49.