Skip to content

Commit 6fad11c

Browse files
Move original xLARTG to DEPRECATED; Fix SRC/Makefile
1 parent a35a5ca commit 6fad11c

File tree

5 files changed

+32
-5
lines changed

5 files changed

+32
-5
lines changed

SRC/clartg_lapackv390.f renamed to SRC/DEPRECATED/clartg_lapackv390.f

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@
8585
*> \author Univ. of Colorado Denver
8686
*> \author NAG Ltd.
8787
*
88+
*> This implementation of CLARTG has been deprecated with LAPACKv3.10.
89+
*> A better version of CLARTG was contributed by Ed Anderson and released in 3.10.
90+
*
8891
*> \ingroup complexOTHERauxiliary
8992
*
9093
*> \par Further Details:

SRC/dlartg_lapackv390.f renamed to SRC/DEPRECATED/dlartg_lapackv390.f

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@
9090
*> \author Univ. of Colorado Denver
9191
*> \author NAG Ltd.
9292
*
93+
*> This implementation of DLARTG has been deprecated with LAPACKv3.10.
94+
*> A better version of DLARTG was contributed by Ed Anderson and released in 3.10.
95+
*
9396
*> \ingroup OTHERauxiliary
9497
*
9598
* =====================================================================

SRC/slartg_lapackv390.f renamed to SRC/DEPRECATED/slartg_lapackv390.f

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@
9090
*> \author Univ. of Colorado Denver
9191
*> \author NAG Ltd.
9292
*
93+
*> This implementation of SLARTG has been deprecated with LAPACKv3.10.
94+
*> A better version of SLARTG was contributed by Ed Anderson and released in 3.10.
95+
*
9396
*> \ingroup OTHERauxiliary
9497
*
9598
* =====================================================================

SRC/zlartg_lapackv390.f renamed to SRC/DEPRECATED/zlartg_lapackv390.f

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@
8585
*> \author Univ. of Colorado Denver
8686
*> \author NAG Ltd.
8787
*
88+
*> This implementation of ZLARTG has been deprecated with LAPACKv3.10.
89+
*> A better version of ZLARTG was contributed by Ed Anderson and released in 3.10.
90+
*
8891
*> \ingroup complex16OTHERauxiliary
8992
*
9093
*> \par Further Details:

SRC/Makefile

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,20 @@
5757
TOPSRCDIR = ..
5858
include $(TOPSRCDIR)/make.inc
5959

60-
.SUFFIXES: .F .f90 .o
61-
.F.o:
60+
ALLMOD = la_constants.mod la_constants32.mod
61+
62+
.SUFFIXES: .f .F .f90 .F90 .o .mod
63+
%.o: %.f $(ALLMOD)
6264
$(FC) $(FFLAGS) -c -o $@ $<
63-
.f90.o:
65+
%.o: %.F $(ALLMOD)
6466
$(FC) $(FFLAGS) -c -o $@ $<
65-
67+
%.o: %.f90 $(ALLMOD)
68+
$(FC) $(FFLAGS) -c -o $@ $<
69+
%.o: %.F90 $(ALLMOD)
70+
$(FC) $(FFLAGS) -c -o $@ $<
71+
.o.mod:
72+
@true
73+
6674
ALLAUX = ilaenv.o ilaenv2stage.o ieeeck.o lsamen.o xerbla.o xerbla_array.o \
6775
iparmq.o iparam2stage.o \
6876
ilaprec.o ilatrans.o ilauplo.o iladiag.o chla_transtype.o \
@@ -612,7 +620,7 @@ endif
612620
.PHONY: clean cleanobj cleanlib
613621
clean: cleanobj cleanlib
614622
cleanobj:
615-
rm -f *.o DEPRECATED/*.o
623+
rm -f *.o *.mod DEPRECATED/*.o DEPRECATED/*.mod
616624
cleanlib:
617625
rm -f $(LAPACKLIB)
618626

@@ -622,3 +630,10 @@ sla_wwaddw.o: sla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
622630
dla_wwaddw.o: dla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
623631
cla_wwaddw.o: cla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
624632
zla_wwaddw.o: zla_wwaddw.f ; $(FC) $(FFLAGS_NOOPT) -c -o $@ $<
633+
634+
# Modules
635+
la_constants32.o: la_constants32.f90
636+
$(FC) $(FFLAGS) -c -o $@ $<
637+
la_constants.o: la_constants.f90
638+
$(FC) $(FFLAGS) -c -o $@ $<
639+

0 commit comments

Comments
 (0)