summaryrefslogtreecommitdiff
path: root/src/tools/Makefile.am
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-12-01 20:48:10 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-12-01 20:48:10 +0000
commit214bcceaea63ce12c9e991fe60aa1bfa007a06ed (patch)
tree3deff197bc911bee32b20e32fd4cf5987a062b5d /src/tools/Makefile.am
parent5e1439f89e7acd7d57c4027eea2160953fb323f1 (diff)
downloadmetacity-214bcceaea63ce12c9e991fe60aa1bfa007a06ed.tar.gz
metacity-214bcceaea63ce12c9e991fe60aa1bfa007a06ed.tar.bz2
conditionalize building the config dialog
2002-12-01 Havoc Pennington <hp@pobox.com> * src/tools/Makefile.am: conditionalize building the config dialog * configure.in (BUILD_CONFIG_DIALOG): add --enable-config-dialog option to turn on the "window focus" dialog. This is part of deprecating this dialog.
Diffstat (limited to 'src/tools/Makefile.am')
-rw-r--r--src/tools/Makefile.am14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/tools/Makefile.am b/src/tools/Makefile.am
index 61bd329..13c5773 100644
--- a/src/tools/Makefile.am
+++ b/src/tools/Makefile.am
@@ -21,10 +21,12 @@ metacity_mag_SOURCES= \
metacity_grayscale_SOURCES= \
metacity-grayscale.c
+if BUILD_CONFIG_DIALOG
metacity_properties_SOURCES= \
metacity-properties.c
metacity_properties_LDFLAGS = -export-dynamic
+endif
uidir=$(pkgdatadir)/glade
ui_DATA=metacity-properties.glade
@@ -36,16 +38,24 @@ desktopdir=$(datadir)/control-center-2.0/capplets
Desktop_in_files=metacity-properties.desktop.in
desktop_DATA=$(Desktop_in_files:.desktop.in=.desktop)
-bin_PROGRAMS=metacity-message metacity-window-demo metacity-properties
+if BUILD_CONFIG_DIALOG
+CONFIG_DIALOG=metacity-properties
+else
+CONFIG_DIALOG=
+endif
+
+bin_PROGRAMS=metacity-message metacity-window-demo $(CONFIG_DIALOG)
## cheesy hacks I use, don't really have any business existing. ;-)
noinst_PROGRAMS=metacity-mag metacity-grayscale
metacity_message_LDADD= @METACITY_MESSAGE_LIBS@
metacity_window_demo_LDADD= @METACITY_WINDOW_DEMO_LIBS@
-metacity_properties_LDADD= @METACITY_PROPS_LIBS@
metacity_mag_LDADD= @METACITY_WINDOW_DEMO_LIBS@
metacity_grayscale_LDADD = @METACITY_WINDOW_DEMO_LIBS@
+if BUILD_CONFIG_DIALOG
+metacity_properties_LDADD= @METACITY_PROPS_LIBS@
+endif
EXTRA_DIST=$(icon_DATA) $(ui_DATA) $(propicon_DATA) $(Desktop_in_files)