make 'make dist' work.
-SUBDIRS = po themes data render parser kernel plugins tools
+SUBDIRS = m4 po themes data render parser kernel plugins tools
MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in stamp-h.in
doc:
ACLOCAL_AMFLAGS = -I m4
-EXTRA_DIST = config.rpath mkinstalldirs INSTALL README \
- COPYING AUTHORS CHANGELOG
+EXTRA_DIST = \
+ config.rpath \
+ mkinstalldirs \
+ README \
+ COPYING \
+ AUTHORS
.PHONY: doc
AC_PREREQ([2.54])
-AC_INIT([openbox], [2.90.0cvs], [http://bugzilla.icculus.org])
+AC_INIT([openbox], [3.0-alpha1], [http://bugzilla.icculus.org])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([kernel/openbox.c])
AC_C_CONST
AC_C_INLINE
-if test "$CVS" = "yes"; then
- AC_PATH_PROG([FLEX], [flex])
- test "$FLEX" || AC_MSG_ERROR([flex not found])
-
- AC_PATH_PROG([BISON], [bison])
- test "BISON" || AC_MSG_ERROR([bison not found])
-fi
-
AC_DISABLE_STATIC
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
# Check for session management
X11_SM
+#EFENCE_LIBS=-lefence
+EFENCE_LIBS=""
+AC_SUBST(EFENCE_LIBS)
+
# Check for X11 extensions
X11_EXT_XKB
X11_EXT_XRANDR
X11_EXT_XINERAMA
AC_CONFIG_FILES([Makefile
+ m4/Makefile
po/Makefile.in
themes/Makefile
themes/ebox_data/Makefile
rc_DATA=rc3
+EXTRA_DIST=$(rc_DATA)
+
MAINTAINERCLEANFILES=Makefile.in
distclean-local:
binary=openbox
url=http://openbox.org/
-CPPFLAGS=$(X_CFLAGS) $(SM_CFLAGS) $(XFT_CFLAGS) $(GLIB_CFLAGS) \
- $(GMODULE_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) $(XML_CFLAGS) \
- @CPPFLAGS@ \
- -DLOCALEDIR=\"$(localedir)\" \
- -DPLUGINDIR=\"$(plugindir)\" \
- -DRCDIR=\"$(rcdir)\" \
- -DG_LOG_DOMAIN=\"Openbox\" \
- -DBINARY=\"$(binary)\"
+AM_CPPFLAGS=$(X_CFLAGS) $(SM_CFLAGS) $(XFT_CFLAGS) $(GLIB_CFLAGS) \
+ $(GMODULE_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) $(XML_CFLAGS) \
+ -DLOCALEDIR=\"$(localedir)\" \
+ -DPLUGINDIR=\"$(plugindir)\" \
+ -DRCDIR=\"$(rcdir)\" \
+ -DG_LOG_DOMAIN=\"Openbox\" \
+ -DBINARY=\"$(binary)\"
INCLUDES=-I..
LIBS=$(X_LIBS) $(SM_LIBS) $(XFT_LIBS) $(XINERAMA_LIBS) $(XKB_LIBS) \
$(XRANDR_LIBS) $(VIDMODE_LIBS) $(XSHAPE_LIBS) $(GLIB_LIBS) \
- $(GMODULE_LIBS) $(LIBSN_LIBS) $(XML_LIBS) @LIBS@ @LIBINTL@
+ $(GMODULE_LIBS) $(LIBSN_LIBS) $(XML_LIBS) $(EFENCE_LIBS) \
+ @LIBS@ @LIBINTL@
bin_PROGRAMS=$(binary)
openbox_LDADD=-lobrender -L../render -lobparser -L../parser
openbox_LDFLAGS=-export-dynamic
-openbox_SOURCES=action.c client.c config.c \
- extensions.c focus.c frame.c grab.c menu.c menu_render.c \
- openbox.c framerender.c plugin.c prop.c screen.c \
- stacking.c dispatch.c event.c group.c timer.c xerror.c \
- moveresize.c startup.c popup.c dock.c window.c
-
-noinst_HEADERS=action.h client.h config.h dispatch.h event.h extensions.h \
- focus.h frame.h framerender.h geom.h gettext.h grab.h group.h \
- menu.h openbox.h plugin.h prop.h screen.h \
- stacking.h timer.h xerror.h moveresize.h startup.h popup.h \
- dock.h window.h
+openbox_SOURCES=\
+ action.h \
+ action.c \
+ client.h \
+ client.c \
+ config.h \
+ config.c \
+ extensions.h \
+ extensions.c \
+ focus.h \
+ focus.c \
+ frame.h \
+ frame.c \
+ grab.h \
+ grab.c \
+ menu.h \
+ menu.c \
+ menu_render.c \
+ openbox.h \
+ openbox.c \
+ framerender.h \
+ framerender.c \
+ plugin.h \
+ plugin.c \
+ prop.h \
+ prop.c \
+ screen.h \
+ screen.c \
+ stacking.h \
+ stacking.c \
+ dispatch.h \
+ dispatch.c \
+ event.h \
+ event.c \
+ group.h \
+ group.c \
+ timer.h \
+ timer.c \
+ xerror.h \
+ xerror.c \
+ moveresize.h \
+ moveresize.c \
+ startup.h \
+ startup.c \
+ popup.h \
+ popup.c \
+ dock.h \
+ dock.c \
+ window.h \
+ window.c \
+ gettext.h \
+ geom.h
desktopfiles_DATA=openbox.desktop
+EXTRA_DIST=$(desktopfiles_DATA)
+
MAINTAINERCLEANFILES=Makefile.in
distclean-local:
localedir=$(datadir)/locale
rcdir=$(datadir)/openbox
-CPPFLAGS=$(GLIB_CFLAGS) $(XML_CFLAGS) @CPPFLAGS@ \
- -DG_LOG_DOMAIN=\"Parser\" \
- -DLOCALEDIR=\"$(localedir)\" \
- -DRCDIR=\"$(rcdir)\"
+AM_CPPFLAGS=$(GLIB_CFLAGS) $(XML_CFLAGS) \
+ -DG_LOG_DOMAIN=\"Parser\" \
+ -DLOCALEDIR=\"$(localedir)\" \
+ -DRCDIR=\"$(rcdir)\"
INCLUDES=-I..
LIBS=$(GLIB_LIBS) $(XML_LIBS) @LIBS@
lib_LTLIBRARIES=libobparser.la
-libobparser_la_SOURCES=parse.c
-
-noinst_HEADERS=parse.h
+libobparser_la_SOURCES=parse.c parse.h
MAINTAINERCLEANFILES=Makefile.in
SUBDIRS = keyboard mouse placement menu resistance
-noinst_HEADERS = interface.h obconf_interface.h
+EXTRA_DIST = interface.h obconf_interface.h
MAINTAINERCLEANFILES= Makefile.in
plugindir=$(libdir)/openbox/plugins
-CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
- $(XML_CFLAGS) @CPPFLAGS@ \
- -DG_LOG_DOMAIN=\"Plugin-Keyboard\"
+AM_CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
+ $(XML_CFLAGS) \
+ -DG_LOG_DOMAIN=\"Plugin-Keyboard\"
INCLUDES=-I../..
plugin_LTLIBRARIES=keyboard.la
keyboard_la_LDFLAGS=-module -avoid-version
-keyboard_la_SOURCES=keyboard.c translate.c tree.c
-
-noinst_HEADERS=keyboard.h keyparse.h translate.h tree.h
+keyboard_la_SOURCES=\
+ keyboard.h \
+ keyboard.c \
+ translate.h \
+ translate.c \
+ tree.h \
+ tree.c
MAINTAINERCLEANFILES=Makefile.in
plugindir=$(libdir)/openbox/plugins
-CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(XML_CFLAGS)
- \@CPPFLAGS@ \
- -DG_LOG_DOMAIN=\"Plugin-Timed-Menu\"
+AM_CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(XML_CFLAGS) \
+ -DG_LOG_DOMAIN=\"Plugin-Timed-Menu\"
INCLUDES=-I../..
plugin_LTLIBRARIES=timed_menu.la fifo_menu.la client_menu.la
timed_menu_la_LDFLAGS=-module -avoid-version
-timed_menu_la_SOURCES=timed_menu.c
+timed_menu_la_SOURCES=timed_menu.c timed_menu.h
fifo_menu_la_LDFLAGS=-module -avoid-version
-fifo_menu_la_SOURCES=fifo_menu.c
+fifo_menu_la_SOURCES=fifo_menu.c fifo_menu.h
client_menu_la_LDFLAGS=-module -avoid-version
client_menu_la_SOURCES=client_menu.c
-noinst_HEADERS=timed_menu.h fifo_menu.h
-
MAINTAINERCLEANFILES=Makefile.in
distclean-local:
plugindir=$(libdir)/openbox/plugins
-CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
- $(XML_CFLAGS) @CPPFLAGS@ \
- -DG_LOG_DOMAIN=\"Plugin-Mouse\"
+AM_CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
+ $(XML_CFLAGS) \
+ -DG_LOG_DOMAIN=\"Plugin-Mouse\"
INCLUDES=-I../..
plugin_LTLIBRARIES=mouse.la
mouse_la_LDFLAGS=-module -avoid-version
-mouse_la_SOURCES=mouse.c translate.c
+mouse_la_SOURCES=\
+ mouse.h \
+ mouse.c \
+ translate.h \
+ translate.c
noinst_HEADERS=mouse.h translate.h
plugindir=$(libdir)/openbox/plugins
-CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
- $(XML_CFLAGS) @CPPFLAGS@ \
- -DG_LOG_DOMAIN=\"Plugin-Placement\"
+AM_CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
+ $(XML_CFLAGS) \
+ -DG_LOG_DOMAIN=\"Plugin-Placement\"
INCLUDES=-I../..
plugin_LTLIBRARIES=placement.la
placement_la_LDFLAGS=-module -avoid-version
-placement_la_SOURCES=history.c placement.c
-
-noinst_HEADERS=history.h
+placement_la_SOURCES=history.c history.h placement.c
MAINTAINERCLEANFILES=Makefile.in
plugindir=$(libdir)/openbox/plugins
-CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
- $(XML_CFLAGS) @CPPFLAGS@ \
- -DPLUGINDIR=\"$(plugindir)\"
+AM_CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
+ $(XML_CFLAGS) \
+ -DPLUGINDIR=\"$(plugindir)\"
INCLUDES=-I../.. -I../../tools
plugin_LTLIBRARIES+=resistance-config.la
endif
-resistance_la_CPPFLAGS=-DG_LOG_DOMAIN=\"Plugin-Resistance\"
+resistance_la_CPPFLAGS=$(AM_CPPFLAGS) -DG_LOG_DOMAIN=\"Plugin-Resistance\"
resistance_la_LDFLAGS=-module -avoid-version
-resistance_la_SOURCES=resistance.c
+resistance_la_SOURCES=resistance.c resistance.h
if OBCONF
-resistance_config_la_CPPFLAGS=-DG_LOG_DOMAIN=\"Plugin-Resistance\" \
+resistance_config_la_CPPFLAGS=$(AM_CPPFLAGS) \
+ -DG_LOG_DOMAIN=\"Plugin-Resistance\" \
$(GTK_CFLAGS) $(GLADE_CFLAGS)
resistance_config_la_LDFLAGS=-module -avoid-version
resistance_config_la_SOURCES=resistance_config.c
endif
-noinst_HEADERS=resistance.h
-
noinst_DATA=resistance.glade resistance.gladep
+EXTRA_DIST=$(noinst_DATA)
+
MAINTAINERCLEANFILES= Makefile.in
distclean-local:
theme=operation
-CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) @CPPFLAGS@ \
- -DG_LOG_DOMAIN=\"Render\" \
- -DDEFAULT_THEME=\"$(theme)\" \
- -DTHEMEDIR=\"$(themedir)\"
+AM_CPPFLAGS=$(XFT_CFLAGS) $(GLIB_CFLAGS) $(LIBSN_CFLAGS) $(GL_CFLAGS) \
+ -DG_LOG_DOMAIN=\"Render\" \
+ -DDEFAULT_THEME=\"$(theme)\" \
+ -DTHEMEDIR=\"$(themedir)\"
INCLUDES=-I..
LIBS=$(XFT_LIBS) $(GLIB_LIBS) $(GL_LIBS) @LIBS@
mask.c \
render.h \
render.c \
+ theme.h \
theme.c \
instance.h \
instance.c
purplehaaze shade steelblue steelblue2 the_orange trisb twice \
warp-xp
+EXTRA_DIST=$(theme_DATA)
+
MAINTAINERCLEANFILES=Makefile.in
distclean-local:
close.xbm \
iconify.xbm \
max.xbm
+
+EXTRA_DIST=$(themedata_DATA)
+
+MAINTAINERCLEANFILES=Makefile.in
+
+distclean-local:
+ $(RM) *\~ *.orig *.rej .\#*
iconify.xbm \
max.xbm \
stick.xbm
+
+EXTRA_DIST=$(themedata_DATA)
+
+MAINTAINERCLEANFILES=Makefile.in
+
+distclean-local:
+ $(RM) *\~ *.orig *.rej .\#*
iconify.xbm \
max.xbm \
stick.xbm
+
+EXTRA_DIST=$(themedata_DATA)
+
+MAINTAINERCLEANFILES=Makefile.in
+
+distclean-local:
+ $(RM) *\~ *.orig *.rej .\#*
plugindir=$(libdir)/openbox/plugins
rcdir=$(datadir)/openbox
-CPPFLAGS=$(GTK_CFLAGS) $(GLADE_CFLAGS) $(GMODULE_CFLAGS) $(XML_CFLAGS) \
- @CPPFLAGS@ \
- -DLOCALEDIR=\"$(localedir)\" \
- -DRCDIR=\"$(rcdir)\" \
- -DPLUGINDIR=\"$(plugindir)\" \
- -DG_LOG_DOMAIN=\"ObConf\"
+AM_CPPFLAGS=$(GTK_CFLAGS) $(GLADE_CFLAGS) $(GMODULE_CFLAGS) $(XML_CFLAGS) \
+ -DLOCALEDIR=\"$(localedir)\" \
+ -DRCDIR=\"$(rcdir)\" \
+ -DPLUGINDIR=\"$(plugindir)\" \
+ -DG_LOG_DOMAIN=\"ObConf\"
INCLUDES=-I../..
LIBS=$(GTK_LIBS) $(GLADE_LIBS) $(GMODULE_LIBS) $(XML_LIBS) @LIBS@ @LIBINTL@
obconf_LDADD=-lobparser -L../../parser
obconf_LDFLAGS=-export-dynamic
-obconf_SOURCES=main.c about.c plugins.c
-
-noinst_HEADERS=obconf.h plugins.h
+obconf_SOURCES=\
+ obconf.h \
+ main.c \
+ about.c \
+ plugins.h \
+ plugins.c
MAINTAINERCLEANFILES=Makefile.in