BISON = bison
BISONFLAGS = -v
-SCRIPTS = ldgld68k.script ldgld68kUr.script ldgld68kr.script \
- ldgld.script ldgldUr.script ldgldr.script ldlnk960.script \
- ldlnk960r.script ldgld960.script \
- ldgldm88kbcs.script ldgldm88kbcsUr.script ldgldm88kbcsr.script \
- ldglda29k.script ldglda29kUr.script ldglda29kr.script
+SCRIPTS = ldgld68k.sc ldgld68kUr.sc ldgld68kr.sc \
+ ldgld.sc ldgldUr.sc ldgldr.sc ldlnk960.sc \
+ ldlnk960r.sc ldgld960.sc \
+ ldgldm88kbcs.sc ldgldm88kbcsUr.sc ldgldm88kbcsr.sc \
+ ldglda29k.sc ldglda29kUr.sc ldglda29kr.sc
PROCESSED_SCRIPTS = ldgld68k.x ldgld68kUr.x ldgld68kr.x ldgld.x \
ldgldUr.x ldgldr.x ldlnk960.x ldlnk960r.x ldgld960.x \
CFLAGS = $(INCLUDES) $(DEBUG) $(HDEFINES) $(TDEFINES) $(CDEFINES)
LINTFLAGS = $(INCLUDES) $(EXTRA_DEF)
-.SUFFIXES: .y .x .script $(SUFFIXES)
+.SUFFIXES: .y .x .sc $(SUFFIXES)
# go directly to ld.new in case this ld isn't capable of
# install.
LD_PROG = ld.new
-.script.x:
+.sc.x:
./mkscript < $< >$*.x
# for self hosting
tex ld.tex
mkscript: $(srcdir)/mkscript.c
- $(CC) $(CFLAGS) -o mkscript $(srcdir)/mkscript.c
+ $(CC) $(CFLAGS) $(LDFLAGS) -o mkscript $(srcdir)/mkscript.c $(LOADLIBES)
ldgld.o: $(PROCESSED_SCRIPTS) ldgld.c
ldgram.o: ldgram.c
ldgram.c:ldgram.y
-ldgld68k.x :ldgld68k.script
-ldgld68kUr.x :ldgld68kUr.script
-ldgld68kr.x :ldgld68kr.script
-ldgld.x :ldgld.script
-ldgldUr.x :ldgldUr.script
-ldgldr.x :ldgldr.script
-ldlnk960.x :ldlnk960.script
-ldlnk960r.x :ldlnk960r.script
-ldgld960.x :ldgld960.script
-ldgldm88kbcs.x :ldgldm88kbcs.script
-ldgldm88kbcsUr.x :ldgldm88kbcsUr.script
-ldgldm88kbcsr.x:ldgldm88kbcsr.script
-ldgld68k.x:ldgld68k.script
-ldglda29k.x :ldglda29k.script
-ldglda29kr.x :ldglda29kr.script
-ldglda29kUr.x :ldglda29kUr.script
+ldgld68k.x :ldgld68k.sc
+ldgld68kUr.x :ldgld68kUr.sc
+ldgld68kr.x :ldgld68kr.sc
+ldgld.x :ldgld.sc
+ldgldUr.x :ldgldUr.sc
+ldgldr.x :ldgldr.sc
+ldlnk960.x :ldlnk960.sc
+ldlnk960r.x :ldlnk960r.sc
+ldgld960.x :ldgld960.sc
+ldgldm88kbcs.x :ldgldm88kbcs.sc
+ldgldm88kbcsUr.x :ldgldm88kbcsUr.sc
+ldgldm88kbcsr.x:ldgldm88kbcsr.sc
+ldgld68k.x:ldgld68k.sc
+ldglda29k.x :ldglda29k.sc
+ldglda29kr.x :ldglda29kr.sc
+ldglda29kUr.x :ldglda29kUr.sc
stage1: force
- mkdir stage1
echo Sanitizing `pwd`...
if ( echo $* | grep keep\-v9 > /dev/null ) ; then
- keep_these_too=hmake-sun4-64
+ keep_these_too=h-sun4-64
fi
# All files listed between the "Things-to-keep:" line and the
# with rm -rf.
Things-to-keep:
-hmake-rtbsd
-hmake-dgux
-hmake-sun3
-hmake-sun4
-hmake-dec3100
-tmake-sun4
-tmake-m88k-bcs
-tmake-coff-a29k
+h-rtbsd
+h-dgux
+h-sun3
+h-sun4
+h-dec3100
+t-sun4
+t-m88k-bcs
+t-coff-a29k
Do-last:
echo Done in `pwd`.
#
#
# $Log$
-# Revision 1.4 1991/07/15 23:41:06 steve
+# Revision 1.5 1991/09/03 21:04:24 steve
+# *** empty log message ***
+#
+# Revision 1.4 1991/07/15 23:41:06 steve
# *** empty log message ***
#
# Revision 1.3 1991/06/14 22:11:24 steve
esac
fi
-if [ ! -f config/hmake-${my_host} ] ; then
+if [ ! -f config/h-${my_host} ] ; then
echo '***' The linker do not support host ${host}
exit 1
fi
-host_makefile_frag=config/hmake-${my_host}
+host_makefile_frag=config/h-${my_host}
# per-target:
a29k) my_target=coff-a29k ;;
esac
-target_makefile_frag=config/tmake-${my_target}
+target_makefile_frag=config/t-${my_target}
files=
links=