forked from deniskropp/DirectFB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
232 lines (168 loc) · 3.89 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
## Makefile.am for DirectFB
ACLOCAL_AMFLAGS = -I m4
if HAVE_LINUX
LINUXONLY_DIRS = inputdrivers gfxdrivers
endif
if BUILD_TOOLS
TOOLS_DIR = tools
endif
if BUILD_TESTS
TESTS_DIR = tests
endif
if ENABLE_VOODOO
PROXY_DIR = proxy
endif
if EGL_UNITED
EGL_UNITED_DIR = lib/egl
endif
if BUILD_DVC
DVC_DIR = lib/dvc
endif
if DIRECTFB_BUILD_PURE_VOODOO
NON_PURE_VOODOO_SUBDIRS =
else
NON_PURE_VOODOO_SUBDIRS = \
$(EGL_UNITED_DIR) \
systems \
wm \
interfaces \
$(LINUXONLY_DIRS)
endif
if ENABLE_DIVINE
DIVINE_DIR = lib/divine
endif
if ENABLE_SAWMAN
SAWMAN_DIR = lib/sawman
endif
if ENABLE_FUSIONDALE
FUSIONDALE_EXAMPLES_DIR = examples/fusiondale
endif
if ENABLE_FUSIONSOUND
FUSIONSOUND_EXAMPLES_DIR = examples/fusionsound
endif
if ENABLE_WAYLAND
WAYLAND_DIRS = lib/wayland-dfb
endif
SUBDIRS = \
data \
docs \
include \
include/++dfb \
lib \
src \
lib/++dfb \
$(WAYLAND_DIRS) \
$(SAWMAN_DIR) \
$(DIVINE_DIR) \
$(DVC_DIR) \
$(TOOLS_DIR) \
$(NON_PURE_VOODOO_SUBDIRS) \
$(PROXY_DIR) \
$(TESTS_DIR) \
$(FUSIONDALE_EXAMPLES_DIR) \
$(FUSIONSOUND_EXAMPLES_DIR) \
examples/++dfb \
patches \
rules \
build-android
bin_SCRIPTS = directfb-config
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = directfb.pc directfb-internal.pc
EXTRA_DIST = \
autogen.sh \
fb.modes \
directfb.spec.in \
directfb.spec
## Some special rules that may be useful ...
# Generate the HTML API documentation:
html:
make -C docs/html
# Compile the directfb-csource utility:
directfb-csource:
make -C tools directfb-csource
.PHONY: html directfb-csource
# shortcuts
lib_direct:
$(MAKE) -C lib/direct
lib_fusion: lib_direct
$(MAKE) -C lib/fusion
lib_fusiondale: lib_fusion lib_direct
$(MAKE) -C lib/fusiondale
lib_fusionsound: lib_fusion lib_direct
$(MAKE) -C lib/fusionsound
lib_one: lib_direct
$(MAKE) -C lib/One
lib_voodoo: lib_direct
$(MAKE) -C lib/voodoo
src_core:
$(MAKE) -C src/core
src_display:
$(MAKE) -C src/display
src_gfx:
$(MAKE) -C src/gfx
src_input:
$(MAKE) -C src/input
src_media:
$(MAKE) -C src/media
src_misc:
$(MAKE) -C src/misc
src_windows:
$(MAKE) -C src/windows
src_: src_windows src_misc src_media src_input src_gfx src_display src_core lib_voodoo lib_one lib_fusion lib_direct
$(MAKE) -C src
lib_divine: src_
$(MAKE) -C lib/divine
lib_egl: lib_wayland_dfb src_
$(MAKE) -C lib/egl
lib_ppdfb: src_
$(MAKE) -C lib/++dfb
lib_sawman: src_
$(MAKE) -C lib/sawman
lib_wayland_dfb: src_
$(MAKE) -C lib/wayland-dfb
lib_wayland_egl: lib_direct
$(MAKE) -C lib/wayland-egl
gfxdrivers_gles2: src_
$(MAKE) -C gfxdrivers/gles2
systems_x11: lib_egl src_
$(MAKE) -C systems/x11
tests_: lib_egl lib_divine lib_ppdfb src_
$(MAKE) -C tests
tools_: lib_fusionsound lib_fusiondale lib_egl lib_divine src_
$(MAKE) -C tools
wm_default: src_
$(MAKE) -C wm/default
wm_sawman: src_ lib_sawman
$(MAKE) -C wm/sawman
fast_dfb: wm_default wm_sawman tools_ tests_ systems_x11 gfxdrivers_gles2
fast: fast_dfb
$(MAKE)
fast-install: fast_dfb
for dir in \
lib/direct \
lib/fusion \
lib/fusiondale \
lib/fusionsound \
lib/One \
lib/voodoo \
src/core \
src/display \
src/gfx \
src/input \
src/media \
src/misc \
src/windows \
src \
lib/divine \
lib/egl \
lib/++dfb \
lib/sawman \
lib/wayland-dfb \
lib/wayland-egl \
gfxdrivers/gles2 \
systems/x11 \
tests \
tools \
wm/default \
wm/sawman \
; do $(MAKE) -C $$dir install; done