diff options
Diffstat (limited to 'nx-X11/programs/Xserver/dix/Imakefile')
-rw-r--r-- | nx-X11/programs/Xserver/dix/Imakefile | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/dix/Imakefile b/nx-X11/programs/Xserver/dix/Imakefile new file mode 100644 index 000000000..1024de965 --- /dev/null +++ b/nx-X11/programs/Xserver/dix/Imakefile @@ -0,0 +1,143 @@ +NULL = + +#include <Server.tmpl> + +XPSRC = xpstubs.c +XPOBJ = xpstubs.o + +#if !HasFfs +FFS_SRC = ffs.c +FFS_OBJ = ffs.o +#endif + +#if (!(defined(NXAgentServer) && NXAgentServer)) +NXAGENT_SKIP_SRCS = \ + dispatch.c \ + dixfonts.c \ + events.c \ + extension.c \ + glyphcurs.c \ + property.c \ + resource.c \ + window.c \ + $(NULL) +NXAGENT_SKIP_OBJS = \ + dispatch.o \ + dixfonts.o \ + events.o \ + extension.o \ + glyphcurs.o \ + property.o \ + resource.o \ + window.o \ + $(NULL) +#endif + + +SRCS = \ + atom.c \ + colormap.c \ + cursor.c \ + devices.c \ + dixutils.c \ + gc.c \ + globals.c \ + grabs.c \ + main.c \ + region.c \ + swaprep.c \ + swapreq.c \ + tables.c \ + initatoms.c \ + privates.c \ + pixmap.c \ + $(NXAGENT_SKIP_SRCS) \ + $(FFS_SRC) \ + $(NULL) + +OBJS = \ + atom.o \ + colormap.o \ + cursor.o \ + devices.o \ + dixutils.o \ + gc.o \ + globals.o \ + grabs.o \ + main.o \ + region.o \ + swaprep.o \ + swapreq.o \ + tables.o \ + initatoms.o \ + privates.o \ + pixmap.o \ + $(NXAGENT_SKIP_OBJS) \ + $(FFS_OBJ) \ + $(NULL) + + INCLUDES = -I../include \ + -I$(XINCLUDESRC) \ + -I$(EXTINCSRC) \ + -I$(SERVERSRC)/Xext \ + -I$(SERVERSRC)/lbx \ + `pkg-config --cflags-only-I pixman-1` \ + $(NULL) + + LINTLIBS = ../os/llib-los.ln + +/* + * The following configuration parameters may be set in the appropriate + * .macros files or site.def in the directory util/imake.includes/: + * + * DefaultFontPath COMPILEDDEFAULTFONTPATH + * + * The sample util/imake.includes/Imake.tmpl will provide generic defaults. + * The values in site.h are simply a last line of defense and should not be + * changed. + */ + +#ifdef DefaultFontPath +DEFAULTFONTPATH = DefaultFontPath +SITE_FONT_PATH = -DCOMPILEDDEFAULTFONTPATH=\"$(DEFAULTFONTPATH)\" +#endif + +#ifdef DefaultDisplayClass +DEFAULTDISPLAYCLASS = DefaultDisplayClass + SITE_DISPLAY_CLASS = -DCOMPILEDDISPLAYCLASS=\"$(DEFAULTDISPLAYCLASS)\" +#endif + +#ifdef XVendorString +VENDORSTRING = XVendorString + VENDOR_STRING = -DVENDOR_STRING=\"$(VENDORSTRING)\" +#endif + +#ifdef XVendorRelease +VENDORRELEASE = XVendorRelease + VENDOR_RELEASE = -DVENDOR_RELEASE="$(VENDORRELEASE)" +#endif + +#ifdef DarwinArchitecture +#if DarwinQuartzSupport + QUARTZ_DEFINES = -DDARWIN_WITH_QUARTZ +#endif +#endif + +SITE_DEFINES = $(SITE_FONT_PATH) $(SITE_DISPLAY_CLASS) + +VENDOR_DEFINES = $(VENDOR_STRING) $(VENDOR_RELEASE) $(QUARTZ_DEFINES) + +NormalLibraryObjectRule() +NormalLibraryTarget(dix,$(OBJS)) +LintLibraryTarget(dix,$(SRCS) $(XPSRC)) +NormalLintTarget($(SRCS) $(XPSRC)) + +SpecialCObjectRule(globals,$(ICONFIGFILES),$(SITE_DEFINES)) +SpecialCObjectRule(main,$(ICONFIGFILES),$(VENDOR_DEFINES)) +SpecialCObjectRule(pixmap,$(ICONFIGFILES),$(_NOOP_)) +SpecialCObjectRule(privates,$(ICONFIGFILES),$(_NOOP_)) +SpecialCObjectRule(window,$(ICONFIGFILES),$(QUARTZ_DEFINES)) + +NormalLibraryTarget(xpstubs,$(XPOBJ)) + +DependTarget() |