270 lines
6.4 KiB
Plaintext
270 lines
6.4 KiB
Plaintext
XCOMM $XFree86: xc/lib/Imakefile,v 3.81 2005/02/28 05:09:33 dawes Exp $
|
|
/*
|
|
* Copyright (c) 1994-2005 by The XFree86 Project, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|
* a copy of this software and associated documentation files (the
|
|
* "Software"), to deal in the Software without restriction, including
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|
* permit persons to whom the Software is furnished to do so, subject
|
|
* to the following conditions:
|
|
*
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
* notice, this list of conditions, and the following disclaimer.
|
|
*
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
* notice, this list of conditions and the following disclaimer
|
|
* in the documentation and/or other materials provided with the
|
|
* distribution, and in the same place and form as other copyright,
|
|
* license and disclaimer information.
|
|
*
|
|
* 3. The end-user documentation included with the redistribution,
|
|
* if any, must include the following acknowledgment: "This product
|
|
* includes software developed by The XFree86 Project, Inc
|
|
* (http://www.xfree86.org/) and its contributors", in the same
|
|
* place and form as other third-party acknowledgments. Alternately,
|
|
* this acknowledgment may appear in the software itself, in the
|
|
* same form and location as other such third-party acknowledgments.
|
|
*
|
|
* 4. Except as contained in this notice, the name of The XFree86
|
|
* Project, Inc shall not be used in advertising or otherwise to
|
|
* promote the sale, use or other dealings in this Software without
|
|
* prior written authorization from The XFree86 Project, Inc.
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
|
|
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
* IN NO EVENT SHALL THE XFREE86 PROJECT, INC OR ITS CONTRIBUTORS BE
|
|
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
|
* OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
|
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
|
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
|
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*/
|
|
|
|
#define IHaveSubdirs
|
|
#define PassCDebugFlags
|
|
|
|
#if BuildLibraries || BuildServer || BuildClients
|
|
XTRANSLIB = xtrans
|
|
#endif
|
|
|
|
#if BuildXaw6 && BuildLibraries
|
|
XAW6LIBDIR = Xaw6
|
|
#endif
|
|
|
|
#ifndef NeedBerklib
|
|
#define NeedBerklib NO
|
|
#endif
|
|
|
|
#if NeedBerklib
|
|
BERKDIR = Xbsd
|
|
#endif
|
|
|
|
#if BuildXKBfilelib
|
|
XKBLIBDIR = xkbfile
|
|
#endif
|
|
|
|
#if BuildXKBuilib
|
|
XKBUILIBDIR = xkbui
|
|
#endif
|
|
|
|
#if BuildThreadStubLibrary && BuildLibraries
|
|
THRSTUBLIBDIR = XThrStub
|
|
#endif
|
|
|
|
#if BuildXInputLib
|
|
XINPUTLIBDIR = Xi
|
|
#endif
|
|
|
|
#if BuildScreenSaverLibrary
|
|
SSLIBDIR = Xss
|
|
#endif
|
|
|
|
#if BuildXF86MiscLibrary
|
|
XF86MISCLIBDIR = Xxf86misc
|
|
#endif
|
|
|
|
#if BuildXF86VidModeLibrary
|
|
XF86VMLIBDIR = Xxf86vm
|
|
#endif
|
|
|
|
#if BuildXF86DGALibrary
|
|
XF86DGALIBDIR = Xxf86dga
|
|
#endif
|
|
|
|
#if BuildXF86RushLibrary
|
|
XF86RUSHLIBDIR = Xxf86rush
|
|
#endif
|
|
|
|
#if BuildXvLibrary
|
|
XVLIBDIR = Xv
|
|
XVMCLIBDIR = XvMC
|
|
#endif
|
|
|
|
#if BuildXineramaLibrary
|
|
XINERAMADIR=Xinerama
|
|
#endif
|
|
|
|
#if BuildXResLibrary
|
|
XRESLIBDIR = XRes
|
|
#endif
|
|
|
|
#if BuildDmxLibrary
|
|
DMXLIBDIR = dmx
|
|
#endif
|
|
|
|
#if BuildGLXLibrary
|
|
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 BuildFreetype2Library
|
|
FREETYPE2BUILDDIR = freetype2
|
|
#endif
|
|
|
|
#if BuildFontconfigLibrary
|
|
FONTCONFIGBUILDDIR = fontconfig
|
|
#endif
|
|
|
|
#if BuildXftLibrary
|
|
XFTLIBDIR = Xft
|
|
#endif
|
|
|
|
#if BuildXft1Library
|
|
XFT1LIBDIR = Xft1
|
|
#endif
|
|
|
|
#if BuildRandRLibrary
|
|
RANDRLIBDIR = Xrandr
|
|
#endif
|
|
|
|
#if BuildXcursorLibrary
|
|
XCURSORLIBDIR = Xcursor
|
|
#endif
|
|
|
|
#if BuildXTrapLibrary
|
|
XTRAPLIBDIR = XTrap
|
|
#endif
|
|
|
|
#if BuildAppleWMLibrary
|
|
APPLELIBDIR = apple
|
|
#endif
|
|
|
|
XF86EXTLIBS = $(XF86MISCLIBDIR) $(XF86VMLIBDIR) \
|
|
$(XF86DGALIBDIR) $(XF86RUSHLIBDIR)
|
|
|
|
#if BuildLBX && (BuildLibraries || BuildServer || BuildClients)
|
|
LBXUTILDIR = lbxutil
|
|
#endif
|
|
|
|
#if (BuildLBX || GzipFontCompression) && !HasZlib
|
|
ZLIBDIR = zlib
|
|
#endif
|
|
|
|
#if defined(XFree86Version) && !HasPosixRegex
|
|
REGEXDIR = regex
|
|
#endif
|
|
|
|
#if BuildXprintLib
|
|
XPRINTLIBDIR = Xp
|
|
#endif
|
|
|
|
#if BuildFontCacheLib
|
|
FONTCACHELIBDIR = Xfontcache
|
|
#endif
|
|
|
|
#if BuildServer || BuildClients || BuildLibraries
|
|
FONTSUBDIR = font
|
|
#endif
|
|
|
|
#if BuildFontEncLib
|
|
FONTENCSUBDIR = fontenc
|
|
#endif
|
|
|
|
#if BuildXauLib
|
|
XAULIBDIR = Xau
|
|
#endif
|
|
|
|
#if BuildXdmcpLib
|
|
XDMCPLIBDIR = Xdmcp
|
|
#endif
|
|
|
|
#if BuildX11Lib
|
|
X11LIBDIR = X11
|
|
#endif
|
|
|
|
#if BuildXextLib
|
|
XEXTLIBDIR = Xext
|
|
#endif
|
|
|
|
#if BuildLibraries
|
|
OLDXLIBDIR = oldX
|
|
ICELIBDIR = ICE
|
|
SMLIBDIR = SM
|
|
XTLIBDIR = Xt
|
|
XMULIBDIR = Xmu
|
|
XMUULIBDIR = Xmuu
|
|
XPMLIBDIR = Xpm
|
|
XAWLIBDIR = Xaw
|
|
XTSTLIBDIR = Xtst
|
|
FSLIBDIR = FS
|
|
#endif
|
|
|
|
|
|
LINTSUBDIRS = $(XAULIBDIR) $(XDMCPLIBDIR) $(THRSTUBLIBDIR) $(X11LIBDIR) \
|
|
$(OLDXLIBDIR) $(ICELIBDIR) $(SMLIBDIR) $(XEXTLIBDIR) $(XTLIBDIR) \
|
|
$(SSLIBDIR) $(XF86MISCLIBDIR) $(XF86VMLIBDIR) $(XF86DGALIBDIR) \
|
|
$(XF86RUSHLIBDIR) $(XMULIBDIR) $(XMUULIBDIR) $(XPMLIBDIR) \
|
|
$(XAW6LIBDIR) $(XAWLIBDIR) $(XINPUTLIBDIR) \
|
|
$(XTSTLIBDIR) $(FSLIBDIR) $(XKBLIBDIR) \
|
|
$(XKBUILIBDIR) $(LBXUTILDIR) $(XPRINTLIBDIR) \
|
|
$(XVLIBDIR) $(EXPATBUILDDIR) \
|
|
$(GLXLIBDIR) $(GLULIBDIR) $(GLWLIBDIR) \
|
|
$(DPSLIBDIR) $(DPSTKLIBDIR) $(PSRESLIBDIR) $(XINERAMADIR) \
|
|
$(ZLIBDIR) $(REGEXDIR) $(RENDERLIBDIR) $(FREETYPE2BUILDDIR) \
|
|
$(LIBXML2BUILDDIR) $(FONTCONFIGBUILDDIR) \
|
|
$(XFT1LIBDIR) $(XFTLIBDIR) $(XVMCLIBDIR) $(RANDRLIBDIR) \
|
|
$(XTRAPLIBDIR) $(XRESLIBDIR) $(XCURSORLIBDIR) $(APPLELIBDIR) \
|
|
$(DMXLIBDIR)
|
|
|
|
SUBDIRS = $(BERKDIR) $(XTRANSLIB) $(LINTSUBDIRS) $(FONTSUBDIR) \
|
|
$(FONTENCSUBDIR) $(FONTCACHELIBDIR)
|
|
|
|
MakeSubdirs($(SUBDIRS))
|
|
DependSubdirs($(SUBDIRS))
|
|
MakeLintLibSubdirs($(LINTSUBDIRS))
|
|
MakeLintSubdirs($(LINTSUBDIRS),install.ln,install.ln)
|
|
|