home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / server / dix / Imakefile < prev    next >
Encoding:
Makefile  |  1991-07-16  |  1.8 KB  |  59 lines

  1. XCOMM $XConsortium: Imakefile,v 1.37 91/07/16 22:54:10 gildea Exp $
  2. #include <Server.tmpl>
  3.  
  4. SRCS = atom.c colormap.c cursor.c devices.c dispatch.c dixutils.c events.c \
  5.     extension.c gc.c globals.c glyphcurs.c grabs.c \
  6.     main.c property.c resource.c swaprep.c swapreq.c \
  7.     tables.c window.c initatoms.c dixfonts.c
  8. OBJS = atom.o colormap.o cursor.o devices.o dispatch.o dixutils.o events.o \
  9.     extension.o gc.o globals.o glyphcurs.o grabs.o \
  10.     main.o property.o resource.o swaprep.o swapreq.o \
  11.     tables.o window.o initatoms.o dixfonts.o
  12.  
  13.     INCLUDES = -I. -I../include -I$(INCLUDESRC) -I$(FONTSRC)/include
  14.     LINTLIBS = ../os/llib-los.ln
  15.  
  16. /*
  17.  * The following configuration parameters may be set in the appropriate
  18.  * .macros files or site.def in the directory util/imake.includes/:
  19.  *
  20.  *     DefaultFontPath                COMPILEDDEFAULTFONTPATH
  21.  *     DefaultRGBDatabase             RGB_DB
  22.  *
  23.  * The sample util/imake.includes/Imake.tmpl will provide generic defaults.
  24.  * The values in site.h are simply a last line of defense and should not be
  25.  * changed.
  26.  */
  27.  
  28. #ifdef DefaultFontPath
  29. DEFAULTFONTPATH = DefaultFontPath
  30. SITE_FONT_PATH = -DCOMPILEDDEFAULTFONTPATH=\"$(DEFAULTFONTPATH)\"
  31. #endif
  32.  
  33. #ifdef DefaultRGBDatabase
  34. DEFAULTRGBDATABASE = DefaultRGBDatabase
  35.    SITE_RGB_DB = -DRGB_DB=\"$(DEFAULTRGBDATABASE)\"
  36. #endif
  37.  
  38. #ifdef DefaultDisplayClass
  39. DEFAULTDISPLAYCLASS = DefaultDisplayClass
  40.    SITE_DISPLAY_CLASS = -DCOMPILEDDISPLAYCLASS=\"$(DEFAULTDISPLAYCLASS)\"
  41. #endif
  42.  
  43. SITE_DEFINES = $(SITE_FONT_PATH) $(SITE_RGB_DB) $(SITE_DISPLAY_CLASS)
  44.  
  45.  
  46. NormalLibraryObjectRule()
  47. NormalLibraryTarget(dix,$(OBJS))
  48. LintLibraryTarget(dix,$(SRCS))
  49. NormalLintTarget($(SRCS))
  50.  
  51. SpecialObjectRule(globals.o, $(ICONFIGFILES), $(SITE_DEFINES))
  52.  
  53. #if HasSaberC
  54. saber_src:
  55.     XCOMM load $(CFLAGS) $(SITE_DEFINES) $(SRCS)
  56. #endif
  57.  
  58. DependTarget()
  59.