From: Krisztian Litkey Date: Mon, 12 Nov 2012 17:25:38 +0000 (+0200) Subject: domain-controller: install header and pkg-config file. X-Git-Tag: accepted/2.0alpha/20121203.182640~102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=421734aa9c964be844a517c300a92ce5005d50e6;p=profile%2Fivi%2Fmurphy.git domain-controller: install header and pkg-config file. --- diff --git a/configure.ac b/configure.ac index 8bbdd49..e3fe6a6 100644 --- a/configure.ac +++ b/configure.ac @@ -471,6 +471,7 @@ AC_CONFIG_FILES([build-aux/shave src/resolver/murphy-resolver.pc src/resolver/tests/Makefile src/resource/murphy-resource.pc + src/plugins/domain-control/murphy-domain-controller.pc doc/Makefile doc/plugin-developer-guide/Makefile doc/plugin-developer-guide/db/Makefile diff --git a/src/Makefile.am b/src/Makefile.am index b43b962..87f2f63 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -903,7 +903,16 @@ plugin_LTLIBRARIES += plugin-domain-control.la endif # domain controller client library -lib_LTLIBRARIES += libmurphy-domain-controller.la +lib_LTLIBRARIES += libmurphy-domain-controller.la +EXTRA_DIST += plugins/domain-control/murphy-domain-controller.pc +pkgconfig_DATA += plugins/domain-control/murphy-domain-controller.pc + +libmurphy_domain_controller_ladir = \ + $(includedir)/murphy/domain-control + +libmurphy_domain_controller_la_HEADERS = \ + plugins/domain-control/client.h + libmurphy_domain_controller_la_SOURCES = plugins/domain-control/client.c \ plugins/domain-control/table-common.c\ plugins/domain-control/message.c diff --git a/src/plugins/domain-control/murphy-domain-controller.pc.in b/src/plugins/domain-control/murphy-domain-controller.pc.in new file mode 100644 index 0000000..83f8b0f --- /dev/null +++ b/src/plugins/domain-control/murphy-domain-controller.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: murphy-domain-controller +Description: Murphy policy framework, domain controller library. +Requires: murphy-common = @PACKAGE_VERSION@ +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lmurphy-domain-controller +Cflags: -I${includedir}