Commit d9835ae8 by Mark Mitchell Committed by Mark Mitchell

Makefile.in (STAMP): New macro.

	* Makefile.in (STAMP): New macro.
	Replace all uses of `touch' with $(STAMP).
	* fixinc/Makefile.in: Likewise.

	* Make-lang.in: Replace all uses of `touch' with $(STAMP).

	* Makefile.in.in (STAMP): New macro.
	Replace all uses of `touch' with $(STAMP).

From-SVN: r42041
parent 64f0ba0a
2001-05-13 Mark Mitchell <mark@codesourcery.com>
* Makefile.in (STAMP): New macro.
Replace all uses of `touch' with $(STAMP).
* fixinc/Makefile.in: Likewise.
Sun May 13 07:26:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* configure.in: ldopen is never in -lexc, so don't test for it.
......
Sun May 13 12:25:06 2001 Mark Mitchell <mark@codesourcery.com>
* Make-lang.in: Replace all uses of `touch' with $(STAMP).
Wed May 2 10:20:08 2001 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* com.c: NULL_PTR -> NULL.
......
......@@ -43,6 +43,12 @@ G77_INSTALL_NAME = `t='$(program_transform_name)'; echo g77 | sed $$t`
# Actual name to use when installing a cross-compiler.
G77_CROSS_NAME = `t='$(program_transform_cross_name)'; echo g77 | sed $$t`
# Some versions of `touch' (such as the version on Solaris 2.8)
# do not correctly set the timestamp due to buggy versions of `utime'
# in the kernel. So, we use `echo' instead.
STAMP = echo timestamp >
#
# Define the names for selecting f77 in LANGUAGES.
# Note that it would be nice to move the dependency on g77
......@@ -62,7 +68,7 @@ F77 f77: f771$(exeext)
g77spec.o: $(srcdir)/f/g77spec.c $(srcdir)/f/version.h $(SYSTEM_H) $(GCC_H) \
$(CONFIG_H)
case "$(LANGUAGES)" in \
*[fF]77*) touch lang-f77;; \
*[fF]77*) $(STAMP) lang-f77;; \
*) rm -f lang-f77;; \
esac
if [ -f lang-f77 ]; then \
......@@ -72,7 +78,7 @@ g77spec.o: $(srcdir)/f/g77spec.c $(srcdir)/f/version.h $(SYSTEM_H) $(GCC_H) \
g77version.o: $(srcdir)/f/version.c
case "$(LANGUAGES)" in \
*[fF]77*) touch lang-f77;; \
*[fF]77*) $(STAMP) lang-f77;; \
*) rm -f lang-f77;; \
esac
if [ -f lang-f77 ]; then \
......@@ -114,7 +120,7 @@ f771$(exeext): $(F77_OBJS) $(BACKEND) $(LIBDEPS)
f/stamp-str: f/str-1t.h f/str-1t.j f/str-2t.h f/str-2t.j \
f/str-fo.h f/str-fo.j f/str-io.h f/str-io.j f/str-nq.h f/str-nq.j \
f/str-op.h f/str-op.j f/str-ot.h f/str-ot.j
touch f/stamp-str
$(STAMP) f/stamp-str
f/str-1t.h f/str-1t.j: f/fini$(build_exeext) f/str-1t.fin
./f/fini$(build_exeext) $(srcdir)/f/str-1t.fin f/str-1t.j f/str-1t.h
......@@ -168,7 +174,7 @@ $(srcdir)/f/g77.info: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
$(srcdir)/f/g77install.texi $(srcdir)/f/news.texi \
$(srcdir)/f/intdoc.texi $(srcdir)/f/root.texi
case "$(LANGUAGES)" in \
*[fF]77*) touch lang-f77;; \
*[fF]77*) $(STAMP) lang-f77;; \
*) rm -f lang-f77;; \
esac
if [ -f lang-f77 ] && [ x$(BUILD_INFO) = xinfo ]; then \
......@@ -181,7 +187,7 @@ f/g77.dvi: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
$(srcdir)/f/g77install.texi $(srcdir)/f/news.texi \
$(srcdir)/f/intdoc.texi $(srcdir)/f/root.texi
case "$(LANGUAGES)" in \
*[fF]77*) touch lang-f77;; \
*[fF]77*) $(STAMP) lang-f77;; \
*) rm -f lang-f77;; \
esac
# `tex2dvi' was used below, but the Texinfo 3.12 one won't work properly
......@@ -264,7 +270,7 @@ f77.install-normal:
# run, since we use libsubdir to store our `flag' file, lang-f77.
f77.install-common: installdirs
case "$(LANGUAGES)" in \
*[fF]77*) touch $(libsubdir)/lang-f77.com;; \
*[fF]77*) $(STAMP) $(libsubdir)/lang-f77.com;; \
*) rm -f $(libsubdir)/lang-f77.com;; \
esac
-if [ -f $(libsubdir)/lang-f77.com -a -f f771$(exeext) ] ; then \
......@@ -295,7 +301,7 @@ f77.install-common: installdirs
# run, since we use libsubdir to store our `flag' file, lang-f77.
f77.install-info: f77.info installdirs
case "$(LANGUAGES)" in \
*[fF]77*) touch $(libsubdir)/lang-f77.info;; \
*[fF]77*) $(STAMP) $(libsubdir)/lang-f77.info;; \
*) rm -f $(libsubdir)/lang-f77.info;; \
esac
if [ -f $(libsubdir)/lang-f77.info -a -f $(srcdir)/f/g77.info ] ; then \
......@@ -318,7 +324,7 @@ f77.install-info: f77.info installdirs
# run, since we use libsubdir to store our `flag' file, lang-f77.
f77.install-man: $(srcdir)/f/g77.1 installdirs
case "$(LANGUAGES)" in \
*[fF]77*) touch $(libsubdir)/lang-f77.man;; \
*[fF]77*) $(STAMP) $(libsubdir)/lang-f77.man;; \
*) rm -f $(libsubdir)/lang-f77.man;; \
esac
-if [ -f $(libsubdir)/lang-f77.man -a -f f771$(exeext) ] ; then \
......@@ -338,7 +344,7 @@ f77.install-man: $(srcdir)/f/g77.1 installdirs
# run, since we use libsubdir to store our `flag' file, lang-f77.
f77.uninstall: installdirs
case "$(LANGUAGES)" in \
*[fF]77*) touch $(libsubdir)/lang-f77.un;; \
*[fF]77*) $(STAMP) $(libsubdir)/lang-f77.un;; \
*) rm -f $(libsubdir)/lang-f77.un;; \
esac
@if [ -f $(libsubdir)/lang-f77.un ] ; then \
......
# Makefile for GNU compilers.
#
# Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
# Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
#This file is part of GNU CC.
......@@ -24,6 +24,11 @@
SHELL=/bin/sh
# Some versions of `touch' (such as the version on Solaris 2.8)
# do not correctly set the timestamp due to buggy versions of `utime'
# in the kernel. So, we use `echo' instead.
STAMP = echo timestamp >
FL_LIST = $(CFLAGS) $(CPPFLAGS) $(WARN_CFLAGS)
FIXINC_DEFS = -DIN_GCC -DHAVE_CONFIG_H $(FL_LIST) $(INCLUDES)
......@@ -80,11 +85,11 @@ twoprocess : test-stamp $(AF)
full-stamp : $(ALLOBJ) $(LIBERTY)
$(CC) $(FIXINC_DEFS) $(LDFLAGS) -o $(FI) $(ALLOBJ) $(LIBERTY)
touch $@
$(STAMP) $@
test-stamp : $(TESTOBJ) $(LIBERTY)
$(CC) $(FIXINC_DEFS) $(LDFLAGS) -o $(FI) $(TESTOBJ) $(LIBERTY)
touch $@
$(STAMP) $@
$(AF): $(FIXOBJ) $(LIBERTY)
$(CC) $(FIXINC_DEFS) $(LDFLAGS) -o $@ $(FIXOBJ) $(LIBERTY)
......
2001-05-13 Mark Mitchell <mark@codesourcery.com>
* Makefile.in.in (STAMP): New macro.
Replace all uses of `touch' with $(STAMP).
2001-05-11 Zack Weinberg <zackw@stanford.edu>
* POTFILES.in: Remove assert.h.
......
......@@ -10,6 +10,7 @@ PACKAGE = @PACKAGE@
VERSION = @VERSION@
SHELL = /bin/sh
STAMP = echo timestamp >
@SET_MAKE@
srcdir = @srcdir@
......@@ -83,7 +84,7 @@ all-yes: $(CATALOGS) @MAINT@ $(srcdir)/cat-id-tbl.c
all-no:
stamp-check-po: $(POTFILES)
touch stamp-check-po
$(STAMP) stamp-check-po
check-po: stamp-check-po
......
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