From: Wolfgang Bangerth
- Following is a list of all available flags which are exported to
- other Makefiles, sorted into different categories:
+ Following is a partial list of available flags which are exported to
+ other Makefiles. There are additional flags, in particular ones that
+ determine the interaction with other libraries such as PETSc, Trilinos,
+ METIS, etc; for details on these variables, take a look
+ at
Name and version of the C++ compiler. Possible
- names presently include
Executable name of compiler that is used to link object
files to shared libraries. This will usually be the C++
- compiler, but as this does not work for gcc 2.95, it is the
- C compiler in that case.
-
- Extension of object files. On unix, this is usually simply
-
- Extension of executables. On unix, this is usually the
- empty strign, on Windows systems it is
- Determines whether shared or static libraries are used.
- Set to Available flags
common/Make.global_options
.
@@ -60,12 +63,9 @@
GXX-VERSION
egcs1.1
,
- gcc2.95
, gcc2.96
,
- gcc2.97
, gcc3.0
,
- gcc3.1
, gcc3.2
,
+ names presently include
gcc3.3
, gcc3.4
,
- gcc4.0
,
+ gcc4.0
, gcc4.1
, etc,
ibm_xlc
, MIPSpro
,
sun_workshop
, sun_forte
,
intel_icc5
, intel_icc6
,
@@ -124,32 +124,22 @@
OBJEXT
o
, on Windows systems it is obj
.
+ compiler.
EXEEXT
enable-shared
.exe
.
+ Determines whether shared or static libraries are used.
+ In the former case it is set to yes
.
enable-shared
enable-threads
yes
if you want to use shared
- libraries.
+ Determines whether multiple threads should be used or not.
+ In the former case it is set to yes
.
USE_CONTRIB_HSL
- yes
indicates whether some subroutines from
- the HSL have been explicitely installed and shall be used
- by the library. no
otherwise.
- (See the
- ReadMe
- file for more information on installation of HSL subroutines.)
-
USE_CONTRIB_PETSC
- yes
indicates whether the interfaces to the PETSc
- library shall be compiled. no
otherwise.
- (See the
- ReadMe
- file for more information on installation of PETSc.)
-
DEAL_II_PETSC_DIR
- If USE_CONTRIB_PETSC
is yes
, then this
- variable has the path to the PETSc library, as either given by the
- PETSC_DIR
environment variable, or the
- --with-petsc
switch on the command line upon
- configuration of the deal.II library.
-
DEAL_II_PETSC_ARCH
- If USE_CONTRIB_PETSC
is yes
, then this
- variable stores the architecture for which PETSc was compiled, as
- either given by the PETSC_ARCH
environment variable,
- or the --with-petsc-arch
switch on the command line
- upon configuration of the deal.II library.
-
USE_CONTRIB_METIS
- yes
indicates whether the METIS library has been
- detected upon configuration, and whether we shall interface with
- it. no
otherwise. (See the
- ReadMe
- file for more information on installation of METIS.)
-
DEAL_II_METIS_DIR
- If USE_CONTRIB_METIS
is yes
, then this
- variable has the path to the METIS library, as either given by the
- METIS_DIR
environment variable, or the
- --with-metis
switch on the command line upon
- configuration of the deal.II library.
-
lib-path-base
LIBDIR
- Path to the library files of the /base library -
-lib-path-lac
- Same for the /lac library -
-lib-path-deal2
- Same for the /deal.II library + Path to the deal.II libraries.
LIBPATH
- All the library pathes prefixed by -L, i.e. the + All the library paths (the deal.II libraries as well as other + libraries we need to link with) prefixed by -L, i.e. the flags needed by the compiler to find the libraries - when they are linked in using -lbase -llac -ldeal_II_2d - (for example). These -L paths are appended to what + when they are linked in. These -L paths are appended to what was in $(LIBPATH) before.
static-lib-suffix
- File extension of static libraries. Usually set to .a -
-shared-lib-suffix
- File extension of shared libraries. If shared libraries
- are supported, this suffix is usually .so, if shared
- libraries are not supported, it is set to the same value
- as static-lib-suffix
.
-
lib-suffix
- File extension of libraries. Depending on the value of
- enable-shared
, it is either set to
- static-lib-suffix
or to
- shared-lib-suffix
.
-
lib-base.o
OBJEXT
- Path and filename of the base library in optimized
- mode. depending on whether shared libraries were
- or were not enabled, the suffix of the value of this
- variable is either .so or .a
+ Extension of object files. On unix, this is usually simply
+ o
, on Windows systems it is obj
.
lib-base.g
EXEEXT
- Same, for the library in debug mode
+ Extension of executables. On unix, this is usually the
+ empty string, on Windows systems it is .exe
.
lib-lac.o lib-lac.g
static-lib-suffix
- Same for the lac libraries + File extension of static libraries. Usually set to .a
lib-deal2-1d.o lib-deal2-1d.g
- lib-deal2-2d.o lib-deal2-2d.g
- lib-deal2-3d.o lib-deal2-3d.g
shared-lib-suffix
- Same for the deal.II libraries in the various dimensions
+ File extension of shared libraries. If shared libraries
+ are supported, this suffix is usually .so
on unix-like
+ systems, but is .dylib
on Mac OS X
+ and .dll
on windows.
lib-contrib-hsl
lib-suffix
- Path and name of the library that contains the HSL
- subroutines explicitely installed.
- (See the
- ReadMe
- file for more information on installation of HSL
- subroutines.)
+ File extension of libraries. Depending on the value of
+ enable-shared
, it is either set to
+ static-lib-suffix
or to
+ shared-lib-suffix
.
lib-contrib-petsc.g lib-contrib-petsc.o
lib-deal2.o lib-deal2.g
- Paths and names of the component libraries of the PETSc package, if - found and used at configuration time. - (See the - ReadMe - file for more information on installation of PETSc.) -
-lib-contrib-metis
- Path and name of the METIS libraries, if - found and used at configuration time. - (See the - ReadMe - file for more information on installation of METIS.) + Path and filename of the deal.II libraries.
INCLUDE
- All the include pathes prefixed by -I -
-enable-threads
- This symbol is 'no' if the flag was not given - to ./configure and 'posix' otherwise -
-
- Note that in multithread mode, the compiler flags are augmented by
- the definition of the preprocessor variable
- DEAL_II_USE_MT
, which you can use to find out whether
- your program shall use multithreading or not.
-
- If ./configure, detects a valid Tecplot API installation $(INCLUDE) and - $(LIBS) are augmented by the Tecplot API include and library paths, and - the following symbols are meaningful: - -
TECIO_INCLUDE
- Path to the Tecplot API header files as found by ./configure -
-TECIO_LIBRARY
- Path to the Tecplot API library -
-