## ---------------------------------------------------------------------
## $Id: Make.global_options.in 31527 2013-11-03 09:58:45Z maier $
##
## Copyright (C) 2012 - 2013 by the deal.II authors
##
## This file is part of the deal.II library.
##
## The deal.II library is free software; you can use it, redistribute
## it, and/or modify it under the terms of the GNU Lesser General
## Public License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
## The full text of the license can be found in the file LICENSE at
## the top level of the deal.II distribution.
##
## ---------------------------------------------------------------------


#
# Please note:
#
# This is a compatibility Make.global_options file generated by CMake
# from the ./cmake/config/Make.global_options.in file.
#


D                    = @MAKEFILE_D@

CXX                  = @CMAKE_CXX_COMPILER@
CXX-ID               = @CMAKE_CXX_COMPILER_ID@
CXX-VERSION          = @CMAKE_CXX_COMPILER_VERSION@
SHLIBLD              = @CMAKE_CXX_COMPILER@
SHLIBFLAGS           = @CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS@

ifeq ($(debug-mode), on)
  LDFLAGS              = @MAKEFILE_LDFLAGS_DEBUG@
  LIBS                 = @MAKEFILE_LIBS_DEBUG@
else
  LDFLAGS              = @MAKEFILE_LDFLAGS_RELEASE@
  LIBS                 = @MAKEFILE_LIBS_RELEASE@
endif

LIBDIR               = $(D)/@DEAL_II_LIBRARY_RELDIR@

enable-threads       = @MAKEFILE_enablethreads@
enable-shared        = @MAKEFILE_enableshared@
enable-parser        = @MAKEFILE_enableparser@
DEAL_II_VERSION      = @DEAL_II_PACKAGE_VERSION@
DEAL_II_MAJOR        = @DEAL_II_VERSION_MAJOR@
DEAL_II_MINOR        = @DEAL_II_VERSION_MINOR@

PERL                 = perl


USE_CONTRIB_PETSC    = @MAKEFILE_PETSC@
USE_CONTRIB_SLEPC    = @MAKEFILE_SLEPC@
USE_CONTRIB_TRILINOS = @MAKEFILE_TRILINOS@
USE_CONTRIB_HDF5     = @MAKEFILE_HDF5@
USE_CONTRIB_BLAS     = @MAKEFILE_BLAS@
USE_CONTRIB_LAPACK   = @MAKEFILE_LAPACK@
USE_CONTRIB_MUMPS    = @MAKEFILE_MUMPS@
USE_CONTRIB_ARPACK   = @MAKEFILE_ARPACK@
USE_CONTRIB_METIS    = @MAKEFILE_METIS@
USE_CONTRIB_UMFPACK  = @MAKEFILE_UMFPACK@
USE_CONTRIB_P4EST    = @MAKEFILE_P4EST@
DEAL_II_USE_MPI      = @MAKEFILE_MPI@

OBJEXT     = o
EXEEXT     =

shared-lib-suffix = .so
static-lib-suffix = .a

ifeq ($(enable-shared),yes)
  lib-suffix = $(shared-lib-suffix)
else
  lib-suffix = $(static-lib-suffix)
endif


# set paths to all the libraries we need:
lib-deal2.o     = @MAKEFILE_TARGETS_RELEASE@
lib-deal2.g     = @MAKEFILE_TARGETS_DEBUG@


# Include paths as command line flags
INCLUDE = @MAKEFILE_INCLUDE_DIRS@


# compiler flags for debug and optimized mode
CXXFLAGS.g   = @CMAKE_CXX_FLAGS@ @DEAL_II_CXX_FLAGS_DEBUG@ @MAKEFILE_DEFINITIONS@ @MAKEFILE_DEFINITIONS_DEBUG@ $(INCLUDE)
CXXFLAGS.o   = @CMAKE_CXX_FLAGS@ @DEAL_II_CXX_FLAGS_RELEASE@ @MAKEFILE_DEFINITIONS@ @MAKEFILE_DEFINITIONS_RELEASE@ $(INCLUDE)

ifeq ($(enable-threads),yes)
  MT = MT
else
  MT = ==
endif

