Skip to content
Snippets Groups Projects
Commit f1d65fc3 authored by Jonathan Youett's avatar Jonathan Youett Committed by Elias Pipping
Browse files

Remove autotools related files, autotools are not supported anymore

parent 312f2092
Branches
No related tags found
1 merge request!2Remove autotool support
...@@ -19,7 +19,6 @@ include(DuneMacros) ...@@ -19,7 +19,6 @@ include(DuneMacros)
dune_project() dune_project()
add_subdirectory("src") add_subdirectory("src")
add_subdirectory("m4")
add_subdirectory("dune") add_subdirectory("dune")
add_subdirectory("doc") add_subdirectory("doc")
add_subdirectory("cmake/modules") add_subdirectory("cmake/modules")
......
# we need the module file to be able to build via dunecontrol
EXTRA_DIST = dune.module \
CMakeLists.txt \
config.h.cmake
SUBDIRS = src m4 dune doc cmake
if BUILD_DOCS
# TODO: set up documentation tree automatically
#SUBDIRS += doc
endif
# don't follow the full GNU-standard
# we need automake 1.9 or newer
AUTOMAKE_OPTIONS = foreign 1.9
# pass most important options when "make distcheck" is used
DISTCHECK_CONFIGURE_FLAGS = --with-dune-common=$(DUNE_COMMON_ROOT) --with-dune-geometry=$(DUNE_GEOMETRY_ROOT) --with-dune-localfunctions=$(DUNE_LOCALFUNCTIONS_ROOT) --with-dune-grid=$(DUNE_GRID_ROOT) --with-dune-istl=$(DUNE_ISTL_ROOT) CXX="$(CXX)" CC="$(CC)"
include $(top_srcdir)/am/top-rules
include $(top_srcdir)/am/global-rules
# Generate package configuration files for finding
# installed modules with CMake
include $(top_srcdir)/am/cmake-pkg-config
SUBDIRS = modules
include $(top_srcdir)/am/global-rules
MODULES = DuneMatrixVectorMacros.cmake
modulesdir = $(datadir)/dune/cmake/modules
dist_modules_DATA = ${MODULES}
include $(top_srcdir)/am/global-rules
EXTRA_DIST = CMakeLists.txt
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.62])
DUNE_AC_INIT # gets module version from dune.module file
AC_CONFIG_SRCDIR([src/dune_matrix_vector.cc])
AC_CONFIG_HEADERS([config.h])
# we need no more than the standard DE-stuff
# this module depends on dune-common dune-geometry dune-localfunctions dune-grid dune-istl
# this implies checking for [dune-common], [dune-geometry], [dune-localfunctions], [dune-grid], [dune-istl]
DUNE_CHECK_ALL
# implicitly set the Dune-flags everywhere
AC_SUBST(AM_CPPFLAGS, $DUNE_CPPFLAGS)
AC_SUBST(AM_LDFLAGS, $DUNE_LDFLAGS)
LIBS="$DUNE_LIBS"
AC_CONFIG_FILES([
Makefile
src/Makefile
cmake/Makefile
cmake/modules/Makefile
doc/Makefile
doc/doxygen/Makefile
doc/doxygen/Doxyfile
dune/Makefile
dune/matrix-vector/Makefile
m4/Makefile
dune-matrix-vector.pc
])
AC_OUTPUT
# finally print the summary information
DUNE_SUMMARY_ALL
SUBDIRS = doxygen
CURDIR = doc
BASEDIR = ..
# add list of html files to generate from wml
PAGES=
docdir=$(datadir)/doc/dune-matrix-vector
EXTRA_DIST = CMakeLists.txt
include $(top_srcdir)/am/webstuff
include $(top_srcdir)/am/global-rules
BASEDIR=../..
CURDIR=doc/doxygen
EXTRA_DIST = CMakeLists.txt
include $(top_srcdir)/am/doxygen
include $(top_srcdir)/am/global-rules
SUBDIRS = matrix-vector
EXTRA_DIST = CMakeLists.txt
include $(top_srcdir)/am/global-rules
matrix_vectorincludedir = $(includedir)/dune/matrix-vector
matrix_vectorinclude_HEADERS = matrix-vector.hh
EXTRA_DIST = CMakeLists.txt
include $(top_srcdir)/am/global-rules
#ifndef DUNE_MATRIX_VECTOR.hh
#define DUNE_MATRIX_VECTOR.hh
// add your classes here
#endif // DUNE_MATRIX_VECTOR.hh
install(PROGRAMS dune-matrix-vector.m4 DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/dune/aclocal)
M4FILES = dune-matrix-vector.m4
aclocaldir = $(datadir)/dune/aclocal
aclocal_DATA = $(M4FILES)
EXTRA_DIST = $(M4FILES) CMakeLists.txt
include $(top_srcdir)/am/global-rules
dnl -*- autoconf -*-
# Macros needed to find dune-matrix-vector and dependent libraries. They are called by
# the macros in ${top_src_dir}/dependencies.m4, which is generated by
# "dunecontrol autogen"
# Additional checks needed to build dune-matrix-vector
# This macro should be invoked by every module which depends on dune-matrix-vector, as
# well as by dune-matrix-vector itself
AC_DEFUN([DUNE_MATRIX_VECTOR_CHECKS])
# Additional checks needed to find dune-matrix-vector
# This macro should be invoked by every module which depends on dune-matrix-vector, but
# not by dune-matrix-vector itself
AC_DEFUN([DUNE_MATRIX_VECTOR_CHECK_MODULE],
[
DUNE_CHECK_MODULES([dune-matrix-vector],[matrix-vector/matrix-vector.hh])
])
SUBDIRS =
noinst_PROGRAMS = dune_matrix_vector
dune_matrix_vector_SOURCES = dune_matrix_vector.cc
dune_matrix_vector_CPPFLAGS = $(AM_CPPFLAGS) \
$(DUNEMPICPPFLAGS) \
$(UG_CPPFLAGS) \
$(ALBERTA_CPPFLAGS) \
$(ALUGRID_CPPFLAGS)
# The libraries have to be given in reverse order (most basic libraries
# last). Also, due to some misunderstanding, a lot of libraries include the
# -L option in LDFLAGS instead of LIBS -- so we have to include the LDFLAGS
# here as well.
dune_matrix_vector_LDADD = \
$(DUNE_LDFLAGS) $(DUNE_LIBS) \
$(ALUGRID_LDFLAGS) $(ALUGRID_LIBS) \
$(ALBERTA_LDFLAGS) $(ALBERTA_LIBS) \
$(UG_LDFLAGS) $(UG_LIBS) \
$(DUNEMPILIBS) \
$(LDADD)
dune_matrix_vector_LDFLAGS = $(AM_LDFLAGS) \
$(DUNEMPILDFLAGS) \
$(UG_LDFLAGS) \
$(ALBERTA_LDFLAGS) \
$(ALUGRID_LDFLAGS) \
$(DUNE_LDFLAGS)
# don't follow the full GNU-standard
# we need automake 1.9
AUTOMAKE_OPTIONS = foreign 1.9
# pass most important options when "make distcheck" is used
DISTCHECK_CONFIGURE_FLAGS = --with-dune-common=$(DUNE_COMMON_ROOT) --with-dune-geometry=$(DUNE_GEOMETRY_ROOT) --with-dune-localfunctions=$(DUNE_LOCALFUNCTIONS_ROOT) --with-dune-grid=$(DUNE_GRID_ROOT) --with-dune-istl=$(DUNE_ISTL_ROOT) CXX="$(CXX)" CC="$(CC)"
EXTRA_DIST = CMakeLists.txt
include $(top_srcdir)/am/global-rules
A stamp file to signify that this directory comes from a version control system, not an unpacked tarball
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment