Fix make depend target, and add -Werror to CFLAGS.
This commit is contained in:
parent
74def7cfa4
commit
d5363eaabc
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.pica,v 1.2 1996/03/27 11:00:38 jonathan Exp $
|
||||
# $NetBSD: Makefile.pica,v 1.3 1996/03/31 04:34:20 jonathan Exp $
|
||||
|
||||
# @(#)Makefile.pica 8.2 (Berkeley) 2/16/94
|
||||
#
|
||||
|
@ -39,7 +39,7 @@ PICA= ../..
|
|||
|
||||
INCLUDES= -I. -I$S/arch -I$S #-I$S/sys
|
||||
CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dpica -D__NetBSD__ ${GP}
|
||||
CFLAGS= ${DEBUG} -mips2 -mcpu=r4000 # -O2 -Werror
|
||||
CFLAGS= ${DEBUG} -mips2 -mcpu=r4000 -O2 -Werror #-O2 -Werror
|
||||
COPTS= ${CPPFLAGS} ${CFLAGS}
|
||||
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
|
||||
|
||||
|
@ -154,9 +154,12 @@ clock.o machdep.o autoconf.o conf.o: Makefile
|
|||
# depend on network configuration
|
||||
uipc_proto.o vfs_conf.o: Makefile
|
||||
|
||||
depend: assym.h param.c vnode_if.h
|
||||
mkdep ${COPTS} ${CFILES} ioconf.c param.c
|
||||
mkdep -a -p ${INCLUDES} ${IDENT} ${PARAM} ${PICA}/pica/genassym.c
|
||||
depend: .depend
|
||||
.depend: ${SRCS} assym.h param.c
|
||||
mkdep ${AFLAGS} ${CPPFLAGS} ${PMAX}/pmax/locore.S ${PMAX}/pica/fp.S
|
||||
mkdep -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
|
||||
mkdep -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
|
||||
mkdep -a ${CFLAGS} ${CPPFLAGS} ${PARAM} ${PMAX}/pmax/genassym.c
|
||||
|
||||
links:
|
||||
egrep '#if' ${CFILES} | sed -f $S/conf/defines | \
|
||||
|
|
Loading…
Reference in New Issue