First import
[xorg_rtime.git] / xorg-server-1.4 / Makefile.am
blobe382d58e7c8c22eada6bfab748af0c98c5af9d82
1 AUTOMAKE_OPTIONS=dist-bzip2 foreign nostdinc
2 DISTCHECK_CONFIGURE_FLAGS=--disable-xorgcfg
4 if COMPOSITE
5 COMPOSITE_DIR=composite
6 endif
8 if XTRAP
9 XTRAP_DIR=XTrap
10 endif
12 if CFB
13 CFB_DIR=cfb
14 CFB32_DIR=cfb32
15 endif
17 if AFB
18 AFB_DIR=afb
19 endif
21 if MFB
22 MFB_DIR=mfb
23 endif
25 if GLX
26 GLX_DIR=GL
27 endif
29 if DBE
30 DBE_DIR=dbe
31 endif
33 SUBDIRS = \
34         doc \
35         include \
36         dix  \
37         fb \
38         mi \
39         Xext \
40         miext \
41         os \
42         randr \
43         render  \
44         Xi \
45         xkb \
46         $(DBE_DIR) \
47         $(MFB_DIR) \
48         $(AFB_DIR) \
49         $(CFB_DIR) \
50         $(CFB32_DIR) \
51         record \
52         xfixes \
53         damageext \
54         $(XTRAP_DIR) \
55         $(COMPOSITE_DIR) \
56         $(GLX_DIR) \
57         exa \
58         config \
59         hw
61 aclocaldir = $(datadir)/aclocal
62 aclocal_DATA = xorg-server.m4
64 pkgconfigdir = $(libdir)/pkgconfig
65 pkgconfig_DATA = xorg-server.pc
67 EXTRA_DIST = xorg-server.pc.in xorg-server.m4 ChangeLog autogen.sh
69 MAINTAINERCLEANFILES=ChangeLog
71 .PHONY: ChangeLog
73 ChangeLog:
74         (GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || \
75         (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
77 dist-hook: ChangeLog
79 DIST_SUBDIRS = \
80         doc \
81         include \
82         dix  \
83         fb \
84         mi \
85         Xext \
86         miext \
87         os \
88         randr \
89         render  \
90         Xi \
91         xkb \
92         dbe \
93         mfb \
94         afb \
95         cfb \
96         cfb32 \
97         record \
98         xfixes \
99         damageext \
100         XTrap \
101         composite \
102         GL \
103         exa \
104         config \
105         hw
107 # gross hack
108 relink: all
109         $(MAKE) -C hw relink