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 gnomesessiondir = $(datadir)/gnome-session/sessions
10 gnomewmfilesdir = $(datadir)/gnome/wm-properties
11 pkgconfigdir = $(libdir)/pkgconfig
12 obtpubincludedir= $(includedir)/openbox/@OBT_VERSION@/obt
13 rrpubincludedir = $(includedir)/openbox/@RR_VERSION@/obrender
14 pixmapdir = $(datadir)/pixmaps
15 xsddir = $(datadir)/openbox
16 appsdir = $(datadir)/applications
20 AUTOMAKE_OPTIONS = subdir-objects foreign
22 ACLOCAL_AMFLAGS = -I m4
31 obrender/libobrender.la
35 tools/gdm-control/gdm-control \
36 tools/gnome-panel-control/gnome-panel-control \
39 nodist_bin_SCRIPTS = \
40 data/xsession/openbox-session \
41 data/xsession/openbox-gnome-session \
42 data/xsession/openbox-kde-session
48 data/autostart/autostart
50 dist_libexec_SCRIPTS = \
51 data/autostart/openbox-xdg-autostart
53 nodist_libexec_SCRIPTS = \
54 data/autostart/openbox-autostart
59 obrender_rendertest_CPPFLAGS = \
62 -DG_LOG_DOMAIN=\"RenderTest\"
63 obrender_rendertest_LDADD = \
65 obrender/libobrender.la \
70 obrender_rendertest_SOURCES = obrender/test.c
72 obrender_libobrender_la_CPPFLAGS = \
78 -DG_LOG_DOMAIN=\"ObRender\" \
79 -DDEFAULT_THEME=\"$(theme)\"
80 obrender_libobrender_la_LDFLAGS = \
81 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
82 obrender_libobrender_la_LIBADD = \
89 obrender_libobrender_la_SOURCES = \
103 obrender/imagecache.h \
104 obrender/imagecache.c \
105 obrender/instance.h \
106 obrender/instance.c \
116 obt_libobt_la_CPPFLAGS = \
125 -DG_LOG_DOMAIN=\"Obt\" \
126 -DLOCALEDIR=\"$(localedir)\" \
127 -DDATADIR=\"$(datadir)\" \
128 -DCONFIGDIR=\"$(configdir)\"
129 obt_libobt_la_LDFLAGS = \
130 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
131 obt_libobt_la_LIBADD = \
140 obt_libobt_la_SOURCES = \
165 openbox_openbox_CPPFLAGS = \
174 -DLOCALEDIR=\"$(localedir)\" \
175 -DDATADIR=\"$(datadir)\" \
176 -DCONFIGDIR=\"$(configdir)\" \
177 -DG_LOG_DOMAIN=\"Openbox\"
178 openbox_openbox_LDADD = \
189 obrender/libobrender.la \
191 openbox_openbox_LDFLAGS = -export-dynamic
192 openbox_openbox_SOURCES = \
194 openbox/actions/all.c \
195 openbox/actions/all.h \
196 openbox/actions/addremovedesktop.c \
197 openbox/actions/breakchroot.c \
198 openbox/actions/close.c \
199 openbox/actions/cyclewindows.c \
200 openbox/actions/debug.c \
201 openbox/actions/decorations.c \
202 openbox/actions/desktop.c \
203 openbox/actions/dock.c \
204 openbox/actions/dockautohide.c \
205 openbox/actions/directionalwindows.c \
206 openbox/actions/execute.c \
207 openbox/actions/exit.c \
208 openbox/actions/focus.c \
209 openbox/actions/focustobottom.c \
210 openbox/actions/fullscreen.c \
211 openbox/actions/growtoedge.c \
212 openbox/actions/iconify.c \
213 openbox/actions/if.c \
214 openbox/actions/kill.c \
215 openbox/actions/layer.c \
216 openbox/actions/lower.c \
217 openbox/actions/maximize.c \
218 openbox/actions/move.c \
219 openbox/actions/moverelative.c \
220 openbox/actions/moveresizeto.c \
221 openbox/actions/movetoedge.c \
222 openbox/actions/omnipresent.c \
223 openbox/actions/raise.c \
224 openbox/actions/raiselower.c \
225 openbox/actions/reconfigure.c \
226 openbox/actions/resize.c \
227 openbox/actions/resizerelative.c \
228 openbox/actions/restart.c \
229 openbox/actions/shade.c \
230 openbox/actions/shadelowerraise.c \
231 openbox/actions/showdesktop.c \
232 openbox/actions/showmenu.c \
233 openbox/actions/unfocus.c \
238 openbox/client_list_menu.c \
239 openbox/client_list_menu.h \
240 openbox/client_list_combined_menu.c \
241 openbox/client_list_combined_menu.h \
242 openbox/client_menu.c \
243 openbox/client_menu.h \
254 openbox/focus_cycle.c \
255 openbox/focus_cycle.h \
256 openbox/focus_cycle_indicator.c \
257 openbox/focus_cycle_indicator.h \
258 openbox/focus_cycle_popup.c \
259 openbox/focus_cycle_popup.h \
262 openbox/framerender.c \
263 openbox/framerender.h \
273 openbox/menuframe.c \
274 openbox/menuframe.h \
280 openbox/moveresize.c \
281 openbox/moveresize.h \
289 openbox/place_overlap.c \
290 openbox/place_overlap.h \
303 openbox/startupnotify.c \
304 openbox/startupnotify.h \
305 openbox/translate.c \
306 openbox/translate.h \
311 ## gnome-panel-control ##
313 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
315 tools_gnome_panel_control_gnome_panel_control_LDADD = \
317 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
318 tools/gnome-panel-control/gnome-panel-control.c
322 tools_obxprop_obxprop_CPPFLAGS = \
325 tools_obxprop_obxprop_LDADD = \
328 tools_obxprop_obxprop_SOURCES = \
329 tools/obxprop/obxprop.c
333 tools_gdm_control_gdm_control_CPPFLAGS = \
337 tools_gdm_control_gdm_control_LDADD = \
341 tools_gdm_control_gdm_control_SOURCES = \
342 tools/gdm-control/gdm-control.c
345 ## default button masks ##
347 data/xbm/bullet.xbm \
349 data/xbm/desk_toggled.xbm \
351 data/xbm/iconify.xbm \
352 data/xbm/max_toggled.xbm \
354 data/xbm/shade_toggled.xbm \
360 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
361 dist_clearlooks_theme_DATA= \
362 themes/Clearlooks/openbox-3/themerc
364 clearlooks34_themedir = $(themedir)/Clearlooks-3.4/openbox-3
365 dist_clearlooks34_theme_DATA= \
366 themes/Clearlooks-3.4/openbox-3/themerc
368 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
369 dist_clearlooksolive_theme_DATA= \
370 themes/Clearlooks-Olive/openbox-3/themerc
372 mikachu_themedir = $(themedir)/Mikachu/openbox-3
373 dist_mikachu_theme_DATA= \
374 themes/Mikachu/openbox-3/bullet.xbm \
375 themes/Mikachu/openbox-3/close.xbm \
376 themes/Mikachu/openbox-3/desk.xbm \
377 themes/Mikachu/openbox-3/iconify.xbm \
378 themes/Mikachu/openbox-3/max.xbm \
379 themes/Mikachu/openbox-3/themerc
382 natura_themedir = $(themedir)/Natura/openbox-3
383 dist_natura_theme_DATA= \
384 themes/Natura/openbox-3/close_hover.xbm \
385 themes/Natura/openbox-3/close.xbm \
386 themes/Natura/openbox-3/desk_toggled.xbm \
387 themes/Natura/openbox-3/desk_hover.xbm \
388 themes/Natura/openbox-3/desk.xbm \
389 themes/Natura/openbox-3/iconify_hover.xbm \
390 themes/Natura/openbox-3/iconify.xbm \
391 themes/Natura/openbox-3/max_hover.xbm \
392 themes/Natura/openbox-3/max_toggled.xbm \
393 themes/Natura/openbox-3/max.xbm \
394 themes/Natura/openbox-3/shade.xbm \
395 themes/Natura/openbox-3/shade_hover.xbm \
396 themes/Natura/openbox-3/themerc
398 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
399 dist_artwizboxed_theme_DATA= \
400 themes/Artwiz-boxed/openbox-3/themerc
402 bear2_themedir = $(themedir)/Bear2/openbox-3
403 dist_bear2_theme_DATA= \
404 themes/Bear2/openbox-3/close_pressed.xbm \
405 themes/Bear2/openbox-3/close.xbm \
406 themes/Bear2/openbox-3/desk_toggled.xbm \
407 themes/Bear2/openbox-3/desk.xbm \
408 themes/Bear2/openbox-3/iconify_pressed.xbm \
409 themes/Bear2/openbox-3/iconify.xbm \
410 themes/Bear2/openbox-3/max_pressed.xbm \
411 themes/Bear2/openbox-3/max_toggled.xbm \
412 themes/Bear2/openbox-3/max.xbm \
413 themes/Bear2/openbox-3/shade_pressed.xbm \
414 themes/Bear2/openbox-3/shade.xbm \
415 themes/Bear2/openbox-3/themerc
417 orang_themedir = $(themedir)/Orang/openbox-3
418 dist_orang_theme_DATA= \
419 themes/Orang/openbox-3/themerc
421 onyx_themedir = $(themedir)/Onyx/openbox-3
422 dist_onyx_theme_DATA= \
423 themes/Onyx/openbox-3/themerc
425 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
426 dist_onyxcitrus_theme_DATA= \
427 themes/Onyx-Citrus/openbox-3/themerc
429 syscrash_themedir = $(themedir)/Syscrash/openbox-3
430 dist_syscrash_theme_DATA= \
431 themes/Syscrash/openbox-3/max_disabled.xbm \
432 themes/Syscrash/openbox-3/max_pressed.xbm \
433 themes/Syscrash/openbox-3/max_toggled.xbm \
434 themes/Syscrash/openbox-3/max.xbm \
435 themes/Syscrash/openbox-3/themerc
439 rrpubinclude_HEADERS = \
443 obrender/gradient.h \
445 obrender/instance.h \
451 obtpubinclude_HEADERS = \
463 nodist_pkgconfig_DATA = \
464 obrender/obrender-3.5.pc \
480 -e 's!@version\@!$(VERSION)!' \
481 -e 's!@configdir\@!$(configdir)!' \
482 -e 's!@rcdir\@!$(rcdir)!' \
483 -e 's!@libexecdir\@!$(libexecdir)!' \
484 -e 's!@bindir\@!$(bindir)!'
486 data/autostart/autostart: $(top_srcdir)/data/autostart/autostart.in Makefile
487 @echo make: creating $@
488 @test -d $(shell dirname $(top_builddir)/$@) || \
489 mkdir $(shell dirname $(top_builddir)/$@)
490 @$(edit) $< >$(top_builddir)/$@
492 data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
493 @echo make: creating $@
494 @test -d $(shell dirname $(top_builddir)/$@) || \
495 mkdir $(shell dirname $(top_builddir)/$@)
496 @$(edit) $< >$(top_builddir)/$@
498 %.desktop: %.desktop.in Makefile
499 @echo make: creating $@
502 %-session: %-session.in Makefile
503 @echo make: creating $@
507 @echo make: creating $@
508 @docbook-to-man $< >$@
511 @echo make: creating $@
514 dist_gnomewmfiles_DATA = \
515 data/gnome-wm-properties/openbox.desktop
517 nodist_xsessions_DATA = \
518 data/xsession/openbox.desktop \
519 data/xsession/openbox-gnome.desktop \
520 data/xsession/openbox-kde.desktop
522 dist_gnomesession_DATA = \
523 data/gnome-session/openbox-gnome.session \
524 data/gnome-session/openbox-gnome-fallback.session
529 data/autostart/autostart.in \
530 data/autostart/openbox-autostart.in \
531 data/xsession/openbox.desktop.in \
532 data/xsession/openbox-gnome.desktop.in \
533 data/xsession/openbox-kde.desktop.in \
534 data/xsession/openbox-session.in \
535 data/xsession/openbox-gnome-session.in \
536 data/xsession/openbox-kde-session.in \
539 doc/openbox-session.1.sgml \
540 doc/openbox-session.1.in \
541 doc/openbox-gnome-session.1.sgml \
542 doc/openbox-gnome-session.1.in \
543 doc/openbox-kde-session.1.sgml \
544 doc/openbox-kde-session.1.in \
547 obrender/version.h.in \
548 obrender/obrender-3.5.pc.in \
551 tools/themeupdate/themeupdate.py \
577 doc/rc-mouse-focus.xml
581 doc/openbox-session.1 \
582 doc/openbox-gnome-session.1 \
583 doc/openbox-kde-session.1 \
589 # make clean doesn't delete these for some reason, even though they are
593 $(nodist_bin_SCRIPTS) \
594 $(nodist_xsessions_DATA) \
595 $(nodist_rc_SCRIPTS) \
596 $(nodist_libexec_SCRIPTS)
599 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
602 for d in . m4 po obrender parser obt openbox; do \
603 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \