diff options
author | Ted Gould <ted@canonical.com> | 2009-03-25 15:14:33 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-03-25 15:14:33 -0500 |
commit | c5024e812fb046f6bccceafaf46ebbd966f465cf (patch) | |
tree | 7469ed60f5d05aae9eb5da24aaae8397ab244b9b /libdbusmenu-glib | |
parent | 4fe4dfd9b16b3ddf9a22f303d6f5bfbd560261e2 (diff) | |
parent | 7fde4447bc484c9ff2752740e8bb375d3f2df87a (diff) | |
download | libdbusmenu-c5024e812fb046f6bccceafaf46ebbd966f465cf.tar.gz libdbusmenu-c5024e812fb046f6bccceafaf46ebbd966f465cf.tar.bz2 libdbusmenu-c5024e812fb046f6bccceafaf46ebbd966f465cf.zip |
A basic build system to start laying out the library.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/Makefile.am | 29 | ||||
-rw-r--r-- | libdbusmenu-glib/dbusmenu-glib.pc.in | 14 | ||||
-rw-r--r-- | libdbusmenu-glib/test.c | 4 | ||||
-rw-r--r-- | libdbusmenu-glib/test.h | 2 |
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..c94231b --- /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); |