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 obtpubincludedir= $(includedir)/openbox/@OBT_VERSION@/obt
12 rrpubincludedir = $(includedir)/openbox/@RR_VERSION@/render
13 pixmapdir = $(datadir)/pixmaps
14 xsddir = $(datadir)/openbox
18 AUTOMAKE_OPTIONS = subdir-objects foreign
20 ACLOCAL_AMFLAGS = -I m4
28 render/libobrender.la \
31 # engines/libconcept.la \
32 # engines/libconcept2.la \
33 # engines/libminimal.la
37 tools/gnome-panel-control/gnome-panel-control
40 tools/xdg-autostart/xdg-autostart
42 nodist_bin_SCRIPTS = \
43 data/xsession/openbox-session \
44 data/xsession/openbox-gnome-session \
45 data/xsession/openbox-kde-session
49 render_rendertest_CPPFLAGS = \
53 -DG_LOG_DOMAIN=\"RenderTest\"
54 render_rendertest_LDADD = \
56 render/libobrender.la \
62 render_rendertest_SOURCES = render/test.c
64 render_libobrender_la_CPPFLAGS = \
70 -DG_LOG_DOMAIN=\"ObRender\" \
71 -DDEFAULT_THEME=\"$(theme)\"
72 render_libobrender_la_LDFLAGS = \
74 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
75 render_libobrender_la_LIBADD = \
82 render_libobrender_la_SOURCES = \
103 engines_libdefault_la_CPPFLAGS = \
109 -DG_LOG_DOMAIN=\"ObDefault\" \
110 -DDEFAULT_THEME=\"$(theme)\"
111 engines_libdefault_la_LDFLAGS = \
113 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
114 engines_libdefault_la_LIBADD = \
115 render/libobrender.la \
122 engines_libdefault_la_SOURCES = \
124 engines/default/config.h \
125 engines/default/config.c \
126 engines/default/render.h \
127 engines/default/render.c \
128 engines/default/plugin.h \
129 engines/default/plugin.c
132 #engines_libminimal_la_CPPFLAGS = \
138 # -DG_LOG_DOMAIN=\"ObRender\" \
139 # -DDEFAULT_THEME=\"$(theme)\"
140 #engines_libminimal_la_LDFLAGS = \
141 # -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
142 #engines_libminimal_la_LIBADD = \
143 # parser/libobparser.la \
149 #engines_libminimal_la_SOURCES = \
156 # render/gradient.h \
157 # render/gradient.c \
161 # render/instance.h \
162 # render/instance.c \
167 # openbox/engine_interface.h \
168 # openbox/engine_interface.c \
169 # engines/minimal/frame_minimal_config.h \
170 # engines/minimal/frame_minimal_config.c \
171 # engines/minimal/frame_minimal_render.h \
172 # engines/minimal/frame_minimal_render.c \
173 # engines/minimal/frame_minimal_plugin.h \
174 # engines/minimal/frame_minimal_plugin.c
177 #engines_libconcept_la_CPPFLAGS = \
184 # $(GDK_PIXBUF_CFLAGS) \
185 # $(GDK_PIXBUF_XLIB_CFLAGS) \
186 # -DG_LOG_DOMAIN=\"ObRender\" \
187 # -DDEFAULT_THEME=\"$(theme)\"
188 #engines_libconcept_la_LDFLAGS = \
189 # -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
190 #engines_libconcept_la_LIBADD = \
191 # render/libobrender.la \
197 # $(GDK_PIXBUF_LIBS) \
198 # $(GDK_PIXBUF_XLIB_LIBS) \
200 #engines_libconcept_la_SOURCES = \
207 # render/gradient.h \
208 # render/gradient.c \
212 # render/instance.h \
213 # render/instance.c \
218 # openbox/engine_interface.h \
219 # openbox/engine_interface.c \
220 # engines/concept/config.h \
221 # engines/concept/config.c \
222 # engines/concept/plugin.h \
223 # engines/concept/plugin.c
227 obt_libobt_la_CPPFLAGS = \
235 -DG_LOG_DOMAIN=\"Obt\" \
236 -DLOCALEDIR=\"$(localedir)\" \
237 -DDATADIR=\"$(datadir)\" \
238 -DCONFIGDIR=\"$(configdir)\"
239 obt_libobt_la_LDFLAGS = \
241 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
242 obt_libobt_la_LIBADD = \
250 obt_libobt_la_SOURCES = \
270 openbox_openbox_CPPFLAGS = \
279 -DLOCALEDIR=\"$(localedir)\" \
280 -DDATADIR=\"$(datadir)\" \
281 -DCONFIGDIR=\"$(configdir)\" \
282 -DG_LOG_DOMAIN=\"Openbox\"
283 openbox_openbox_LDADD = \
292 render/libobrender.la \
294 openbox_openbox_LDFLAGS = -export-dynamic
295 openbox_openbox_SOURCES = \
297 openbox/actions/all.c \
298 openbox/actions/all.h \
299 openbox/actions/addremovedesktop.c \
300 openbox/actions/breakchroot.c \
301 openbox/actions/close.c \
302 openbox/actions/cyclewindows.c \
303 openbox/actions/debug.c \
304 openbox/actions/decorations.c \
305 openbox/actions/desktop.c \
306 openbox/actions/dockautohide.c \
307 openbox/actions/directionalwindows.c \
308 openbox/actions/execute.c \
309 openbox/actions/exit.c \
310 openbox/actions/focus.c \
311 openbox/actions/focustobottom.c \
312 openbox/actions/fullscreen.c \
313 openbox/actions/growtoedge.c \
314 openbox/actions/iconify.c \
315 openbox/actions/if.c \
316 openbox/actions/kill.c \
317 openbox/actions/layer.c \
318 openbox/actions/lower.c \
319 openbox/actions/maximize.c \
320 openbox/actions/move.c \
321 openbox/actions/moverelative.c \
322 openbox/actions/moveresizeto.c \
323 openbox/actions/movetoedge.c \
324 openbox/actions/omnipresent.c \
325 openbox/actions/raise.c \
326 openbox/actions/raiselower.c \
327 openbox/actions/reconfigure.c \
328 openbox/actions/resize.c \
329 openbox/actions/resizerelative.c \
330 openbox/actions/restart.c \
331 openbox/actions/shade.c \
332 openbox/actions/showdesktop.c \
333 openbox/actions/showmenu.c \
334 openbox/actions/unfocus.c \
339 openbox/client_list_menu.c \
340 openbox/client_list_menu.h \
341 openbox/client_list_combined_menu.c \
342 openbox/client_list_combined_menu.h \
343 openbox/client_menu.c \
344 openbox/client_menu.h \
355 openbox/focus_cycle.c \
356 openbox/focus_cycle.h \
357 openbox/focus_cycle_indicator.c \
358 openbox/focus_cycle_indicator.h \
359 openbox/focus_cycle_popup.c \
360 openbox/focus_cycle_popup.h \
361 openbox/engine_interface.h \
362 openbox/engine_interface.c \
372 openbox/menuframe.c \
373 openbox/menuframe.h \
379 openbox/moveresize.c \
380 openbox/moveresize.h \
400 openbox/startupnotify.c \
401 openbox/startupnotify.h \
402 openbox/translate.c \
403 openbox/translate.h \
407 ## gnome-panel-control ##
409 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
411 tools_gnome_panel_control_gnome_panel_control_LDADD = \
413 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
414 tools/gnome-panel-control/gnome-panel-control.c
417 ## default button masks ##
419 data/xbm/bullet.xbm \
421 data/xbm/desk_toggled.xbm \
423 data/xbm/iconify.xbm \
424 data/xbm/max_toggled.xbm \
426 data/xbm/shade_toggled.xbm \
432 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
433 dist_clearlooks_theme_DATA= \
434 themes/Clearlooks/openbox-3/themerc
436 clearlooks34_themedir = $(themedir)/Clearlooks/openbox-3
437 dist_clearlooks34_theme_DATA= \
438 themes/Clearlooks-3.4/openbox-3/themerc
440 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
441 dist_clearlooksolive_theme_DATA= \
442 themes/Clearlooks-Olive/openbox-3/themerc
444 mikachu_themedir = $(themedir)/Mikachu/openbox-3
445 dist_mikachu_theme_DATA= \
446 themes/Mikachu/openbox-3/bullet.xbm \
447 themes/Mikachu/openbox-3/close.xbm \
448 themes/Mikachu/openbox-3/desk.xbm \
449 themes/Mikachu/openbox-3/iconify.xbm \
450 themes/Mikachu/openbox-3/max.xbm \
451 themes/Mikachu/openbox-3/themerc
454 natura_themedir = $(themedir)/Natura/openbox-3
455 dist_natura_theme_DATA= \
456 themes/Natura/openbox-3/close_hover.xbm \
457 themes/Natura/openbox-3/close.xbm \
458 themes/Natura/openbox-3/desk_toggled.xbm \
459 themes/Natura/openbox-3/desk_hover.xbm \
460 themes/Natura/openbox-3/desk.xbm \
461 themes/Natura/openbox-3/iconify_hover.xbm \
462 themes/Natura/openbox-3/iconify.xbm \
463 themes/Natura/openbox-3/max_hover.xbm \
464 themes/Natura/openbox-3/max_toggled.xbm \
465 themes/Natura/openbox-3/max.xbm \
466 themes/Natura/openbox-3/shade.xbm \
467 themes/Natura/openbox-3/shade_hover.xbm \
468 themes/Natura/openbox-3/themerc
470 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
471 dist_artwizboxed_theme_DATA= \
472 themes/Artwiz-boxed/openbox-3/themerc
474 bear2_themedir = $(themedir)/Bear2/openbox-3
475 dist_bear2_theme_DATA= \
476 themes/Bear2/openbox-3/close_pressed.xbm \
477 themes/Bear2/openbox-3/close.xbm \
478 themes/Bear2/openbox-3/desk_toggled.xbm \
479 themes/Bear2/openbox-3/desk.xbm \
480 themes/Bear2/openbox-3/iconify_pressed.xbm \
481 themes/Bear2/openbox-3/iconify.xbm \
482 themes/Bear2/openbox-3/max_pressed.xbm \
483 themes/Bear2/openbox-3/max_toggled.xbm \
484 themes/Bear2/openbox-3/max.xbm \
485 themes/Bear2/openbox-3/shade_pressed.xbm \
486 themes/Bear2/openbox-3/shade.xbm \
487 themes/Bear2/openbox-3/themerc
489 orang_themedir = $(themedir)/Orang/openbox-3
490 dist_orang_theme_DATA= \
491 themes/Orang/openbox-3/themerc
493 onyx_themedir = $(themedir)/Onyx/openbox-3
494 dist_onyx_theme_DATA= \
495 themes/Onyx/openbox-3/themerc
497 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
498 dist_onyxcitrus_theme_DATA= \
499 themes/Onyx-Citrus/openbox-3/themerc
501 syscrash_themedir = $(themedir)/Syscrash/openbox-3
502 dist_syscrash_theme_DATA= \
503 themes/Syscrash/openbox-3/max_disabled.xbm \
504 themes/Syscrash/openbox-3/max_pressed.xbm \
505 themes/Syscrash/openbox-3/max_toggled.xbm \
506 themes/Syscrash/openbox-3/max.xbm \
507 themes/Syscrash/openbox-3/themerc
511 rrpubinclude_HEADERS = \
523 obtpubinclude_HEADERS = \
534 nodist_pkgconfig_DATA = \
535 render/obrender-4.0.pc \
549 -e 's!@version\@!$(VERSION)!' \
550 -e 's!@configdir\@!$(configdir)!' \
551 -e 's!@bindir\@!$(bindir)!'
553 %.desktop: %.desktop.in Makefile
554 @echo make: creating $@
557 %-session: %-session.in Makefile
558 @echo make: creating $@
562 @echo make: creating $@
563 @docbook-to-man $< >$@
566 @echo make: creating $@
569 dist_gnomewmfiles_DATA = \
570 data/gnome-wm-properties/openbox.desktop
572 nodist_xsessions_DATA = \
573 data/xsession/openbox.desktop \
574 data/xsession/openbox-gnome.desktop \
575 data/xsession/openbox-kde.desktop
580 data/xsession/openbox.desktop.in \
581 data/xsession/openbox-gnome.desktop.in \
582 data/xsession/openbox-kde.desktop.in \
583 data/xsession/openbox-session.in \
584 data/xsession/openbox-gnome-session.in \
585 data/xsession/openbox-kde-session.in \
588 doc/openbox-session.1.sgml \
589 doc/openbox-session.1.in \
590 doc/openbox-gnome-session.1.sgml \
591 doc/openbox-gnome-session.1.in \
592 doc/openbox-kde-session.1.sgml \
593 doc/openbox-kde-session.1.in \
594 render/version.h.in \
595 render/obrender-4.0.pc.in \
598 tools/themeupdate/themeupdate.py \
624 doc/rc-mouse-focus.xml
628 doc/openbox-session.1 \
629 doc/openbox-gnome-session.1 \
630 doc/openbox-kde-session.1
635 # make clean doesn't delete these for some reason, even though they are
639 doc/openbox-session.1 \
640 doc/openbox-gnome-session.1 \
641 doc/openbox-kde-session.1 \
642 data/xsession/openbox-session \
643 data/xsession/openbox-gnome-session \
644 data/xsession/openbox-kde-session \
645 data/xsession/openbox.desktop \
646 data/xsession/openbox-gnome.desktop \
647 data/xsession/openbox-kde.desktop
650 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
653 for d in . m4 po render parser obt openbox; do \
654 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \