Debian Codegraph @

3rdparty/arpack/ARmake.m4

raw
1 # ARPACK ARmake.inc modified for FreeFEM
2 # $Id$
3
4 ###########################################################################
5 #
6 # Program: ARPACK
7 #
8 # Module: ARmake.inc
9 #
10 # Purpose: Top-level Definitions
11 #
12 # Creation date: February 22, 1996
13 #
14 # Modified:
15 #
16 # Send bug reports, comments or suggestions to [email protected]
17 #
18 ############################################################################
19 #
20 # %---------------------------------%
21 # | SECTION 1: PATHS AND LIBRARIES |
22 # %---------------------------------%
23 #
24 #
25 # %--------------------------------------%
26 # | You should change the definition of |
27 # | home if ARPACK is built some place |
28 # | other than your home directory. |
29 # %--------------------------------------%
30 #
31 home = FF_HOME
32 #
33 # %--------------------------------------%
34 # | The platform identifier to suffix to |
35 # | the end of library names |
36 # %--------------------------------------%
37 #
38 PLAT = ff++
39 #
40 # %------------------------------------------------------%
41 # | The directories to find the various pieces of ARPACK |
42 # %------------------------------------------------------%
43 #
44 BLASdir = $(home)/BLAS
45 LAPACKdir = $(home)/LAPACK
46 UTILdir = $(home)/UTIL
47 SRCdir = $(home)/SRC
48 #
49 #DIRS = $(BLASdir) $(LAPACKdir) $(UTILdir) $(SRCdir)
50 #
51 # %-------------------------------------------------------------------%
52 # | Comment out the previous line and uncomment the following |
53 # | if you already have the BLAS and LAPACK installed on your system. |
54 # | NOTE: ARPACK assumes the use of LAPACK version 2 codes. |
55 # %-------------------------------------------------------------------%
56 #
57 DIRS = FF_LAPACKdir $(UTILdir) $(SRCdir)
58 #
59 # %---------------------------------------------------%
60 # | The name of the libraries to be created/linked to |
61 # %---------------------------------------------------%
62 #
63 ARPACKLIB = FF_ARPACKLIB
64 LAPACKLIB = FF_LAPACKLIB
65 BLASLIB = FF_BLASLIB
66 #
67 ALIBS = $(ARPACKLIB) $(LAPACKLIB) $(BLASLIB)
68 #
69 #
70 # %---------------------------------------------------------%
71 # | SECTION 2: COMPILERS |
72 # | |
73 # | The following macros specify compilers, linker/loaders, |
74 # | the archiver, and their options. You need to make sure |
75 # | these are correct for your system. |
76 # %---------------------------------------------------------%
77 #
78 #
79 # %------------------------------%
80 # | Make our own suffixes' list. |
81 # %------------------------------%
82 #
83 .SUFFIXES:
84 .SUFFIXES: .f .o
85 #
86 # %------------------%
87 # | Default command. |
88 # %------------------%
89 #
90 .DEFAULT:
91 @$(ECHO) "Unknown target $@, try: make help"
92 #
93 # %-------------------------------------------%
94 # | Command to build .o files from .f files. |
95 # %-------------------------------------------%
96 #
97 .f.o:
98 @$(ECHO) Making $@ from $<
99 @$(FC) -c $(FFLAGS) $<
100 #
101 # %-----------------------------------------%
102 # | Various compilation programs and flags. |
103 # | You need to make sure these are correct |
104 # | for your system. |
105 # %-----------------------------------------%
106 #
107 FC = FF_FC
108 FFLAGS = FF_FFLAGS
109 LDFLAGS = FF_LDFLAGS
110 SECOND_O = FF_SECOND
111 CD = cd
112
113 ECHO = echo
114
115 LN = ln
116 LNFLAGS = -s
117
118 MAKE = make
119
120 RM = rm
121 RMFLAGS = -f
122
123 SHELL = /bin/sh
124 #
125 # %----------------------------------------------------------------%
126 # | The archiver and the flag(s) to use when building an archive |
127 # | (library). Also the ranlib routine. If your system has no |
128 # | ranlib, set RANLIB = touch. |
129 # %----------------------------------------------------------------%
130 #
131 AR = FF_AR
132 ARFLAGS = FF_ARFLAGS
133 RANLIB = FF_RANLIB
134 #
135 # %----------------------------------%
136 # | This is the general help target. |
137 # %----------------------------------%
138 #
139 help:
140 @$(ECHO) "usage: make ?"
141
142 .NOTPARALLEL: