summaryrefslogtreecommitdiff
path: root/mixer/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'mixer/Makefile.am')
-rw-r--r--mixer/Makefile.am57
1 files changed, 57 insertions, 0 deletions
diff --git a/mixer/Makefile.am b/mixer/Makefile.am
new file mode 100644
index 000000000..7546ef89a
--- /dev/null
+++ b/mixer/Makefile.am
@@ -0,0 +1,57 @@
+SUBDIRS = docs
+
+INCLUDES = -I. -I$(srcdir) \
+ $(MIXER_CFLAGS) \
+ $(GNOME_APPLETS_CFLAGS) \
+ $(GNOME_LIBS2_CFLAGS) \
+ $(GNOMEDESKTOP_CFLAGS)
+
+libexec_PROGRAMS = mixer_applet2
+
+mixer_applet2_SOURCES = \
+ applet.c \
+ dock.c \
+ load.c \
+ preferences.c
+
+noinst_HEADERS = \
+ applet.h \
+ dock.h \
+ keys.h \
+ preferences.h
+
+mixer_applet2_LDADD = \
+ $(MIXER_LIBS) \
+ $(GNOME_APPLETS_LIBS) \
+ $(GNOME_LIBS2_LIBS) \
+ $(GNOMEDESKTOP_LIBS)
+
+serverdir = $(libdir)/bonobo/servers
+server_in_files = GNOME_MixerApplet.server.in
+server_DATA = $(server_in_files:.server.in=.server)
+
+$(server_in_files): $(server_in_files:.server.in=.server.in.in)
+ sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" $< > $@
+
+@INTLTOOL_SERVER_RULE@
+
+uidir = $(datadir)/gnome-2.0/ui
+ui_DATA = GNOME_MixerApplet.xml
+
+schemasdir = @GCONF_SCHEMA_FILE_DIR@
+schemas_in_files = mixer.schemas.in
+schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+
+@INTLTOOL_SCHEMAS_RULE@
+
+EXTRA_DIST = \
+ GNOME_MixerApplet.server.in.in \
+ $(ui_DATA) \
+ $(schemas_in_files)
+
+CLEANFILES = $(server_in_files) $(server_DATA) $(schemas_DATA)
+
+if GCONF_SCHEMAS_INSTALL
+install-data-local:
+ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA) ;
+endif