configdir = $(sysconfdir)/xdg
rcdir = $(configdir)/openbox
xsessionsdir = $(datadir)/xsessions
+gnomesessiondir = $(datadir)/gnome-session/sessions
gnomewmfilesdir = $(datadir)/gnome/wm-properties
pkgconfigdir = $(libdir)/pkgconfig
obtpubincludedir= $(includedir)/openbox/@OBT_VERSION@/obt
data/autostart/autostart
dist_libexec_SCRIPTS = \
- data/autostart/openbox-xdg-autostart \
- data/autostart/openbox-autostart
+ data/autostart/openbox-xdg-autostart
nodist_libexec_SCRIPTS = \
data/autostart/openbox-autostart
obrender_libobrender_la_LDFLAGS = \
-version-info $(RR_CURRENT):$(RR_REVISION):$(RR_AGE)
obrender_libobrender_la_LIBADD = \
+ obt/libobt.la \
$(X_LIBS) \
$(PANGO_LIBS) \
$(GLIB_LIBS) \
## obt ##
obt_libobt_la_CPPFLAGS = \
+ $(X_CFLAGS) \
$(XINERAMA_CFLAGS) \
$(XKB_CFLAGS) \
$(XRANDR_CFLAGS) \
obt_libobt_la_LDFLAGS = \
-version-info $(OBT_CURRENT):$(OBT_REVISION):$(OBT_AGE)
obt_libobt_la_LIBADD = \
+ $(X_LIBS) \
$(XINERAMA_LIBS) \
$(XKB_LIBS) \
$(XRANDR_LIBS) \
obt/signal.h \
obt/signal.c \
obt/util.h \
- obt/watch.h \
- obt/watch.c \
obt/xqueue.h \
obt/xqueue.c
-DCONFIGDIR=\"$(configdir)\" \
-DG_LOG_DOMAIN=\"Openbox\"
openbox_openbox_LDADD = \
+ $(XINERAMA_LIBS) \
+ $(XRANDR_LIBS) \
$(SM_LIBS) \
$(GLIB_LIBS) \
$(X_LIBS) \
openbox/mwm.h \
openbox/openbox.c \
openbox/openbox.h \
+ openbox/overlap.c \
+ openbox/overlap.h \
openbox/ping.c \
openbox/ping.h \
openbox/place.c \
## gdm-control ##
tools_gdm_control_gdm_control_CPPFLAGS = \
+ $(XAUTH_CFLAGS) \
$(X_CFLAGS) \
$(GLIB_CFLAGS)
tools_gdm_control_gdm_control_LDADD = \
+ $(XAUTH_LIBS) \
$(X_LIBS) \
$(GLIB_LIBS)
tools_gdm_control_gdm_control_SOURCES = \
obt/signal.h \
obt/util.h \
obt/version.h \
- obt/watch.h \
obt/xqueue.h
nodist_pkgconfig_DATA = \
edit = $(SED) \
-e 's!@version\@!$(VERSION)!' \
-e 's!@configdir\@!$(configdir)!' \
+ -e 's!@rcdir\@!$(rcdir)!' \
-e 's!@libexecdir\@!$(libexecdir)!' \
-e 's!@bindir\@!$(bindir)!'
-data/autostart/autostart: $(srcdir)/data/autostart/autostart.in Makefile
+data/autostart/autostart: $(top_srcdir)/data/autostart/autostart.in Makefile
@echo make: creating $@
- @test -d $(shell dirname $(builddir)/$@) || \
- mkdir $(shell dirname $(builddir)/$@)
- @$(edit) $< >$(builddir)/$@
+ @test -d $(shell dirname $(top_builddir)/$@) || \
+ mkdir $(shell dirname $(top_builddir)/$@)
+ @$(edit) $< >$(top_builddir)/$@
-data/autostart/openbox-autostart: $(srcdir)/data/autostart/openbox-autostart.in Makefile
+data/autostart/openbox-autostart: $(top_srcdir)/data/autostart/openbox-autostart.in Makefile
@echo make: creating $@
- @test -d $(shell dirname $(builddir)/$@) || \
- mkdir $(shell dirname $(builddir)/$@)
- @$(edit) $< >$(builddir)/$@
+ @test -d $(shell dirname $(top_builddir)/$@) || \
+ mkdir $(shell dirname $(top_builddir)/$@)
+ @$(edit) $< >$(top_builddir)/$@
%.desktop: %.desktop.in Makefile
@echo make: creating $@
data/xsession/openbox-gnome.desktop \
data/xsession/openbox-kde.desktop
+dist_gnomesession_DATA = \
+ data/gnome-session/openbox-gnome.session \
+ data/gnome-session/openbox-gnome-fallback.session
+
dist_noinst_DATA = \
data/rc.xsd \
data/menu.xsd \