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@/obrender
13 pixmapdir = $(datadir)/pixmaps
14 xsddir = $(datadir)/openbox
15 appsdir = $(datadir)/applications
19 AUTOMAKE_OPTIONS = subdir-objects foreign
21 ACLOCAL_AMFLAGS = -I m4
30 obrender/libobrender.la
34 tools/gdm-control/gdm-control \
35 tools/gnome-panel-control/gnome-panel-control \
38 nodist_bin_SCRIPTS = \
39 data/xsession/openbox-session \
40 data/xsession/openbox-gnome-session \
41 data/xsession/openbox-kde-session
47 data/autostart/autostart
49 dist_libexec_SCRIPTS = \
50 data/autostart/openbox-xdg-autostart
52 nodist_libexec_SCRIPTS = \
53 data/autostart/openbox-autostart
58 obrender_rendertest_CPPFLAGS = \
61 -DG_LOG_DOMAIN=\"RenderTest\"
62 obrender_rendertest_LDADD = \
64 obrender/libobrender.la \
69 obrender_rendertest_SOURCES = obrender/test.c
71 obrender_libobrender_la_CPPFLAGS = \
77 -DG_LOG_DOMAIN=\"ObRender\" \
78 -DDEFAULT_THEME=\"$(theme)\"
79 obrender_libobrender_la_LDFLAGS = \
80 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
81 obrender_libobrender_la_LIBADD = \
87 obrender_libobrender_la_SOURCES = \
99 obrender/imagecache.h \
100 obrender/imagecache.c \
101 obrender/instance.h \
102 obrender/instance.c \
112 obt_libobt_la_CPPFLAGS = \
120 -DG_LOG_DOMAIN=\"Obt\" \
121 -DLOCALEDIR=\"$(localedir)\" \
122 -DDATADIR=\"$(datadir)\" \
123 -DCONFIGDIR=\"$(configdir)\"
124 obt_libobt_la_LDFLAGS = \
125 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
126 obt_libobt_la_LIBADD = \
134 obt_libobt_la_SOURCES = \
159 openbox_openbox_CPPFLAGS = \
168 -DLOCALEDIR=\"$(localedir)\" \
169 -DDATADIR=\"$(datadir)\" \
170 -DCONFIGDIR=\"$(configdir)\" \
171 -DG_LOG_DOMAIN=\"Openbox\"
172 openbox_openbox_LDADD = \
181 obrender/libobrender.la \
183 openbox_openbox_LDFLAGS = -export-dynamic
184 openbox_openbox_SOURCES = \
186 openbox/actions/all.c \
187 openbox/actions/all.h \
188 openbox/actions/addremovedesktop.c \
189 openbox/actions/breakchroot.c \
190 openbox/actions/close.c \
191 openbox/actions/cyclewindows.c \
192 openbox/actions/debug.c \
193 openbox/actions/decorations.c \
194 openbox/actions/desktop.c \
195 openbox/actions/dock.c \
196 openbox/actions/dockautohide.c \
197 openbox/actions/directionalwindows.c \
198 openbox/actions/execute.c \
199 openbox/actions/exit.c \
200 openbox/actions/focus.c \
201 openbox/actions/focustobottom.c \
202 openbox/actions/fullscreen.c \
203 openbox/actions/growtoedge.c \
204 openbox/actions/iconify.c \
205 openbox/actions/if.c \
206 openbox/actions/kill.c \
207 openbox/actions/layer.c \
208 openbox/actions/lower.c \
209 openbox/actions/maximize.c \
210 openbox/actions/move.c \
211 openbox/actions/moverelative.c \
212 openbox/actions/moveresizeto.c \
213 openbox/actions/movetoedge.c \
214 openbox/actions/omnipresent.c \
215 openbox/actions/raise.c \
216 openbox/actions/raiselower.c \
217 openbox/actions/reconfigure.c \
218 openbox/actions/resize.c \
219 openbox/actions/resizerelative.c \
220 openbox/actions/restart.c \
221 openbox/actions/shade.c \
222 openbox/actions/shadelowerraise.c \
223 openbox/actions/showdesktop.c \
224 openbox/actions/showmenu.c \
225 openbox/actions/unfocus.c \
230 openbox/client_list_menu.c \
231 openbox/client_list_menu.h \
232 openbox/client_list_combined_menu.c \
233 openbox/client_list_combined_menu.h \
234 openbox/client_menu.c \
235 openbox/client_menu.h \
246 openbox/focus_cycle.c \
247 openbox/focus_cycle.h \
248 openbox/focus_cycle_indicator.c \
249 openbox/focus_cycle_indicator.h \
250 openbox/focus_cycle_popup.c \
251 openbox/focus_cycle_popup.h \
254 openbox/framerender.c \
255 openbox/framerender.h \
265 openbox/menuframe.c \
266 openbox/menuframe.h \
272 openbox/moveresize.c \
273 openbox/moveresize.h \
293 openbox/startupnotify.c \
294 openbox/startupnotify.h \
295 openbox/translate.c \
296 openbox/translate.h \
301 ## gnome-panel-control ##
303 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
305 tools_gnome_panel_control_gnome_panel_control_LDADD = \
307 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
308 tools/gnome-panel-control/gnome-panel-control.c
312 tools_obxprop_obxprop_CPPFLAGS = \
315 tools_obxprop_obxprop_LDADD = \
318 tools_obxprop_obxprop_SOURCES = \
319 tools/obxprop/obxprop.c
323 tools_gdm_control_gdm_control_CPPFLAGS = \
326 tools_gdm_control_gdm_control_LDADD = \
329 tools_gdm_control_gdm_control_SOURCES = \
330 tools/gdm-control/gdm-control.c
333 ## default button masks ##
335 data/xbm/bullet.xbm \
337 data/xbm/desk_toggled.xbm \
339 data/xbm/iconify.xbm \
340 data/xbm/max_toggled.xbm \
342 data/xbm/shade_toggled.xbm \
348 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
349 dist_clearlooks_theme_DATA= \
350 themes/Clearlooks/openbox-3/themerc
352 clearlooks34_themedir = $(themedir)/Clearlooks-3.4/openbox-3
353 dist_clearlooks34_theme_DATA= \
354 themes/Clearlooks-3.4/openbox-3/themerc
356 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
357 dist_clearlooksolive_theme_DATA= \
358 themes/Clearlooks-Olive/openbox-3/themerc
360 mikachu_themedir = $(themedir)/Mikachu/openbox-3
361 dist_mikachu_theme_DATA= \
362 themes/Mikachu/openbox-3/bullet.xbm \
363 themes/Mikachu/openbox-3/close.xbm \
364 themes/Mikachu/openbox-3/desk.xbm \
365 themes/Mikachu/openbox-3/iconify.xbm \
366 themes/Mikachu/openbox-3/max.xbm \
367 themes/Mikachu/openbox-3/themerc
370 natura_themedir = $(themedir)/Natura/openbox-3
371 dist_natura_theme_DATA= \
372 themes/Natura/openbox-3/close_hover.xbm \
373 themes/Natura/openbox-3/close.xbm \
374 themes/Natura/openbox-3/desk_toggled.xbm \
375 themes/Natura/openbox-3/desk_hover.xbm \
376 themes/Natura/openbox-3/desk.xbm \
377 themes/Natura/openbox-3/iconify_hover.xbm \
378 themes/Natura/openbox-3/iconify.xbm \
379 themes/Natura/openbox-3/max_hover.xbm \
380 themes/Natura/openbox-3/max_toggled.xbm \
381 themes/Natura/openbox-3/max.xbm \
382 themes/Natura/openbox-3/shade.xbm \
383 themes/Natura/openbox-3/shade_hover.xbm \
384 themes/Natura/openbox-3/themerc
386 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
387 dist_artwizboxed_theme_DATA= \
388 themes/Artwiz-boxed/openbox-3/themerc
390 bear2_themedir = $(themedir)/Bear2/openbox-3
391 dist_bear2_theme_DATA= \
392 themes/Bear2/openbox-3/close_pressed.xbm \
393 themes/Bear2/openbox-3/close.xbm \
394 themes/Bear2/openbox-3/desk_toggled.xbm \
395 themes/Bear2/openbox-3/desk.xbm \
396 themes/Bear2/openbox-3/iconify_pressed.xbm \
397 themes/Bear2/openbox-3/iconify.xbm \
398 themes/Bear2/openbox-3/max_pressed.xbm \
399 themes/Bear2/openbox-3/max_toggled.xbm \
400 themes/Bear2/openbox-3/max.xbm \
401 themes/Bear2/openbox-3/shade_pressed.xbm \
402 themes/Bear2/openbox-3/shade.xbm \
403 themes/Bear2/openbox-3/themerc
405 orang_themedir = $(themedir)/Orang/openbox-3
406 dist_orang_theme_DATA= \
407 themes/Orang/openbox-3/themerc
409 onyx_themedir = $(themedir)/Onyx/openbox-3
410 dist_onyx_theme_DATA= \
411 themes/Onyx/openbox-3/themerc
413 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
414 dist_onyxcitrus_theme_DATA= \
415 themes/Onyx-Citrus/openbox-3/themerc
417 syscrash_themedir = $(themedir)/Syscrash/openbox-3
418 dist_syscrash_theme_DATA= \
419 themes/Syscrash/openbox-3/max_disabled.xbm \
420 themes/Syscrash/openbox-3/max_pressed.xbm \
421 themes/Syscrash/openbox-3/max_toggled.xbm \
422 themes/Syscrash/openbox-3/max.xbm \
423 themes/Syscrash/openbox-3/themerc
427 rrpubinclude_HEADERS = \
431 obrender/gradient.h \
433 obrender/instance.h \
439 obtpubinclude_HEADERS = \
451 nodist_pkgconfig_DATA = \
452 obrender/obrender-3.5.pc \
468 -e 's!@version\@!$(VERSION)!' \
469 -e 's!@configdir\@!$(configdir)!' \
470 -e 's!@rcdir\@!$(rcdir)!' \
471 -e 's!@libexecdir\@!$(libexecdir)!' \
472 -e 's!@bindir\@!$(bindir)!'
474 data/autostart/autostart: $(top_srcdir)/data/autostart/autostart.in Makefile
475 @echo make: creating $@
476 @test -d $(shell dirname $(top_builddir)/$@) || \
477 mkdir $(shell dirname $(top_builddir)/$@)
478 @$(edit) $< >$(top_builddir)/$@
480 data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
481 @echo make: creating $@
482 @test -d $(shell dirname $(top_builddir)/$@) || \
483 mkdir $(shell dirname $(top_builddir)/$@)
484 @$(edit) $< >$(top_builddir)/$@
486 %.desktop: %.desktop.in Makefile
487 @echo make: creating $@
490 %-session: %-session.in Makefile
491 @echo make: creating $@
495 @echo make: creating $@
496 @docbook-to-man $< >$@
499 @echo make: creating $@
502 dist_gnomewmfiles_DATA = \
503 data/gnome-wm-properties/openbox.desktop
505 nodist_xsessions_DATA = \
506 data/xsession/openbox.desktop \
507 data/xsession/openbox-gnome.desktop \
508 data/xsession/openbox-kde.desktop
513 data/autostart/autostart.in \
514 data/autostart/openbox-autostart.in \
515 data/xsession/openbox.desktop.in \
516 data/xsession/openbox-gnome.desktop.in \
517 data/xsession/openbox-kde.desktop.in \
518 data/xsession/openbox-session.in \
519 data/xsession/openbox-gnome-session.in \
520 data/xsession/openbox-kde-session.in \
523 doc/openbox-session.1.sgml \
524 doc/openbox-session.1.in \
525 doc/openbox-gnome-session.1.sgml \
526 doc/openbox-gnome-session.1.in \
527 doc/openbox-kde-session.1.sgml \
528 doc/openbox-kde-session.1.in \
531 obrender/version.h.in \
532 obrender/obrender-3.5.pc.in \
535 tools/themeupdate/themeupdate.py \
561 doc/rc-mouse-focus.xml
565 doc/openbox-session.1 \
566 doc/openbox-gnome-session.1 \
567 doc/openbox-kde-session.1 \
573 # make clean doesn't delete these for some reason, even though they are
577 $(nodist_bin_SCRIPTS) \
578 $(nodist_xsessions_DATA) \
579 $(nodist_rc_SCRIPTS) \
580 $(nodist_libexec_SCRIPTS)
583 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
586 for d in . m4 po obrender parser obt openbox; do \
587 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \