summaryrefslogtreecommitdiff
path: root/sys/arch/pica/conf/Makefile.pica
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-05-15 07:09:13 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-05-15 07:09:13 +0000
commit7da17c50ca40f7dc53c79b5c3e94831406f23361 (patch)
treed3af201e52a6df2d4e87f484b48c5f71d864ac64 /sys/arch/pica/conf/Makefile.pica
parent9b817d7486b3414e301bb5234522a769ce9e9a97 (diff)
Catchup of interface changes + prototyping.
Diffstat (limited to 'sys/arch/pica/conf/Makefile.pica')
-rw-r--r--sys/arch/pica/conf/Makefile.pica12
1 files changed, 9 insertions, 3 deletions
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