Commit ef5ba22a authored by Shane Snyder's avatar Shane Snyder

added darshan-util pkgconfig file

git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@821 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 9bc618a9
......@@ -10,6 +10,7 @@ mandir = $(DESTDIR)@mandir@
sbindir = $(DESTDIR)@sbindir@
bindir = $(DESTDIR)@bindir@
libdir = $(DESTDIR)@libdir@
pkgconfigdir = $(DESTDIR)$(libdir)/pkgconfig
DISABLE_LDPRELOAD = @DISABLE_LDPRELOAD@
DARSHAN_LOG_FORMAT = $(srcdir)/../darshan-log-format.h
......@@ -73,6 +74,7 @@ install:: all
install -d $(bindir)
install -d $(libdir)
install -d $(includedir)
install -d $(pkgconfigdir)
install -m 755 darshan-parser $(bindir)
install -m 755 darshan-convert $(bindir)
install -m 755 darshan-diff $(bindir)
......@@ -89,6 +91,7 @@ install:: all
install -m 644 $(srcdir)/darshan-job-summary/lib/Number/Bytes/Human.pm $(libdir)/Number/Bytes
install -d $(datarootdir)
install -m 644 $(srcdir)/darshan-job-summary/share/* $(datarootdir)
install -m 644 $(srcdir)/maint/darshan-util.pc $(pkgconfigdir)
clean::
......
......@@ -4096,7 +4096,7 @@ done
ac_config_files="$ac_config_files Makefile darshan-job-summary/bin/darshan-job-summary.pl"
ac_config_files="$ac_config_files Makefile darshan-job-summary/bin/darshan-job-summary.pl maint/darshan-util.pc"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
......@@ -4792,6 +4792,7 @@ do
"darshan-util-config.h") CONFIG_HEADERS="$CONFIG_HEADERS darshan-util-config.h" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"darshan-job-summary/bin/darshan-job-summary.pl") CONFIG_FILES="$CONFIG_FILES darshan-job-summary/bin/darshan-job-summary.pl" ;;
"maint/darshan-util.pc") CONFIG_FILES="$CONFIG_FILES maint/darshan-util.pc" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
esac
......
......@@ -69,6 +69,7 @@ AC_SUBST(__CP_ZLIB_INCLUDE_FLAGS)
AC_SUBST(__CP_PDFLATEX_HALT_ON_ERROR)
AC_OUTPUT(Makefile
darshan-job-summary/bin/darshan-job-summary.pl
maint/darshan-util.pc
)
if test x$HAVE_PDFLATEX != xyes; then
......
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@
includedir = @includedir@
abs_top_srcdir = @abs_top_srcdir@
LIBBZ2 = @LIBBZ2@
cp_zlib_include_flags = @__CP_ZLIB_INCLUDE_FLAGS@
cp_zlib_link_flags = @__CP_ZLIB_LINK_FLAGS@
Name: darshan-util
Description: Library for parsing and summarizing log files produced by Darshan runtime
Version: @DARSHAN_UTIL_VERSION@
URL: http://trac.mcs.anl.gov/projects/darshan/
Requires:
Libs: -L${libdir} -ldarshan-util ${LIBBZ2} ${cp_zlib_link_flags} -lz
Cflags: -I${includedir} -DDARSHAN_CONFIG_H=\"${abs_top_srcdir}/darshan-util-config.h\" ${cp_zlib_include_flags}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment