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 pubincludedir = $(includedir)/openbox/@OB_VERSION@/openbox
12 pixmapdir = $(datadir)/pixmaps
13 xsddir = $(datadir)/openbox
17 AUTOMAKE_OPTIONS = subdir-objects foreign
19 ACLOCAL_AMFLAGS = -I m4
27 parser/libobparser.la \
28 render/libobrender.la \
33 tools/gnome-panel-control/gnome-panel-control
35 nodist_bin_SCRIPTS = \
36 data/xsession/openbox-session \
37 data/xsession/openbox-gnome-session \
38 data/xsession/openbox-kde-session
42 render_rendertest_CPPFLAGS = \
46 -DG_LOG_DOMAIN=\"RenderTest\"
47 render_rendertest_LDADD = \
48 parser/libobparser.la \
49 render/libobrender.la \
55 render_rendertest_SOURCES = render/test.c
57 render_libobrender_la_CPPFLAGS = \
63 -DG_LOG_DOMAIN=\"ObRender\" \
64 -DDEFAULT_THEME=\"$(theme)\"
65 render_libobrender_la_LDFLAGS = \
66 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
67 render_libobrender_la_LIBADD = \
68 parser/libobparser.la \
74 render_libobrender_la_SOURCES = \
97 parser_libobparser_la_CPPFLAGS = \
100 -DG_LOG_DOMAIN=\"ObParser\" \
101 -DLOCALEDIR=\"$(localedir)\" \
102 -DDATADIR=\"$(datadir)\" \
103 -DCONFIGDIR=\"$(configdir)\"
104 parser_libobparser_la_LDFLAGS = \
105 -version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
106 parser_libobparser_la_LIBADD = \
109 parser_libobparser_la_SOURCES = \
115 obt_libobt_la_CPPFLAGS = \
122 -DG_LOG_DOMAIN=\"Obt\" \
123 -DLOCALEDIR=\"$(localedir)\" \
124 -DDATADIR=\"$(datadir)\" \
125 -DCONFIGDIR=\"$(configdir)\"
126 obt_libobt_la_LDFLAGS = \
127 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
128 obt_libobt_la_LIBADD = \
135 obt_libobt_la_SOURCES = \
146 openbox_openbox_CPPFLAGS = \
155 -DLOCALEDIR=\"$(localedir)\" \
156 -DDATADIR=\"$(datadir)\" \
157 -DCONFIGDIR=\"$(configdir)\" \
158 -DG_LOG_DOMAIN=\"Openbox\"
159 openbox_openbox_LDADD = \
168 render/libobrender.la \
169 parser/libobparser.la \
171 openbox_openbox_LDFLAGS = -export-dynamic
172 openbox_openbox_SOURCES = \
174 openbox/actions/all.c \
175 openbox/actions/all.h \
176 openbox/actions/addremovedesktop.c \
177 openbox/actions/breakchroot.c \
178 openbox/actions/close.c \
179 openbox/actions/cyclewindows.c \
180 openbox/actions/debug.c \
181 openbox/actions/decorations.c \
182 openbox/actions/desktop.c \
183 openbox/actions/dockautohide.c \
184 openbox/actions/directionalwindows.c \
185 openbox/actions/execute.c \
186 openbox/actions/exit.c \
187 openbox/actions/focus.c \
188 openbox/actions/focustobottom.c \
189 openbox/actions/fullscreen.c \
190 openbox/actions/growtoedge.c \
191 openbox/actions/iconify.c \
192 openbox/actions/if.c \
193 openbox/actions/kill.c \
194 openbox/actions/layer.c \
195 openbox/actions/lower.c \
196 openbox/actions/maximize.c \
197 openbox/actions/move.c \
198 openbox/actions/moverelative.c \
199 openbox/actions/moveresizeto.c \
200 openbox/actions/movetoedge.c \
201 openbox/actions/omnipresent.c \
202 openbox/actions/raise.c \
203 openbox/actions/raiselower.c \
204 openbox/actions/reconfigure.c \
205 openbox/actions/resize.c \
206 openbox/actions/resizerelative.c \
207 openbox/actions/restart.c \
208 openbox/actions/shade.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 \
260 openbox/moveresize.c \
261 openbox/moveresize.h \
279 openbox/startupnotify.c \
280 openbox/startupnotify.h \
281 openbox/translate.c \
282 openbox/translate.h \
286 ## gnome-panel-control ##
288 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
290 tools_gnome_panel_control_gnome_panel_control_LDADD = \
292 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
293 tools/gnome-panel-control/gnome-panel-control.c
296 ## default button masks ##
298 data/xbm/bullet.xbm \
300 data/xbm/desk_toggled.xbm \
302 data/xbm/iconify.xbm \
303 data/xbm/max_toggled.xbm \
305 data/xbm/shade_toggled.xbm \
311 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
312 dist_clearlooks_theme_DATA= \
313 themes/Clearlooks/openbox-3/themerc
315 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
316 dist_clearlooksolive_theme_DATA= \
317 themes/Clearlooks-Olive/openbox-3/themerc
319 mikachu_themedir = $(themedir)/Mikachu/openbox-3
320 dist_mikachu_theme_DATA= \
321 themes/Mikachu/openbox-3/bullet.xbm \
322 themes/Mikachu/openbox-3/close.xbm \
323 themes/Mikachu/openbox-3/desk.xbm \
324 themes/Mikachu/openbox-3/iconify.xbm \
325 themes/Mikachu/openbox-3/max.xbm \
326 themes/Mikachu/openbox-3/themerc
329 natura_themedir = $(themedir)/Natura/openbox-3
330 dist_natura_theme_DATA= \
331 themes/Natura/openbox-3/close_hover.xbm \
332 themes/Natura/openbox-3/close.xbm \
333 themes/Natura/openbox-3/desk_toggled.xbm \
334 themes/Natura/openbox-3/desk_hover.xbm \
335 themes/Natura/openbox-3/desk.xbm \
336 themes/Natura/openbox-3/iconify_hover.xbm \
337 themes/Natura/openbox-3/iconify.xbm \
338 themes/Natura/openbox-3/max_hover.xbm \
339 themes/Natura/openbox-3/max_toggled.xbm \
340 themes/Natura/openbox-3/max.xbm \
341 themes/Natura/openbox-3/shade.xbm \
342 themes/Natura/openbox-3/shade_hover.xbm \
343 themes/Natura/openbox-3/themerc
345 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
346 dist_artwizboxed_theme_DATA= \
347 themes/Artwiz-boxed/openbox-3/themerc
349 bear2_themedir = $(themedir)/Bear2/openbox-3
350 dist_bear2_theme_DATA= \
351 themes/Bear2/openbox-3/close_pressed.xbm \
352 themes/Bear2/openbox-3/close.xbm \
353 themes/Bear2/openbox-3/desk_toggled.xbm \
354 themes/Bear2/openbox-3/desk.xbm \
355 themes/Bear2/openbox-3/iconify_pressed.xbm \
356 themes/Bear2/openbox-3/iconify.xbm \
357 themes/Bear2/openbox-3/max_pressed.xbm \
358 themes/Bear2/openbox-3/max_toggled.xbm \
359 themes/Bear2/openbox-3/max.xbm \
360 themes/Bear2/openbox-3/shade_pressed.xbm \
361 themes/Bear2/openbox-3/shade.xbm \
362 themes/Bear2/openbox-3/themerc
364 orang_themedir = $(themedir)/Orang/openbox-3
365 dist_orang_theme_DATA= \
366 themes/Orang/openbox-3/themerc
368 onyx_themedir = $(themedir)/Onyx/openbox-3
369 dist_onyx_theme_DATA= \
370 themes/Onyx/openbox-3/themerc
372 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
373 dist_onyxcitrus_theme_DATA= \
374 themes/Onyx-Citrus/openbox-3/themerc
376 syscrash_themedir = $(themedir)/Syscrash/openbox-3
377 dist_syscrash_theme_DATA= \
378 themes/Syscrash/openbox-3/max_disabled.xbm \
379 themes/Syscrash/openbox-3/max_pressed.xbm \
380 themes/Syscrash/openbox-3/max_toggled.xbm \
381 themes/Syscrash/openbox-3/max.xbm \
382 themes/Syscrash/openbox-3/themerc
386 pubinclude_HEADERS = \
401 nodist_pubinclude_HEADERS = \
404 nodist_pkgconfig_DATA = \
405 render/obrender-4.0.pc \
406 parser/obparser-4.0.pc \
420 -e 's!@version\@!$(VERSION)!' \
421 -e 's!@configdir\@!$(configdir)!' \
422 -e 's!@bindir\@!$(bindir)!'
424 %.desktop: %.desktop.in Makefile
425 @echo make: creating $@
428 %-session: %-session.in Makefile
429 @echo make: creating $@
433 @echo make: creating $@
434 @docbook-to-man $< >$@
437 @echo make: creating $@
440 dist_gnomewmfiles_DATA = \
441 data/gnome-wm-properties/openbox.desktop
443 nodist_xsessions_DATA = \
444 data/xsession/openbox.desktop \
445 data/xsession/openbox-gnome.desktop \
446 data/xsession/openbox-kde.desktop
452 data/xsession/openbox.desktop.in \
453 data/xsession/openbox-gnome.desktop.in \
454 data/xsession/openbox-kde.desktop.in \
455 data/xsession/openbox-session.in \
456 data/xsession/openbox-gnome-session.in \
457 data/xsession/openbox-kde-session.in \
460 doc/openbox-session.1.sgml \
461 doc/openbox-session.1.in \
462 doc/openbox-gnome-session.1.sgml \
463 doc/openbox-gnome-session.1.in \
464 doc/openbox-kde-session.1.sgml \
465 doc/openbox-kde-session.1.in \
466 render/obrender-4.0.pc.in \
467 parser/obparser-4.0.pc.in \
469 tools/themeupdate/themeupdate.py \
495 doc/rc-mouse-focus.xml
499 doc/openbox-session.1 \
500 doc/openbox-gnome-session.1 \
501 doc/openbox-kde-session.1
506 # make clean doesn't delete these for some reason, even though they are
510 doc/openbox-session.1 \
511 doc/openbox-gnome-session.1 \
512 doc/openbox-kde-session.1 \
513 data/xsession/openbox-session \
514 data/xsession/openbox-gnome-session \
515 data/xsession/openbox-kde-session \
516 data/xsession/openbox.desktop \
517 data/xsession/openbox-gnome.desktop \
518 data/xsession/openbox-kde.desktop
521 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
524 for d in . m4 po render parser obt openbox; do \
525 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \