aboutsummaryrefslogtreecommitdiff
path: root/libmessaging-menu/Makefile.am
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2012-08-23 13:28:52 +0200
committerSebastien Bacher <seb128@ubuntu.com>2012-08-23 13:28:52 +0200
commitda454128c64f7228d1263c3d7395187daf90debc (patch)
tree3ae993ede02dea1f67497ab721a98e47d76efd87 /libmessaging-menu/Makefile.am
parent7290a3b470600e43c2e700395e3620c4a4d5056d (diff)
parent9d8a4eeaf93b5f5537558e925a1c4f9b16e772b7 (diff)
downloadayatana-indicator-messages-da454128c64f7228d1263c3d7395187daf90debc.tar.gz
ayatana-indicator-messages-da454128c64f7228d1263c3d7395187daf90debc.tar.bz2
ayatana-indicator-messages-da454128c64f7228d1263c3d7395187daf90debc.zip
* New upstream version
* debian/control: - set some conflicts on the old deprecated status provider binaries - updated Build-Depends * debian/control, debian/*.install: - drop indicator-status-provider-*, those are deprecated - new binaries for the libmessaging-menu library * debian/libmessaging-menu0.symbols: - symbol file for the new library * Updated packaging to dh9, current standards
Diffstat (limited to 'libmessaging-menu/Makefile.am')
-rw-r--r--libmessaging-menu/Makefile.am64
1 files changed, 64 insertions, 0 deletions
diff --git a/libmessaging-menu/Makefile.am b/libmessaging-menu/Makefile.am
new file mode 100644
index 0000000..187e6dc
--- /dev/null
+++ b/libmessaging-menu/Makefile.am
@@ -0,0 +1,64 @@
+
+lib_LTLIBRARIES = libmessaging-menu.la
+
+libmessaging_menu_ladir = $(includedir)/messaging-menu
+
+libmessaging_menu_la_SOURCES = \
+ messaging-menu.c \
+ gtupleaction.c \
+ gtupleaction.h \
+ $(BUILT_SOURCES)
+
+libmessaging_menu_la_HEADERS = \
+ messaging-menu.h
+
+libmessaging_menu_la_LIBADD = $(GIO_LIBS)
+
+libmessaging_menu_la_CFLAGS = \
+ $(GIO_CFLAGS) \
+ -Wall
+
+libmessaging_menu_la_LDFLAGS = -export-symbols-regex="^messaging_menu_.*"
+
+BUILT_SOURCES = \
+ indicator-messages-service.c \
+ indicator-messages-service.h
+
+CLEANFILES = $(BUILT_SOURCES)
+
+indicator-messages-service.c: $(top_srcdir)/src/messages-service.xml
+ $(AM_V_GEN) gdbus-codegen \
+ --interface-prefix com.canonical.indicator.messages. \
+ --generate-c-code indicator-messages-service \
+ --c-namespace IndicatorMessages \
+ $^
+indicator-messages-service.h: indicator-messages-service.c
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = messaging-menu.pc
+
+
+-include $(INTROSPECTION_MAKEFILE)
+
+INTROSPECTION_GIRS =
+INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
+INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
+
+if HAVE_INTROSPECTION
+
+MessagingMenu-1.0.gir: libmessaging-menu.la
+MessagingMenu_1_0_gir_NAMESPACE = MessagingMenu
+MessagingMenu_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0
+MessagingMenu_1_0_gir_CFLAGS = $(INCLUDES) $(GIO_CFLAGS)
+MessagingMenu_1_0_gir_LIBS = libmessaging-menu.la
+MessagingMenu_1_0_gir_FILES = $(libmessaging_menu_la_SOURCES) $(libmessaging_menu_la_HEADERS)
+INTROSPECTION_GIRS += MessagingMenu-1.0.gir
+
+girdir = $(datadir)/gir-1.0
+gir_DATA = $(INTROSPECTION_GIRS)
+
+typelibdir = $(libdir)/girepository-1.0
+typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
+
+CLEANFILES +=$(gir_DATA) $(typelib_DATA)
+endif