Skip to content
Snippets Groups Projects
Commit 535ebe0f authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Include all Makefile's into AC_CONFIG_FILES(), otherwise "make

distclean" doesn't work anymore.
parent fb4e158f
No related branches found
No related tags found
No related merge requests found
# #
# enable building of $1$2 library (DIM/DIM_OF_WORLD) # enable building of $1$2 library (DIM/DIM_OF_WORLD)
# #
#
# NOTE: it is a bad idea to remove the unneeded Makefiles from the
# config-files, it breaks "make distclean"
#
AC_DEFUN([ALBERTA_DIMENSION_ENABLE], AC_DEFUN([ALBERTA_DIMENSION_ENABLE],
[SIMPLE_ENABLE_FLAG([alberta-$1$2], [SIMPLE_ENABLE_FLAG([alberta-$1$2],
[enable building of an ALBERTA library for parametric Finite Elements [enable building of an ALBERTA library for parametric Finite Elements
of dimension $1 where the surrounding space has dimension $2.], 0) of dimension $1 where the surrounding space has dimension $2.], 0)
if test "$ALBERTA_$1$2" -eq 1; then if test "$ALBERTA_$1$2" -eq 1; then
AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$2_0/Makefile]) AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$2_0/Makefile])
if test "$DEBUG" -eq 1; then dnl if test "$DEBUG" -eq 1; then
AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$2_1/Makefile]) AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$2_1/Makefile])
fi dnl fi
if test "$EL_INDEX" -eq 1; then dnl if test "$EL_INDEX" -eq 1; then
AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$2_01/Makefile]) AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$2_01/Makefile])
fi dnl fi
if test "$DEBUG" -eq 1 -a "$EL_INDEX" -eq 1; then dnl if test "$DEBUG" -eq 1 -a "$EL_INDEX" -eq 1; then
AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$2_11/Makefile]) AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$2_11/Makefile])
fi dnl fi
fi fi
]) ])
AC_DEFUN([ALBERTA_DIMENSION_DISABLE], AC_DEFUN([ALBERTA_DIMENSION_DISABLE],
...@@ -23,14 +27,14 @@ AC_DEFUN([ALBERTA_DIMENSION_DISABLE], ...@@ -23,14 +27,14 @@ AC_DEFUN([ALBERTA_DIMENSION_DISABLE],
[disable building of an ALBERTA library for Finite Elements of dimension $1.], 1) [disable building of an ALBERTA library for Finite Elements of dimension $1.], 1)
if test "$ALBERTA_$1$1" -eq 1; then if test "$ALBERTA_$1$1" -eq 1; then
AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$1_0/Makefile]) AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$1_0/Makefile])
if test "$DEBUG" -eq 1; then dnl if test "$DEBUG" -eq 1; then
AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$1_1/Makefile]) AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$1_1/Makefile])
fi dnl fi
if test "$EL_INDEX" -eq 1; then dnl if test "$EL_INDEX" -eq 1; then
AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$1_01/Makefile]) AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$1_01/Makefile])
fi dnl fi
if test "$DEBUG" -eq 1 -a "$EL_INDEX" -eq 1; then dnl if test "$DEBUG" -eq 1 -a "$EL_INDEX" -eq 1; then
AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$1_11/Makefile]) AC_CONFIG_FILES([ALBERTA/src/ALBERTA$1$1_11/Makefile])
fi dnl fi
fi fi
]) ])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment