]> Dogcows Code - chaz/openbox/blob - Makefile.am
Combine the Exit and SessionLogout actions
[chaz/openbox] / Makefile.am
1 SUBDIRS = m4 po
2
3 docxbmdir = $(docdir)/xbm
4 themedir = $(datadir)/themes
5 localedir = $(datadir)/locale
6 configdir = $(sysconfdir)/xdg
7 rcdir = $(configdir)/openbox
8 xsessionsdir = $(datadir)/xsessions
9 gnomewmfilesdir = $(datadir)/gnome/wm-properties
10 pkgconfigdir = $(libdir)/pkgconfig
11 pubincludedir = $(includedir)/openbox/@OB_VERSION@/openbox
12 pixmapdir = $(datadir)/pixmaps
13 xsddir = $(datadir)/openbox
14 secretbindir = $(libdir)/openbox
15
16 theme = Clearlooks
17
18 AUTOMAKE_OPTIONS = subdir-objects foreign
19
20 ACLOCAL_AMFLAGS = -I m4
21
22 INCLUDES = -I.
23
24 check_PROGRAMS = \
25 render/rendertest
26
27 lib_LTLIBRARIES = \
28 parser/libobparser.la \
29 render/libobrender.la
30
31 bin_PROGRAMS = \
32 openbox/openbox \
33 tools/gdm-control/gdm-control \
34 tools/gnome-panel-control/gnome-panel-control
35
36 dist_secretbin_SCRIPTS = \
37 tools/xdg-autostart/xdg-autostart
38
39 nodist_bin_SCRIPTS = \
40 data/xsession/openbox-session \
41 data/xsession/openbox-gnome-session \
42 data/xsession/openbox-kde-session
43
44 ## render ##
45
46 render_rendertest_CPPFLAGS = \
47 $(PANGO_CFLAGS) \
48 $(XFT_CFLAGS) \
49 $(GLIB_CFLAGS) \
50 -DG_LOG_DOMAIN=\"RenderTest\"
51 render_rendertest_LDADD = \
52 parser/libobparser.la \
53 render/libobrender.la \
54 $(GLIB_LIBS) \
55 $(PANGO_LIBS) \
56 $(XFT_LIBS) \
57 $(XML_LIBS) \
58 $(X_LIBS)
59 render_rendertest_SOURCES = render/test.c
60
61 render_libobrender_la_CPPFLAGS = \
62 $(X_CFLAGS) \
63 $(GLIB_CFLAGS) \
64 $(XML_CFLAGS) \
65 $(PANGO_CFLAGS) \
66 $(XFT_CFLAGS) \
67 -DG_LOG_DOMAIN=\"ObRender\" \
68 -DDEFAULT_THEME=\"$(theme)\"
69 render_libobrender_la_LDFLAGS = \
70 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
71 render_libobrender_la_LIBADD = \
72 parser/libobparser.la \
73 $(X_LIBS) \
74 $(PANGO_LIBS) \
75 $(XFT_LIBS) \
76 $(GLIB_LIBS) \
77 $(XML_LIBS)
78 render_libobrender_la_SOURCES = \
79 gettext.h \
80 render/color.h \
81 render/color.c \
82 render/font.h \
83 render/font.c \
84 render/geom.h \
85 render/gradient.h \
86 render/gradient.c \
87 render/icon.h \
88 render/image.h \
89 render/image.c \
90 render/imagecache.h \
91 render/imagecache.c \
92 render/instance.h \
93 render/instance.c \
94 render/mask.h \
95 render/mask.c \
96 render/render.h \
97 render/render.c \
98 render/theme.h \
99 render/theme.c
100
101 ## parser ##
102
103 parser_libobparser_la_CPPFLAGS = \
104 $(GLIB_CFLAGS) \
105 $(XML_CFLAGS) \
106 -DG_LOG_DOMAIN=\"ObParser\" \
107 -DLOCALEDIR=\"$(localedir)\" \
108 -DDATADIR=\"$(datadir)\" \
109 -DCONFIGDIR=\"$(configdir)\"
110 parser_libobparser_la_LDFLAGS = \
111 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
112 parser_libobparser_la_LIBADD = \
113 $(GLIB_LIBS) \
114 $(XML_LIBS)
115 parser_libobparser_la_SOURCES = \
116 parser/parse.h \
117 parser/parse.c
118
119 ## openbox ##
120
121 openbox_openbox_CPPFLAGS = \
122 $(SM_CFLAGS) \
123 $(XINERAMA_CFLAGS) \
124 $(XKB_CFLAGS) \
125 $(XRANDR_CFLAGS) \
126 $(XSHAPE_CFLAGS) \
127 $(XSYNC_CFLAGS) \
128 $(X_CFLAGS) \
129 $(XCURSOR_CFLAGS) \
130 $(SM_CFLAGS) \
131 $(PANGO_CFLAGS) \
132 $(GLIB_CFLAGS) \
133 $(LIBSN_CFLAGS) \
134 $(XML_CFLAGS) \
135 -DLOCALEDIR=\"$(localedir)\" \
136 -DDATADIR=\"$(datadir)\" \
137 -DCONFIGDIR=\"$(configdir)\" \
138 -DG_LOG_DOMAIN=\"Openbox\"
139 openbox_openbox_LDADD = \
140 $(SM_LIBS) \
141 $(XINERAMA_LIBS) \
142 $(XKB_LIBS) \
143 $(XRANDR_LIBS) \
144 $(XSHAPE_LIBS) \
145 $(XSYNC_LIBS) \
146 $(GLIB_LIBS) \
147 $(X_LIBS) \
148 $(XCURSOR_LIBS) \
149 $(LIBSN_LIBS) \
150 $(XML_LIBS) \
151 $(EFENCE_LIBS) \
152 $(LIBINTL) \
153 render/libobrender.la \
154 parser/libobparser.la
155 openbox_openbox_LDFLAGS = -export-dynamic
156 openbox_openbox_SOURCES = \
157 gettext.h \
158 openbox/actions/all.c \
159 openbox/actions/all.h \
160 openbox/actions/addremovedesktop.c \
161 openbox/actions/breakchroot.c \
162 openbox/actions/close.c \
163 openbox/actions/cyclewindows.c \
164 openbox/actions/debug.c \
165 openbox/actions/decorations.c \
166 openbox/actions/desktop.c \
167 openbox/actions/dockautohide.c \
168 openbox/actions/directionalwindows.c \
169 openbox/actions/execute.c \
170 openbox/actions/exit.c \
171 openbox/actions/focus.c \
172 openbox/actions/focustobottom.c \
173 openbox/actions/fullscreen.c \
174 openbox/actions/growtoedge.c \
175 openbox/actions/iconify.c \
176 openbox/actions/if.c \
177 openbox/actions/kill.c \
178 openbox/actions/layer.c \
179 openbox/actions/lower.c \
180 openbox/actions/maximize.c \
181 openbox/actions/move.c \
182 openbox/actions/moverelative.c \
183 openbox/actions/moveresizeto.c \
184 openbox/actions/movetoedge.c \
185 openbox/actions/omnipresent.c \
186 openbox/actions/raise.c \
187 openbox/actions/raiselower.c \
188 openbox/actions/reconfigure.c \
189 openbox/actions/resize.c \
190 openbox/actions/resizerelative.c \
191 openbox/actions/restart.c \
192 openbox/actions/shade.c \
193 openbox/actions/showdesktop.c \
194 openbox/actions/showmenu.c \
195 openbox/actions/unfocus.c \
196 openbox/actions.c \
197 openbox/actions.h \
198 openbox/client.c \
199 openbox/client.h \
200 openbox/client_list_menu.c \
201 openbox/client_list_menu.h \
202 openbox/client_list_combined_menu.c \
203 openbox/client_list_combined_menu.h \
204 openbox/client_menu.c \
205 openbox/client_menu.h \
206 openbox/config.c \
207 openbox/config.h \
208 openbox/debug.c \
209 openbox/debug.h \
210 openbox/dock.c \
211 openbox/dock.h \
212 openbox/event.c \
213 openbox/event.h \
214 openbox/extensions.c \
215 openbox/extensions.h \
216 openbox/focus.c \
217 openbox/focus.h \
218 openbox/focus_cycle.c \
219 openbox/focus_cycle.h \
220 openbox/focus_cycle_indicator.c \
221 openbox/focus_cycle_indicator.h \
222 openbox/focus_cycle_popup.c \
223 openbox/focus_cycle_popup.h \
224 openbox/frame.c \
225 openbox/frame.h \
226 openbox/framerender.c \
227 openbox/framerender.h \
228 openbox/geom.h \
229 openbox/grab.c \
230 openbox/grab.h \
231 openbox/group.c \
232 openbox/group.h \
233 openbox/keyboard.c \
234 openbox/keyboard.h \
235 openbox/keytree.c \
236 openbox/keytree.h \
237 openbox/mainloop.c \
238 openbox/mainloop.h \
239 openbox/menuframe.c \
240 openbox/menuframe.h \
241 openbox/menu.c \
242 openbox/menu.h \
243 openbox/misc.h \
244 openbox/modkeys.c \
245 openbox/modkeys.h \
246 openbox/mouse.c \
247 openbox/mouse.h \
248 openbox/moveresize.c \
249 openbox/moveresize.h \
250 openbox/mwm.h \
251 openbox/openbox.c \
252 openbox/openbox.h \
253 openbox/ping.c \
254 openbox/ping.h \
255 openbox/place.c \
256 openbox/place.h \
257 openbox/prompt.c \
258 openbox/prompt.h \
259 openbox/popup.c \
260 openbox/popup.h \
261 openbox/prop.c \
262 openbox/prop.h \
263 openbox/resist.c \
264 openbox/resist.h \
265 openbox/screen.c \
266 openbox/screen.h \
267 openbox/session.c \
268 openbox/session.h \
269 openbox/stacking.c \
270 openbox/stacking.h \
271 openbox/startupnotify.c \
272 openbox/startupnotify.h \
273 openbox/translate.c \
274 openbox/translate.h \
275 openbox/window.c \
276 openbox/window.h \
277 openbox/xerror.c \
278 openbox/xerror.h
279
280
281 ## gnome-panel-control ##
282
283 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
284 $(X_CFLAGS)
285 tools_gnome_panel_control_gnome_panel_control_LDADD = \
286 $(X_LIBS)
287 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
288 tools/gnome-panel-control/gnome-panel-control.c
289
290 ## gdm-control ##
291
292 tools_gdm_control_gdm_control_CPPFLAGS = \
293 $(X_CFLAGS) \
294 $(GLIB_CFLAGS)
295 tools_gdm_control_gdm_control_LDADD = \
296 $(X_LIBS) \
297 $(GLIB_LIBS)
298 tools_gdm_control_gdm_control_SOURCES = \
299 tools/gdm-control/gdm-control.c
300
301
302 ## default button masks ##
303 dist_docxbm_DATA = \
304 data/xbm/bullet.xbm \
305 data/xbm/close.xbm \
306 data/xbm/desk_toggled.xbm \
307 data/xbm/desk.xbm \
308 data/xbm/iconify.xbm \
309 data/xbm/max_toggled.xbm \
310 data/xbm/max.xbm \
311 data/xbm/shade_toggled.xbm \
312 data/xbm/shade.xbm
313
314
315 ## themes ##
316
317 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
318 dist_clearlooks_theme_DATA= \
319 themes/Clearlooks/openbox-3/themerc
320
321 clearlooks34_themedir = $(themedir)/Clearlooks/openbox-3
322 dist_clearlooks34_theme_DATA= \
323 themes/Clearlooks-3.4/openbox-3/themerc
324
325 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
326 dist_clearlooksolive_theme_DATA= \
327 themes/Clearlooks-Olive/openbox-3/themerc
328
329 mikachu_themedir = $(themedir)/Mikachu/openbox-3
330 dist_mikachu_theme_DATA= \
331 themes/Mikachu/openbox-3/bullet.xbm \
332 themes/Mikachu/openbox-3/close.xbm \
333 themes/Mikachu/openbox-3/desk.xbm \
334 themes/Mikachu/openbox-3/iconify.xbm \
335 themes/Mikachu/openbox-3/max.xbm \
336 themes/Mikachu/openbox-3/themerc
337
338
339 natura_themedir = $(themedir)/Natura/openbox-3
340 dist_natura_theme_DATA= \
341 themes/Natura/openbox-3/close_hover.xbm \
342 themes/Natura/openbox-3/close.xbm \
343 themes/Natura/openbox-3/desk_toggled.xbm \
344 themes/Natura/openbox-3/desk_hover.xbm \
345 themes/Natura/openbox-3/desk.xbm \
346 themes/Natura/openbox-3/iconify_hover.xbm \
347 themes/Natura/openbox-3/iconify.xbm \
348 themes/Natura/openbox-3/max_hover.xbm \
349 themes/Natura/openbox-3/max_toggled.xbm \
350 themes/Natura/openbox-3/max.xbm \
351 themes/Natura/openbox-3/shade.xbm \
352 themes/Natura/openbox-3/shade_hover.xbm \
353 themes/Natura/openbox-3/themerc
354
355 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
356 dist_artwizboxed_theme_DATA= \
357 themes/Artwiz-boxed/openbox-3/themerc
358
359 bear2_themedir = $(themedir)/Bear2/openbox-3
360 dist_bear2_theme_DATA= \
361 themes/Bear2/openbox-3/close_pressed.xbm \
362 themes/Bear2/openbox-3/close.xbm \
363 themes/Bear2/openbox-3/desk_toggled.xbm \
364 themes/Bear2/openbox-3/desk.xbm \
365 themes/Bear2/openbox-3/iconify_pressed.xbm \
366 themes/Bear2/openbox-3/iconify.xbm \
367 themes/Bear2/openbox-3/max_pressed.xbm \
368 themes/Bear2/openbox-3/max_toggled.xbm \
369 themes/Bear2/openbox-3/max.xbm \
370 themes/Bear2/openbox-3/shade_pressed.xbm \
371 themes/Bear2/openbox-3/shade.xbm \
372 themes/Bear2/openbox-3/themerc
373
374 orang_themedir = $(themedir)/Orang/openbox-3
375 dist_orang_theme_DATA= \
376 themes/Orang/openbox-3/themerc
377
378 onyx_themedir = $(themedir)/Onyx/openbox-3
379 dist_onyx_theme_DATA= \
380 themes/Onyx/openbox-3/themerc
381
382 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
383 dist_onyxcitrus_theme_DATA= \
384 themes/Onyx-Citrus/openbox-3/themerc
385
386 syscrash_themedir = $(themedir)/Syscrash/openbox-3
387 dist_syscrash_theme_DATA= \
388 themes/Syscrash/openbox-3/max_disabled.xbm \
389 themes/Syscrash/openbox-3/max_pressed.xbm \
390 themes/Syscrash/openbox-3/max_toggled.xbm \
391 themes/Syscrash/openbox-3/max.xbm \
392 themes/Syscrash/openbox-3/themerc
393
394 ## public headers ##
395
396 pubinclude_HEADERS = \
397 render/color.h \
398 render/font.h \
399 render/geom.h \
400 render/gradient.h \
401 render/image.h \
402 render/instance.h \
403 render/mask.h \
404 render/render.h \
405 render/theme.h \
406 parser/parse.h
407
408 nodist_pubinclude_HEADERS = \
409 version.h
410
411 nodist_pkgconfig_DATA = \
412 render/obrender-3.0.pc \
413 parser/obparser-3.0.pc
414
415 ## data ##
416
417 dist_pixmap_DATA = \
418 data/openbox.png
419
420 nodist_rc_DATA = \
421 data/autostart.sh
422
423 dist_rc_DATA = \
424 data/rc.xml \
425 data/menu.xml
426
427 edit = $(SED) \
428 -e 's!@version\@!$(VERSION)!' \
429 -e 's!@configdir\@!$(configdir)!' \
430 -e 's!@secretbindir\@!$(secretbindir)!' \
431 -e 's!@bindir\@!$(bindir)!'
432
433 data/autostart.sh: $(srcdir)/data/autostart.sh.in Makefile
434 @echo make: creating $@
435 @$(edit) $< >$@
436
437 %.desktop: %.desktop.in Makefile
438 @echo make: creating $@
439 @$(edit) $< >$@
440
441 %-session: %-session.in Makefile
442 @echo make: creating $@
443 @$(edit) $< >$@
444
445 %.1.in: %.1.sgml
446 @echo make: creating $@
447 @docbook-to-man $< >$@
448
449 %.1: %.1.in Makefile
450 @echo make: creating $@
451 @$(edit) $< >$@
452
453 dist_gnomewmfiles_DATA = \
454 data/gnome-wm-properties/openbox.desktop
455
456 nodist_xsessions_DATA = \
457 data/xsession/openbox.desktop \
458 data/xsession/openbox-gnome.desktop \
459 data/xsession/openbox-kde.desktop
460
461 dist_noinst_DATA = \
462 version.h.in \
463 data/autostart.sh.in \
464 data/rc.xsd \
465 data/menu.xsd \
466 data/xsession/openbox.desktop.in \
467 data/xsession/openbox-gnome.desktop.in \
468 data/xsession/openbox-kde.desktop.in \
469 data/xsession/openbox-session.in \
470 data/xsession/openbox-gnome-session.in \
471 data/xsession/openbox-kde-session.in \
472 doc/openbox.1.sgml \
473 doc/openbox.1.in \
474 doc/openbox-session.1.sgml \
475 doc/openbox-session.1.in \
476 doc/openbox-gnome-session.1.sgml \
477 doc/openbox-gnome-session.1.in \
478 doc/openbox-kde-session.1.sgml \
479 doc/openbox-kde-session.1.in \
480 render/obrender-3.0.pc.in \
481 parser/obparser-3.0.pc.in \
482 tools/themeupdate/themeupdate.py \
483 tests/hideshow.py \
484 tests/Makefile \
485 tests/aspect.c \
486 tests/fullscreen.c \
487 tests/grav.c \
488 tests/grouptran.c \
489 tests/icons.c \
490 tests/modal2.c \
491 tests/modal3.c \
492 tests/modal.c \
493 tests/noresize.c \
494 tests/override.c \
495 tests/positioned.c \
496 tests/strut.c \
497 tests/title.c \
498 tests/urgent.c
499
500 dist_doc_DATA = \
501 COMPLIANCE \
502 README \
503 AUTHORS \
504 CHANGELOG \
505 COPYING \
506 data/rc.xsd \
507 data/menu.xsd \
508 doc/rc-mouse-focus.xml
509
510 nodist_man_MANS = \
511 doc/openbox.1 \
512 doc/openbox-session.1 \
513 doc/openbox-gnome-session.1 \
514 doc/openbox-kde-session.1
515
516 EXTRA_DIST = \
517 config.rpath
518
519 # make clean doesn't delete these for some reason, even though they are
520 # built by make
521 CLEANFILES = \
522 doc/openbox.1 \
523 doc/openbox-session.1 \
524 doc/openbox-gnome-session.1 \
525 doc/openbox-kde-session.1 \
526 data/xsession/openbox-session \
527 data/xsession/openbox-gnome-session \
528 data/xsession/openbox-kde-session \
529 data/xsession/openbox.desktop \
530 data/xsession/openbox-gnome.desktop \
531 data/xsession/openbox-kde.desktop
532
533 #doc:
534 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
535
536 distclean-local:
537 for d in . m4 po render; do \
538 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \
539 rm -f "$$d/$$p"; \
540 done \
541 done
542
543 .PHONY: doc
This page took 0.052488 seconds and 5 git commands to generate.