Debian Codegraph @

3rdparty/umfpack/UMFPACK_Make.m4

raw
1 #------------------------------------------------------------------------------
2 # Include file for GNU make or original make (for both AMD and UMFPACK)
3 #------------------------------------------------------------------------------
4
5 # You can edit these definitions, or select and and edit a specfic
6 # Make.(architecture) file, below. This same file is used for configuring
7 # both AMD and UMFPACK. AMD is a stand-alone package. UMFPACK requires AMD,
8 # and for simplicity of configuring both packages, UMFPACK and AMD share this
9 # configuration file (and all files in the AMD/Make directory). To configure
10 # AMD, or both AMD and UMFPACK, you only need to edit this one file (and
11 # optionaly, one of the ../Make/Make.<arch> files below).
12
13 # NOTE: -DNBLAS and other BLAS configurations are ignored by AMD, since AMD
14 # does not use the BLAS. This flag is here because this file, and the
15 # ../Make/Make.* files, are shared by UMFPACK (which requires AMD). If you
16 # use AMD but not UMFPACK, then you can ignore any BLAS-related configuration
17 # settings.
18 CC = FF_CC
19 CFLAGS = FF_CFLAGS
20 F77 = FF_F77
21 F77FLAGS =FF_F77FLAGS
22
23
24 RANLIB = ranlib
25 LIB = -lm
26 RM = rm -f
27 MV = mv -f
28 F77LIB =
29 AR = ar
30
31 #------------------------------------------------------------------------------
32 # for the AMD and UMFPACK mexFunctions (-DNBLAS and -DNUTIL for UMFPACK only)
33 #------------------------------------------------------------------------------
34
35 # MATLAB 6.0 or later (default)
36 MEX = mex -inline -O
37
38 # MATLAB 6.0 or later (no divide-by-zero)
39 # MEX = mex -inline -O -DNO_DIVIDE_BY_ZERO
40
41 # MATLAB 5 (no BLAS, do not try to use utMalloc, utFree, and utRealloc)
42 # MEX = mex -inline -O -DNBLAS -DNUTIL
43
44 #------------------------------------------------------------------------------
45 # for UMFPACK only (BLAS configuration):
46 #------------------------------------------------------------------------------
47 CONFIG = FF_CONFIG
48 LIB = FF_LIB
49
50 # The default is to NOT use the BLAS. UMFPACK will be slow, but this is more
51 # portable. Try this option first, then use your architecture-specific
52 # configuration, below, to add the BLAS library. AMD ignores the -DNBLAS flag.
53
54
55 # 2: with the ATLAS C-BLAS (http://www.netlib.org/atlas).
56 # CONFIG = -DCBLAS -I../ATLAS/include
57 # LIB = -lcblas -latlas -lm
58 #------------------------------------------------------------------------------
59 # Archicture-specific configuration (for both AMD and UMFPACK)
60 #------------------------------------------------------------------------------
61
62 # Select your architecture by un-commenting the appropriate line. The include
63 # file can redefine any of the above definitions, or other definitions. Use
64 # CC = ... to redefine the name of your C compiler, for example. Without
65 # any specific changes, this Makefile should work on nearly all systems.
66
67 # include ../Make/Make.linux
68 # include ../Make/Make.sgi
69 # include ../Make/Make.solaris
70 # include ../Make/Make.alpha
71 # include ../Make/Make.rs6000
72
73 #------------------------------------------------------------------------------
74 # remove object files and profile output
75 #------------------------------------------------------------------------------
76
77 clean:
78 - $(RM) *.o *.obj *.ln *.bb *.bbg *.da *.c.tcov *.c.gcov gmon.out *.bak