aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Imakefile
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-15 16:42:39 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-11-15 16:42:39 +0100
commit8c5a1b071cef42ced9451856f6cec46c30072f2d (patch)
tree6c5d41e3269111b98b1749d55ebaba3beaaab3e9 /nx-X11/programs/Xserver/hw/nxagent/Imakefile
parentb1d3f2ca5552528c01eefce7e55c18c36965660d (diff)
parent9ad0aae5d04fcea85d7059a4530c63423f09ea09 (diff)
downloadnx-libs-8c5a1b071cef42ced9451856f6cec46c30072f2d.tar.gz
nx-libs-8c5a1b071cef42ced9451856f6cec46c30072f2d.tar.bz2
nx-libs-8c5a1b071cef42ced9451856f6cec46c30072f2d.zip
Merge branch 'sunweaver-pr/move-nxcompext-into-Xserver' into 3.6.x
Attributes GH PR: https://github.com/ArcticaProject/nx-libs/pull/277 Reviewed by: Ulrich Sibiller <uli42@gmx.de> -- Tue, 15 Nov 2016 00:54:44 -0800
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Imakefile')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Imakefile183
1 files changed, 117 insertions, 66 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Imakefile b/nx-X11/programs/Xserver/hw/nxagent/Imakefile
index d4404356b..ae0a9cf3a 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Imakefile
+++ b/nx-X11/programs/Xserver/hw/nxagent/Imakefile
@@ -1,11 +1,18 @@
#include <Server.tmpl>
+
+NULL =
+
+SUBDIRS = compext \
+ $(NULL)
+
#ifdef OS2Architecture
SRCS1 = os2Stub.c
OBJS1 = os2Stub.o
#endif
-SRCS = NXwindow.c \
+SRCS = \
+ NXwindow.c \
NXevents.c \
NXproperty.c \
NXdixfonts.c \
@@ -64,9 +71,11 @@ SRCS = NXwindow.c \
stubs.c \
xpstubs.c \
miinitext.c \
- $(SRCS1)
+ $(SRCS1) \
+ $(NULL)
-OBJS = NXwindow.o \
+OBJS = \
+ NXwindow.o \
NXevents.o \
NXproperty.o \
NXdixfonts.o \
@@ -125,44 +134,78 @@ OBJS = NXwindow.o \
stubs.o \
xpstubs.o \
miinitext.o \
- $(OBJS1)
-
-VFBINCLUDES = -I../../fb -I../../mfb -I../../render
-
-INCLUDES = -I. \
- -I../../../../extras/Mesa/include \
- -I$(XBUILDINCDIR) \
- -I../../mi -I../../include -I../../os \
- -I../../miext/damage -I../../miext/cw \
- -I../../GL/glx -I../../GL/include -I../../../../lib/GL/include -I../../Xext \
- -I$(EXTINCSRC) -I$(XINCLUDESRC) \
- $(VFBINCLUDES) \
- `pkg-config --cflags-only-I libxml-2.0` \
- `pkg-config --cflags-only-I pixman-1`
+ $(OBJS1) \
+ $(NULL)
+
+VFBINCLUDES = \
+ -I../../fb \
+ -I../../mfb \
+ -I../../render \
+ $(NULL)
+
+INCLUDES = \
+ -I. \
+ -I../../../../extras/Mesa/include \
+ -I$(XBUILDINCDIR) \
+ -I../../mi \
+ -I../../include \
+ -I../../os \
+ -I../../miext/damage \
+ -I../../miext/cw \
+ -I../../GL/glx \
+ -I../../GL/include \
+ -I../../../../lib/GL/include \
+ -I../../Xext \
+ -I$(EXTINCSRC) -I$(XINCLUDESRC) \
+ $(VFBINCLUDES) \
+ `pkg-config --cflags-only-I libxml-2.0` \
+ `pkg-config --cflags-only-I pixman-1` \
+ $(NULL)
#ifdef SunArchitecture
-INCLUDES = -I. \
- -I../../../../extras/Mesa/include \
- -I$(XBUILDINCDIR) \
- -I/usr/sfw/include \
- -I../../mi -I../../include -I../../os \
- -I../../GL/glx -I../../GL/include -I../../../../lib/GL/include -I../../Xext \
- -I../../miext/damage -I../../miext/cw \
- -I$(EXTINCSRC) -I$(XINCLUDESRC) \
- $(VFBINCLUDES) \
- `pkg-config --cflags-only-I libxml-2.0`
- `pkg-config --cflags-only-I pixman-1`
+INCLUDES = \
+ -I. \
+ -I../../../../extras/Mesa/include \
+ -I$(XBUILDINCDIR) \
+ -I/usr/sfw/include \
+ -I../../mi \
+ -I../../include \
+ -I../../os \
+ -I../../GL/glx \
+ -I../../GL/include \
+ -I../../../../lib/GL/include \
+ -I../../Xext \
+ -I../../miext/damage \
+ -I../../miext/cw \
+ -I$(EXTINCSRC) -I$(XINCLUDESRC) \
+ $(VFBINCLUDES) \
+ `pkg-config --cflags-only-I libxml-2.0` \
+ `pkg-config --cflags-only-I pixman-1` \
+ `pkg-config --cflags-only-I zlib` \
+ `pkg-config --cflags-only-I libpng` \
+ $(NULL)
#else
#ifdef cygwinArchitecture
-INCLUDES = -I. -I$(XBUILDINCDIR) \
- -I../../mi -I../../include -I../../os \
- -I../../GL/glx -I../../GL/include -I../../../../lib/GL/include -I../../Xext \
- -I../../miext/damage -I../../miext/cw \
- -I../../../../../nxcomp -I../../../../../nxcompext -I../../../../../nxcompshad \
- -I../../../../extras/Mesa/include \
- -I$(EXTINCSRC) -I$(XINCLUDESRC) \
- $(VFBINCLUDES) \
- `pkg-config --cflags-only-I libxml-2.0`
- `pkg-config --cflags-only-I pixman-1`
+INCLUDES = \
+ -I. -I$(XBUILDINCDIR) \
+ -I../../mi \
+ -I../../include \
+ -I../../os \
+ -I../../GL/glx \
+ -I../../GL/include \
+ -I../../../../lib/GL/include \
+ -I../../Xext \
+ -I../../miext/damage \
+ -I../../miext/cw \
+ -I../../../../../nxcomp \
+ -I../../../../../nxcompshad \
+ -I../../../../extras/Mesa/include \
+ -I$(EXTINCSRC) -I$(XINCLUDESRC) \
+ $(VFBINCLUDES) \
+ `pkg-config --cflags-only-I libxml-2.0` \
+ `pkg-config --cflags-only-I pixman-1` \
+ `pkg-config --cflags-only-I zlib` \
+ `pkg-config --cflags-only-I libpng` \
+ $(NULL)
#endif
#endif
@@ -182,36 +225,40 @@ INCLUDES = -I. -I$(XBUILDINCDIR) \
# NXAGENT_RANDR_XINERAMA_CLIPPING cut off invisible window parts in xinerama mode (you probably do not want this)
#if nxVersion
-NX_DEFINES=-DNX_VERSION_CURRENT="$(NX_VERSION_CURRENT)" \
- -DNX_VERSION_CURRENT_STRING="\"$(NX_VERSION_CURRENT_STRING)\""
+NX_DEFINES = \
+ -DNX_VERSION_CURRENT="$(NX_VERSION_CURRENT)" \
+ -DNX_VERSION_CURRENT_STRING="\"$(NX_VERSION_CURRENT_STRING)\"" \
+ $(NULL)
#endif
-DEFINES = -g $(OS_DEFINES) $(EXT_DEFINES) $(NX_DEFINES) \
- -UXF86VIDMODE -UXFreeXDGA -UXF86MISC -UXF86DRI -UXFree86LOADER \
- -DNXAGENT_SERVER \
- -DNXAGENT_CONSTRAINCURSOR \
- -DNXAGENT_FONTCACHE_SIZE=50 \
- -DNXAGENT_GLYPHCACHE -DNXAGENT_GLYPHCACHE_SIZE=50 \
- -DNXAGENT_SHAPE2 \
- -DNXAGENT_FIXKEYS \
- -DNXAGENT_CLIPBOARD \
- -DNXAGENT_EXPOSURES \
- -DNXAGENT_FONTEXCLUDE \
- -DNXAGENT_PACKEDIMAGES \
- -DNXAGENT_VISIBILITY \
- -DNXAGENT_WAKEUP=1000 \
- -DNXAGENT_ONSTART \
- -DNXAGENT_SPLASH \
- -DNXAGENT_ARTSD \
- -DNXAGENT_RANDR_MODE_PREFIX \
- -UNX_DEBUG_INPUT \
- -DRANDR_10_INTERFACE=1 \
- -DRANDR_12_INTERFACE=1 \
- -DRANDR_13_INTERFACE=1 \
- -DRANDR_14_INTERFACE=1 \
- -DRANDR_15_INTERFACE=1 \
- -DPANORAMIX \
- -UDEBUG_TREE
+DEFINES = \
+ -g $(OS_DEFINES) $(EXT_DEFINES) $(NX_DEFINES) \
+ -UXF86VIDMODE -UXFreeXDGA -UXF86MISC -UXF86DRI -UXFree86LOADER \
+ -DNXAGENT_SERVER \
+ -DNXAGENT_CONSTRAINCURSOR \
+ -DNXAGENT_FONTCACHE_SIZE=50 \
+ -DNXAGENT_GLYPHCACHE -DNXAGENT_GLYPHCACHE_SIZE=50 \
+ -DNXAGENT_SHAPE2 \
+ -DNXAGENT_FIXKEYS \
+ -DNXAGENT_CLIPBOARD \
+ -DNXAGENT_EXPOSURES \
+ -DNXAGENT_FONTEXCLUDE \
+ -DNXAGENT_PACKEDIMAGES \
+ -DNXAGENT_VISIBILITY \
+ -DNXAGENT_WAKEUP=1000 \
+ -DNXAGENT_ONSTART \
+ -DNXAGENT_SPLASH \
+ -DNXAGENT_ARTSD \
+ -DNXAGENT_RANDR_MODE_PREFIX \
+ -UNX_DEBUG_INPUT \
+ -DRANDR_10_INTERFACE=1 \
+ -DRANDR_12_INTERFACE=1 \
+ -DRANDR_13_INTERFACE=1 \
+ -DRANDR_14_INTERFACE=1 \
+ -DRANDR_15_INTERFACE=1 \
+ -DPANORAMIX \
+ -UDEBUG_TREE \
+ $(NULL)
all:: $(OBJS)
@@ -225,3 +272,7 @@ NormalLibraryObjectRule()
NormalLibraryTarget(nxagent,$(OBJS))
DependTarget()
+
+#define IHaveSubdirs
+MakeSubdirs($(SUBDIRS))
+DependSubdirs($(SUBDIRS))