Subject: Change to src/sys/arch/pmax/conf/Makefile.pmax
To: None <dean@fsa.ca>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 11/21/1994 22:43:38
The following change, relative to NetBSD-Current, changes the template
Makefile.pmax used to build kernel Makefiles to compile with -G0 (as
used by gcc-2.5.8, at least the version I built).  It assumes
locore.s is renamed to locore.S, which I think is the right thing to
do. 

The alternative to the renaming is some hairy rule to preprocess the
.s file; and since officially we don't need to support ECOFF tools, that's
not necessary, and there's no reason not to use a .s suffix.

*** ./src/sys/arch/pmax/conf/Makefile.pmax.DIST	Mon Nov 21 14:40:21 1994
--- ./src/sys/arch/pmax/conf/Makefile.pmax	Mon Nov 21 22:38:03 1994
***************
*** 112,120 ****
  	grep -v '^#' ${PMAX}/pmax/symbols.raw \
  	    | sed 's/^	//' | sort -u > symbols.sort
  
! locore.o: ${PMAX}/pmax/locore.s ${PMAX}/include/machAsmDefs.h \
  	${PMAX}/include/machConst.h ${PMAX}/include/reg.h assym.h
! 	${AS} ${COPTS} ${PARAM} -DLOCORE ${PMAX}/pmax/locore.s -o locore.o
  
  # the following is necessary because autoconf.o depends on #if GENERIC
  autoconf.o: Makefile
--- 112,120 ----
  	grep -v '^#' ${PMAX}/pmax/symbols.raw \
  	    | sed 's/^	//' | sort -u > symbols.sort
  
! locore.o: ${PMAX}/pmax/locore.S ${PMAX}/include/machAsmDefs.h \
  	${PMAX}/include/machConst.h ${PMAX}/include/reg.h assym.h
! 	${AS} ${COPTS} ${PARAM} -DLOCORE ${PMAX}/pmax/locore.S -o locore.o
  
  # the following is necessary because autoconf.o depends on #if GENERIC
  autoconf.o: Makefile