Commit 591d79e7 authored by Ansgar Burchardt's avatar Ansgar Burchardt

Remove autotools files.

parent adca8876
SUBDIRS = doc grids
GRIDTYPE=YASPGRID
GRIDDIM=2
examplesdir=$(datadir)/doc/dune-grid-howto/examples
examples_HEADERS = elementdata.hh parfvdatahandle.hh \
evolve.hh transportproblem2.hh \
finitevolumeadapt.hh transportproblem.hh unitcube_yaspgrid.hh \
functors.hh unitcube_albertagrid.hh vertexdata.hh \
initialize.hh unitcube_alugrid.hh vtkout.hh integrateentity.hh \
unitcube.hh parevolve.hh basicunitcube.hh \
shapefunctions.hh
examples_PROGRAMS = gettingstarted traversal integration othergrids\
adaptiveintegration finitevolume adaptivefinitevolume parfinitevolume\
visualization finiteelements
examples_DATA = gettingstarted.cc traversal.cc integration.cc othergrids.cc \
adaptiveintegration.cc finitevolume.cc adaptivefinitevolume.cc \
parfinitevolume.cc visualization.cc finiteelements.cc
# The directory where the example grid files used for the examples are located
AM_CPPFLAGS+=-DDUNE_GRID_HOWTO_EXAMPLE_GRIDS_PATH=\"$(top_srcdir)/grids/\"
#
## define the programs
#
gettingstarted_SOURCES = gettingstarted.cc
gettingstarted_CXXFLAGS = $(DUNEMPICPPFLAGS) $(ALL_PKG_CPPFLAGS)
gettingstarted_LDADD = $(DUNE_LDFLAGS) $(DUNE_LIBS) $(ALL_PKG_LDFLAGS) $(ALL_PKG_LIBS) $(DUNEMPILDFLAGS) $(DUNEMPILIBS)
traversal_SOURCES = traversal.cc
traversal_CXXFLAGS = $(DUNEMPICPPFLAGS) $(ALL_PKG_CPPFLAGS)
traversal_LDADD = $(DUNE_LDFLAGS) $(DUNE_LIBS) $(ALL_PKG_LDFLAGS) $(ALL_PKG_LIBS) $(DUNEMPILDFLAGS) $(DUNEMPILIBS)
integration_SOURCES = integration.cc
integration_CXXFLAGS = $(DUNEMPICPPFLAGS) $(ALL_PKG_CPPFLAGS)
integration_LDADD = $(DUNE_LDFLAGS) $(DUNE_LIBS) $(ALL_PKG_LDFLAGS) $(ALL_PKG_LIBS) $(DUNEMPILDFLAGS) $(DUNEMPILIBS)
othergrids_SOURCES = othergrids.cc
othergrids_CXXFLAGS = $(DUNEMPICPPFLAGS) $(ALL_PKG_CPPFLAGS)
othergrids_LDADD = $(DUNE_LDFLAGS) $(DUNE_LIBS) $(ALL_PKG_LDFLAGS) $(ALL_PKG_LIBS) $(DUNEMPILDFLAGS) $(DUNEMPILIBS)
adaptiveintegration_SOURCES = adaptiveintegration.cc
adaptiveintegration_CXXFLAGS = $(DUNEMPICPPFLAGS) $(ALL_PKG_CPPFLAGS)
adaptiveintegration_LDADD = $(DUNE_LDFLAGS) $(DUNE_LIBS) $(ALL_PKG_LDFLAGS) $(ALL_PKG_LIBS) $(DUNEMPILDFLAGS) $(DUNEMPILIBS)
finitevolume_SOURCES = finitevolume.cc
finitevolume_CXXFLAGS = $(DUNEMPICPPFLAGS) $(ALL_PKG_CPPFLAGS)
finitevolume_LDADD = $(DUNE_LDFLAGS) $(DUNE_LIBS) $(ALL_PKG_LDFLAGS) $(ALL_PKG_LIBS) $(DUNEMPILDFLAGS) $(DUNEMPILIBS)
adaptivefinitevolume_SOURCES = adaptivefinitevolume.cc
adaptivefinitevolume_CXXFLAGS = $(DUNEMPICPPFLAGS) $(ALL_PKG_CPPFLAGS)
adaptivefinitevolume_LDADD = $(DUNE_LDFLAGS) $(DUNE_LIBS) $(ALL_PKG_LDFLAGS) $(ALL_PKG_LIBS) $(DUNEMPILDFLAGS) $(DUNEMPILIBS)
parfinitevolume_SOURCES = parfinitevolume.cc
parfinitevolume_CXXFLAGS = $(DUNEMPICPPFLAGS) $(ALL_PKG_CPPFLAGS)
parfinitevolume_LDADD = $(DUNE_LDFLAGS) $(DUNE_LIBS) $(ALL_PKG_LDFLAGS) $(ALL_PKG_LIBS) $(DUNEMPILDFLAGS) $(DUNEMPILIBS)
visualization_SOURCES = visualization.cc
visualization_CXXFLAGS = $(DUNEMPICPPFLAGS) $(ALL_PKG_CPPFLAGS)
visualization_LDADD = $(DUNE_LDFLAGS) $(DUNE_LIBS) $(ALL_PKG_LDFLAGS) $(ALL_PKG_LIBS) $(DUNEMPILDFLAGS) $(DUNEMPILIBS)
finiteelements_SOURCES = finiteelements.cc
finiteelements_CXXFLAGS = $(DUNEMPICPPFLAGS) $(ALL_PKG_CPPFLAGS)
finiteelements_LDADD = $(DUNE_LDFLAGS) $(DUNE_LIBS) $(ALL_PKG_LDFLAGS) $(ALL_PKG_LIBS) $(DUNEMPILDFLAGS) $(DUNEMPILIBS)
# don't follow the full GNU-standard
# we need automake 1.9 or newer
AUTOMAKE_OPTIONS = foreign 1.9
# we need the module file to be able to build via dunecontrol
EXTRA_DIST= CMakeLists.txt dune.module
# 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-disc="$(DUNE_DISC_ROOT)" CXX="$(CXX)" CC="$(CC)" --enable-parallel=@ENABLE_PARALLEL@ MPICC="$(MPICC)" --disable-documentation
include $(top_srcdir)/am/top-rules
include $(top_srcdir)/am/global-rules
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
DUNE_AC_INIT # gets module version from dune.module file
AC_CONFIG_SRCDIR([./gettingstarted.cc])
AC_CONFIG_HEADERS([config.h])
AC_CHECK_PROGS([TEX], [latex], [true])
AC_CHECK_PROGS([BIBTEX], [bibtex], [true])
AC_CHECK_PROGS([DVIPDF], [dvipdf], [true])
AC_CHECK_PROGS([DVIPS], [dvips], [true])
AC_CHECK_PROGS([WML], [wml], [true])
AM_CONDITIONAL([WML], [test "x$WML" != xtrue])
AC_CHECK_PROGS([TEX4HT], [tex4ht], [true])
AC_CHECK_PROGS([MK4HT], [mk4ht], [true])
AC_CHECK_PROGS([T4HT], [t4ht], [true])
AM_CONDITIONAL([TEX4HT], [test "x$TEX4HT" != xtrue])
AC_CHECK_PROGS([CONVERT], [convert], [false])
AM_CONDITIONAL([CONVERT], [test "x$CONVERT" != xfalse])
# special variable to include the documentation into the website
AC_ARG_WITH(duneweb,
AC_HELP_STRING([--with-duneweb=PATH],[Only needed for website-generation, path to checked out version of dune-web]))
if test x$with_duneweb != x ; then
# parameter is set. Check it
AC_MSG_CHECKING([whether passed Dune-Web directory appears correct])
WEBTESTFILE="$with_duneweb/layout/default.wml"
if test -d "$with_duneweb" && test -e "$WEBTESTFILE" ; then
AC_MSG_RESULT([ok])
# normalize path
with_duneweb=`(cd $with_duneweb && pwd)` ;
else
if test -d "$with_duneweb" ; then
AC_MSG_ERROR([$WEBTESTFILE not found in Dune-web dir $with_duneweb!])
else
AC_MSG_ERROR([Dune-Web directory $with_duneweb not found!])
fi
fi
fi
AC_SUBST(DUNEWEBDIR, $with_duneweb)
# check all dune-module stuff
DUNE_CHECK_ALL
# preset variable to path such that #include <dune/...> works
AC_SUBST(AM_CPPFLAGS, '$(DUNE_CPPFLAGS) -I$(top_srcdir)')
# write output
AC_CONFIG_FILES([Makefile
doc/Makefile
doc/config.inc
grids/Makefile
dune-grid-howto.pc])
AC_OUTPUT
DUNE_SUMMARY_ALL
EPS_FILES = EPS/adaptiveintegration_alberta2d.eps EPS/adaptiveintegration_ug3d.eps \
EPS/alberta2d.eps EPS/alberta2d-view1.eps EPS/alberta2d-view2.eps EPS/alberta3d.eps \
EPS/alucube3d.eps EPS/alusimplex3d.eps EPS/conc.eps EPS/fem2d.eps EPS/fem3d.eps EPS/iso.eps EPS/ug2dquad-view1.eps \
EPS/ug2dquad-view2.eps EPS/ug2dtri-view1.eps EPS/ug2dtri-view2.eps EPS/ugcube2d.eps \
EPS/ugcube3d.eps EPS/ugsimplex2d.eps EPS/ugsimplex3d.eps EPS/yasp3d.eps
MAINDOCS = grid-howto.pdf
if WML
DOCSOURCE = grid-howto.tex navigation.html css.html
HTDOCS = navigation.html css.html
if TEX4HT
# HTDOCS += grid-howto.html
endif
endif
if BUILD_DOCS
if CONVERT
DOCFILES = $(HTDOCS) $(MAINDOCS) $(WMLDOCS)
endif
endif
EXTRA_DIST = CMakeLists.txt $(DOCFILES) grid-howto.tex $(EPS_FILES)
# setting like in dune-web
BASEDIR=../..
CURDIR=doc/grid-howto
docdir=$(datadir)/doc/dune-grid-howto
EXTRAINSTALL = grid-howto.pdf grid-howto*.html *.png *.css
CLEANFILES = *.aux *.bbl *.blg *.log *.out *.toc *.dvi *.pdf *.ps
CLEANFILES += *.4ct *.4tc *.css *.idv *.idx *.ilg *.lg *.tid *.tmp *.tms *.xref
CLEANFILES += grid-howto*.html grid-howto*.png navigation.html config.tex
CLEANFILES += $(DOCS)
if CONVERT
CLEANFILES += $(EPS_FILES)
%.eps: $(srcdir)/%.jpg
$(CONVERT) $< $@
EPS/%.eps: $(srcdir)/EPS/%.jpg
$(MKDIR_P) $(builddir)/EPS
$(CONVERT) $< $@
grid-howto.tex: $(EPS_FILES)
endif
if WML
if TEX4HT
grid-howto.html: $(DOCSOURCE) dune.cfg tex4ht.env
$(MAKE) grid-howto.dvi
$(MK4HT) htlatex grid-howto.tex "dune"; \
$(MK4HT) htlatex grid-howto.tex "dune"; \
$(T4HT) grid-howto.tex
$(TEX) grid-howto.tex
endif
endif
# if dune-web is not used, we don't have any navigation to include
# create dummy file.
# depend on Makefile to make sure the file is recreated
# after enabling to dune-web
navigation.html: Makefile
if DUNEWEB
else
navigation.html:
echo > navigation.html
endif
EXTRA_TEXINPUTS:=$(top_srcdir)
include $(top_srcdir)/am/global-rules
include $(top_srcdir)/am/webstuff
include $(top_srcdir)/am/latex
grid_DATA = 2dgrid.al 2dsimplex.alu 3dgrid.al\
unitcube1.dgf unitcube2.dgf unitcube3.dgf
EXTRA_DIST = ${grid_DATA} CMakeLists.txt
griddir = $(datadir)/doc/dune-grid-howto/examples/grids
include $(top_srcdir)/am/global-rules
Subversion is used for revision control. The repository is located at
'https://svn.dune-project.org/svn/dune-grid-howto'.
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