aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-16 15:36:22 -0500
committerTed Gould <ted@canonical.com>2009-10-16 15:36:22 -0500
commit227666e9b4a1d928875513acfa8f019497a4261f (patch)
tree3aee3d9693a6f612e019acb27936ee0b985e874c /src/Makefile.am
parent664bc74b6f0b3eb6ca30539628e2350ed3a2e20c (diff)
parent50e28fd237a7de7e3f28332711dc01c7fe8e4dbd (diff)
downloadlibayatana-appindicator-227666e9b4a1d928875513acfa8f019497a4261f.tar.gz
libayatana-appindicator-227666e9b4a1d928875513acfa8f019497a4261f.tar.bz2
libayatana-appindicator-227666e9b4a1d928875513acfa8f019497a4261f.zip
Merging in the library interface.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am51
1 files changed, 48 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 2139b62..ff5b26e 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
@@ -33,6 +39,45 @@ indicator_custom_service_LDADD = \
$(INDICATOR_LIBS)
##################################
+# Library
+##################################
+
+glib_enum_h = libcustomindicator/custom-indicator-enum-types.h
+glib_enum_c = libcustomindicator/custom-indicator-enum-types.c
+glib_enum_headers = $(libcustomindicator_headers)
+
+lib_LTLIBRARIES = \
+ libcustomindicator.la
+
+libcustomindicatorincludedir=$(includedir)/libcustomindicator-0.1/libcustomindicator
+
+libcustomindicator_headers = \
+ $(srcdir)/libcustomindicator/custom-indicator.h
+
+libcustomindicatorinclude_HEADERS = \
+ $(libcustomindicator_headers) \
+ $(glib_enum_h)
+
+libcustomindicator_la_SOURCES = \
+ $(libcustomindicator_headers) \
+ $(glib_enum_c) \
+ notification-watcher-client.h \
+ notification-item-server.h \
+ libcustomindicator/custom-indicator.c
+
+libcustomindicator_la_LDFLAGS = \
+ -version-info 0:0:0 \
+ -no-undefined \
+ -export-symbols-regex "^[^_d].*"
+
+libcustomindicator_la_CFLAGS = \
+ $(INDICATOR_CFLAGS) \
+ -Wall -Werror
+
+libcustomindicator_la_LIBADD = \
+ $(INDICATOR_LIBS)
+
+##################################
# DBus Specs
##################################
@@ -54,10 +99,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)