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 libexecdir = $(prefix)/libexec
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
46 data/autostart/autostart
48 dist_libexec_SCRIPTS = \
49 data/autostart/openbox-xdg-autostart \
50 data/autostart/openbox-autostart
55 obrender_rendertest_CPPFLAGS = \
58 -DG_LOG_DOMAIN=\"RenderTest\"
59 obrender_rendertest_LDADD = \
61 obrender/libobrender.la \
66 obrender_rendertest_SOURCES = obrender/test.c
68 obrender_libobrender_la_CPPFLAGS = \
73 -DG_LOG_DOMAIN=\"ObRender\" \
74 -DDEFAULT_THEME=\"$(theme)\"
75 obrender_libobrender_la_LDFLAGS = \
76 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
77 obrender_libobrender_la_LIBADD = \
82 obrender_libobrender_la_SOURCES = \
94 obrender/imagecache.h \
95 obrender/imagecache.c \
107 obt_libobt_la_CPPFLAGS = \
115 -DG_LOG_DOMAIN=\"Obt\" \
116 -DLOCALEDIR=\"$(localedir)\" \
117 -DDATADIR=\"$(datadir)\" \
118 -DCONFIGDIR=\"$(configdir)\"
119 obt_libobt_la_LDFLAGS = \
120 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
121 obt_libobt_la_LIBADD = \
129 obt_libobt_la_SOURCES = \
151 openbox_openbox_CPPFLAGS = \
161 -DLOCALEDIR=\"$(localedir)\" \
162 -DDATADIR=\"$(datadir)\" \
163 -DCONFIGDIR=\"$(configdir)\" \
164 -DG_LOG_DOMAIN=\"Openbox\"
165 openbox_openbox_LDADD = \
175 obrender/libobrender.la \
177 openbox_openbox_LDFLAGS = -export-dynamic
178 openbox_openbox_SOURCES = \
180 openbox/actions/all.c \
181 openbox/actions/all.h \
182 openbox/actions/addremovedesktop.c \
183 openbox/actions/breakchroot.c \
184 openbox/actions/close.c \
185 openbox/actions/cyclewindows.c \
186 openbox/actions/debug.c \
187 openbox/actions/decorations.c \
188 openbox/actions/desktop.c \
189 openbox/actions/dockautohide.c \
190 openbox/actions/directionalwindows.c \
191 openbox/actions/execute.c \
192 openbox/actions/exit.c \
193 openbox/actions/focus.c \
194 openbox/actions/focustobottom.c \
195 openbox/actions/fullscreen.c \
196 openbox/actions/growtoedge.c \
197 openbox/actions/iconify.c \
198 openbox/actions/if.c \
199 openbox/actions/kill.c \
200 openbox/actions/layer.c \
201 openbox/actions/lower.c \
202 openbox/actions/maximize.c \
203 openbox/actions/move.c \
204 openbox/actions/moverelative.c \
205 openbox/actions/moveresizeto.c \
206 openbox/actions/movetoedge.c \
207 openbox/actions/omnipresent.c \
208 openbox/actions/raise.c \
209 openbox/actions/raiselower.c \
210 openbox/actions/reconfigure.c \
211 openbox/actions/resize.c \
212 openbox/actions/resizerelative.c \
213 openbox/actions/restart.c \
214 openbox/actions/shade.c \
215 openbox/actions/shadelowerraise.c \
216 openbox/actions/showdesktop.c \
217 openbox/actions/showmenu.c \
218 openbox/actions/unfocus.c \
223 openbox/client_list_menu.c \
224 openbox/client_list_menu.h \
225 openbox/client_list_combined_menu.c \
226 openbox/client_list_combined_menu.h \
227 openbox/client_menu.c \
228 openbox/client_menu.h \
239 openbox/focus_cycle.c \
240 openbox/focus_cycle.h \
241 openbox/focus_cycle_indicator.c \
242 openbox/focus_cycle_indicator.h \
243 openbox/focus_cycle_popup.c \
244 openbox/focus_cycle_popup.h \
247 openbox/framerender.c \
248 openbox/framerender.h \
258 openbox/menuframe.c \
259 openbox/menuframe.h \
265 openbox/moveresize.c \
266 openbox/moveresize.h \
286 openbox/startupnotify.c \
287 openbox/startupnotify.h \
288 openbox/translate.c \
289 openbox/translate.h \
294 ## gnome-panel-control ##
296 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
298 tools_gnome_panel_control_gnome_panel_control_LDADD = \
300 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
301 tools/gnome-panel-control/gnome-panel-control.c
305 tools_obxprop_obxprop_CPPFLAGS = \
308 tools_obxprop_obxprop_LDADD = \
311 tools_obxprop_obxprop_SOURCES = \
312 tools/obxprop/obxprop.c
316 tools_gdm_control_gdm_control_CPPFLAGS = \
319 tools_gdm_control_gdm_control_LDADD = \
322 tools_gdm_control_gdm_control_SOURCES = \
323 tools/gdm-control/gdm-control.c
326 ## default button masks ##
328 data/xbm/bullet.xbm \
330 data/xbm/desk_toggled.xbm \
332 data/xbm/iconify.xbm \
333 data/xbm/max_toggled.xbm \
335 data/xbm/shade_toggled.xbm \
341 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
342 dist_clearlooks_theme_DATA= \
343 themes/Clearlooks/openbox-3/themerc
345 clearlooks34_themedir = $(themedir)/Clearlooks/openbox-3
346 dist_clearlooks34_theme_DATA= \
347 themes/Clearlooks-3.4/openbox-3/themerc
349 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
350 dist_clearlooksolive_theme_DATA= \
351 themes/Clearlooks-Olive/openbox-3/themerc
353 mikachu_themedir = $(themedir)/Mikachu/openbox-3
354 dist_mikachu_theme_DATA= \
355 themes/Mikachu/openbox-3/bullet.xbm \
356 themes/Mikachu/openbox-3/close.xbm \
357 themes/Mikachu/openbox-3/desk.xbm \
358 themes/Mikachu/openbox-3/iconify.xbm \
359 themes/Mikachu/openbox-3/max.xbm \
360 themes/Mikachu/openbox-3/themerc
363 natura_themedir = $(themedir)/Natura/openbox-3
364 dist_natura_theme_DATA= \
365 themes/Natura/openbox-3/close_hover.xbm \
366 themes/Natura/openbox-3/close.xbm \
367 themes/Natura/openbox-3/desk_toggled.xbm \
368 themes/Natura/openbox-3/desk_hover.xbm \
369 themes/Natura/openbox-3/desk.xbm \
370 themes/Natura/openbox-3/iconify_hover.xbm \
371 themes/Natura/openbox-3/iconify.xbm \
372 themes/Natura/openbox-3/max_hover.xbm \
373 themes/Natura/openbox-3/max_toggled.xbm \
374 themes/Natura/openbox-3/max.xbm \
375 themes/Natura/openbox-3/shade.xbm \
376 themes/Natura/openbox-3/shade_hover.xbm \
377 themes/Natura/openbox-3/themerc
379 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
380 dist_artwizboxed_theme_DATA= \
381 themes/Artwiz-boxed/openbox-3/themerc
383 bear2_themedir = $(themedir)/Bear2/openbox-3
384 dist_bear2_theme_DATA= \
385 themes/Bear2/openbox-3/close_pressed.xbm \
386 themes/Bear2/openbox-3/close.xbm \
387 themes/Bear2/openbox-3/desk_toggled.xbm \
388 themes/Bear2/openbox-3/desk.xbm \
389 themes/Bear2/openbox-3/iconify_pressed.xbm \
390 themes/Bear2/openbox-3/iconify.xbm \
391 themes/Bear2/openbox-3/max_pressed.xbm \
392 themes/Bear2/openbox-3/max_toggled.xbm \
393 themes/Bear2/openbox-3/max.xbm \
394 themes/Bear2/openbox-3/shade_pressed.xbm \
395 themes/Bear2/openbox-3/shade.xbm \
396 themes/Bear2/openbox-3/themerc
398 orang_themedir = $(themedir)/Orang/openbox-3
399 dist_orang_theme_DATA= \
400 themes/Orang/openbox-3/themerc
402 onyx_themedir = $(themedir)/Onyx/openbox-3
403 dist_onyx_theme_DATA= \
404 themes/Onyx/openbox-3/themerc
406 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
407 dist_onyxcitrus_theme_DATA= \
408 themes/Onyx-Citrus/openbox-3/themerc
410 syscrash_themedir = $(themedir)/Syscrash/openbox-3
411 dist_syscrash_theme_DATA= \
412 themes/Syscrash/openbox-3/max_disabled.xbm \
413 themes/Syscrash/openbox-3/max_pressed.xbm \
414 themes/Syscrash/openbox-3/max_toggled.xbm \
415 themes/Syscrash/openbox-3/max.xbm \
416 themes/Syscrash/openbox-3/themerc
420 rrpubinclude_HEADERS = \
424 obrender/gradient.h \
426 obrender/instance.h \
432 obtpubinclude_HEADERS = \
443 nodist_pkgconfig_DATA = \
444 obrender/obrender-3.5.pc \
460 -e 's!@version\@!$(VERSION)!' \
461 -e 's!@configdir\@!$(configdir)!' \
462 -e 's!@libexecdir\@!$(libexecdir)!' \
463 -e 's!@bindir\@!$(bindir)!'
465 data/autostart/openbox-autostart: $(srcdir)/data/autostart/openbox-autostart.in Makefile
466 @echo make: creating $@
469 %.desktop: %.desktop.in Makefile
470 @echo make: creating $@
473 %-session: %-session.in Makefile
474 @echo make: creating $@
478 @echo make: creating $@
479 @docbook-to-man $< >$@
482 @echo make: creating $@
485 dist_gnomewmfiles_DATA = \
486 data/gnome-wm-properties/openbox.desktop
488 nodist_xsessions_DATA = \
489 data/xsession/openbox.desktop \
490 data/xsession/openbox-gnome.desktop \
491 data/xsession/openbox-kde.desktop
496 data/xsession/openbox.desktop.in \
497 data/xsession/openbox-gnome.desktop.in \
498 data/xsession/openbox-kde.desktop.in \
499 data/xsession/openbox-session.in \
500 data/xsession/openbox-gnome-session.in \
501 data/xsession/openbox-kde-session.in \
504 doc/openbox-session.1.sgml \
505 doc/openbox-session.1.in \
506 doc/openbox-gnome-session.1.sgml \
507 doc/openbox-gnome-session.1.in \
508 doc/openbox-kde-session.1.sgml \
509 doc/openbox-kde-session.1.in \
512 obrender/version.h.in \
513 obrender/obrender-3.5.pc.in \
516 tools/themeupdate/themeupdate.py \
542 doc/rc-mouse-focus.xml
546 doc/openbox-session.1 \
547 doc/openbox-gnome-session.1 \
548 doc/openbox-kde-session.1 \
554 # make clean doesn't delete these for some reason, even though they are
558 doc/openbox-session.1 \
559 doc/openbox-gnome-session.1 \
560 doc/openbox-kde-session.1 \
561 data/xsession/openbox-session \
562 data/xsession/openbox-gnome-session \
563 data/xsession/openbox-kde-session \
564 data/xsession/openbox.desktop \
565 data/xsession/openbox-gnome.desktop \
566 data/xsession/openbox-kde.desktop
569 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
572 for d in . m4 po obrender parser obt openbox; do \
573 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \