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 \
51 data/autostart/openbox-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 = \
88 obrender_libobrender_la_SOURCES = \
102 obrender/imagecache.h \
103 obrender/imagecache.c \
104 obrender/instance.h \
105 obrender/instance.c \
115 obt_libobt_la_CPPFLAGS = \
123 -DG_LOG_DOMAIN=\"Obt\" \
124 -DLOCALEDIR=\"$(localedir)\" \
125 -DDATADIR=\"$(datadir)\" \
126 -DCONFIGDIR=\"$(configdir)\"
127 obt_libobt_la_LDFLAGS = \
128 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
129 obt_libobt_la_LIBADD = \
137 obt_libobt_la_SOURCES = \
164 openbox_openbox_CPPFLAGS = \
173 -DLOCALEDIR=\"$(localedir)\" \
174 -DDATADIR=\"$(datadir)\" \
175 -DCONFIGDIR=\"$(configdir)\" \
176 -DG_LOG_DOMAIN=\"Openbox\"
177 openbox_openbox_LDADD = \
186 obrender/libobrender.la \
188 openbox_openbox_LDFLAGS = -export-dynamic
189 openbox_openbox_SOURCES = \
191 openbox/actions/all.c \
192 openbox/actions/all.h \
193 openbox/actions/addremovedesktop.c \
194 openbox/actions/breakchroot.c \
195 openbox/actions/close.c \
196 openbox/actions/cyclewindows.c \
197 openbox/actions/debug.c \
198 openbox/actions/decorations.c \
199 openbox/actions/desktop.c \
200 openbox/actions/dock.c \
201 openbox/actions/dockautohide.c \
202 openbox/actions/directionalwindows.c \
203 openbox/actions/execute.c \
204 openbox/actions/exit.c \
205 openbox/actions/focus.c \
206 openbox/actions/focustobottom.c \
207 openbox/actions/fullscreen.c \
208 openbox/actions/growtoedge.c \
209 openbox/actions/iconify.c \
210 openbox/actions/if.c \
211 openbox/actions/kill.c \
212 openbox/actions/layer.c \
213 openbox/actions/lower.c \
214 openbox/actions/maximize.c \
215 openbox/actions/move.c \
216 openbox/actions/moverelative.c \
217 openbox/actions/moveresizeto.c \
218 openbox/actions/movetoedge.c \
219 openbox/actions/omnipresent.c \
220 openbox/actions/raise.c \
221 openbox/actions/raiselower.c \
222 openbox/actions/reconfigure.c \
223 openbox/actions/resize.c \
224 openbox/actions/resizerelative.c \
225 openbox/actions/restart.c \
226 openbox/actions/shade.c \
227 openbox/actions/shadelowerraise.c \
228 openbox/actions/showdesktop.c \
229 openbox/actions/showmenu.c \
230 openbox/actions/unfocus.c \
235 openbox/client_list_menu.c \
236 openbox/client_list_menu.h \
237 openbox/client_list_combined_menu.c \
238 openbox/client_list_combined_menu.h \
239 openbox/client_menu.c \
240 openbox/client_menu.h \
251 openbox/focus_cycle.c \
252 openbox/focus_cycle.h \
253 openbox/focus_cycle_indicator.c \
254 openbox/focus_cycle_indicator.h \
255 openbox/focus_cycle_popup.c \
256 openbox/focus_cycle_popup.h \
259 openbox/framerender.c \
260 openbox/framerender.h \
270 openbox/menuframe.c \
271 openbox/menuframe.h \
277 openbox/moveresize.c \
278 openbox/moveresize.h \
298 openbox/startupnotify.c \
299 openbox/startupnotify.h \
300 openbox/translate.c \
301 openbox/translate.h \
306 ## gnome-panel-control ##
308 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
310 tools_gnome_panel_control_gnome_panel_control_LDADD = \
312 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
313 tools/gnome-panel-control/gnome-panel-control.c
317 tools_obxprop_obxprop_CPPFLAGS = \
320 tools_obxprop_obxprop_LDADD = \
323 tools_obxprop_obxprop_SOURCES = \
324 tools/obxprop/obxprop.c
328 tools_gdm_control_gdm_control_CPPFLAGS = \
331 tools_gdm_control_gdm_control_LDADD = \
334 tools_gdm_control_gdm_control_SOURCES = \
335 tools/gdm-control/gdm-control.c
338 ## default button masks ##
340 data/xbm/bullet.xbm \
342 data/xbm/desk_toggled.xbm \
344 data/xbm/iconify.xbm \
345 data/xbm/max_toggled.xbm \
347 data/xbm/shade_toggled.xbm \
353 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
354 dist_clearlooks_theme_DATA= \
355 themes/Clearlooks/openbox-3/themerc
357 clearlooks34_themedir = $(themedir)/Clearlooks-3.4/openbox-3
358 dist_clearlooks34_theme_DATA= \
359 themes/Clearlooks-3.4/openbox-3/themerc
361 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
362 dist_clearlooksolive_theme_DATA= \
363 themes/Clearlooks-Olive/openbox-3/themerc
365 mikachu_themedir = $(themedir)/Mikachu/openbox-3
366 dist_mikachu_theme_DATA= \
367 themes/Mikachu/openbox-3/bullet.xbm \
368 themes/Mikachu/openbox-3/close.xbm \
369 themes/Mikachu/openbox-3/desk.xbm \
370 themes/Mikachu/openbox-3/iconify.xbm \
371 themes/Mikachu/openbox-3/max.xbm \
372 themes/Mikachu/openbox-3/themerc
375 natura_themedir = $(themedir)/Natura/openbox-3
376 dist_natura_theme_DATA= \
377 themes/Natura/openbox-3/close_hover.xbm \
378 themes/Natura/openbox-3/close.xbm \
379 themes/Natura/openbox-3/desk_toggled.xbm \
380 themes/Natura/openbox-3/desk_hover.xbm \
381 themes/Natura/openbox-3/desk.xbm \
382 themes/Natura/openbox-3/iconify_hover.xbm \
383 themes/Natura/openbox-3/iconify.xbm \
384 themes/Natura/openbox-3/max_hover.xbm \
385 themes/Natura/openbox-3/max_toggled.xbm \
386 themes/Natura/openbox-3/max.xbm \
387 themes/Natura/openbox-3/shade.xbm \
388 themes/Natura/openbox-3/shade_hover.xbm \
389 themes/Natura/openbox-3/themerc
391 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
392 dist_artwizboxed_theme_DATA= \
393 themes/Artwiz-boxed/openbox-3/themerc
395 bear2_themedir = $(themedir)/Bear2/openbox-3
396 dist_bear2_theme_DATA= \
397 themes/Bear2/openbox-3/close_pressed.xbm \
398 themes/Bear2/openbox-3/close.xbm \
399 themes/Bear2/openbox-3/desk_toggled.xbm \
400 themes/Bear2/openbox-3/desk.xbm \
401 themes/Bear2/openbox-3/iconify_pressed.xbm \
402 themes/Bear2/openbox-3/iconify.xbm \
403 themes/Bear2/openbox-3/max_pressed.xbm \
404 themes/Bear2/openbox-3/max_toggled.xbm \
405 themes/Bear2/openbox-3/max.xbm \
406 themes/Bear2/openbox-3/shade_pressed.xbm \
407 themes/Bear2/openbox-3/shade.xbm \
408 themes/Bear2/openbox-3/themerc
410 orang_themedir = $(themedir)/Orang/openbox-3
411 dist_orang_theme_DATA= \
412 themes/Orang/openbox-3/themerc
414 onyx_themedir = $(themedir)/Onyx/openbox-3
415 dist_onyx_theme_DATA= \
416 themes/Onyx/openbox-3/themerc
418 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
419 dist_onyxcitrus_theme_DATA= \
420 themes/Onyx-Citrus/openbox-3/themerc
422 syscrash_themedir = $(themedir)/Syscrash/openbox-3
423 dist_syscrash_theme_DATA= \
424 themes/Syscrash/openbox-3/max_disabled.xbm \
425 themes/Syscrash/openbox-3/max_pressed.xbm \
426 themes/Syscrash/openbox-3/max_toggled.xbm \
427 themes/Syscrash/openbox-3/max.xbm \
428 themes/Syscrash/openbox-3/themerc
432 rrpubinclude_HEADERS = \
436 obrender/gradient.h \
438 obrender/instance.h \
444 obtpubinclude_HEADERS = \
457 nodist_pkgconfig_DATA = \
458 obrender/obrender-3.5.pc \
474 -e 's!@version\@!$(VERSION)!' \
475 -e 's!@configdir\@!$(configdir)!' \
476 -e 's!@libexecdir\@!$(libexecdir)!' \
477 -e 's!@bindir\@!$(bindir)!'
479 data/autostart/autostart: $(srcdir)/data/autostart/autostart.in Makefile
480 @echo make: creating $@
481 @test -d $(shell dirname $(builddir)/$@) || \
482 mkdir $(shell dirname $(builddir)/$@)
483 @$(edit) $< >$(builddir)/$@
485 data/autostart/openbox-autostart: $(srcdir)/data/autostart/openbox-autostart.in Makefile
486 @echo make: creating $@
487 @test -d $(shell dirname $(builddir)/$@) || \
488 mkdir $(shell dirname $(builddir)/$@)
489 @$(edit) $< >$(builddir)/$@
491 %.desktop: %.desktop.in Makefile
492 @echo make: creating $@
495 %-session: %-session.in Makefile
496 @echo make: creating $@
500 @echo make: creating $@
501 @docbook-to-man $< >$@
504 @echo make: creating $@
507 dist_gnomewmfiles_DATA = \
508 data/gnome-wm-properties/openbox.desktop
510 nodist_xsessions_DATA = \
511 data/xsession/openbox.desktop \
512 data/xsession/openbox-gnome.desktop \
513 data/xsession/openbox-kde.desktop
518 data/autostart/autostart.in \
519 data/autostart/openbox-autostart.in \
520 data/xsession/openbox.desktop.in \
521 data/xsession/openbox-gnome.desktop.in \
522 data/xsession/openbox-kde.desktop.in \
523 data/xsession/openbox-session.in \
524 data/xsession/openbox-gnome-session.in \
525 data/xsession/openbox-kde-session.in \
528 doc/openbox-session.1.sgml \
529 doc/openbox-session.1.in \
530 doc/openbox-gnome-session.1.sgml \
531 doc/openbox-gnome-session.1.in \
532 doc/openbox-kde-session.1.sgml \
533 doc/openbox-kde-session.1.in \
536 obrender/version.h.in \
537 obrender/obrender-3.5.pc.in \
540 tools/themeupdate/themeupdate.py \
566 doc/rc-mouse-focus.xml
570 doc/openbox-session.1 \
571 doc/openbox-gnome-session.1 \
572 doc/openbox-kde-session.1 \
578 # make clean doesn't delete these for some reason, even though they are
582 $(nodist_bin_SCRIPTS) \
583 $(nodist_xsessions_DATA) \
584 $(nodist_rc_SCRIPTS) \
585 $(nodist_libexec_SCRIPTS)
588 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
591 for d in . m4 po obrender parser obt openbox; do \
592 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \