1if BUILD_KDRIVEFBDEVLIB 2FBDEV_SUBDIRS = fbdev 3endif 4 5if XFAKESERVER 6XFAKE_SUBDIRS = fake 7endif 8 9if XEPHYR 10XEPHYR_SUBDIRS = ephyr 11endif 12 13if KDRIVELINUX 14LINUX_SUBDIRS = linux 15endif 16 17SERVER_SUBDIRS = \ 18 $(FBDEV_SUBDIRS) \ 19 $(XEPHYR_SUBDIRS) \ 20 $(XFAKE_SUBDIRS) 21 22SUBDIRS = \ 23 src \ 24 $(LINUX_SUBDIRS) \ 25 $(SERVER_SUBDIRS) 26 27DIST_SUBDIRS = fbdev ephyr src linux fake 28 29relink: 30 $(AM_V_at)for i in $(SERVER_SUBDIRS) ; do $(MAKE) -C $$i relink || exit 1 ; done 31