use ed instead of ex. the script to use is identical, and we might

want to switch back to using ex when our ex supports -.
This commit is contained in:
cgd 1993-04-29 03:27:39 +00:00
parent 0b48d59355
commit f49a375e07
1 changed files with 5 additions and 10 deletions

View File

@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# @(#)Makefile.i386 7.1 5/10/91
# Makefile for 4.3 BSD-Reno
# Makefile for NetBSD
#
# This makefile is constructed from a machine description:
# config machineid
@ -18,14 +18,6 @@
# -DTRACE compile in kernel tracing hooks
# -DQUOTA compile in file system quotas
#
# PATCHES MAGIC LEVEL PATCH THAT GOT US HERE
# -------------------- ----- ----------------------
# CURRENT PATCH LEVEL: 1 00001
# -------------------- ----- ----------------------
#
# 29 Jun 92 Chris G. Demetriou Fix vers.o for kernel profiling and
# plain old link
#
TOUCH= touch -f -c
LD= /usr/bin/ld
CC= cc
@ -50,9 +42,12 @@ SYSTEM_LD_HEAD= @echo loading $@; rm -f $@
SYSTEM_LD= @${LD} -z -T FE000000 -o $@ -X vers.o ${SYSTEM_OBJS}
SYSTEM_LD_TAIL= @echo rearranging symbols; symorder symbols.sort $@; /usr/sbin/dbsym $@ || true; size $@; chmod 755 $@
# (XXX) ok, this is weird. but we've got a working ed, and a broken ex, and
# the script is identical for either... -- cgd
#
GPROF.EX= /usr/src/lib/csu.i386/gprof.ex
PROFILE_C= ${CC} -S -c ${CFLAGS} $< ; \
ex - $*.s < ${GPROF.EX} ; \
ed - $*.s < ${GPROF.EX} ; \
${AS} -o $@ $*.s ; \
rm -f $*.s