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 gnomesessiondir = $(datadir)/gnome-session/sessions
10 gnomewmfilesdir = $(datadir)/gnome/wm-properties
11 pkgconfigdir = $(libdir)/pkgconfig
12 obtpubincludedir= $(includedir)/openbox/@OBT_VERSION@/obt
13 rrpubincludedir = $(includedir)/openbox/@RR_VERSION@/obrender
14 pixmapdir = $(datadir)/pixmaps
15 xsddir = $(datadir)/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 nodist_bin_SCRIPTS = \
40 data/xsession/openbox-session \
41 data/xsession/openbox-gnome-session \
42 data/xsession/openbox-kde-session
48 data/autostart/autostart
50 dist_libexec_SCRIPTS = \
51 data/autostart/openbox-xdg-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 = \
89 obrender_libobrender_la_SOURCES = \
103 obrender/imagecache.h \
104 obrender/imagecache.c \
105 obrender/instance.h \
106 obrender/instance.c \
116 obt_libobt_la_CPPFLAGS = \
125 -DG_LOG_DOMAIN=\"Obt\" \
126 -DLOCALEDIR=\"$(localedir)\" \
127 -DDATADIR=\"$(datadir)\" \
128 -DCONFIGDIR=\"$(configdir)\"
129 obt_libobt_la_LDFLAGS = \
130 -version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
131 obt_libobt_la_LIBADD = \
140 obt_libobt_la_SOURCES = \
165 openbox_openbox_CPPFLAGS = \
174 -DLOCALEDIR=\"$(localedir)\" \
175 -DDATADIR=\"$(datadir)\" \
176 -DCONFIGDIR=\"$(configdir)\" \
177 -DG_LOG_DOMAIN=\"Openbox\"
178 openbox_openbox_LDADD = \
189 obrender/libobrender.la \
191 openbox_openbox_LDFLAGS = -export-dynamic
192 openbox_openbox_SOURCES = \
194 openbox/actions/_all.c \
195 openbox/actions/_all.h \
196 openbox/actions/addremovedesktop.c \
197 openbox/actions/breakchroot.c \
198 openbox/actions/close.c \
199 openbox/actions/cyclewindows.c \
200 openbox/actions/debug.c \
201 openbox/actions/decorations.c \
202 openbox/actions/desktop.c \
203 openbox/actions/dock.c \
204 openbox/actions/dockautohide.c \
205 openbox/actions/directionalwindows.c \
206 openbox/actions/execute.c \
207 openbox/actions/exit.c \
208 openbox/actions/focus.c \
209 openbox/actions/focustobottom.c \
210 openbox/actions/fullscreen.c \
211 openbox/actions/growtoedge.c \
212 openbox/actions/iconify.c \
213 openbox/actions/kill.c \
214 openbox/actions/layer.c \
215 openbox/actions/lower.c \
216 openbox/actions/maximize.c \
217 openbox/actions/move.c \
218 openbox/actions/moverelative.c \
219 openbox/actions/moveresizeto.c \
220 openbox/actions/movetoedge.c \
221 openbox/actions/omnipresent.c \
222 openbox/actions/raise.c \
223 openbox/actions/raiselower.c \
224 openbox/actions/reconfigure.c \
225 openbox/actions/resize.c \
226 openbox/actions/resizerelative.c \
227 openbox/actions/restart.c \
228 openbox/actions/shade.c \
229 openbox/actions/showdesktop.c \
230 openbox/actions/showmenu.c \
231 openbox/actions/unfocus.c \
232 openbox/filters/_all.c \
233 openbox/filters/_all.h \
234 openbox/filters/all.c \
235 openbox/filters/target.c \
238 openbox/action_filter.c \
239 openbox/action_filter.h \
240 openbox/action_list.c \
241 openbox/action_list.h \
242 openbox/action_list_run.c \
243 openbox/action_list_run.h \
244 openbox/action_parser.c \
245 openbox/action_parser.h \
246 openbox/action_value.c \
247 openbox/action_value.h \
250 openbox/client_list_menu.c \
251 openbox/client_list_menu.h \
252 openbox/client_list_combined_menu.c \
253 openbox/client_list_combined_menu.h \
254 openbox/client_menu.c \
255 openbox/client_menu.h \
256 openbox/client_set.c \
257 openbox/client_set.h \
268 openbox/focus_cycle.c \
269 openbox/focus_cycle.h \
270 openbox/focus_cycle_indicator.c \
271 openbox/focus_cycle_indicator.h \
272 openbox/focus_cycle_popup.c \
273 openbox/focus_cycle_popup.h \
276 openbox/framerender.c \
277 openbox/framerender.h \
287 openbox/menuframe.c \
288 openbox/menuframe.h \
294 openbox/moveresize.c \
295 openbox/moveresize.h \
315 openbox/startupnotify.c \
316 openbox/startupnotify.h \
317 openbox/translate.c \
318 openbox/translate.h \
323 ## gnome-panel-control ##
325 tools_gnome_panel_control_gnome_panel_control_CPPFLAGS = \
327 tools_gnome_panel_control_gnome_panel_control_LDADD = \
329 tools_gnome_panel_control_gnome_panel_control_SOURCES = \
330 tools/gnome-panel-control/gnome-panel-control.c
334 tools_obxprop_obxprop_CPPFLAGS = \
337 tools_obxprop_obxprop_LDADD = \
340 tools_obxprop_obxprop_SOURCES = \
341 tools/obxprop/obxprop.c
345 tools_gdm_control_gdm_control_CPPFLAGS = \
349 tools_gdm_control_gdm_control_LDADD = \
353 tools_gdm_control_gdm_control_SOURCES = \
354 tools/gdm-control/gdm-control.c
357 ## default button masks ##
359 data/xbm/bullet.xbm \
361 data/xbm/desk_toggled.xbm \
363 data/xbm/iconify.xbm \
364 data/xbm/max_toggled.xbm \
366 data/xbm/shade_toggled.xbm \
372 clearlooks_themedir = $(themedir)/Clearlooks/openbox-3
373 dist_clearlooks_theme_DATA= \
374 themes/Clearlooks/openbox-3/themerc
376 clearlooks34_themedir = $(themedir)/Clearlooks-3.4/openbox-3
377 dist_clearlooks34_theme_DATA= \
378 themes/Clearlooks-3.4/openbox-3/themerc
380 clearlooksolive_themedir = $(themedir)/Clearlooks-Olive/openbox-3
381 dist_clearlooksolive_theme_DATA= \
382 themes/Clearlooks-Olive/openbox-3/themerc
384 mikachu_themedir = $(themedir)/Mikachu/openbox-3
385 dist_mikachu_theme_DATA= \
386 themes/Mikachu/openbox-3/bullet.xbm \
387 themes/Mikachu/openbox-3/close.xbm \
388 themes/Mikachu/openbox-3/desk.xbm \
389 themes/Mikachu/openbox-3/iconify.xbm \
390 themes/Mikachu/openbox-3/max.xbm \
391 themes/Mikachu/openbox-3/themerc
394 natura_themedir = $(themedir)/Natura/openbox-3
395 dist_natura_theme_DATA= \
396 themes/Natura/openbox-3/close_hover.xbm \
397 themes/Natura/openbox-3/close.xbm \
398 themes/Natura/openbox-3/desk_toggled.xbm \
399 themes/Natura/openbox-3/desk_hover.xbm \
400 themes/Natura/openbox-3/desk.xbm \
401 themes/Natura/openbox-3/iconify_hover.xbm \
402 themes/Natura/openbox-3/iconify.xbm \
403 themes/Natura/openbox-3/max_hover.xbm \
404 themes/Natura/openbox-3/max_toggled.xbm \
405 themes/Natura/openbox-3/max.xbm \
406 themes/Natura/openbox-3/shade.xbm \
407 themes/Natura/openbox-3/shade_hover.xbm \
408 themes/Natura/openbox-3/themerc
410 artwizboxed_themedir = $(themedir)/Artwiz-boxed/openbox-3
411 dist_artwizboxed_theme_DATA= \
412 themes/Artwiz-boxed/openbox-3/themerc
414 bear2_themedir = $(themedir)/Bear2/openbox-3
415 dist_bear2_theme_DATA= \
416 themes/Bear2/openbox-3/close_pressed.xbm \
417 themes/Bear2/openbox-3/close.xbm \
418 themes/Bear2/openbox-3/desk_toggled.xbm \
419 themes/Bear2/openbox-3/desk.xbm \
420 themes/Bear2/openbox-3/iconify_pressed.xbm \
421 themes/Bear2/openbox-3/iconify.xbm \
422 themes/Bear2/openbox-3/max_pressed.xbm \
423 themes/Bear2/openbox-3/max_toggled.xbm \
424 themes/Bear2/openbox-3/max.xbm \
425 themes/Bear2/openbox-3/shade_pressed.xbm \
426 themes/Bear2/openbox-3/shade.xbm \
427 themes/Bear2/openbox-3/themerc
429 orang_themedir = $(themedir)/Orang/openbox-3
430 dist_orang_theme_DATA= \
431 themes/Orang/openbox-3/themerc
433 onyx_themedir = $(themedir)/Onyx/openbox-3
434 dist_onyx_theme_DATA= \
435 themes/Onyx/openbox-3/themerc
437 onyxcitrus_themedir = $(themedir)/Onyx-Citrus/openbox-3
438 dist_onyxcitrus_theme_DATA= \
439 themes/Onyx-Citrus/openbox-3/themerc
441 syscrash_themedir = $(themedir)/Syscrash/openbox-3
442 dist_syscrash_theme_DATA= \
443 themes/Syscrash/openbox-3/max_disabled.xbm \
444 themes/Syscrash/openbox-3/max_pressed.xbm \
445 themes/Syscrash/openbox-3/max_toggled.xbm \
446 themes/Syscrash/openbox-3/max.xbm \
447 themes/Syscrash/openbox-3/themerc
451 rrpubinclude_HEADERS = \
455 obrender/gradient.h \
457 obrender/instance.h \
463 obtpubinclude_HEADERS = \
475 nodist_pkgconfig_DATA = \
476 obrender/obrender-3.5.pc \
492 -e 's!@version\@!$(VERSION)!' \
493 -e 's!@configdir\@!$(configdir)!' \
494 -e 's!@rcdir\@!$(rcdir)!' \
495 -e 's!@libexecdir\@!$(libexecdir)!' \
496 -e 's!@bindir\@!$(bindir)!'
498 data/autostart/autostart: $(top_srcdir)/data/autostart/autostart.in Makefile
499 @echo make: creating $@
500 @test -d $(shell dirname $(top_builddir)/$@) || \
501 mkdir $(shell dirname $(top_builddir)/$@)
502 @$(edit) $< >$(top_builddir)/$@
504 data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
505 @echo make: creating $@
506 @test -d $(shell dirname $(top_builddir)/$@) || \
507 mkdir $(shell dirname $(top_builddir)/$@)
508 @$(edit) $< >$(top_builddir)/$@
510 %.desktop: %.desktop.in Makefile
511 @echo make: creating $@
514 %-session: %-session.in Makefile
515 @echo make: creating $@
519 @echo make: creating $@
520 @docbook-to-man $< >$@
523 @echo make: creating $@
526 dist_gnomewmfiles_DATA = \
527 data/gnome-wm-properties/openbox.desktop
529 nodist_xsessions_DATA = \
530 data/xsession/openbox.desktop \
531 data/xsession/openbox-gnome.desktop \
532 data/xsession/openbox-kde.desktop
534 dist_gnomesession_DATA = \
535 data/gnome-session/openbox-gnome.session \
536 data/gnome-session/openbox-gnome-fallback.session
541 data/autostart/autostart.in \
542 data/autostart/openbox-autostart.in \
543 data/xsession/openbox.desktop.in \
544 data/xsession/openbox-gnome.desktop.in \
545 data/xsession/openbox-kde.desktop.in \
546 data/xsession/openbox-session.in \
547 data/xsession/openbox-gnome-session.in \
548 data/xsession/openbox-kde-session.in \
551 doc/openbox-session.1.sgml \
552 doc/openbox-session.1.in \
553 doc/openbox-gnome-session.1.sgml \
554 doc/openbox-gnome-session.1.in \
555 doc/openbox-kde-session.1.sgml \
556 doc/openbox-kde-session.1.in \
559 obrender/version.h.in \
560 obrender/obrender-3.5.pc.in \
563 tools/themeupdate/themeupdate.py \
589 doc/rc-mouse-focus.xml
593 doc/openbox-session.1 \
594 doc/openbox-gnome-session.1 \
595 doc/openbox-kde-session.1 \
601 # make clean doesn't delete these for some reason, even though they are
605 $(nodist_bin_SCRIPTS) \
606 $(nodist_xsessions_DATA) \
607 $(nodist_rc_SCRIPTS) \
608 $(nodist_libexec_SCRIPTS)
611 # $(MAKE) -$(MAKEFLAGS) -C doc/doxygen doc
614 for d in . m4 po obrender parser obt openbox; do \
615 for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \