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 = \
167 openbox_openbox_CPPFLAGS = \
176 -DLOCALEDIR=\"$(localedir)\" \
177 -DDATADIR=\"$(datadir)\" \
178 -DCONFIGDIR=\"$(configdir)\" \
179 -DG_LOG_DOMAIN=\"Openbox\"
180 openbox_openbox_LDADD = \
191 obrender/libobrender.la \
193 openbox_openbox_LDFLAGS = -export-dynamic
194 openbox_openbox_SOURCES = \
196 openbox/actions/_all.c \
197 openbox/actions/_all.h \
198 openbox/actions/addremovedesktop.c \
199 openbox/actions/breakchroot.c \
200 openbox/actions/close.c \
201 openbox/actions/cyclewindows.c \
202 openbox/actions/debug.c \
203 openbox/actions/decorations.c \
204 openbox/actions/desktop.c \
205 openbox/actions/dock.c \
206 openbox/actions/dockautohide.c \
207 openbox/actions/directionalwindows.c \
208 openbox/actions/execute.c \
209 openbox/actions/exit.c \
210 openbox/actions/focus.c \
211 openbox/actions/focustobottom.c \
212 openbox/actions/fullscreen.c \
213 openbox/actions/growtoedge.c \
214 openbox/actions/iconify.c \
215 openbox/actions/kill.c \
216 openbox/actions/layer.c \
217 openbox/actions/lower.c \
218 openbox/actions/maximize.c \
219 openbox/actions/move.c \
220 openbox/actions/moverelative.c \
221 openbox/actions/moveresizeto.c \
222 openbox/actions/movetoedge.c \
223 openbox/actions/omnipresent.c \
224 openbox/actions/raise.c \
225 openbox/actions/raiselower.c \
226 openbox/actions/reconfigure.c \
227 openbox/actions/resize.c \
228 openbox/actions/resizerelative.c \
229 openbox/actions/restart.c \
230 openbox/actions/shade.c \
231 openbox/actions/showdesktop.c \
232 openbox/actions/showmenu.c \
233 openbox/actions/skip_taskbar_pager.c \
234 openbox/actions/unfocus.c \
235 openbox/filters/_all.c \
236 openbox/filters/_all.h \
237 openbox/filters/all.c \
238 openbox/filters/target.c \
239 openbox/filters/visible.c \
242 openbox/action_filter.c \
243 openbox/action_filter.h \
244 openbox/action_list.c \
245 openbox/action_list.h \
246 openbox/action_list_run.c \
247 openbox/action_list_run.h \
248 openbox/action_parser.c \
249 openbox/action_parser.h \
252 openbox/client_list_menu.c \
253 openbox/client_list_menu.h \
254 openbox/client_list_combined_menu.c \
255 openbox/client_list_combined_menu.h \
256 openbox/client_menu.c \
257 openbox/client_menu.h \
258 openbox/client_set.c \
259 openbox/client_set.h \
262 openbox/config_value.c \
263 openbox/config_value.h \
272 openbox/focus_cycle.c \
273 openbox/focus_cycle.h \
274 openbox/focus_cycle_indicator.c \
275 openbox/focus_cycle_indicator.h \
276 openbox/focus_cycle_popup.c \
277 openbox/focus_cycle_popup.h \
280 openbox/framerender.c \
281 openbox/framerender.h \
291 openbox/menuframe.c \
292 openbox/menuframe.h \
298 openbox/moveresize.c \
299 openbox/moveresize.h \
319 openbox/startupnotify.c \
320 openbox/startupnotify.h \
321 openbox/translate.c \
322 openbox/translate.h \
327 ## gnome-panel-control ##
329 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
331 tools_gnome_panel_control_gnome_panel_control_LDADD = \
333 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
334 tools/gnome-panel-control/gnome-panel-control.c
338 tools_obxprop_obxprop_CPPFLAGS = \
341 tools_obxprop_obxprop_LDADD = \
344 tools_obxprop_obxprop_SOURCES = \
345 tools/obxprop/obxprop.c
349 tools_gdm_control_gdm_control_CPPFLAGS = \
353 tools_gdm_control_gdm_control_LDADD = \
357 tools_gdm_control_gdm_control_SOURCES = \
358 tools/gdm-control/gdm-control.c
361 ## default button masks ##
363 data/xbm/bullet.xbm \
365 data/xbm/desk_toggled.xbm \
367 data/xbm/iconify.xbm \
368 data/xbm/max_toggled.xbm \
370 data/xbm/shade_toggled.xbm \
376 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
377 dist_clearlooks_theme_DATA= \
378 themes/Clearlooks/openbox-3/themerc
380 clearlooks34_themedir = $(themedir)/Clearlooks-3.4/openbox-3
381 dist_clearlooks34_theme_DATA= \
382 themes/Clearlooks-3.4/openbox-3/themerc
384 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
385 dist_clearlooksolive_theme_DATA= \
386 themes/Clearlooks-Olive/openbox-3/themerc
388 mikachu_themedir = $(themedir)/Mikachu/openbox-3
389 dist_mikachu_theme_DATA= \
390 themes/Mikachu/openbox-3/bullet.xbm \
391 themes/Mikachu/openbox-3/close.xbm \
392 themes/Mikachu/openbox-3/desk.xbm \
393 themes/Mikachu/openbox-3/iconify.xbm \
394 themes/Mikachu/openbox-3/max.xbm \
395 themes/Mikachu/openbox-3/themerc
398 natura_themedir = $(themedir)/Natura/openbox-3
399 dist_natura_theme_DATA= \
400 themes/Natura/openbox-3/close_hover.xbm \
401 themes/Natura/openbox-3/close.xbm \
402 themes/Natura/openbox-3/desk_toggled.xbm \
403 themes/Natura/openbox-3/desk_hover.xbm \
404 themes/Natura/openbox-3/desk.xbm \
405 themes/Natura/openbox-3/iconify_hover.xbm \
406 themes/Natura/openbox-3/iconify.xbm \
407 themes/Natura/openbox-3/max_hover.xbm \
408 themes/Natura/openbox-3/max_toggled.xbm \
409 themes/Natura/openbox-3/max.xbm \
410 themes/Natura/openbox-3/shade.xbm \
411 themes/Natura/openbox-3/shade_hover.xbm \
412 themes/Natura/openbox-3/themerc
414 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
415 dist_artwizboxed_theme_DATA= \
416 themes/Artwiz-boxed/openbox-3/themerc
418 bear2_themedir = $(themedir)/Bear2/openbox-3
419 dist_bear2_theme_DATA= \
420 themes/Bear2/openbox-3/close_pressed.xbm \
421 themes/Bear2/openbox-3/close.xbm \
422 themes/Bear2/openbox-3/desk_toggled.xbm \
423 themes/Bear2/openbox-3/desk.xbm \
424 themes/Bear2/openbox-3/iconify_pressed.xbm \
425 themes/Bear2/openbox-3/iconify.xbm \
426 themes/Bear2/openbox-3/max_pressed.xbm \
427 themes/Bear2/openbox-3/max_toggled.xbm \
428 themes/Bear2/openbox-3/max.xbm \
429 themes/Bear2/openbox-3/shade_pressed.xbm \
430 themes/Bear2/openbox-3/shade.xbm \
431 themes/Bear2/openbox-3/themerc
433 orang_themedir = $(themedir)/Orang/openbox-3
434 dist_orang_theme_DATA= \
435 themes/Orang/openbox-3/themerc
437 onyx_themedir = $(themedir)/Onyx/openbox-3
438 dist_onyx_theme_DATA= \
439 themes/Onyx/openbox-3/themerc
441 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
442 dist_onyxcitrus_theme_DATA= \
443 themes/Onyx-Citrus/openbox-3/themerc
445 syscrash_themedir = $(themedir)/Syscrash/openbox-3
446 dist_syscrash_theme_DATA= \
447 themes/Syscrash/openbox-3/max_disabled.xbm \
448 themes/Syscrash/openbox-3/max_pressed.xbm \
449 themes/Syscrash/openbox-3/max_toggled.xbm \
450 themes/Syscrash/openbox-3/max.xbm \
451 themes/Syscrash/openbox-3/themerc
455 rrpubinclude_HEADERS = \
459 obrender/gradient.h \
461 obrender/instance.h \
467 obtpubinclude_HEADERS = \
480 nodist_pkgconfig_DATA = \
481 obrender/obrender-3.5.pc \
497 -e 's!@version\@!$(VERSION)!' \
498 -e 's!@configdir\@!$(configdir)!' \
499 -e 's!@rcdir\@!$(rcdir)!' \
500 -e 's!@libexecdir\@!$(libexecdir)!' \
501 -e 's!@bindir\@!$(bindir)!'
503 data/autostart/autostart: $(top_srcdir)/data/autostart/autostart.in Makefile
504 @echo make: creating $@
505 @test -d $(shell dirname $(top_builddir)/$@) || \
506 mkdir $(shell dirname $(top_builddir)/$@)
507 @$(edit) $< >$(top_builddir)/$@
509 data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
510 @echo make: creating $@
511 @test -d $(shell dirname $(top_builddir)/$@) || \
512 mkdir $(shell dirname $(top_builddir)/$@)
513 @$(edit) $< >$(top_builddir)/$@
515 %.desktop: %.desktop.in Makefile
516 @echo make: creating $@
519 %-session: %-session.in Makefile
520 @echo make: creating $@
524 @echo make: creating $@
525 @docbook-to-man $< >$@
528 @echo make: creating $@
531 dist_gnomewmfiles_DATA = \
532 data/gnome-wm-properties/openbox.desktop
534 nodist_xsessions_DATA = \
535 data/xsession/openbox.desktop \
536 data/xsession/openbox-gnome.desktop \
537 data/xsession/openbox-kde.desktop
539 dist_gnomesession_DATA = \
540 data/gnome-session/openbox-gnome.session \
541 data/gnome-session/openbox-gnome-fallback.session
546 data/autostart/autostart.in \
547 data/autostart/openbox-autostart.in \
548 data/xsession/openbox.desktop.in \
549 data/xsession/openbox-gnome.desktop.in \
550 data/xsession/openbox-kde.desktop.in \
551 data/xsession/openbox-session.in \
552 data/xsession/openbox-gnome-session.in \
553 data/xsession/openbox-kde-session.in \
556 doc/openbox-session.1.sgml \
557 doc/openbox-session.1.in \
558 doc/openbox-gnome-session.1.sgml \
559 doc/openbox-gnome-session.1.in \
560 doc/openbox-kde-session.1.sgml \
561 doc/openbox-kde-session.1.in \
564 obrender/version.h.in \
565 obrender/obrender-3.5.pc.in \
568 tools/themeupdate/themeupdate.py \
594 doc/rc-mouse-focus.xml
598 doc/openbox-session.1 \
599 doc/openbox-gnome-session.1 \
600 doc/openbox-kde-session.1 \
606 # make clean doesn't delete these for some reason, even though they are
610 $(nodist_bin_SCRIPTS) \
611 $(nodist_xsessions_DATA) \
612 $(nodist_rc_SCRIPTS) \
613 $(nodist_libexec_SCRIPTS)
616 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
619 for d in . m4 po obrender parser obt openbox; do \
620 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \