]> Dogcows Code - chaz/openbox/blob - Makefile.am
keep event_lasttime at the last time an event has come in so far, don't regress when...
[chaz/openbox] / Makefile.am
1 SUBDIRS = m4 po
2
3 themedir = $(datadir)/openbox/themes
4 localedir = $(datadir)/locale
5 rcdir = $(datadir)/openbox
6 plugindir = $(libdir)/openbox/plugins
7 desktopfilesdir = $(datadir)/gnome/wm-properties
8 pixmapdir = $(datadir)/pixmaps
9
10 theme = thebear
11
12 AUTOMAKE_OPTIONS = subdir-objects
13 ACLOCAL_AMFLAGS = -I m4
14
15 INCLUDES = -I.
16
17 noinst_PROGRAMS = \
18 render/rendertest
19
20 lib_LTLIBRARIES = \
21 render/libobrender.la \
22 parser/libobparser.la
23
24 bin_PROGRAMS = \
25 kernel/openbox \
26 tools/kdetrayproxy/kdetrayproxy
27
28 plugin_LTLIBRARIES = \
29 plugins/resistance/resistance.la \
30 plugins/placement/placement.la \
31 plugins/mouse/mouse.la \
32 plugins/keyboard/keyboard.la \
33 plugins/menu/timed_menu.la \
34 plugins/menu/fifo_menu.la \
35 plugins/menu/client_menu.la \
36 plugins/menu/include_menu.la
37
38 if OBCONF
39 bin_PROGRAMS += \
40 tools/obconf/obconf
41
42 #plugin_LTLIBRARIES += \
43 # plugins/resistance/resistance-config.la
44 endif
45
46 ## render ##
47
48 render_rendertest_CPPFLAGS = \
49 $(XFT_CFLAGS) \
50 $(GLIB_CFLAGS) \
51 -DG_LOG_DOMAIN=\"RenderTest\"
52 render_rendertest_LDADD = render/libobrender.la
53 render_rendertest_SOURCES = render/test.c
54
55 render_libobrender_la_CPPFLAGS = \
56 $(X_CFLAGS) \
57 $(XFT_CFLAGS) \
58 $(GLIB_CFLAGS) \
59 -DG_LOG_DOMAIN=\"ObRender\" \
60 -DDEFAULT_THEME=\"$(theme)\" \
61 -DTHEMEDIR=\"$(themedir)\"
62 render_libobrender_la_LIBADD = \
63 $(X_LIBS) \
64 $(XFT_LIBS) \
65 $(GLIB_LIBS)
66 render_libobrender_la_SOURCES = \
67 gettext.h \
68 render/color.h \
69 render/color.c \
70 render/font.h \
71 render/font.c \
72 render/geom.h \
73 render/gradient.h \
74 render/gradient.c \
75 render/image.h \
76 render/image.c \
77 render/instance.h \
78 render/instance.c \
79 render/mask.h \
80 render/mask.c \
81 render/render.h \
82 render/render.c \
83 render/theme.h \
84 render/theme.c
85
86 ## parser ##
87
88 parser_libobparser_la_CPPFLAGS = \
89 $(GLIB_CFLAGS) \
90 $(XML_CFLAGS) \
91 -DG_LOG_DOMAIN=\"ObParser\" \
92 -DLOCALEDIR=\"$(localedir)\" \
93 -DRCDIR=\"$(rcdir)\"
94 parser_libobparser_la_LIBADD = \
95 $(GLIB_LIBS) \
96 $(XML_LIBS)
97 parser_libobparser_la_SOURCES = \
98 parser/parse.h \
99 parser/parse.c
100
101 ## kernel ##
102
103 kernel_openbox_CPPFLAGS = \
104 $(X_CFLAGS) \
105 $(SM_CFLAGS) \
106 $(XFT_CFLAGS) \
107 $(GLIB_CFLAGS) \
108 $(GMODULE_CFLAGS) \
109 $(LIBSN_CFLAGS) \
110 $(XML_CFLAGS) \
111 -DLOCALEDIR=\"$(localedir)\" \
112 -DPLUGINDIR=\"$(plugindir)\" \
113 -DRCDIR=\"$(rcdir)\" \
114 -DG_LOG_DOMAIN=\"Openbox\"
115 kernel_openbox_LDADD = \
116 $(SM_LIBS) \
117 $(XINERAMA_LIBS) \
118 $(XKB_LIBS) \
119 $(XRANDR_LIBS) \
120 $(VIDMODE_LIBS) \
121 $(XSHAPE_LIBS) \
122 $(GLIB_LIBS) \
123 $(GMODULE_LIBS) \
124 $(LIBSN_LIBS) \
125 $(XML_LIBS) \
126 $(EFENCE_LIBS) \
127 $(LIBINTL) \
128 render/libobrender.la \
129 parser/libobparser.la
130 kernel_openbox_LDFLAGS = -export-dynamic
131 kernel_openbox_SOURCES = \
132 gettext.h \
133 kernel/action.c \
134 kernel/action.h \
135 kernel/client.c \
136 kernel/client.h \
137 kernel/config.c \
138 kernel/config.h \
139 kernel/debug.c \
140 kernel/debug.h \
141 kernel/dispatch.c \
142 kernel/dispatch.h \
143 kernel/dock.c \
144 kernel/dock.h \
145 kernel/event.c \
146 kernel/event.h \
147 kernel/extensions.c \
148 kernel/extensions.h \
149 kernel/focus.c \
150 kernel/focus.h \
151 kernel/frame.c \
152 kernel/frame.h \
153 kernel/framerender.c \
154 kernel/framerender.h \
155 kernel/geom.h \
156 kernel/grab.c \
157 kernel/grab.h \
158 kernel/group.c \
159 kernel/group.h \
160 kernel/menu.c \
161 kernel/menu.h \
162 kernel/menu_render.c \
163 kernel/misc.h \
164 kernel/moveresize.c \
165 kernel/moveresize.h \
166 kernel/mwm.h \
167 kernel/openbox.c \
168 kernel/openbox.h \
169 kernel/plugin.c \
170 kernel/plugin.h \
171 kernel/popup.c \
172 kernel/popup.h \
173 kernel/prop.c \
174 kernel/prop.h \
175 kernel/screen.c \
176 kernel/screen.h \
177 kernel/session.c \
178 kernel/session.h \
179 kernel/stacking.c \
180 kernel/stacking.h \
181 kernel/startup.c \
182 kernel/startup.h \
183 kernel/timer.c \
184 kernel/timer.h \
185 kernel/window.c \
186 kernel/window.h \
187 kernel/xerror.c \
188 kernel/xerror.h \
189 plugins/interface.h
190
191 ## plugins/resistance ##
192
193 plugins_resistance_resistance_la_CPPFLAGS = \
194 $(XFT_CFLAGS) \
195 $(GLIB_CFLAGS) \
196 $(LIBSN_CFLAGS) \
197 $(XML_CFLAGS) \
198 -DPLUGINDIR=\"$(plugindir)\" \
199 -DG_LOG_DOMAIN=\"Plugin-Resistance\"
200 plugins_resistance_resistance_la_LDFLAGS = \
201 -module \
202 -avoid-version
203 plugins_resistance_resistance_la_SOURCES = \
204 plugins/resistance/resistance.c \
205 plugins/resistance/resistance.h
206
207 if OBCONF
208 plugins_resistance_resistance_config_la_CPPFLAGS = \
209 $(XFT_CFLAGS) \
210 $(GLIB_CFLAGS) \
211 $(LIBSN_CFLAGS) \
212 $(XML_CFLAGS) \
213 -DPLUGINDIR=\"$(plugindir)\" \
214 -DG_LOG_DOMAIN=\"Plugin-Resistance\" \
215 $(GTK_CFLAGS) \
216 $(GLADE_CFLAGS)
217 plugins_resistance_resistance_config_la_LDFLAGS = \
218 -module \
219 -avoid-version
220 plugins_resistance_resistance_config_la_SOURCES = \
221 plugins/resistance/resistance_config.c
222 endif
223
224 ## plugins/placement ##
225
226 plugins_placement_placement_la_CPPFLAGS = \
227 $(XFT_CFLAGS) \
228 $(GLIB_CFLAGS) \
229 $(LIBSN_CFLAGS) \
230 $(XML_CFLAGS) \
231 -DPLUGINDIR=\"$(plugindir)\" \
232 -DG_LOG_DOMAIN=\"Plugin-Placement\"
233 plugins_placement_placement_la_LDFLAGS = \
234 -module \
235 -avoid-version
236 plugins_placement_placement_la_SOURCES = \
237 plugins/placement/placement.c \
238 plugins/placement/history.c \
239 plugins/placement/history.h
240
241 ## plugins/mouse ##
242
243 plugins_mouse_mouse_la_CPPFLAGS = \
244 $(XFT_CFLAGS) \
245 $(GLIB_CFLAGS) \
246 $(LIBSN_CFLAGS) \
247 $(XML_CFLAGS) \
248 -DPLUGINDIR=\"$(plugindir)\" \
249 -DG_LOG_DOMAIN=\"Plugin-Mouse\"
250 plugins_mouse_mouse_la_LDFLAGS = \
251 -module \
252 -avoid-version
253 plugins_mouse_mouse_la_SOURCES = \
254 plugins/mouse/mouse.c \
255 plugins/mouse/mouse.h \
256 plugins/mouse/translate.c \
257 plugins/mouse/translate.h
258
259 ## plugins/mouse ##
260
261 plugins_keyboard_keyboard_la_CPPFLAGS = \
262 $(XFT_CFLAGS) \
263 $(GLIB_CFLAGS) \
264 $(LIBSN_CFLAGS) \
265 $(XML_CFLAGS) \
266 -DPLUGINDIR=\"$(plugindir)\" \
267 -DG_LOG_DOMAIN=\"Plugin-Keyboard\"
268 plugins_keyboard_keyboard_la_LDFLAGS = \
269 -module \
270 -avoid-version
271 plugins_keyboard_keyboard_la_SOURCES = \
272 plugins/keyboard/keyboard.c \
273 plugins/keyboard/keyboard.h \
274 plugins/keyboard/tree.c \
275 plugins/keyboard/tree.h \
276 plugins/keyboard/translate.c \
277 plugins/keyboard/translate.h
278
279 ## plugins/menu ##
280
281 plugins_menu_timed_menu_la_CPPFLAGS = \
282 $(XFT_CFLAGS) \
283 $(GLIB_CFLAGS) \
284 $(LIBSN_CFLAGS) \
285 $(XML_CFLAGS) \
286 -DPLUGINDIR=\"$(plugindir)\" \
287 -DG_LOG_DOMAIN=\"Plugin-Timed-Menu\"
288 plugins_menu_timed_menu_la_LDFLAGS = \
289 -module \
290 -avoid-version
291 plugins_menu_timed_menu_la_SOURCES = \
292 plugins/menu/timed_menu.c \
293 plugins/menu/timed_menu.h
294
295 plugins_menu_fifo_menu_la_CPPFLAGS = \
296 $(XFT_CFLAGS) \
297 $(GLIB_CFLAGS) \
298 $(LIBSN_CFLAGS) \
299 $(XML_CFLAGS) \
300 -DPLUGINDIR=\"$(plugindir)\" \
301 -DG_LOG_DOMAIN=\"Plugin-Fifo-Menu\"
302 plugins_menu_fifo_menu_la_LDFLAGS = \
303 -module \
304 -avoid-version
305 plugins_menu_fifo_menu_la_SOURCES = \
306 plugins/menu/fifo_menu.c \
307 plugins/menu/fifo_menu.h
308
309 plugins_menu_client_menu_la_CPPFLAGS = \
310 $(XFT_CFLAGS) \
311 $(GLIB_CFLAGS) \
312 $(LIBSN_CFLAGS) \
313 $(XML_CFLAGS) \
314 -DPLUGINDIR=\"$(plugindir)\" \
315 -DG_LOG_DOMAIN=\"Plugin-Client-Menu\"
316 plugins_menu_client_menu_la_LDFLAGS = \
317 -module \
318 -avoid-version
319 plugins_menu_client_menu_la_SOURCES = \
320 plugins/menu/client_menu.c
321
322 plugins_menu_include_menu_la_CPPFLAGS = \
323 $(XFT_CFLAGS) \
324 $(GLIB_CFLAGS) \
325 $(LIBSN_CFLAGS) \
326 $(XML_CFLAGS) \
327 -DPLUGINDIR=\"$(plugindir)\" \
328 -DG_LOG_DOMAIN=\"Plugin-Include-Menu\"
329 plugins_menu_include_menu_la_LDFLAGS = \
330 -module \
331 -avoid-version
332 plugins_menu_include_menu_la_SOURCES = \
333 plugins/menu/include_menu.c
334
335
336 ## obconf ##
337
338 tools_obconf_obconf_CPPFLAGS = \
339 $(GTK_CFLAGS) \
340 $(GDK_PIXBUF_CFLAGS) \
341 $(XML_CFLAGS) \
342 -DLOCALEDIR=\"$(localedir)\" \
343 -DPLUGINDIR=\"$(plugindir)\" \
344 -DRCDIR=\"$(rcdir)\" \
345 -DPIXMAPDIR=\"$(pixmapdir)\" \
346 -DG_LOG_DOMAIN=\"Obconf\"
347 tools_obconf_obconf_LDADD = \
348 $(GTK_LIBS) \
349 $(GDK_PIXBUF_LIBS) \
350 $(LIBINTL) \
351 render/libobrender.la \
352 parser/libobparser.la
353 tools_obconf_obconf_SOURCES = \
354 gettext.h \
355 tools/obconf/main.c \
356 plugins/obconf_interface.h
357
358
359 ## kdetrayproxy ##
360
361 tools_kdetrayproxy_kdetrayproxy_CPPFLAGS = \
362 $(X_CFLAGS)
363 tools_kdetrayproxy_kdetrayproxy_LDADD = \
364 $(X_LIBS)
365 tools_kdetrayproxy_kdetrayproxy_SOURCES = \
366 tools/kdetrayproxy/kdetrayproxy.c
367
368
369 ## themes ##
370
371 thebear_themedir = $(themedir)/thebear
372 dist_thebear_theme_DATA = \
373 themes/thebear/themerc
374
375 planton_themedir = $(themedir)/planton
376 dist_planton_theme_DATA = \
377 themes/planton/themerc \
378 themes/planton/max.xbm \
379 themes/planton/max_toggled.xbm \
380 themes/planton/desk.xbm \
381 themes/planton/desk_toggled.xbm \
382 themes/planton/shade.xbm \
383 themes/planton/shade_toggled.xbm \
384 themes/planton/iconify.xbm \
385 themes/planton/close.xbm
386
387 lightindustry_themedir = $(themedir)/Light-Industry
388 dist_lightindustry_theme_DATA = \
389 themes/Light-Industry/themerc \
390 themes/Light-Industry/max.xbm \
391 themes/Light-Industry/iconify.xbm \
392 themes/Light-Industry/close.xbm
393
394 lightindustrybig_themedir = $(themedir)/Light-Industry-big
395 dist_lightindustrybig_theme_DATA = \
396 themes/Light-Industry-big/themerc \
397 themes/Light-Industry-big/max.xbm \
398 themes/Light-Industry-big/iconify.xbm \
399 themes/Light-Industry-big/close.xbm
400
401 imerry_themedir = $(themedir)/I-merry
402 dist_imerry_theme_DATA = \
403 themes/I-merry/themerc \
404 themes/I-merry/max.xbm \
405 themes/I-merry/iconify.xbm \
406 themes/I-merry/close.xbm
407
408 greenz_themedir = $(themedir)/greenz
409 dist_greenz_theme_DATA = \
410 themes/greenz/themerc
411
412 bbstyle_themedir = $(themedir)/BBstylE
413 dist_bbstyle_theme_DATA = \
414 themes/BBstylE/themerc \
415 themes/BBstylE/max.xbm \
416 themes/BBstylE/max_toggled.xbm \
417 themes/BBstylE/desk.xbm \
418 themes/BBstylE/desk_toggled.xbm \
419 themes/BBstylE/shade.xbm \
420 themes/BBstylE/shade_toggled.xbm \
421 themes/BBstylE/iconify.xbm \
422 themes/BBstylE/close.xbm
423
424 om4ob_themedir = $(themedir)/om4ob
425 dist_om4ob_theme_DATA = \
426 themes/om4ob/themerc \
427 themes/om4ob/close_hover.xbm \
428 themes/om4ob/close.xbm \
429 themes/om4ob/desk_hover.xbm \
430 themes/om4ob/desk_toggled.xbm \
431 themes/om4ob/desk.xbm \
432 themes/om4ob/iconify_hover.xbm \
433 themes/om4ob/iconify_pressed.xbm \
434 themes/om4ob/iconify.xbm \
435 themes/om4ob/max_disabled.xbm \
436 themes/om4ob/max_hover.xbm \
437 themes/om4ob/max_pressed.xbm \
438 themes/om4ob/max_toggled.xbm \
439 themes/om4ob/max.xbm \
440 themes/om4ob/shade_disabled.xbm \
441 themes/om4ob/shade_hover.xbm \
442 themes/om4ob/shade_toggled.xbm \
443 themes/om4ob/shade.xbm
444
445
446 ## data ##
447
448 dist_rc_DATA = \
449 data/rc3
450
451 dist_desktopfiles_DATA = \
452 data/openbox.desktop
453
454 EXTRA_DIST = \
455 config.rpath \
456 mkinstalldirs \
457 README \
458 COPYING \
459 AUTHORS
460
461 #doc:
462 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
463
464 distclean-local:
465 for d in . m4 po render; do \
466 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
467 rm -f "$$d/$$p"; \
468 done \
469 done
470
471 .PHONY: doc
This page took 0.058767 seconds and 4 git commands to generate.