program_transform_name to standard idiom.
(AUTOGEN, AUTOCONF): Define.
(Makefile.in): Use $(AUTOGEN).
(Makefile): Depend on config.status, and use autoconf-style rule to
build it. Move original commands to...
(config.status): ... this new target.
(configure): Add $(srcdir). Depend on config/acx.m4. Use
$(AUTOCONF).
* Makefile.in: Rebuilt.
+2002-12-28 Alexandre Oliva <aoliva@redhat.com>
+
+ * Makefile.tpl ($(NOTPARALLEL)): Move to the end. Bring uses of
+ program_transform_name to standard idiom.
+ (AUTOGEN, AUTOCONF): Define.
+ (Makefile.in): Use $(AUTOGEN).
+ (Makefile): Depend on config.status, and use autoconf-style rule to
+ build it. Move original commands to...
+ (config.status): ... this new target.
+ (configure): Add $(srcdir). Depend on config/acx.m4. Use
+ $(AUTOCONF).
+ * Makefile.in: Rebuilt.
+
2002-12-28 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Fix dramatic bustage due to change in
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-# Tell GNU make 3.79 not to run the top level in parallel. This
-# prevents contention for $builddir/$target/config.cache, as well
-# as minimizing scatter in file system caches.
-NOTPARALLEL = .NOTPARALLEL
-$(NOTPARALLEL):
-
VPATH=@srcdir@
links=@configlinks@
if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
echo $(AS); \
else \
- t='$(program_transform_name)'; echo as | sed -e $$t ; \
+ echo as | sed '$(program_transform_name)' ; \
fi; \
fi`
if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
echo $(LD); \
else \
- t='$(program_transform_name)'; echo ld | sed -e $$t ; \
+ echo ld | sed '$(program_transform_name)' ; \
fi; \
fi`
if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
echo $(DLLTOOL); \
else \
- t='$(program_transform_name)'; echo dlltool | sed -e $$t ; \
+ echo dlltool | sed '$(program_transform_name)' ; \
fi; \
fi`
if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
echo $(WINDRES); \
else \
- t='$(program_transform_name)'; echo windres | sed -e $$t ; \
+ echo windres | sed '$(program_transform_name)' ; \
fi; \
fi`
if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
echo $(AR); \
else \
- t='$(program_transform_name)'; echo ar | sed -e $$t ; \
+ echo ar | sed '$(program_transform_name)' ; \
fi; \
fi`
echo ranlib; \
fi; \
else \
- t='$(program_transform_name)'; echo ranlib | sed -e $$t ; \
+ echo ranlib | sed '$(program_transform_name)' ; \
fi; \
fi`
if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
echo $(NM); \
else \
- t='$(program_transform_name)'; echo nm | sed -e $$t ; \
+ echo nm | sed '$(program_transform_name)' ; \
fi; \
fi`
echo timestamp > multilib.ts
# Rebuilding Makefile.in, using autogen.
+AUTOGEN = autogen
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
- cd $(srcdir) && autogen Makefile.def
+ cd $(srcdir) && $(AUTOGEN) Makefile.def
# Rebuilding Makefile.
-Makefile: Makefile.in configure $(gcc_version_trigger)
+Makefile: $(srcdir)/Makefile.in config.status
+ CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+config.status: configure $(gcc_version_trigger)
$(SHELL) ./config.status --recheck
# Rebuilding configure.
-configure: configure.in
- cd $(srcdir) && autoconf
+AUTOCONF = autoconf
+$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/config/acx.m4
+ cd $(srcdir) && $(AUTOCONF)
#
.NOEXPORT:
MAKEOVERRIDES=
+# Tell GNU make 3.79 not to run the top level in parallel. This
+# prevents contention for $builddir/$target/config.cache, as well
+# as minimizing scatter in file system caches.
+NOTPARALLEL = .NOTPARALLEL
+$(NOTPARALLEL):
+
# end of Makefile.in
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-# Tell GNU make 3.79 not to run the top level in parallel. This
-# prevents contention for $builddir/$target/config.cache, as well
-# as minimizing scatter in file system caches.
-NOTPARALLEL = .NOTPARALLEL
-$(NOTPARALLEL):
-
VPATH=@srcdir@
links=@configlinks@
if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
echo $(AS); \
else \
- t='$(program_transform_name)'; echo as | sed -e $$t ; \
+ echo as | sed '$(program_transform_name)' ; \
fi; \
fi`
if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
echo $(LD); \
else \
- t='$(program_transform_name)'; echo ld | sed -e $$t ; \
+ echo ld | sed '$(program_transform_name)' ; \
fi; \
fi`
if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
echo $(DLLTOOL); \
else \
- t='$(program_transform_name)'; echo dlltool | sed -e $$t ; \
+ echo dlltool | sed '$(program_transform_name)' ; \
fi; \
fi`
if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
echo $(WINDRES); \
else \
- t='$(program_transform_name)'; echo windres | sed -e $$t ; \
+ echo windres | sed '$(program_transform_name)' ; \
fi; \
fi`
if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
echo $(AR); \
else \
- t='$(program_transform_name)'; echo ar | sed -e $$t ; \
+ echo ar | sed '$(program_transform_name)' ; \
fi; \
fi`
echo ranlib; \
fi; \
else \
- t='$(program_transform_name)'; echo ranlib | sed -e $$t ; \
+ echo ranlib | sed '$(program_transform_name)' ; \
fi; \
fi`
if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
echo $(NM); \
else \
- t='$(program_transform_name)'; echo nm | sed -e $$t ; \
+ echo nm | sed '$(program_transform_name)' ; \
fi; \
fi`
echo timestamp > multilib.ts
# Rebuilding Makefile.in, using autogen.
+AUTOGEN = autogen
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
- cd $(srcdir) && autogen Makefile.def
+ cd $(srcdir) && $(AUTOGEN) Makefile.def
# Rebuilding Makefile.
-Makefile: Makefile.in configure $(gcc_version_trigger)
+Makefile: $(srcdir)/Makefile.in config.status
+ CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+config.status: configure $(gcc_version_trigger)
$(SHELL) ./config.status --recheck
# Rebuilding configure.
-configure: configure.in
- cd $(srcdir) && autoconf
+AUTOCONF = autoconf
+$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/config/acx.m4
+ cd $(srcdir) && $(AUTOCONF)
#
.NOEXPORT:
MAKEOVERRIDES=
+# Tell GNU make 3.79 not to run the top level in parallel. This
+# prevents contention for $builddir/$target/config.cache, as well
+# as minimizing scatter in file system caches.
+NOTPARALLEL = .NOTPARALLEL
+$(NOTPARALLEL):
+
# end of Makefile.in