Debian Codegraph @

3rdparty/arpack/ARmake.inc

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 = $(HOME)/ARPACK
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 = $(LAPACKdir) $(UTILdir) $(SRCdir)
58 #
59 # %---------------------------------------------------%
60 # | The name of the libraries to be created/linked to |
61 # %---------------------------------------------------%
62 #
63 ARPACKLIB = $(home)/libarpack_$(PLAT).a
64 # if lapack is compile the we build un archive (more simple)
65 LAPACKLIB = $(ARPACKLIB)
66 #BLASLIB =
67 #
68 ALIBS = $(ARPACKLIB) $(LAPACKLIB) $(BLASLIB)
69 #
70 #
71 # %---------------------------------------------------------%
72 # | SECTION 2: COMPILERS |
73 # | |
74 # | The following macros specify compilers, linker/loaders, |
75 # | the archiver, and their options. You need to make sure |
76 # | these are correct for your system. |
77 # %---------------------------------------------------------%
78 #
79 #
80 # %------------------------------%
81 # | Make our own suffixes' list. |
82 # %------------------------------%
83 #
84 .SUFFIXES:
85 .SUFFIXES: .f .o
86 #
87 # %------------------%
88 # | Default command. |
89 # %------------------%
90 #
91 .DEFAULT:
92 @$(ECHO) "Unknown target $@, try: make help"
93 #
94 # %-------------------------------------------%
95 # | Command to build .o files from .f files. |
96 # %-------------------------------------------%
97 #
98 .f.o:
99 @$(ECHO) Making $@ from $<
100 @$(FC) -c $(FFLAGS) $<
101 #
102 # %-----------------------------------------%
103 # | Various compilation programs and flags. |
104 # | You need to make sure these are correct |
105 # | for your system. |
106 # %-----------------------------------------%
107 #
108 #FC = f77
109 #FFLAGS = -O -cg89
110
111 #LDFLAGS =
112 CD = cd
113
114 ECHO = echo
115
116 LN = ln
117 LNFLAGS = -s
118
119 MAKE = make
120
121 RM = rm
122 RMFLAGS = -f
123
124 SHELL = /bin/sh
125 #
126 # %----------------------------------------------------------------%
127 # | The archiver and the flag(s) to use when building an archive |
128 # | (library). Also the ranlib routine. If your system has no |
129 # | ranlib, set RANLIB = touch. |
130 # %----------------------------------------------------------------%
131 #
132 AR = libtool -o
133 ARFLAGS = rv
134 #RANLIB = touch
135 RANLIB = ranlib
136 #
137 # %----------------------------------%
138 # | This is the general help target. |
139 # %----------------------------------%
140 #
141 help:
142 @$(ECHO) "usage: make ?"