Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
H5hut
src
Commits
4a8eedd3
Commit
4a8eedd3
authored
Jul 10, 2013
by
gsell
Browse files
autotool fixes
parent
11a1cc7c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
19 deletions
+22
-19
configure.ac
configure.ac
+11
-8
examples/H5/Makefile.am
examples/H5/Makefile.am
+2
-2
examples/H5Block/Makefile.am
examples/H5Block/Makefile.am
+2
-2
examples/H5Fed/Makefile.am
examples/H5Fed/Makefile.am
+1
-1
examples/H5Part/Makefile.am
examples/H5Part/Makefile.am
+2
-2
src/h5core/Makefile.am
src/h5core/Makefile.am
+3
-3
test/Makefile.am
test/Makefile.am
+1
-1
No files found.
configure.ac
View file @
4a8eedd3
...
...
@@ -259,13 +259,13 @@ fi
AC_MSG_CHECKING([if parallel interface enabled])
if test "X$ENABLE_PARALLEL" = "Xyes"; then
AC_MSG_RESULT([yes])
AM_
CPPFLAGS="${
AM_
CPPFLAGS} -DPARALLEL_IO -DMPICH_IGNORE_CXX_SEEK"
CPPFLAGS="${CPPFLAGS} -DPARALLEL_IO -DMPICH_IGNORE_CXX_SEEK"
if test "X$ENABLE_EXPERIMENTAL" = "Xyes"; then
AC_MSG_CHECKING([for ParMETIS])
if test "X$PARMETISPATH" != "X"; then
AM_
CPPFLAGS="$
AM_
CPPFLAGS -I$PARMETISPATH/include"
AM_
LDFLAGS="$
AM_
LDFLAGS -L$PARMETISPATH/lib"
CPPFLAGS="$CPPFLAGS -I$PARMETISPATH/include"
LDFLAGS="$LDFLAGS -L$PARMETISPATH/lib"
fi
LIBS="$LIBS -lparmetis -lmetis"
...
...
@@ -285,11 +285,11 @@ fi
###############################################################################
# LIBRARY PATHS
if test -n "${HDF5_PREFIX}" ; then
AM_
CPPFLAGS="$
AM_
CPPFLAGS -I$HDF5_PREFIX/include"
AM_
LDFLAGS="$
AM_
LDFLAGS -L$HDF5_PREFIX/lib"
CPPFLAGS="$CPPFLAGS -I$HDF5_PREFIX/include"
LDFLAGS="$LDFLAGS -L$HDF5_PREFIX/lib"
fi
AC_CHECK_LIB([z], [compress2])
AC_CHECK_LIB([hdf5], [H5open])
AC_CHECK_LIB([hdf5], [H5open]
,,, [-lm]
)
AS_IF([test "x$ac_cv_lib_hdf5_H5open" != xyes],
[AC_MSG_ERROR([Cannot compile and link a HDF5 program]);
exit 1])
...
...
@@ -317,8 +317,8 @@ if test -z "$LUSTREROOT"; then
AC_MSG_WARN([Couldn't locate the lustre API... building without support for lustre striping!])
else
CFLAGS="$CFLAGS -DH5_USE_LUSTRE"
AM_
CPPFLAGS="$
AM_
CPPFLAGS -I$LUSTREROOT/usr/include"
AM_
LDFLAGS="$
AM_
LDFLAGS -L$LUSTREROOT/usr/lib"
CPPFLAGS="$CPPFLAGS -I$LUSTREROOT/usr/include"
LDFLAGS="$LDFLAGS -L$LUSTREROOT/usr/lib"
LIBS="$LIBS -llustreapi"
fi
...
...
@@ -336,6 +336,9 @@ fi
###############################################################################
# EXPORTING VARIABLES & CREATING OUTPUT FILES
AM_CPPFLAGS=$CPP_FLAGS
AM_LDFLAGS=$LD_FLAGS
AC_SUBST(HDF5_PREFIX)
AC_SUBST(CFLAGS)
AC_SUBST(FFLAGS)
...
...
examples/H5/Makefile.am
View file @
4a8eedd3
AM_CPPFLAGS
+=
-I
${abs_top_
build
dir}
/src/include
AM_CPPFLAGS
+=
-I
${abs_top_
src
dir}
/src/include
FFLAGS
+=
-cpp
$(AM_CPPFLAGS)
AM_LDFLAGS
+=
-L
${abs_top_builddir}
/src/lib
AM_LDFLAGS
+=
-L
${abs_top_builddir}
/src/
h5core/.
lib
s
LDADD
=
...
...
examples/H5Block/Makefile.am
View file @
4a8eedd3
AM_CPPFLAGS
+=
-I
${abs_top_
build
dir}
/src/include
AM_CPPFLAGS
+=
-I
${abs_top_
src
dir}
/src/include
FFLAGS
+=
-cpp
$(AM_CPPFLAGS)
AM_LDFLAGS
+=
-L
${abs_top_builddir}
/src/lib
AM_LDFLAGS
+=
-L
${abs_top_builddir}
/src/
h5core/.
lib
s
LDADD
=
...
...
examples/H5Fed/Makefile.am
View file @
4a8eedd3
AM_CPPFLAGS
+=
-I
${abs_top_builddir}
/src/include
FFLAGS
+=
-cpp
$(AM_CPPFLAGS)
AM_LDFLAGS
+=
-L
${abs_top_builddir}
/src/lib
AM_LDFLAGS
+=
-L
${abs_top_builddir}
/src/
h5core/.
lib
s
LDADD
=
...
...
examples/H5Part/Makefile.am
View file @
4a8eedd3
AM_CPPFLAGS
+=
-I
${abs_top_
build
dir}
/src/include
AM_CPPFLAGS
+=
-I
${abs_top_
src
dir}
/src/include
FFLAGS
+=
-cpp
$(AM_CPPFLAGS)
AM_LDFLAGS
+=
-L
${abs_top_builddir}
/src/lib
AM_LDFLAGS
+=
-L
${abs_top_builddir}
/src/
h5core/.
lib
s
LDADD
=
...
...
src/h5core/Makefile.am
View file @
4a8eedd3
...
...
@@ -99,9 +99,9 @@ libH5hut_la_DEPENDENCIES = $(EXTRA_HEADERS)
libH5hut_la_LDFLAGS
=
-version-info
2:0:0
all-local
:
$(INSTALL)
-m0755
-d
$(top_builddir)
/src/lib
$(INSTALL)
-m644
.libs/libH5hut.a
$(top_builddir)
/src/lib
#
all-local:
#
$(INSTALL) -m0755 -d $(top_builddir)/src/lib
#
$(INSTALL) -m644 .libs/libH5hut.a $(top_builddir)/src/lib
install-exec-local
:
@
$(INSTALL)
-d
$(DESTDIR)$(includedir)
/h5core
...
...
test/Makefile.am
View file @
4a8eedd3
AM_CPPFLAGS
+=
-I
$(top_srcdir)
/src/include
AM_LDFLAGS
+=
-L
${abs_top_builddir}
/src/lib
AM_LDFLAGS
+=
-L
${abs_top_builddir}
/src/
h5core/.
lib
s
LDADD
=
LDADD
+=
-lH5hut
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment