diff options
Diffstat (limited to 'tools/h5diff')
-rw-r--r-- | tools/h5diff/Makefile.am | 3 | ||||
-rw-r--r-- | tools/h5diff/Makefile.in | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/tools/h5diff/Makefile.am b/tools/h5diff/Makefile.am index ed1d106..b56284b 100644 --- a/tools/h5diff/Makefile.am +++ b/tools/h5diff/Makefile.am @@ -33,6 +33,9 @@ endif # Our main target, h5diff bin_PROGRAMS=h5diff $(H5PDIFF) +# Add h5diff specific linker flags here +h5diff_LDFLAGS = $(LT_STATIC_EXEC) + # Test programs and scripts TEST_PROG=h5diffgentest TEST_SCRIPT=$(srcdir)/testh5diff.sh diff --git a/tools/h5diff/Makefile.in b/tools/h5diff/Makefile.in index b83d6ef..e8f4e2f 100644 --- a/tools/h5diff/Makefile.in +++ b/tools/h5diff/Makefile.in @@ -72,6 +72,9 @@ am_h5diff_OBJECTS = h5diff_main.$(OBJEXT) h5diff_common.$(OBJEXT) h5diff_OBJECTS = $(am_h5diff_OBJECTS) h5diff_LDADD = $(LDADD) h5diff_DEPENDENCIES = $(LIBH5TOOLS) $(LIBHDF5) +h5diff_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(h5diff_LDFLAGS) \ + $(LDFLAGS) -o $@ am_h5diffgentest_OBJECTS = h5diffgentest.$(OBJEXT) h5diffgentest_OBJECTS = $(am_h5diffgentest_OBJECTS) h5diffgentest_LDADD = $(LDADD) @@ -360,6 +363,9 @@ INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/tools/lib @BUILD_PARALLEL_CONDITIONAL_TRUE@H5PDIFF = ph5diff @BUILD_PARALLEL_CONDITIONAL_TRUE@TEST_SCRIPT_PARA = $(srcdir)/testph5diff.sh +# Add h5diff specific linker flags here +h5diff_LDFLAGS = $(LT_STATIC_EXEC) + # Test programs and scripts TEST_PROG = h5diffgentest TEST_SCRIPT = $(srcdir)/testh5diff.sh @@ -460,7 +466,7 @@ clean-checkPROGRAMS: done h5diff$(EXEEXT): $(h5diff_OBJECTS) $(h5diff_DEPENDENCIES) @rm -f h5diff$(EXEEXT) - $(LINK) $(h5diff_OBJECTS) $(h5diff_LDADD) $(LIBS) + $(h5diff_LINK) $(h5diff_OBJECTS) $(h5diff_LDADD) $(LIBS) h5diffgentest$(EXEEXT): $(h5diffgentest_OBJECTS) $(h5diffgentest_DEPENDENCIES) @rm -f h5diffgentest$(EXEEXT) $(LINK) $(h5diffgentest_OBJECTS) $(h5diffgentest_LDADD) $(LIBS) |