summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/ImR_Client.mpc4
-rw-r--r--TAO/tao/ImR_Client/TAO_ImR_Client.pc.in11
-rw-r--r--TAO/tao/Makefile.am8
3 files changed, 22 insertions, 1 deletions
diff --git a/TAO/tao/ImR_Client.mpc b/TAO/tao/ImR_Client.mpc
index ecd9fd48dbf..b7906ed913d 100644
--- a/TAO/tao/ImR_Client.mpc
+++ b/TAO/tao/ImR_Client.mpc
@@ -26,4 +26,8 @@ project : taolib, core, portableserver {
PIDL_Files {
ImR_Client
}
+
+ Pkgconfig_Files {
+ ImR_Client/TAO_ImR_Client.pc.in
+ }
}
diff --git a/TAO/tao/ImR_Client/TAO_ImR_Client.pc.in b/TAO/tao/ImR_Client/TAO_ImR_Client.pc.in
new file mode 100644
index 00000000000..700ed7136ad
--- /dev/null
+++ b/TAO/tao/ImR_Client/TAO_ImR_Client.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: TAO_ImR_Client
+Description: TAO Implementation Repository Client Library
+Requires: TAO
+Version: @VERSION@
+Libs: -L${libdir} -lTAO_ImR_Client
+Cflags: -I${includedir}
diff --git a/TAO/tao/Makefile.am b/TAO/tao/Makefile.am
index c28e70511bd..55d37c69baf 100644
--- a/TAO/tao/Makefile.am
+++ b/TAO/tao/Makefile.am
@@ -1934,8 +1934,14 @@ nobase_include_HEADERS += \
ImR_Client/ServerObject_i.h \
ImR_Client/imr_client_export.h
+pkgconfig_DATA += TAO_ImR_Client.pc
+
+TAO_ImR_Client.pc: ${top_builddir}/config.status ${srcdir}/ImR_Client/TAO_ImR_Client.pc.in
+ ${top_builddir}/config.status --file $@:${srcdir}/ImR_Client/TAO_ImR_Client.pc.in
+
EXTRA_DIST += \
- ImR_Client/TAO_IMR_Client.rc
+ ImR_Client/TAO_IMR_Client.rc \
+ ImR_Client/TAO_ImR_Client.pc.in
## Makefile.RTCORBA.am