+Sun Sep 28 15:55:46 1997 Tom Tromey <tromey@cygnus.com>
+
+ * depend.am (MKDEP): Use $(CC), not gcc.
+
Wed Sep 24 23:48:26 1997 Tom Tromey <tromey@cygnus.com>
* Release 1.2b.
should be listed in the @code{BUILT_SOURCES} variable.
@vindex BUILT_SOURCES
-Built sources are also not compiled by default. You must either
-explicitly mention them in some other @samp{_SOURCES} variable for this
-to happen.
+Built sources are also not compiled by default. You must explicitly
+mention them in some other @samp{_SOURCES} variable for this to happen.
Note that, in some cases, @code{BUILT_SOURCES} will work in somewhat
suprising ways. In order to get the built sources to work with
## on GNU make and gcc. It is only included in the generated
## Makefile.in if `automake' is not passed the `--include-deps' flag.
-MKDEP = gcc -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+## We have to use $(CC), not `gcc', even though we do rely on gcc to
+## do dependency tracking. We have to do this because `gcc' is not
+## the real name of the compiler when cross-compiling.
+MKDEP = $(CC) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
## We must create the .deps directory if it doesn't exist. We do it
## in this strange way a buglet in make -- it won't try to create
## on GNU make and gcc. It is only included in the generated
## Makefile.in if `automake' is not passed the `--include-deps' flag.
-MKDEP = gcc -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
+## We have to use $(CC), not `gcc', even though we do rely on gcc to
+## do dependency tracking. We have to do this because `gcc' is not
+## the real name of the compiler when cross-compiling.
+MKDEP = $(CC) -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
## We must create the .deps directory if it doesn't exist. We do it
## in this strange way a buglet in make -- it won't try to create