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 secretbindir = $(libdir)/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 dist_secretbin_SCRIPTS = \
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 obrender_rendertest_CPPFLAGS = \
52 -DG_LOG_DOMAIN=\"RenderTest\"
53 obrender_rendertest_LDADD = \
55 obrender/libobrender.la \
60 obrender_rendertest_SOURCES = obrender/test.c
62 obrender_libobrender_la_CPPFLAGS = \
67 -DG_LOG_DOMAIN=\"ObRender\" \
68 -DDEFAULT_THEME=\"$(theme)\"
69 obrender_libobrender_la_LDFLAGS = \
70 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
71 obrender_libobrender_la_LIBADD = \
77 obrender_libobrender_la_SOURCES = \
89 obrender/imagecache.h \
90 obrender/imagecache.c \
102 obt_libobt_la_CPPFLAGS = \
110 -DG_LOG_DOMAIN=\"Obt\" \
111 -DLOCALEDIR=\"$(localedir)\" \
112 -DDATADIR=\"$(datadir)\" \
113 -DCONFIGDIR=\"$(configdir)\"
114 obt_libobt_la_LDFLAGS = \
115 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
116 obt_libobt_la_LIBADD = \
124 obt_libobt_la_SOURCES = \
144 openbox_openbox_CPPFLAGS = \
154 -DLOCALEDIR=\"$(localedir)\" \
155 -DDATADIR=\"$(datadir)\" \
156 -DCONFIGDIR=\"$(configdir)\" \
157 -DG_LOG_DOMAIN=\"Openbox\"
158 openbox_openbox_LDADD = \
168 obrender/libobrender.la \
170 openbox_openbox_LDFLAGS = -export-dynamic
171 openbox_openbox_SOURCES = \
173 openbox/actions/all.c \
174 openbox/actions/all.h \
175 openbox/actions/addremovedesktop.c \
176 openbox/actions/breakchroot.c \
177 openbox/actions/close.c \
178 openbox/actions/cyclewindows.c \
179 openbox/actions/debug.c \
180 openbox/actions/decorations.c \
181 openbox/actions/desktop.c \
182 openbox/actions/dockautohide.c \
183 openbox/actions/directionalwindows.c \
184 openbox/actions/execute.c \
185 openbox/actions/exit.c \
186 openbox/actions/focus.c \
187 openbox/actions/focustobottom.c \
188 openbox/actions/fullscreen.c \
189 openbox/actions/growtoedge.c \
190 openbox/actions/iconify.c \
191 openbox/actions/if.c \
192 openbox/actions/kill.c \
193 openbox/actions/layer.c \
194 openbox/actions/lower.c \
195 openbox/actions/maximize.c \
196 openbox/actions/move.c \
197 openbox/actions/moverelative.c \
198 openbox/actions/moveresizeto.c \
199 openbox/actions/movetoedge.c \
200 openbox/actions/omnipresent.c \
201 openbox/actions/raise.c \
202 openbox/actions/raiselower.c \
203 openbox/actions/reconfigure.c \
204 openbox/actions/resize.c \
205 openbox/actions/resizerelative.c \
206 openbox/actions/restart.c \
207 openbox/actions/shade.c \
208 openbox/actions/shadelowerraise.c \
209 openbox/actions/showdesktop.c \
210 openbox/actions/showmenu.c \
211 openbox/actions/unfocus.c \
216 openbox/client_list_menu.c \
217 openbox/client_list_menu.h \
218 openbox/client_list_combined_menu.c \
219 openbox/client_list_combined_menu.h \
220 openbox/client_menu.c \
221 openbox/client_menu.h \
232 openbox/focus_cycle.c \
233 openbox/focus_cycle.h \
234 openbox/focus_cycle_indicator.c \
235 openbox/focus_cycle_indicator.h \
236 openbox/focus_cycle_popup.c \
237 openbox/focus_cycle_popup.h \
240 openbox/framerender.c \
241 openbox/framerender.h \
251 openbox/menuframe.c \
252 openbox/menuframe.h \
258 openbox/moveresize.c \
259 openbox/moveresize.h \
279 openbox/startupnotify.c \
280 openbox/startupnotify.h \
281 openbox/translate.c \
282 openbox/translate.h \
287 ## gnome-panel-control ##
289 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
291 tools_gnome_panel_control_gnome_panel_control_LDADD = \
293 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
294 tools/gnome-panel-control/gnome-panel-control.c
298 tools_obxprop_obxprop_CPPFLAGS = \
301 tools_obxprop_obxprop_LDADD = \
304 tools_obxprop_obxprop_SOURCES = \
305 tools/obxprop/obxprop.c
309 tools_gdm_control_gdm_control_CPPFLAGS = \
312 tools_gdm_control_gdm_control_LDADD = \
315 tools_gdm_control_gdm_control_SOURCES = \
316 tools/gdm-control/gdm-control.c
319 ## default button masks ##
321 data/xbm/bullet.xbm \
323 data/xbm/desk_toggled.xbm \
325 data/xbm/iconify.xbm \
326 data/xbm/max_toggled.xbm \
328 data/xbm/shade_toggled.xbm \
334 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
335 dist_clearlooks_theme_DATA= \
336 themes/Clearlooks/openbox-3/themerc
338 clearlooks34_themedir = $(themedir)/Clearlooks/openbox-3
339 dist_clearlooks34_theme_DATA= \
340 themes/Clearlooks-3.4/openbox-3/themerc
342 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
343 dist_clearlooksolive_theme_DATA= \
344 themes/Clearlooks-Olive/openbox-3/themerc
346 mikachu_themedir = $(themedir)/Mikachu/openbox-3
347 dist_mikachu_theme_DATA= \
348 themes/Mikachu/openbox-3/bullet.xbm \
349 themes/Mikachu/openbox-3/close.xbm \
350 themes/Mikachu/openbox-3/desk.xbm \
351 themes/Mikachu/openbox-3/iconify.xbm \
352 themes/Mikachu/openbox-3/max.xbm \
353 themes/Mikachu/openbox-3/themerc
356 natura_themedir = $(themedir)/Natura/openbox-3
357 dist_natura_theme_DATA= \
358 themes/Natura/openbox-3/close_hover.xbm \
359 themes/Natura/openbox-3/close.xbm \
360 themes/Natura/openbox-3/desk_toggled.xbm \
361 themes/Natura/openbox-3/desk_hover.xbm \
362 themes/Natura/openbox-3/desk.xbm \
363 themes/Natura/openbox-3/iconify_hover.xbm \
364 themes/Natura/openbox-3/iconify.xbm \
365 themes/Natura/openbox-3/max_hover.xbm \
366 themes/Natura/openbox-3/max_toggled.xbm \
367 themes/Natura/openbox-3/max.xbm \
368 themes/Natura/openbox-3/shade.xbm \
369 themes/Natura/openbox-3/shade_hover.xbm \
370 themes/Natura/openbox-3/themerc
372 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
373 dist_artwizboxed_theme_DATA= \
374 themes/Artwiz-boxed/openbox-3/themerc
376 bear2_themedir = $(themedir)/Bear2/openbox-3
377 dist_bear2_theme_DATA= \
378 themes/Bear2/openbox-3/close_pressed.xbm \
379 themes/Bear2/openbox-3/close.xbm \
380 themes/Bear2/openbox-3/desk_toggled.xbm \
381 themes/Bear2/openbox-3/desk.xbm \
382 themes/Bear2/openbox-3/iconify_pressed.xbm \
383 themes/Bear2/openbox-3/iconify.xbm \
384 themes/Bear2/openbox-3/max_pressed.xbm \
385 themes/Bear2/openbox-3/max_toggled.xbm \
386 themes/Bear2/openbox-3/max.xbm \
387 themes/Bear2/openbox-3/shade_pressed.xbm \
388 themes/Bear2/openbox-3/shade.xbm \
389 themes/Bear2/openbox-3/themerc
391 orang_themedir = $(themedir)/Orang/openbox-3
392 dist_orang_theme_DATA= \
393 themes/Orang/openbox-3/themerc
395 onyx_themedir = $(themedir)/Onyx/openbox-3
396 dist_onyx_theme_DATA= \
397 themes/Onyx/openbox-3/themerc
399 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
400 dist_onyxcitrus_theme_DATA= \
401 themes/Onyx-Citrus/openbox-3/themerc
403 syscrash_themedir = $(themedir)/Syscrash/openbox-3
404 dist_syscrash_theme_DATA= \
405 themes/Syscrash/openbox-3/max_disabled.xbm \
406 themes/Syscrash/openbox-3/max_pressed.xbm \
407 themes/Syscrash/openbox-3/max_toggled.xbm \
408 themes/Syscrash/openbox-3/max.xbm \
409 themes/Syscrash/openbox-3/themerc
413 rrpubinclude_HEADERS = \
417 obrender/gradient.h \
419 obrender/instance.h \
425 obtpubinclude_HEADERS = \
436 nodist_pkgconfig_DATA = \
437 obrender/obrender-3.5.pc \
456 -e 's!@version\@!$(VERSION)!' \
457 -e 's!@configdir\@!$(configdir)!' \
458 -e 's!@secretbindir\@!$(secretbindir)!' \
459 -e 's!@bindir\@!$(bindir)!'
461 data/autostart.sh: $(srcdir)/data/autostart.sh.in Makefile
462 @echo make: creating $@
465 %.desktop: %.desktop.in Makefile
466 @echo make: creating $@
469 %-session: %-session.in Makefile
470 @echo make: creating $@
474 @echo make: creating $@
475 @docbook-to-man $< >$@
478 @echo make: creating $@
481 dist_gnomewmfiles_DATA = \
482 data/gnome-wm-properties/openbox.desktop
484 nodist_xsessions_DATA = \
485 data/xsession/openbox.desktop \
486 data/xsession/openbox-gnome.desktop \
487 data/xsession/openbox-kde.desktop
490 data/autostart.sh.in \
493 data/xsession/openbox.desktop.in \
494 data/xsession/openbox-gnome.desktop.in \
495 data/xsession/openbox-kde.desktop.in \
496 data/xsession/openbox-session.in \
497 data/xsession/openbox-gnome-session.in \
498 data/xsession/openbox-kde-session.in \
501 doc/openbox-session.1.sgml \
502 doc/openbox-session.1.in \
503 doc/openbox-gnome-session.1.sgml \
504 doc/openbox-gnome-session.1.in \
505 doc/openbox-kde-session.1.sgml \
506 doc/openbox-kde-session.1.in \
509 obrender/version.h.in \
510 obrender/obrender-3.5.pc.in \
513 tools/themeupdate/themeupdate.py \
539 doc/rc-mouse-focus.xml
543 doc/openbox-session.1 \
544 doc/openbox-gnome-session.1 \
545 doc/openbox-kde-session.1
550 # make clean doesn't delete these for some reason, even though they are
554 doc/openbox-session.1 \
555 doc/openbox-gnome-session.1 \
556 doc/openbox-kde-session.1 \
557 data/xsession/openbox-session \
558 data/xsession/openbox-gnome-session \
559 data/xsession/openbox-kde-session \
560 data/xsession/openbox.desktop \
561 data/xsession/openbox-gnome.desktop \
562 data/xsession/openbox-kde.desktop
565 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
568 for d in . m4 po obrender parser obt openbox; do \
569 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \