diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | libowl/Makefile.am | 4 | ||||
-rw-r--r-- | libowl/libowl.pc.in | 12 |
3 files changed, 17 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ed43618..2346eed 100644 --- a/configure.ac +++ b/configure.ac @@ -13,5 +13,6 @@ AC_SUBST(GTK_LIBS) AC_OUTPUT([ Makefile libowl/Makefile +libowl/libowl.pc tests/Makefile ]) diff --git a/libowl/Makefile.am b/libowl/Makefile.am index 04372d3..4a8ce0b 100644 --- a/libowl/Makefile.am +++ b/libowl/Makefile.am @@ -23,3 +23,7 @@ libowl_la_SOURCES = \ libowl_la_CPPFLAGS = $(GTK_CFLAGS) -Wall libowl_la_LIBADD = $(GTK_LIBS) + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libowl.pc + diff --git a/libowl/libowl.pc.in b/libowl/libowl.pc.in new file mode 100644 index 0000000..281ac38 --- /dev/null +++ b/libowl/libowl.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libowl +Description: OpenedHand Widgets Library +Requires: gobject-2.0 +Version: @VERSION@ +Libs: -L${libdir} -lowl +Cflags: -I${includedir}/libowl + |