aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-16 13:20:56 -0500
committerTed Gould <ted@canonical.com>2009-10-16 13:20:56 -0500
commit5b8ab09e59342e7214117d2ebb02b89da6fa6503 (patch)
treede31fad75485b96a38c120bf174eddab8af002bd /src/Makefile.am
parent0336cb4b898e96b9a2c6c814523ef01c4bcc14a5 (diff)
downloadlibayatana-appindicator-5b8ab09e59342e7214117d2ebb02b89da6fa6503.tar.gz
libayatana-appindicator-5b8ab09e59342e7214117d2ebb02b89da6fa6503.tar.bz2
libayatana-appindicator-5b8ab09e59342e7214117d2ebb02b89da6fa6503.zip
Setting up build to build the enums.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index bcaba37..ca5de35 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,9 @@
+CLEANFILES =
+DISTCLEANFILES =
+BUILT_SOURCES =
+EXTRA_DIST =
+
+include $(top_srcdir)/Makefile.am.enum
##################################
# Indicator
@@ -36,6 +42,10 @@ indicator_custom_service_LDADD = \
# Library
##################################
+glib_enum_h = libcustomindicator/custom-indicator-enum.h
+glib_enum_c = libcustomindicator/custom-indicator-enum.c
+glib_enum_headers = $(libcustomindicator_headers)
+
lib_LTLIBRARIES = \
libcustomindicator.la
@@ -45,7 +55,8 @@ libcustomindicator_headers = \
libcustomindicator/custom-indicator.h
libcustomindicatorinclude_HEADERS = \
- $(libcustomindicator_headers)
+ $(libcustomindicator_headers) \
+ $(glib_enum_h)
libcustomindicator_la_SOURCES = \
$(libcustomindicator_headers) \
@@ -87,10 +98,10 @@ DBUS_SPECS = \
--output=$@ \
$<
-BUILT_SOURCES = \
+BUILT_SOURCES += \
$(DBUS_SPECS:.xml=-client.h) \
$(DBUS_SPECS:.xml=-server.h)
-CLEANFILES = $(BUILT_SOURCES)
+CLEANFILES += $(BUILT_SOURCES)
-EXTRA_DIST = $(DBUS_SPECS)
+EXTRA_DIST += $(DBUS_SPECS)