From 6d84a2f45cf68c8c12dd90231c6992d91e715abf Mon Sep 17 00:00:00 2001 From: Paolo Andreetto Date: Tue, 28 Dec 2010 11:16:00 +0000 Subject: [PATCH] Build changes for pkg-config support --- org.glite.wms-utils.exception/configure.ac | 4 ++++ org.glite.wms-utils.exception/src/Makefile.am | 3 +++ org.glite.wms-utils.exception/src/jobman-exception.pc.in | 11 +++++++++++ 3 files changed, 18 insertions(+) create mode 100644 org.glite.wms-utils.exception/src/jobman-exception.pc.in diff --git a/org.glite.wms-utils.exception/configure.ac b/org.glite.wms-utils.exception/configure.ac index 59a8016..6fc0e05 100755 --- a/org.glite.wms-utils.exception/configure.ac +++ b/org.glite.wms-utils.exception/configure.ac @@ -19,6 +19,9 @@ # # Revision history: # $Log$ +# Revision 1.13.2.3 2006/09/22 07:22:12 eronchie +# increased version +# # Revision 1.13.2.2 2006/06/26 21:04:14 eronchie # Increased version # @@ -127,6 +130,7 @@ AC_PREFIX_DEFAULT([/opt/glite]) AM_CONFIG_HEADER([src/autogen/config.h]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([src/Makefile]) +AC_CONFIG_FILES([src/jobman-exception.pc]) AC_CONFIG_FILES([interface/Makefile]) AC_OUTPUT diff --git a/org.glite.wms-utils.exception/src/Makefile.am b/org.glite.wms-utils.exception/src/Makefile.am index 0c5caac..cc1da12 100755 --- a/org.glite.wms-utils.exception/src/Makefile.am +++ b/org.glite.wms-utils.exception/src/Makefile.am @@ -14,4 +14,7 @@ libglite_wmsutils_exception_la_SOURCES = \ AM_CPPFLAGS = -I$(top_srcdir)/interface \ -I$(top_srcdir)/src +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = jobman-exception.pc + MAINTAINERCLEANFILES = Makefile.in *.*~ diff --git a/org.glite.wms-utils.exception/src/jobman-exception.pc.in b/org.glite.wms-utils.exception/src/jobman-exception.pc.in new file mode 100644 index 0000000..d06b91d --- /dev/null +++ b/org.glite.wms-utils.exception/src/jobman-exception.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: jobmanagement exceptions +Description: Exception library for gLite components +Version: 3.2.0 +Libs: -L${libdir} -lglite_wmsutils_exception +Cflags: -I${includedir} + -- 1.8.2.3