${CMAKE_CURRENT_SOURCE_DIR}/template-arguments.in
${CMAKE_CURRENT_BINARY_DIR}/template-arguments
)
+
+
+IF(DEAL_II_INSTALL_COMPAT_FILES)
+
+ #
+ # Configure and install the old Makefile configuration:
+ #
+
+ CONFIGURE_FILE(
+ ${CMAKE_CURRENT_SOURCE_DIR}/Make.global_options.in
+ ${CMAKE_CURRENT_BINARY_DIR}/Make.global_options
+ )
+
+ CONFIGURE_FILE(
+ ${CMAKE_CURRENT_SOURCE_DIR}/Version.in
+ ${CMAKE_CURRENT_BINARY_DIR}/Version
+ )
+
+ INSTALL(FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/template-arguments
+ ${CMAKE_CURRENT_BINARY_DIR}/Make.global_options
+ DESTINATION common
+ COMPONENT compat_files
+ )
+
+ INSTALL(FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/Version
+ DESTINATION ${CMAKE_INSTALL_PREFIX}
+ COMPONENT compat_files
+ )
+
+ENDIF()
# the following lines will be replaced by the output
# of ./configure
-D = @prefix@
-CXX = @CXX@
-GXX-VERSION = @GXX_VERSION@
-GXX-VERSION-DETAILED = @GXX_VERSION_DETAILED@
-CC = @CC@
-CC-VERSION = @CC_VERSION@
+D = @CMAKE_INSTALL_PREFIX@
+
+CXX = @CMAKE_CXX_COMPILER@
+CXX-ID = @CMAKE_CXX_COMPILER_ID@
+CXX-VERSION = @CMAKE_CXX_COMPILER_VERSION@
+CC = @CMAKE_C_COMPILER@
+CC-ID = @CMAKE_C_COMPILER_ID@
+CC-VERSION = @CMAKE_C_COMPILER_VERSION@
+
+#
+# TODO:
+#
SHLIBLD = @SHLIBLD@
SHLIBFLAGS = @SHLIBFLAGS@
AR = @AR@
RANLIB = @RANLIB@
LDFLAGS = @LDFLAGS@
-F77 = @F77@
-F77-VERSION = @F77_VERSION@
-F77LIBS = @F77LIBS@
+
+#
+# TODO:
+# Come up with a way to decompose our full library paths to -L and -l and
+# provide them here:
+#
LIBS = @LIBS@
LIBDIR = $D/lib
-PERL = @PERL@
-QMAKE = @QMAKE@
+
+
+
+#
+#
+# TODO: The rest...
+#
+#
+
+
enable-threads = @enablethreads@
enable-shared = @enableshared@
enable-parser = @enableparser@
-DEAL_II_VERSION = @PACKAGE_VERSION@
+
+
+DEAL_II_VERSION = @VERSION@
DEAL_II_MAJOR = @DEAL_II_MAJOR@
DEAL_II_MINOR = @DEAL_II_MINOR@
-USE_CONTRIB_PETSC = @USE_CONTRIB_PETSC@
DEAL_II_PETSC_DIR = @DEAL_II_PETSC_DIR@
DEAL_II_PETSC_ARCH = @DEAL_II_PETSC_ARCH@
DEAL_II_PETSC_VERSION_MAJOR = @DEAL_II_PETSC_VERSION_MAJOR@
DEAL_II_PETSC_VERSION_DEV = @DEAL_II_PETSC_VERSION_DEV@
DEAL_II_PETSC_MPIUNI_LIB = @DEAL_II_PETSC_MPIUNI_LIB@
-USE_CONTRIB_SLEPC = @USE_CONTRIB_SLEPC@
DEAL_II_SLEPC_DIR = @DEAL_II_SLEPC_DIR@
DEAL_II_SLEPC_VERSION_MAJOR = @DEAL_II_SLEPC_VERSION_MAJOR@
DEAL_II_SLEPC_VERSION_MINOR = @DEAL_II_SLEPC_VERSION_MINOR@
DEAL_II_SLEPC_VERSION_SUBMINOR = @DEAL_II_SLEPC_VERSION_SUBMINOR@
-USE_CONTRIB_TRILINOS = @USE_CONTRIB_TRILINOS@
DEAL_II_TRILINOS_INCDIR = @DEAL_II_TRILINOS_INCDIR@
DEAL_II_TRILINOS_LIBDIR = @DEAL_II_TRILINOS_LIBDIR@
DEAL_II_TRILINOS_SHARED = @DEAL_II_TRILINOS_SHARED@
DEAL_II_TRILINOS_VERSION_SUBMINOR = @DEAL_II_TRILINOS_VERSION_SUBMINOR@
DEAL_II_TRILINOS_LIBPREFIX = @DEAL_II_TRILINOS_LIBPREFIX@
-USE_CONTRIB_HDF5 = @USE_CONTRIB_HDF5@
DEAL_II_HDF5_VERSION = @DEAL_II_HDF5_VERSION@
DEAL_II_HDF5_CFLAGS = @DEAL_II_HDF5_CFLAGS@
DEAL_II_HDF5_CPPFLAGS = @DEAL_II_HDF5_CPPFLAGS@
DEAL_II_HDF5_LDFLAGS = @DEAL_II_HDF5_LDFLAGS@
DEAL_II_HDF5_INCDIR = @DEAL_II_HDF5_INCDIR@
-USE_CONTRIB_BLAS = @USE_CONTRIB_BLAS@
-USE_CONTRIB_LAPACK = @USE_CONTRIB_LAPACK@
-
-USE_CONTRIB_MUMPS = @USE_CONTRIB_MUMPS@
DEAL_II_MUMPS_DIR = @DEAL_II_MUMPS_DIR@
DEAL_II_SCALAPACK_DIR = @DEAL_II_SCALAPACK_DIR@
DEAL_II_BLACS_DIR = @DEAL_II_BLACS_DIR@
DEAL_II_BLACS_ARCH = @DEAL_II_BLACS_ARCH@
-USE_CONTRIB_ARPACK = @USE_CONTRIB_ARPACK@
DEAL_II_ARPACK_DIR = @DEAL_II_ARPACK_DIR@
DEAL_II_ARPACK_ARCH = @DEAL_II_ARPACK_ARCH@
-USE_CONTRIB_METIS = @USE_CONTRIB_METIS@
DEAL_II_METIS_DIR = @DEAL_II_METIS_DIR@
DEAL_II_METIS_LIBDIR = @DEAL_II_METIS_LIBDIR@
DEAL_II_METIS_INCDIR = @DEAL_II_METIS_INCDIR@
-USE_CONTRIB_HSL = @USE_CONTRIB_HSL@
USE_CONTRIB_UMFPACK = @USE_CONTRIB_UMFPACK@
-USE_CONTRIB_P4EST = @USE_CONTRIB_P4EST@
DEAL_II_P4EST_DIR = @DEAL_II_P4EST_DIR@
DEAL_II_P4EST_LIBDIR_NAME = @DEAL_II_P4EST_LIBDIR_NAME@