Skip to content
Snippets Groups Projects
Commit 7d24a5eb authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Fix build rule for make_fint.

* The previous version did not properly use libtool.
parent 3cd64d9b
No related branches found
No related tags found
2 merge requests!91Add alternative code path for huge buffers.,!89Miscellaneous fixes and CDI-PIO improvements
......@@ -72,7 +72,9 @@ libcdiresunpack_la_SOURCES = \
libcdiresunpack_la_LIBADD = libcdi.la
make_fint_SOURCES = make_fint.c
make_fint_CFLAGS = -static
# the following must be passed via AM_CFLAGS, or the generic libtool recipes won't
# be used (but a custom, non-libtool one instead)
# make_fint_CFLAGS = -static
make_fint_LDADD = $(LIBOBJS)
libcdi_la_SOURCES = \
......@@ -284,14 +286,14 @@ libcdipio_la_LIBADD = libcdi.la $(LIBRT) $(PPM_CORE_C_LIB) $(YAXT_C_LIB) $(MPI_C
if MAINTAINER_MODE
cdi.inc: cdi.h make_fint.c
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) make_fint
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) AM_CFLAGS=-static make_fint
$(AM_V_GEN)$(top_builddir)/libtool --mode=execute ./make_fint -o $(@D) $<
cdiFortran.c: cdi.inc
$(AM_V_at)test -f $@ || rm -f $<
$(AM_V_at)test -f $@ || $(MAKE) $(AM_MAKEFLAGS) $<
cdipio.inc: cdipio.h make_fint.c cdi.inc
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) make_fint
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) AM_CFLAGS=-static make_fint
$(AM_V_GEN)$(top_builddir)/libtool --mode=execute ./make_fint -o $(@D) $<
cdipioFortran.c: cdipio.inc
$(AM_V_at)test -f $@ || rm -f $<
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment