[comp.bugs.4bsd] Archaic kludge in src/lib/libc/gen/Makefile

wesommer@bloom-beacon.UUCP (06/14/87)

The unportable kludge once used to make the text of strings in
sys_errlst read-only and shared is unnecessary; the compiler now
supports a better way to do this (-R), so it's possible to de-kludge
the Makefile in /src/lib/libc/gen.

/src/lib/libc/gen/:errfix (the ed script) can also be deleted, since
it's no longer necessary.

					Bill Sommerfeld
					wesommer@athena.mit.edu
					...!mit-eddie!wesommer

*** Makefile.old	Sun Jun 14 00:16:53 1987
--- Makefile	Sun Jun 14 00:09:14 1987
***************
*** 62,70 ****
  	@ar cru genlib ${OBJS}
  
  errlst.o: errlst.c
! 	cc -S ${DEFS} errlst.c
! 	ed - <:errfix errlst.s
! 	as -o errlst.o errlst.s
  	cp errlst.o profiled/errlst.o
  	rm errlst.s
  
--- 62,68 ----
  	@ar cru genlib ${OBJS}
  
  errlst.o: errlst.c
! 	cc -c -R ${DEFS} errlst.c
  	cp errlst.o profiled/errlst.o
  	rm errlst.s