Commit 5d390098 authored by Linus Seelinger's avatar Linus Seelinger

Remove autotools

parent 0639b731
# $Id: duneproject 6304 2011-01-04 18:53:16Z christi $
# we need the module file to be able to build via dunecontrol
EXTRA_DIST=dune.module
SUBDIRS = src m4 dune
# don't follow the full GNU-standard
# we need automake 1.5
AUTOMAKE_OPTIONS = foreign 1.5
# pass most important options when "make distcheck" is used
DISTCHECK_CONFIGURE_FLAGS = --with-dune-pdelab=$(DUNE_PDELAB_ROOT) CXX="$(CXX)" CC="$(CC)"
include $(top_srcdir)/am/top-rules
include $(top_srcdir)/am/global-rules
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50)
DUNE_AC_INIT # gets module version from dune.module file
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([pdelab-exercise2-sol.pc.in])
AM_CONFIG_HEADER([config.h])
# we need no more than the standard DE-stuff
# this module depends on dune-pdelab
# this implies checking for [dune-common], [dune-grid], [dune-localfunctions], [dune-istl], [dune-pdelab]
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
dune/Makefile
m4/Makefile
pdelab-exercise2-sol.pc
])
AC_OUTPUT
# finally print the summary information
DUNE_SUMMARY_ALL
mydir = $(includedir)/dune
my_HEADERS = pdelab_exercise2_sol_dummy.hh
include $(top_srcdir)/am/global-rules
M4FILES = pdelab-exercise2-sol.m4
aclocaldir = $(datadir)/aclocal
aclocal_DATA = $(M4FILES)
EXTRA_DIST = $(M4FILES)
include $(top_srcdir)/am/global-rules
dnl -*- autoconf -*-
# Macros needed to find pdelab-exercise2-sol 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 pdelab-exercise2-sol
# This macro should be invoked by every module which depends on pdelab-exercise2-sol, as
# well as by pdelab-exercise2-sol itself
AC_DEFUN([PDELAB_EXERCISE2_SOL_CHECKS])
# Additional checks needed to find pdelab-exercise2-sol
# This macro should be invoked by every module which depends on pdelab-exercise2-sol, but
# not by pdelab-exercise2-sol itself
AC_DEFUN([PDELAB_EXERCISE2_SOL_CHECK_MODULE],
[
DUNE_CHECK_MODULES([pdelab-exercise2-sol],[pdelab_exercise2_sol_dummy.hh])
])
noinst_PROGRAMS =
noinst_HEADERS = \
example02_bcextension.hh \
example02_bctype.hh \
example02_operator.hh \
example02_Q1.hh \
example02b_bctype.hh \
example02b_operator.hh \
example02b_Q1.hh \
example02c_P1.hh
noinst_DATA =
noinst_PROGRAMS += example02
example02_SOURCES = example02.cc
example02_CPPFLAGS = $(AM_CPPFLAGS) \
$(SUPERLU_CPPFLAGS) \
$(DUNEMPICPPFLAGS) \
$(AMIRAMESH_CPPFLAGS) \
$(ALBERTA_CPPFLAGS) \
$(ALUGRID_CPPFLAGS)
example02_LDFLAGS = $(AM_LDFLAGS) \
$(SUPERLU_LDFLAGS) \
$(DUNEMPILDFLAGS) \
$(AMIRAMESH_LDFLAGS) \
$(ALBERTA_LDFLAGS) \
$(ALUGRID_LDFLAGS)
example02_LDADD = \
$(SUPERLU_LIBS) \
$(DUNEMPILIBS) \
$(AMIRAMESH_LIBS) \
$(ALBERTA_LIBS) \
$(ALUGRID_LIBS) \
$(LDADD)
noinst_PROGRAMS += example02b
example02b_SOURCES = example02b.cc
example02b_CPPFLAGS = $(AM_CPPFLAGS) \
$(SUPERLU_CPPFLAGS) \
$(DUNEMPICPPFLAGS) \
$(AMIRAMESH_CPPFLAGS) \
$(ALBERTA_CPPFLAGS) \
$(ALUGRID_CPPFLAGS)
example02b_LDFLAGS = $(AM_LDFLAGS) \
$(SUPERLU_LDFLAGS) \
$(DUNEMPILDFLAGS) \
$(AMIRAMESH_LDFLAGS) \
$(ALBERTA_LDFLAGS) \
$(ALUGRID_LDFLAGS)
example02b_LDADD = \
$(SUPERLU_LIBS) \
$(DUNEMPILIBS) \
$(AMIRAMESH_LIBS) \
$(ALBERTA_LIBS) \
$(ALUGRID_LIBS) \
$(LDADD)
noinst_PROGRAMS += example02c
example02c_SOURCES = example02c.cc
example02c_CPPFLAGS = $(AM_CPPFLAGS) \
$(SUPERLU_CPPFLAGS) \
$(DUNEMPICPPFLAGS) \
$(AMIRAMESH_CPPFLAGS) \
$(ALBERTA_CPPFLAGS) \
$(ALUGRID_CPPFLAGS)
example02c_LDFLAGS = $(AM_LDFLAGS) \
$(SUPERLU_LDFLAGS) \
$(DUNEMPILDFLAGS) \
$(AMIRAMESH_LDFLAGS) \
$(ALBERTA_LDFLAGS) \
$(ALUGRID_LDFLAGS)
example02c_LDADD = \
$(SUPERLU_LIBS) \
$(DUNEMPILIBS) \
$(AMIRAMESH_LIBS) \
$(ALBERTA_LIBS) \
$(ALUGRID_LIBS) \
$(LDADD)
noinst_DATA += \
example02c.geo \
example02c_hole.geo
# don't follow the full GNU-standard
# we need automake 1.5
AUTOMAKE_OPTIONS = foreign 1.5
# pass most important options when "make distcheck" is used
DISTCHECK_CONFIGURE_FLAGS = --with-dune-common=$(DUNE_COMMON_ROOT) --with-dune-grid=$(DUNE_GRID_ROOT) --with-dune-istl=$(DUNE_ISTL_ROOT) --with-dune-localfunctions=$(DUNE_LOCALFUNCTIONS_ROOT) --with-dune-pdelab=$(DUNE_PDELAB_ROOT) CXX="$(CXX)" CC="$(CC)"
include $(top_srcdir)/am/global-rules
CLEANFILES = dgfparser.log q1*.vtu *.vtu *.png
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment