Commit 5ff20a9b by Jeffrey A Law Committed by Jeff Law

Make-lang.in: Add several "else true" clauses to deal with lame systems.

        * Make-lang.in: Add several "else true" clauses to deal with lame
        systems.

From-SVN: r21834
parent ec35104c
Tue Aug 18 21:41:31 1998 Jeffrey A Law (law@cygnus.com)
* Make-lang.in: Add several "else true" clauses to deal with lame
systems.
Sat Jun 27 12:18:33 1998 Jeffrey A Law (law@cygnus.com) Sat Jun 27 12:18:33 1998 Jeffrey A Law (law@cygnus.com)
* Make-lang.in (g77): Depend on mkstemp.o. Link in mkstemp.o. * Make-lang.in (g77): Depend on mkstemp.o. Link in mkstemp.o.
......
...@@ -67,7 +67,7 @@ g77.c: $(srcdir)/gcc.c ...@@ -67,7 +67,7 @@ g77.c: $(srcdir)/gcc.c
if [ -f lang-f77 ]; then \ if [ -f lang-f77 ]; then \
rm -f g77.c; \ rm -f g77.c; \
$(LN_S) $(srcdir)/gcc.c g77.c; \ $(LN_S) $(srcdir)/gcc.c g77.c; \
fi else true; fi
g77spec.o: $(srcdir)/f/g77spec.c $(srcdir)/f/version.h g77spec.o: $(srcdir)/f/g77spec.c $(srcdir)/f/version.h
case "$(LANGUAGES)" in \ case "$(LANGUAGES)" in \
...@@ -76,7 +76,7 @@ g77spec.o: $(srcdir)/f/g77spec.c $(srcdir)/f/version.h ...@@ -76,7 +76,7 @@ g77spec.o: $(srcdir)/f/g77spec.c $(srcdir)/f/version.h
esac esac
if [ -f lang-f77 ]; then \ if [ -f lang-f77 ]; then \
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/f/g77spec.c; \ $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/f/g77spec.c; \
fi else true; fi
g77version.o: $(srcdir)/f/version.c g77version.o: $(srcdir)/f/version.c
case "$(LANGUAGES)" in \ case "$(LANGUAGES)" in \
...@@ -86,7 +86,7 @@ g77version.o: $(srcdir)/f/version.c ...@@ -86,7 +86,7 @@ g77version.o: $(srcdir)/f/version.c
if [ -f lang-f77 ]; then \ if [ -f lang-f77 ]; then \
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -o g77version.o \ $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -o g77version.o \
$(srcdir)/f/version.c; \ $(srcdir)/f/version.c; \
fi else true; fi
# N.B.: This is a copy of the gcc.o rule, with -DLANG_SPECIFIC_DRIVER added. # N.B.: This is a copy of the gcc.o rule, with -DLANG_SPECIFIC_DRIVER added.
# It'd be nice if we could find an easier way to do this---rather than have # It'd be nice if we could find an easier way to do this---rather than have
...@@ -100,7 +100,7 @@ g77.o: $(CONFIG_H) multilib.h config.status $(lang_specs_files) g77.c ...@@ -100,7 +100,7 @@ g77.o: $(CONFIG_H) multilib.h config.status $(lang_specs_files) g77.c
if [ -f lang-f77 ]; then \ if [ -f lang-f77 ]; then \
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(DRIVER_DEFINES) \ $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(DRIVER_DEFINES) \
-DLANG_SPECIFIC_DRIVER -c g77.c; \ -DLANG_SPECIFIC_DRIVER -c g77.c; \
fi else true; fi
# Create the compiler driver for g77. # Create the compiler driver for g77.
g77$(exeext): g77.o g77spec.o g77version.o version.o choose-temp.o pexecute.o prefix.o mkstemp.o \ g77$(exeext): g77.o g77spec.o g77version.o version.o choose-temp.o pexecute.o prefix.o mkstemp.o \
...@@ -108,14 +108,14 @@ g77$(exeext): g77.o g77spec.o g77version.o version.o choose-temp.o pexecute.o pr ...@@ -108,14 +108,14 @@ g77$(exeext): g77.o g77spec.o g77version.o version.o choose-temp.o pexecute.o pr
if [ -f lang-f77 ]; then \ if [ -f lang-f77 ]; then \
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ g77.o g77spec.o g77version.o \ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ g77.o g77spec.o g77version.o \
version.o choose-temp.o pexecute.o prefix.o mkstemp.o $(EXTRA_GCC_OBJS) $(LIBS); \ version.o choose-temp.o pexecute.o prefix.o mkstemp.o $(EXTRA_GCC_OBJS) $(LIBS); \
fi else true; fi
# Create a version of the g77 driver which calls the cross-compiler. # Create a version of the g77 driver which calls the cross-compiler.
g77-cross$(exeext): g77$(exeext) g77-cross$(exeext): g77$(exeext)
if [ -f lang-f77 ]; then \ if [ -f lang-f77 ]; then \
rm -f g77-cross$(exeext); \ rm -f g77-cross$(exeext); \
cp g77$(exeext) g77-cross$(exeext); \ cp g77$(exeext) g77-cross$(exeext); \
fi else true; fi
F77_SRCS = \ F77_SRCS = \
$(srcdir)/f/assert.j \ $(srcdir)/f/assert.j \
...@@ -252,7 +252,7 @@ f/g77.info: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \ ...@@ -252,7 +252,7 @@ f/g77.info: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
if [ -f lang-f77 ]; then \ if [ -f lang-f77 ]; then \
rm -f $(srcdir)/f/g77.info-*; \ rm -f $(srcdir)/f/g77.info-*; \
$(MAKEINFO) -I$(srcdir)/f -o f/g77.info $(srcdir)/f/g77.texi; \ $(MAKEINFO) -I$(srcdir)/f -o f/g77.info $(srcdir)/f/g77.texi; \
fi else true; fi
f/g77.dvi: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \ f/g77.dvi: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
$(srcdir)/f/g77install.texi $(srcdir)/f/news.texi \ $(srcdir)/f/g77install.texi $(srcdir)/f/news.texi \
...@@ -270,7 +270,7 @@ f/g77.dvi: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \ ...@@ -270,7 +270,7 @@ f/g77.dvi: $(srcdir)/f/g77.texi $(srcdir)/f/bugs.texi \
texindex g77.??; \ texindex g77.??; \
TEXINPUTS=$(srcdir)/f:$$TEXINPUTS tex $(srcdir)/f/g77.texi; \ TEXINPUTS=$(srcdir)/f:$$TEXINPUTS tex $(srcdir)/f/g77.texi; \
mv g77.dvi f; \ mv g77.dvi f; \
fi else true; fi
# This dance is all about producing accurate documentation for g77's # This dance is all about producing accurate documentation for g77's
# intrinsics with minimum fuss. f/ansify appends "\n\" to C strings # intrinsics with minimum fuss. f/ansify appends "\n\" to C strings
...@@ -304,7 +304,7 @@ $(srcdir)/f/intdoc.texi: f/intdoc.c f/intdoc.in f/ansify.c f/intrin.def f/intrin ...@@ -304,7 +304,7 @@ $(srcdir)/f/intdoc.texi: f/intdoc.c f/intdoc.in f/ansify.c f/intrin.def f/intrin
`echo $(srcdir)/f/intdoc.c | sed 's,^\./,,'` -o f/intdoc; \ `echo $(srcdir)/f/intdoc.c | sed 's,^\./,,'` -o f/intdoc; \
f/intdoc > $(srcdir)/f/intdoc.texi; \ f/intdoc > $(srcdir)/f/intdoc.texi; \
rm f/intdoc f/ansify f/intdoc.h0; \ rm f/intdoc f/ansify f/intdoc.h0; \
fi else true; fi
$(srcdir)/f/BUGS: f/bugs0.texi f/bugs.texi $(srcdir)/f/BUGS: f/bugs0.texi f/bugs.texi
cd $(srcdir)/f; $(MAKEINFO) -D BUGSONLY --no-header --no-split \ cd $(srcdir)/f; $(MAKEINFO) -D BUGSONLY --no-header --no-split \
...@@ -369,7 +369,7 @@ f77.install-info: f77.info ...@@ -369,7 +369,7 @@ f77.install-info: f77.info
$(INSTALL_DATA) $$f $(infodir)/$$realfile; \ $(INSTALL_DATA) $$f $(infodir)/$$realfile; \
done; \ done; \
chmod a-x $(infodir)/g77.info*; \ chmod a-x $(infodir)/g77.info*; \
fi else true; fi
@if [ -f lang-f77 -a -f $(srcdir)/f/g77.info ] ; then \ @if [ -f lang-f77 -a -f $(srcdir)/f/g77.info ] ; then \
if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
echo " install-info --info-dir=$(infodir) $(infodir)/g77.info"; \ echo " install-info --info-dir=$(infodir) $(infodir)/g77.info"; \
......
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