XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:44:00 cpqbld Exp $
XCOMM $XdotOrg: xc/lib/Imakefile,v 1.12 2005/10/10 04:18:08 alanc Exp $




XCOMM $XFree86: xc/lib/Imakefile,v 3.74 2003/04/14 20:37:07 herrb Exp $

#define IHaveSubdirs
#define PassCDebugFlags

NULL =

#if BuildXKBfilelib || BuildXKB
XKBLIBDIR = xkbfile
#endif

#if BuildXKBuilib
XKBUILIBDIR = xkbui
#endif

#if BuildXF86MiscLibrary
XF86MISCLIBDIR = Xxf86misc
#endif

#if BuildXF86VidModeLibrary
XF86VMLIBDIR = Xxf86vm
#endif

#if BuildXF86DGALibrary
XF86DGALIBDIR = Xxf86dga
#endif

#if BuildXF86RushLibrary
XF86RUSHLIBDIR = Xxf86rush
#endif

#if BuildXineramaLibrary
XINERAMADIR=Xinerama
#endif

#if BuildXResLibrary
XRESLIBDIR = XRes
#endif

#if BuildGLXLibrary
GLXLIBDIR = GL
#endif

#if BuildRenderLibrary
RENDERLIBDIR = Xrender
#endif

#if BuildRandRLibrary
RANDRLIBDIR = Xrandr
#endif

#if BuildXfixesLibrary
XFIXESLIBDIR = Xfixes
#endif

#if BuildDamageLibrary
DAMAGELIBDIR = Xdamage
#endif

#if BuildCompositeLibrary
COMPOSITELIBDIR = Xcomposite
#endif

XF86EXTLIBS = \
	$(XF86MISCLIBDIR) \
	$(XF86VMLIBDIR) \
	$(XF86DGALIBDIR) \
	$(XF86RUSHLIBDIR) \
	$(NULL)

#if BuildXauLib
XAULIBDIR = Xau
#endif

#if BuildX11Lib
X11LIBDIR = X11
#endif

#if BuildXextLib
XEXTLIBDIR = Xext
#endif

#if BuildLibraries
OLDXLIBDIR = oldX
XTSTLIBDIR = Xtst
#endif


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))
MakeLintLibSubdirs($(LINTSUBDIRS))
MakeLintSubdirs($(LINTSUBDIRS),install.ln,install.ln)