diff options
author | Reinhard Tartler <siretart@tauware.de> | 2011-10-10 17:43:39 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-10-10 17:43:39 +0200 |
commit | f4092abdf94af6a99aff944d6264bc1284e8bdd4 (patch) | |
tree | 2ac1c9cc16ceb93edb2c4382c088dac5aeafdf0f /nx-X11/programs/Xserver/hw/dmx/Imakefile | |
parent | a840692edc9c6d19cd7c057f68e39c7d95eb767d (diff) | |
download | nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.gz nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.bz2 nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.zip |
Imported nx-X11-3.1.0-1.tar.gznx-X11/3.1.0-1
Summary: Imported nx-X11-3.1.0-1.tar.gz
Keywords:
Imported nx-X11-3.1.0-1.tar.gz
into Git repository
Diffstat (limited to 'nx-X11/programs/Xserver/hw/dmx/Imakefile')
-rw-r--r-- | nx-X11/programs/Xserver/hw/dmx/Imakefile | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/dmx/Imakefile b/nx-X11/programs/Xserver/hw/dmx/Imakefile new file mode 100644 index 000000000..b8c16dd53 --- /dev/null +++ b/nx-X11/programs/Xserver/hw/dmx/Imakefile @@ -0,0 +1,125 @@ +XCOMM $XFree86$ + +#include <Server.tmpl> + +#if BuildXinerama +PANORAMIX_SRCS = panoramiX.c +PANORAMIX_OBJS = panoramiX.o +#endif + +#if BuildGlxExt +GLX_SRCS = dmx_glxvisuals.c $(PANORAMIX_SRCS) +GLX_OBJS = dmx_glxvisuals.o $(PANORAMIX_OBJS) +DMX_GLX_DEFINES = $(GLX_DEFINES) -DGLXPROXY +GLXPROXY_SUBDIR = glxProxy +#endif + +#define IHaveSubdirs + +#if BuildServersOnly && !BuildDmxDevelTools +SUBDIRS = input config $(GLXPROXY_SUBDIR) +#else +SUBDIRS = input config doc examples $(GLXPROXY_SUBDIR) +#endif + +#if BuildRender +RENDER_SRCS = dmxpict.c +RENDER_OBJS = dmxpict.o +#endif + +SRCS = dmxinit.c \ + dmxscrinit.c \ + dmxshadow.c \ + dmxcursor.c \ + dmxinput.c \ + dmxdpms.c \ + dmxgc.c \ + dmxgcops.c \ + dmxwindow.c \ + dmxpixmap.c \ + dmxfont.c \ + dmxcmap.c \ + dmxvisual.c \ + dmxlog.c \ + dmxcb.c \ + dmxprop.c \ + dmxstat.c \ + dmxsync.c \ + dmxextension.c \ + miinitext.c \ + $(GLX_SRCS) \ + $(RENDER_SRCS) + +OBJS = dmxinit.o \ + dmxscrinit.o \ + dmxshadow.o \ + dmxcursor.o \ + dmxinput.o \ + dmxdpms.o \ + dmxgc.o \ + dmxgcops.o \ + dmxwindow.o \ + dmxpixmap.o \ + dmxfont.o \ + dmxcmap.o \ + dmxvisual.o \ + dmxlog.o \ + dmxcb.o \ + dmxprop.o \ + dmxstat.o \ + dmxsync.o \ + dmxextension.o \ + miinitext.o \ + $(GLX_OBJS) \ + $(RENDER_OBJS) + +#include <dmx.cf> + +#ifdef XVendorString + VENDORSTRING = XVendorString + VENDOR_STRING = -DVENDOR_STRING=\"$(VENDORSTRING)\" +#endif + +#ifdef XVendorRelease + VENDORRELEASE = XVendorRelease + VENDOR_RELEASE = -DVENDOR_RELEASE="$(VENDORRELEASE)" +#endif + +VENDOR_DEFINES = $(VENDOR_STRING) $(VENDOR_RELEASE) + + OSNAME = OSName + OSVENDOR = OSVendor +OSNAME_DEFINES = -DOSNAME='"$(OSNAME)"' -DOSVENDOR='"$(OSVENDOR)"' + +INCLUDES = -I. -I$(XBUILDINCDIR) -I$(FONTINCSRC) \ + -I../../mi -I../../include -I../../os \ + -I../../fb -I../../miext/shadow -I../../render \ + -I$(EXTINCSRC) -I$(XINCLUDESRC) -I$(SERVERSRC)/Xext + +DEFINES = $(OS_DEFINES) $(EXT_DEFINES) -DDMXEXT -DXTEST \ + $(DMX_GLX_DEFINES) $(DMX_DEFINES) $(VENDOR_DEFINES) \ + $(OSNAME_DEFINES) + +all:: $(OBJS) + +MakeSubdirs($(SUBDIRS)) +DependSubdirs($(SUBDIRS)) + +LinkSourceFile(miinitext.c,$(SERVERSRC)/mi) +SpecialCObjectRule(miinitext,$(ICONFIGFILES),-DDMXSERVER) + +#if BuildGlxExt +LinkSourceFile(panoramiX.c,$(SERVERSRC)/Xext) +#if HasGcc3 +SpecialCObjectRule(panoramiX,$(ICONFIGFILES),-Wno-missing-prototypes -Wno-strict-prototypes -Wno-missing-declarations -Wno-sign-compare) +#else +SpecialCObjectRule(panoramiX,$(ICONFIGFILES),$(_NOOP_)) +#endif +#endif + +NormalLibraryObjectRule() +NormalLibraryTarget(dmx,$(OBJS)) + +InstallManPage(Xdmx,$(MANDIR)) + +DependTarget() |