Build changes for pkg-config support
authorPaolo Andreetto <paolo.andreetto@pd.infn.it>
Tue, 28 Dec 2010 11:16:00 +0000 (11:16 +0000)
committerPaolo Andreetto <paolo.andreetto@pd.infn.it>
Tue, 28 Dec 2010 11:16:00 +0000 (11:16 +0000)
org.glite.wms-utils.exception/configure.ac
org.glite.wms-utils.exception/src/Makefile.am
org.glite.wms-utils.exception/src/jobman-exception.pc.in [new file with mode: 0644]

index 59a8016..6fc0e05 100755 (executable)
@@ -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
index 0c5caac..cc1da12 100755 (executable)
@@ -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 (file)
index 0000000..d06b91d
--- /dev/null
@@ -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}
+