From 46b5295341dc68b0e8f956b494328086cd77e85e Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 5 Apr 2006 12:15:05 +0000 Subject: [PATCH] To introduce libtool "tag" optinal parameter (Fortran files is not compilable with libtool version equal and higher than 1.5.22) --- adm_local/unix/make_conclude.in | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/adm_local/unix/make_conclude.in b/adm_local/unix/make_conclude.in index ac899836c..397d4fa67 100644 --- a/adm_local/unix/make_conclude.in +++ b/adm_local/unix/make_conclude.in @@ -361,25 +361,31 @@ distclean: clean $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< .cc.lo: - $(LT) --mode=compile $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< + $(LT) --mode=compile --tag=CXX $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< .cxx.o: $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< .cxx.lo: - $(LT) --mode=compile $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< + $(LT) --mode=compile --tag=CXX $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -c $< .c.lo: - $(LT_COMPILE) $(CFLAGS) $(CPPFLAGS) -c $< + $(LT) --mode=compile --tag=CC $(CFLAGS) $(CPPFLAGS) -c $< .f.o: $(FC) $(FFLAGS) -c $< -o $@ .f.lo: - $(LT) --mode=compile $(FC) $(FFLAGS) -c $< + $(LT) --mode=compile --tag=F77 $(FC) $(FFLAGS) -c $< + +.f90.o: + $(FC) $(FFLAGS) -c $< -o $@ + +.f90.lo: + $(LT) --mode=compile --tag=F90 $(FC) $(FFLAGS) -c $< .ui.h: $(UIC) -o $@ $< -- 2.39.2