X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=Makefile.am;h=f84dc6fe14d47346a761fd06239f6af0777274e7;hb=54ad34a039d5d83d61c481aaef18d1ea7876d36e;hp=caef4d5b8c992079a3d5a7d52fb584af70824d90;hpb=2c92ab76795188b28df32cee636a8786a9e5ded4;p=chaz%2Fopenbox diff --git a/Makefile.am b/Makefile.am index caef4d5b..f84dc6fe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,6 +5,7 @@ localedir = $(datadir)/locale rcdir = $(datadir)/openbox plugindir = $(libdir)/openbox/plugins desktopfilesdir = $(datadir)/gnome/wm-properties +pixmapdir = $(datadir)/pixmaps theme = operation @@ -34,8 +35,11 @@ plugin_LTLIBRARIES = \ plugins/menu/include_menu.la if OBCONF -plugin_LTLIBRARIES += \ - plugins/resistance/resistance-config.la +bin_PROGRAMS += \ + tools/obconf/obconf + +#plugin_LTLIBRARIES += \ +# plugins/resistance/resistance-config.la endif ## render ## @@ -169,6 +173,8 @@ kernel_openbox_SOURCES = \ kernel/prop.h \ kernel/screen.c \ kernel/screen.h \ + kernel/session.c \ + kernel/session.h \ kernel/stacking.c \ kernel/stacking.h \ kernel/startup.c \ @@ -326,6 +332,28 @@ plugins_menu_include_menu_la_SOURCES = \ plugins/menu/include_menu.c +## obconf ## + +tools_obconf_obconf_CPPFLAGS = \ + $(GTK_CFLAGS) \ + $(GDK_PIXBUF_CFLAGS) \ + $(XML_CFLAGS) \ + -DLOCALEDIR=\"$(localedir)\" \ + -DPLUGINDIR=\"$(plugindir)\" \ + -DRCDIR=\"$(rcdir)\" \ + -DPIXMAPDIR=\"$(pixmapdir)\" \ + -DG_LOG_DOMAIN=\"Obconf\" +tools_obconf_obconf_LDADD = \ + $(GTK_LIBS) \ + $(GDK_PIXBUF_LIBS) \ + $(LIBINTL) \ + render/libobrender.la \ + parser/libobparser.la +tools_obconf_obconf_SOURCES = \ + gettext.h \ + tools/obconf/main.c + + ## themes ## dist_theme_DATA = \ @@ -396,7 +424,7 @@ EXTRA_DIST = \ distclean-local: for d in . m4 po render; do \ for p in core core.* gmon.out *\~ *.orig *.rej .\#*; do \ - $(RM) "$$d/$$p"; \ + rm -f "$$d/$$p"; \ done \ done