aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/Imakefile
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-04-28 05:15:19 +0200
committerMihai Moldovan <ionic@ionic.de>2015-04-28 05:15:19 +0200
commit7b7ba9441b3ff72f0e963221342dcccbafc04312 (patch)
treef718af7b85c4a17a28eb12f81922b1e3d1eb6481 /nx-X11/lib/Imakefile
parentcbf4e4dbebaca561ff2ff98521e249b9eac046ab (diff)
parent662a89545f3e953a47f176cf64e574350643d446 (diff)
downloadnx-libs-7b7ba9441b3ff72f0e963221342dcccbafc04312.tar.gz
nx-libs-7b7ba9441b3ff72f0e963221342dcccbafc04312.tar.bz2
nx-libs-7b7ba9441b3ff72f0e963221342dcccbafc04312.zip
Merge branch 'sunweaver-pr/imake-cleanup-nonpresent-buildlogic' into arctica-3.6.x
Attributes GH PR #17: https://github.com/ArcticaProject/nx-libs/pull/17
Diffstat (limited to 'nx-X11/lib/Imakefile')
-rw-r--r--nx-X11/lib/Imakefile140
1 files changed, 30 insertions, 110 deletions
diff --git a/nx-X11/lib/Imakefile b/nx-X11/lib/Imakefile
index 28d9f1296..aa780877b 100644
--- a/nx-X11/lib/Imakefile
+++ b/nx-X11/lib/Imakefile
@@ -9,25 +9,7 @@ XCOMM $XFree86: xc/lib/Imakefile,v 3.74 2003/04/14 20:37:07 herrb Exp $
#define IHaveSubdirs
#define PassCDebugFlags
-#if BuildXaw6 && BuildLibraries
-XAW6LIBDIR = Xaw6
-#endif
-
-#if BuildXaw7 && BuildLibraries
-XAW7LIBDIR = Xaw7
-#endif
-
-#if BuildXaw && BuildLibraries
-XAWLIBDIR = Xaw
-#endif
-
-#ifndef NeedBerklib
-#define NeedBerklib NO
-#endif
-
-#if NeedBerklib
-BERKDIR = Xbsd
-#endif
+NULL =
#if BuildXKBfilelib || BuildXKB
XKBLIBDIR = xkbfile
@@ -37,14 +19,6 @@ XKBLIBDIR = xkbfile
XKBUILIBDIR = xkbui
#endif
-#if BuildXInputLib
-XINPUTLIBDIR = Xi
-#endif
-
-#if BuildScreenSaverLibrary
-SSLIBDIR = Xss
-#endif
-
#if BuildXF86MiscLibrary
XF86MISCLIBDIR = Xxf86misc
#endif
@@ -61,11 +35,6 @@ XF86DGALIBDIR = Xxf86dga
XF86RUSHLIBDIR = Xxf86rush
#endif
-#if BuildXvLibrary
-XVLIBDIR = Xv
-XVMCLIBDIR = XvMC
-#endif
-
#if BuildXineramaLibrary
XINERAMADIR=Xinerama
#endif
@@ -78,42 +47,14 @@ XRESLIBDIR = XRes
GLXLIBDIR = GL
#endif
-#if BuildGLwLibrary
-GLWLIBDIR = GLw
-#endif
-
-#if BuildGLULibrary
-GLULIBDIR = GLU
-#endif
-
-#if BuildDPSLibrary
-DPSLIBDIR = dps
-#endif
-
-#if BuildDPSTkLibrary
-DPSTKLIBDIR = dpstk
-#endif
-
-#if BuildPSResLibrary
-PSRESLIBDIR = psres
-#endif
-
#if BuildRenderLibrary
RENDERLIBDIR = Xrender
#endif
-#if BuildExpatLibrary
-EXPATBUILDDIR = expat
-#endif
-
#if BuildRandRLibrary
RANDRLIBDIR = Xrandr
#endif
-#if BuildXevieLibrary
-XEVIELIBDIR = Xevie
-#endif
-
#if BuildXfixesLibrary
XFIXESLIBDIR = Xfixes
#endif
@@ -126,40 +67,12 @@ DAMAGELIBDIR = Xdamage
COMPOSITELIBDIR = Xcomposite
#endif
-#if BuildXcursorLibrary
-XCURSORLIBDIR = Xcursor
-#endif
-
-#if BuildXTrapLibrary
-XTRAPLIBDIR = XTrap
-#endif
-
-#if BuildAppleWMLibrary
-APPLELIBDIR = apple
-#endif
-
-#if BuildWindowsWMLibrary
-WINDOWSLIBDIR = windows
-#endif
-
-XF86EXTLIBS = $(XF86MISCLIBDIR) $(XF86VMLIBDIR) \
- $(XF86DGALIBDIR) $(XF86RUSHLIBDIR)
-
-#if BuildLBX
-LBXUTILDIR = lbxutil
-#endif
-
-#if BuildLBX && !HasZlib
-ZLIBDIR = zlib
-#endif
-
-#if (defined(XFree86Version) || defined(XorgVersion)) && !HasPosixRegex
-REGEXDIR = regex
-#endif
-
-#if BuildXAudio
-XALIBDIR = Xa
-#endif
+XF86EXTLIBS = \
+ $(XF86MISCLIBDIR) \
+ $(XF86VMLIBDIR) \
+ $(XF86DGALIBDIR) \
+ $(XF86RUSHLIBDIR) \
+ $(NULL)
#if BuildXauLib
XAULIBDIR = Xau
@@ -179,22 +92,29 @@ XTSTLIBDIR = Xtst
#endif
-LINTSUBDIRS = $(XAULIBDIR) $(X11LIBDIR) \
- $(OLDXLIBDIR) $(ICELIBDIR) $(SMLIBDIR) $(XEXTLIBDIR) $(XTLIBDIR) \
- $(SSLIBDIR) $(XF86MISCLIBDIR) $(XF86VMLIBDIR) $(XF86DGALIBDIR) \
- $(XF86RUSHLIBDIR) $(XMULIBDIR) $(XMUULIBDIR) $(XPMLIBDIR) \
- $(XAW6LIBDIR) $(XAW7LIBDIR) $(XAWLIBDIR) \
- $(XINPUTLIBDIR) $(XTSTLIBDIR) $(FSLIBDIR) $(XKBLIBDIR) \
- $(XKBUILIBDIR) $(LBXUTILDIR) $(XALIBDIR) $(EXPATBUILDDIR) \
- $(XVLIBDIR) $(GLXLIBDIR) $(GLULIBDIR) $(GLWLIBDIR) \
- $(DPSLIBDIR) $(PSRESLIBDIR) $(DPSTKLIBDIR) $(XINERAMADIR) \
- $(ZLIBDIR) $(REGEXDIR) $(RENDERLIBDIR) \
- $(XVMCLIBDIR) $(RANDRLIBDIR) $(XTRAPLIBDIR) \
- $(XRESLIBDIR) $(APPLELIBDIR) $(DMXLIBDIR) $(WINDOWSLIBDIR) \
- $(XEVIELIBDIR) $(XFIXESLIBDIR) $(DAMAGELIBDIR) \
- $(XCURSORLIBDIR) $(COMPOSITELIBDIR)
-
-SUBDIRS = $(BERKDIR) xtrans $(LINTSUBDIRS)
+LINTSUBDIRS = \
+ $(XAULIBDIR) \
+ $(X11LIBDIR) \
+ $(OLDXLIBDIR) \
+ $(XEXTLIBDIR) \
+ $(XF86MISCLIBDIR) \
+ $(XF86VMLIBDIR) \
+ $(XF86DGALIBDIR) \
+ $(XF86RUSHLIBDIR) \
+ $(XTSTLIBDIR) \
+ $(XKBLIBDIR) \
+ $(XKBUILIBDIR) \
+ $(GLXLIBDIR) \
+ $(XINERAMADIR) \
+ $(RENDERLIBDIR) \
+ $(RANDRLIBDIR) \
+ $(XRESLIBDIR) \
+ $(XFIXESLIBDIR) \
+ $(DAMAGELIBDIR) \
+ $(COMPOSITELIBDIR) \
+ $(NULL)
+
+SUBDIRS = xtrans $(LINTSUBDIRS)
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))