1 XCOMM $XConsortium: Imakefile /main/52 1996/12/02 10:20:03 lehors $
2 XCOMM $XFree86: xc/programs/Xserver/dix/Imakefile,v 3.8 1997/01/08 20:32:47 dawes Exp $
15 SRCS = atom.c colormap.c cursor.c devices.c dispatch.c dixutils.c events.c \
16 extension.c gc.c globals.c glyphcurs.c grabs.c \
17 main.c property.c resource.c swaprep.c swapreq.c \
18 tables.c window.c initatoms.c dixfonts.c privates.c pixmap.c $(FFS_SRC)
19 OBJS = atom.o colormap.o cursor.o devices.o dispatch.o dixutils.o events.o \
20 extension.o gc.o globals.o glyphcurs.o grabs.o \
21 main.o property.o resource.o swaprep.o swapreq.o \
22 tables.o window.o initatoms.o dixfonts.o privates.o pixmap.o $(FFS_OBJ)
24 INCLUDES = -I../include -I$(XINCLUDESRC) -I$(FONTINCSRC) -I$(EXTINCSRC)
25 LINTLIBS = ../os/llib-los.ln
28 * The following configuration parameters may be set in the appropriate
29 * .macros files or site.def in the directory util/imake.includes/:
31 * DefaultFontPath COMPILEDDEFAULTFONTPATH
32 * DefaultRGBDatabase RGB_DB
34 * The sample util/imake.includes/Imake.tmpl will provide generic defaults.
35 * The values in site.h are simply a last line of defense and should not be
39 #ifdef DefaultFontPath
40 DEFAULTFONTPATH = DefaultFontPath
41 SITE_FONT_PATH = -DCOMPILEDDEFAULTFONTPATH=\"$(DEFAULTFONTPATH)\"
44 #ifdef DefaultRGBDatabase
45 DEFAULTRGBDATABASE = DefaultRGBDatabase
46 SITE_RGB_DB = -DRGB_DB=\"$(DEFAULTRGBDATABASE)\"
49 #ifdef DefaultDisplayClass
50 DEFAULTDISPLAYCLASS = DefaultDisplayClass
51 SITE_DISPLAY_CLASS = -DCOMPILEDDISPLAYCLASS=\"$(DEFAULTDISPLAYCLASS)\"
55 VENDORSTRING = XVendorString
56 VENDOR_STRING = -DVENDOR_STRING=\"$(VENDORSTRING)\"
60 VENDORRELEASE = XVendorRelease
61 VENDOR_RELEASE = -DVENDOR_RELEASE=$(VENDORRELEASE)
68 SITE_DEFINES = $(SITE_FONT_PATH) $(SITE_RGB_DB) $(SITE_DISPLAY_CLASS)
70 VENDOR_DEFINES = $(VENDOR_STRING) $(VENDOR_RELEASE)
72 NormalLibraryObjectRule()
73 NormalLibraryTarget(dix,$(OBJS))
74 LintLibraryTarget(dix,$(SRCS) $(XPSRC))
75 NormalLintTarget($(SRCS) $(XPSRC))
77 SpecialCObjectRule(globals,$(ICONFIGFILES),$(SITE_DEFINES))
78 SpecialCObjectRule(tables,$(ICONFIGFILES),$(K5DEFS))
79 SpecialCObjectRule(dispatch,$(ICONFIGFILES),$(K5DEFS))
80 SpecialCObjectRule(main,$(ICONFIGFILES),$(VENDOR_DEFINES))
81 SpecialCObjectRule(pixmap,$(ICONFIGFILES),$(_NOOP_))
82 SpecialCObjectRule(privates,$(ICONFIGFILES),$(_NOOP_))
85 NormalLibraryTarget(xpstubs,$(XPOBJ))
88 InstallLinkKitLibrary(dix,$(LINKKITDIR)/lib)
89 InstallLinkKitLibrary(xpstubs,$(LINKKITDIR)/lib)