From 6b68ff4ecde317213f6e79650304f9e00ea7dace Mon Sep 17 00:00:00 2001 From: Nicholas Malaya Date: Mon, 6 Feb 2012 22:50:45 +0000 Subject: [PATCH] [cantera]: only update if header has been modified --- Cantera/ext/cvode/Makefile.am | 7 +++---- Cantera/ext/f2c_blas/Makefile.am | 2 +- Cantera/ext/f2c_lapack/Makefile.am | 2 +- Cantera/ext/f2c_libs/Makefile.am | 4 ++-- Cantera/ext/f2c_math/Makefile.am | 2 +- Cantera/ext/tpx/Makefile.am | 2 +- 6 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Cantera/ext/cvode/Makefile.am b/Cantera/ext/cvode/Makefile.am index 713f27835..dfef74fbd 100644 --- a/Cantera/ext/cvode/Makefile.am +++ b/Cantera/ext/cvode/Makefile.am @@ -2,12 +2,11 @@ cc_sources = band.c cvband.c cvbandpre.c cvdense.c cvdiag.c \ cvode.c cvspgmr.c dense.c iterativ.c llnlmath.c \ nvector.c spgmr.c -h_sources = band.h cvband.h cvbandpre.h cvdense.h cvdiag.h \ +h_sources = band.h cvband.h cvbandpre.h cvdense.h cvdiag.h \ cvode.h cvspgmr.h dense.h iterativ.h llnlmath.h \ llnltyps.h nvector.h spgmr.h - -AM_CPPFLAGS = +AM_CPPFLAGS = -I. AM_CXXFLAGS = $(AM_CPPFLAGS) AM_FCFLAGS = $(AM_CPPFLAGS) @@ -27,4 +26,4 @@ CLEANFILES = *.o # header file accumulation all: @echo copying headers $< - cp *.h $(top_builddir)/build/include/ + cp -u *.h $(top_builddir)/build/include/ diff --git a/Cantera/ext/f2c_blas/Makefile.am b/Cantera/ext/f2c_blas/Makefile.am index da9bd2997..108d15c26 100644 --- a/Cantera/ext/f2c_blas/Makefile.am +++ b/Cantera/ext/f2c_blas/Makefile.am @@ -62,4 +62,4 @@ CLEANFILES = *.o # header file accumulation all: @echo copying headers $< - cp *.h $(top_builddir)/build/include/ + cp -u *.h $(top_builddir)/build/include/ diff --git a/Cantera/ext/f2c_lapack/Makefile.am b/Cantera/ext/f2c_lapack/Makefile.am index f16530f90..019a47083 100644 --- a/Cantera/ext/f2c_lapack/Makefile.am +++ b/Cantera/ext/f2c_lapack/Makefile.am @@ -29,4 +29,4 @@ CLEANFILES = *.o # header file accumulation all: @echo copying headers $< - cp *.h $(top_builddir)/build/include/ + cp -u *.h $(top_builddir)/build/include/ diff --git a/Cantera/ext/f2c_libs/Makefile.am b/Cantera/ext/f2c_libs/Makefile.am index c1182f413..ed9f91ba1 100644 --- a/Cantera/ext/f2c_libs/Makefile.am +++ b/Cantera/ext/f2c_libs/Makefile.am @@ -53,8 +53,8 @@ library_include_HEADERS = $(h_sources) # header file accumulation all: @echo copying headers $< - cp sysdep1.h0 sysdep1.h - cp signal1.h0 signal1.h + cp -u sysdep1.h0 sysdep1.h + cp -u signal1.h0 signal1.h cp $(h_sources) $(top_builddir)/build/include/ diff --git a/Cantera/ext/f2c_math/Makefile.am b/Cantera/ext/f2c_math/Makefile.am index 7e8aabb7b..f63e27ecc 100644 --- a/Cantera/ext/f2c_math/Makefile.am +++ b/Cantera/ext/f2c_math/Makefile.am @@ -44,4 +44,4 @@ CLEANFILES = *.o # header file accumulation all: @echo copying headers $< - cp *.h $(top_builddir)/build/include/ + cp -u *.h $(top_builddir)/build/include/ diff --git a/Cantera/ext/tpx/Makefile.am b/Cantera/ext/tpx/Makefile.am index 46e3f0de1..c03d7284a 100644 --- a/Cantera/ext/tpx/Makefile.am +++ b/Cantera/ext/tpx/Makefile.am @@ -23,4 +23,4 @@ CLEANFILES = *.o # header file accumulation all: @echo copying headers $< - cp *.h $(top_builddir)/build/include/ + cp -u *.h $(top_builddir)/build/include/