Mercurial > hg > octave-nkf
changeset 14553:aacb604ca2b6
Clean generated fortran files.
* libcruft/Makefile.am (nodist_libcruft_la_SOURCES): New variable.
(DISTCLEANFILES): Include $(nodist_libcruft_la_SOURCES) in the list.
* libcruft/slatec-fn/module.mk (nodist_libcruft_la_SOURCES):
Append derfc.f and erfc.f here.
(libcruft_la_SOURCES): Not here.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Wed, 11 Apr 2012 23:12:43 -0400 |
parents | 86854d032a37 |
children | 69eec23c8b3d |
files | libcruft/Makefile.am libcruft/slatec-fn/module.mk |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libcruft/Makefile.am +++ b/libcruft/Makefile.am @@ -31,6 +31,8 @@ libcruft_la_SOURCES = +nodist_libcruft_la_SOURCES = + libcruft_la_FFLAGS = $(F77_INTEGER_8_FLAG) libcruft_la_CPPFLAGS = \ @@ -98,5 +100,5 @@ EXTRA_DIST += mkf77def.in -DISTCLEANFILES = cruft.def ranlib.def +DISTCLEANFILES = cruft.def ranlib.def $(nodist_libcruft_la_SOURCES)
--- a/libcruft/slatec-fn/module.mk +++ b/libcruft/slatec-fn/module.mk @@ -23,7 +23,6 @@ slatec-fn/dbetai.f \ slatec-fn/dcsevl.f \ slatec-fn/derf.f \ - slatec-fn/derfc.f \ slatec-fn/dgami.f \ slatec-fn/dgamit.f \ slatec-fn/dgamlm.f \ @@ -36,7 +35,6 @@ slatec-fn/dpchim.f \ slatec-fn/dpchst.f \ slatec-fn/erf.f \ - slatec-fn/erfc.f \ slatec-fn/gami.f \ slatec-fn/gamit.f \ slatec-fn/gamlim.f \ @@ -69,6 +67,10 @@ slatec-fn/xgamma.f \ slatec-fn/xbetai.f +nodist_libcruft_la_SOURCES += \ + slatec-fn/derfc.f \ + slatec-fn/erfc.f + slatec-fn/erfc.f: slatec-fn/erfc.in.f Makefile $(SED) -e "${F77_ISNAN_MACRO}" < $< > $@-t mv $@-t $@