2 # Top Level Makefile for LAPACK
9 all: lapack_install lib blas_testing lapack_testing
12 #lib: blaslib variants lapacklib tmglib
27 $(MAKE) -C TESTING/MATGEN
30 $(MAKE) -C SRC/VARIANTS
33 $(MAKE) -C INSTALL run
36 $(MAKE) -C BLAS blas_testing
38 cblas_testing: cblaslib blaslib
39 $(MAKE) -C CBLAS cblas_testing
41 lapack_testing: tmglib lapacklib blaslib
42 $(MAKE) -C TESTING/LIN cleanexe
46 variants_testing: tmglib variants lapacklib blaslib
47 $(MAKE) -C TESTING/LIN cleanexe
48 $(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/cholrl.a'
49 $(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_cholrl.out
50 $(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_cholrl.out
51 $(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_cholrl.out
52 $(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_cholrl.out
53 $(MAKE) -C TESTING/LIN cleanexe
54 $(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/choltop.a'
55 $(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_choltop.out
56 $(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_choltop.out
57 $(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_choltop.out
58 $(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_choltop.out
59 $(MAKE) -C TESTING/LIN cleanexe
60 $(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/lucr.a'
61 $(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_lucr.out
62 $(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_lucr.out
63 $(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_lucr.out
64 $(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_lucr.out
65 $(MAKE) -C TESTING/LIN cleanexe
66 $(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/lull.a'
67 $(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_lull.out
68 $(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_lull.out
69 $(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_lull.out
70 $(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_lull.out
71 $(MAKE) -C TESTING/LIN cleanexe
72 $(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/lurec.a'
73 $(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_lurec.out
74 $(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_lurec.out
75 $(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_lurec.out
76 $(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_lurec.out
77 $(MAKE) -C TESTING/LIN cleanexe
78 $(MAKE) -C TESTING/LIN VARLIB='SRC/VARIANTS/qrll.a'
79 $(MAKE) -C TESTING stest.out && mv TESTING/stest.out TESTING/stest_qrll.out
80 $(MAKE) -C TESTING dtest.out && mv TESTING/dtest.out TESTING/dtest_qrll.out
81 $(MAKE) -C TESTING ctest.out && mv TESTING/ctest.out TESTING/ctest_qrll.out
82 $(MAKE) -C TESTING ztest.out && mv TESTING/ztest.out TESTING/ztest_qrll.out
84 cblas_example: cblaslib blaslib
85 $(MAKE) -C CBLAS cblas_example
87 lapacke_example: lapackelib lapacklib blaslib
88 $(MAKE) -C LAPACKE lapacke_example
91 @echo "LAPACK HTML PAGES GENERATION with Doxygen"
93 @echo "=================="
94 @echo "LAPACK HTML PAGES GENERATED in DOCS/explore-html"
95 @echo "Usage: open DOCS/explore-html/index.html"
96 @echo "Online version available at http://www.netlib.org/lapack/explore-html/"
97 @echo "=================="
100 @echo "LAPACK MAN PAGES GENERATION with Doxygen"
101 doxygen DOCS/Doxyfile_man
102 @echo "=================="
103 @echo "LAPACK MAN PAGES GENERATED in DOCS/MAN"
104 @echo "Set your MANPATH env variable accordingly"
105 @echo "Usage: man dgetrf.f"
106 @echo "=================="
109 $(MAKE) -C INSTALL clean
110 $(MAKE) -C BLAS clean
111 $(MAKE) -C CBLAS clean
113 $(MAKE) -C SRC/VARIANTS clean
114 $(MAKE) -C TESTING clean
115 $(MAKE) -C TESTING/MATGEN clean
116 $(MAKE) -C TESTING/LIN clean
117 $(MAKE) -C TESTING/EIG clean
118 $(MAKE) -C LAPACKE clean
121 $(MAKE) -C INSTALL cleanobj
122 $(MAKE) -C BLAS cleanobj
123 $(MAKE) -C CBLAS cleanobj
124 $(MAKE) -C SRC cleanobj
125 $(MAKE) -C SRC/VARIANTS cleanobj
126 $(MAKE) -C TESTING/MATGEN cleanobj
127 $(MAKE) -C TESTING/LIN cleanobj
128 $(MAKE) -C TESTING/EIG cleanobj
129 $(MAKE) -C LAPACKE cleanobj
131 $(MAKE) -C BLAS cleanlib
132 $(MAKE) -C CBLAS cleanlib
133 $(MAKE) -C SRC cleanlib
134 $(MAKE) -C SRC/VARIANTS cleanlib
135 $(MAKE) -C TESTING/MATGEN cleanlib
136 $(MAKE) -C LAPACKE cleanlib
139 $(MAKE) -C INSTALL cleanexe
140 $(MAKE) -C BLAS cleanexe
141 $(MAKE) -C CBLAS cleanexe
142 $(MAKE) -C TESTING/LIN cleanexe
143 $(MAKE) -C TESTING/EIG cleanexe
144 $(MAKE) -C LAPACKE cleanexe
146 $(MAKE) -C INSTALL cleantest
147 $(MAKE) -C BLAS cleantest
148 $(MAKE) -C CBLAS cleantest
149 $(MAKE) -C TESTING cleantest