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