1if DMX
2DMX_SUBDIRS = dmx
3endif
4
5if XORG
6XORG_SUBDIRS = xfree86
7endif
8
9if XVFB
10XVFB_SUBDIRS = vfb
11endif
12
13if XNEST
14XNEST_SUBDIRS = xnest
15endif
16
17if XWIN
18XWIN_SUBDIRS = xwin
19endif
20
21if KDRIVE
22KDRIVE_SUBDIRS = kdrive
23endif
24
25if XQUARTZ
26XQUARTZ_SUBDIRS = xquartz
27endif
28
29SUBDIRS =			\
30	$(XORG_SUBDIRS)		\
31	$(XWIN_SUBDIRS)		\
32	$(XVFB_SUBDIRS)		\
33	$(XNEST_SUBDIRS)	\
34	$(DMX_SUBDIRS)		\
35	$(KDRIVE_SUBDIRS)	\
36	$(XQUARTZ_SUBDIRS)
37
38DIST_SUBDIRS = dmx xfree86 vfb xnest xwin xquartz kdrive
39
40relink:
41	$(AM_V_at)for i in $(SUBDIRS) ; do $(MAKE) -C $$i relink || exit 1 ; done
42