Makefile.am   [plain text]


if DMX
if BUILD_DARWIN
# Darwin does not need the dmx subdir
else
DMX_SUBDIRS = dmx
endif
endif

if XORG
if BUILD_DARWIN
# Darwin does not need the xfree86 subdir
else
XORG_SUBDIRS = xfree86
endif
endif

if XVFB
XVFB_SUBDIRS = vfb
endif

if XNEST
XNEST_SUBDIRS = xnest
endif

if XWIN
XWIN_SUBDIRS = xwin
endif

if XGL
XGL_SUBDIRS = xgl
endif

if KDRIVE
KDRIVE_SUBDIRS = kdrive
endif

if XPRINT
XPRINT_SUBDIRS = xprint
endif

if BUILD_DARWIN
DARWIN_SUBDIRS = darwin
endif
# need to add darwin support here

SUBDIRS =			\
	$(XORG_SUBDIRS)		\
	$(XGL_SUBDIRS)		\
	$(XWIN_SUBDIRS)		\
	$(XVFB_SUBDIRS)		\
	$(XNEST_SUBDIRS)	\
	$(DMX_SUBDIRS)          \
        $(KDRIVE_SUBDIRS)	\
        $(DARWIN_SUBDIRS)	\
	$(XPRINT_SUBDIRS)

DIST_SUBDIRS = dmx xfree86 vfb xnest xwin darwin kdrive xgl xprint

relink:
	for i in $(SUBDIRS) ; do $(MAKE) -C $$i relink ; done