(@pxref{Java}) use @code{JAVACFLAGS} and @code{AM_JAVACFLAGS}. None
of these rules support per-target flags (yet).
- However you should not think that all variables ending with @code{FLAGS}
- follow this convention. For instance, @code{ACLOCAL_AMFLAGS} (see
- @ref{Rebuilding} and @ref{Local Macros}) is a variable that is only
- useful to the maintainer and has no user counterpart.
-To some extent, even @code{AM_MAKEFLAGS} (@pxref{Subdirectories})
-obeys this naming scheme. The slight difference is that
-@code{MAKEFLAGS} is passed to sub-@command{make}s implicitly by
-@command{make} itself.
--
@code{ARFLAGS} (@pxref{A Library}) is usually defined by Automake and
has neither @code{AM_} nor per-target cousin.
## aclocal.m4 too. Changing configure.ac, or any file included by
## aclocal.m4 might require adding more files to aclocal.m4. Hence
## the $(am__configure_deps) dependency.
+ ## We still need $(ACLOCAL_AMFLAGS) for sake of backward-compatibility;
+ ## we should hopefully be able to get rid of it in a not-so-distant
+ ## future.
if %?REGEN-ACLOCAL-M4%
$(ACLOCAL_M4): %MAINTAINER-MODE% $(am__aclocal_m4_deps)
-?TOPDIR_P? $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-?!TOPDIR_P? cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+?TOPDIR_P? cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+?!TOPDIR_P? cd $(top_builddir) && $(MAKE) .am/nil
## Avoid the "deleted header file" problem for the dependencies.
$(am__aclocal_m4_deps):
magic2=__MagicStringTwo__
magic3=%%MagicStringThree%%
-if using_gmake; then
- remake="$MAKE nil"
-else
- remake="$MAKE Makefile"
-fi
+remake="$MAKE nil"
cat >> configure.ac <<END
+ AC_CONFIG_MACRO_DIR([m4])
FINGERPRINT='my_fingerprint'
AC_SUBST([FINGERPRINT])
AC_OUTPUT
}
EOF
- $ACLOCAL -I m4
+cp "$am_scriptdir"/compile .
+
+ $ACLOCAL
$AUTOCONF
$AUTOMAKE -Wno-override