aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/Makefile.am29
-rw-r--r--libdbusmenu-glib/dbusmenu-glib.pc.in14
-rw-r--r--libdbusmenu-glib/test.c4
-rw-r--r--libdbusmenu-glib/test.h2
4 files changed, 49 insertions, 0 deletions
diff --git a/libdbusmenu-glib/Makefile.am b/libdbusmenu-glib/Makefile.am
new file mode 100644
index 0000000..a13e7bd
--- /dev/null
+++ b/libdbusmenu-glib/Makefile.am
@@ -0,0 +1,29 @@
+
+EXTRA_DIST = \
+ dbusmenu_glib.pc.in
+
+lib_LTLIBRARIES = \
+ libdbusmenu-glib.la
+
+libdbusmenu_glibincludedir=$(includedir)/libdbusmenu-0.1/libdbusmenu-glib/
+
+libdbusmenu_glibinclude_HEADERS = \
+ test.h
+
+libdbusmenu_glib_la_SOURCES = \
+ test.c
+
+libdbusmenu_glib_la_LDFLAGS = \
+ -version-info $(LIBDBUSMENU_CURRENT):$(LIBDBUSMENU_REVISION):$(LIBDBUSMENU_AGE) \
+ -no-undefined \
+ -export-symbols-regex "^[^_].*"
+
+libdbusmenu_glib_la_CFLAGS = \
+ $(LIBDBUSMENU_GLIB_CFLAGS)
+
+libdbusmenu_glib_la_LIBADD = \
+ $(LIBDBUSMENU_GLIB_LIBS)
+
+pkgconfig_DATA = dbusmenu_glib.pc
+pkgconfigdir = $(libdir)/pkgconfig
+
diff --git a/libdbusmenu-glib/dbusmenu-glib.pc.in b/libdbusmenu-glib/dbusmenu-glib.pc.in
new file mode 100644
index 0000000..dacd903
--- /dev/null
+++ b/libdbusmenu-glib/dbusmenu-glib.pc.in
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+bindir=@bindir@
+includedir=@includedir@
+
+Cflags: -I${includedir}/libdbusmenu-0.1
+Requires: dbus-glib-1
+Libs: -L${libdir} -ldbusmenu-glib
+
+Name: libdbusmenu-glib
+Description: libdbusmenu-glib.
+Version: @VERSION@
+
diff --git a/libdbusmenu-glib/test.c b/libdbusmenu-glib/test.c
new file mode 100644
index 0000000..8ebb3f7
--- /dev/null
+++ b/libdbusmenu-glib/test.c
@@ -0,0 +1,4 @@
+
+void mysymbol (void) {
+ return;
+}
diff --git a/libdbusmenu-glib/test.h b/libdbusmenu-glib/test.h
new file mode 100644
index 0000000..ad000af
--- /dev/null
+++ b/libdbusmenu-glib/test.h
@@ -0,0 +1,2 @@
+
+void mysymbol (void);