From 7da17c50ca40f7dc53c79b5c3e94831406f23361 Mon Sep 17 00:00:00 2001 From: Per Fogelstrom Date: Wed, 15 May 1996 07:09:13 +0000 Subject: Catchup of interface changes + prototyping. --- sys/arch/pica/conf/Makefile.pica | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'sys/arch/pica/conf/Makefile.pica') diff --git a/sys/arch/pica/conf/Makefile.pica b/sys/arch/pica/conf/Makefile.pica index 3675b9f7fda..6a3c1965e5c 100644 --- a/sys/arch/pica/conf/Makefile.pica +++ b/sys/arch/pica/conf/Makefile.pica @@ -34,7 +34,7 @@ LD=ld.ok INCLUDES= -I. -I$S/arch -I$S CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dpica -D__NetBSD__ ${GP} \ -mips2 -mcpu=r4000 -CFLAGS= ${DEBUG} -O2 -Werror +CFLAGS= ${DEBUG} -O2 -Werror -mno-abicalls AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE ### find out what to use for libkern @@ -58,6 +58,9 @@ LIBCOMPAT= ${COMPATLIB_PROF} # capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file # is marked as config-dependent. +USRLAND_C= ${CC} ${CFLAGS} -mabicalls ${CPPFLAGS} ${PROF} -c $< +USRLAND_C_C= ${CC} ${CFLAGS} -mabicalls ${CPPFLAGS} ${PROF} ${PARAM} -c $< + NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $< NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $< @@ -143,8 +146,11 @@ in_proto.o: Makefile assym.h: genassym ./genassym >assym.h -genassym: ${PICA}/pica/genassym.c - ${NORMAL_C_C} +genassym: genassym.o + ${CC} -o $@ genassym.o + +genassym.o: ${PICA}/pica/genassym.c + ${USRLAND_C_C} depend: assym.h param.c mkdep ${COPTS} ${CFILES} ioconf.c param.c -- cgit v1.2.3