diff options
Diffstat (limited to 'french/med/files/patch-tests::Makefile.in')
-rw-r--r-- | french/med/files/patch-tests::Makefile.in | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/french/med/files/patch-tests::Makefile.in b/french/med/files/patch-tests::Makefile.in new file mode 100644 index 000000000000..01f27085ce4e --- /dev/null +++ b/french/med/files/patch-tests::Makefile.in @@ -0,0 +1,42 @@ +--- tests/Makefile.in.orig Wed Sep 18 18:09:58 2002 ++++ tests/Makefile.in Sat Apr 24 22:44:52 2004 +@@ -3,7 +3,10 @@ + top_srcdir=@top_srcdir@ + top_builddir=.. + srcdir=@srcdir@ ++pthread_cflags=@PTHREAD_CFLAGS@ ++pthread_libs=@PTHREAD_LIBS@ + VPATH=@srcdir@/c:@srcdir@/f ++ + @COMMENCE@ + + SRC_C= \ +@@ -38,22 +41,22 @@ + endif + + %_c.out: %_c.o +- $(CC) -o $@ $< $(LDFLAGS) -L$(top_builddir)/src/.libs -lmed -lhdf5 ++ $(CC) -o $@ $< $(LDFLAGS) $(pthread_libs) -L$(top_builddir)/src/.libs -lmed -lhdf5 + + %_c.o: %.c +- $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) $(CFLAGS) ++ $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) $(CFLAGS) $(pthread_cflags) + + %_f.out: %_f.o +- $(FC) -o $@ $< $(LDFLAGS) -L$(top_builddir)/src/.libs -lmed -lhdf5 ++ $(FC) -o $@ $< $(LDFLAGS) $(pthread_libs) -L$(top_builddir)/src/.libs -lmed -lhdf5 + + %_f.o: %.f +- $(FC) -c -o $@ $< $(FFLAGS) ++ $(FC) -c -o $@ $< $(FFLAGS) $(pthread_cflags) + + %_f90.out: %_f90.o +- $(F90) $(FFLAGS) -o $@ $< $(LDFLAGS) -L$(top_builddir)/src/.libs -lmed -lhdf5 ++ $(F90) $(FFLAGS) -o $@ $< $(LDFLAGS) $(pthread_libs) -L$(top_builddir)/src/.libs -lmed -lhdf5 + + %_f90.o: %.f90 +- $(F90) -c -o $@ $< $(FFLAGS) ++ $(F90) -c -o $@ $< $(FFLAGS) $(pthread_cflags) + + @CONCLUDE@ + |