diff --git a/sys/arch/next68k/stand/boot/Makefile b/sys/arch/next68k/stand/boot/Makefile index 87f9eda32011..2a2b8511abc8 100644 --- a/sys/arch/next68k/stand/boot/Makefile +++ b/sys/arch/next68k/stand/boot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1998/07/19 21:41:17 dbj Exp $ +# $NetBSD: Makefile,v 1.4 1998/08/28 22:50:54 dbj Exp $ S= ${.CURDIR}/../../../.. @@ -24,7 +24,11 @@ RELOC= 4380000 INCLUDES+= -I${.CURDIR} -I${.CURDIR}/obj.${MACHINE} -I${S}/arch -I${S} -I${S}/lib/libsa -I${S}/lib/libkern DEFS+= -D_STANDALONE -DMC68040 -DSUPPORT_BOOTP -DSUPPORT_DHCP -DDEBUG # -DEN_DEBUG -DNETIF_DEBUG # -DSD_DEBUG -DSCSI_DEBUG SAMISCCPPFLAGS= -DSUPPORT_DHCP -DSUPPORT_BOOTP -DINSECURE # -DBOOTP_DEBUG -DETHER_DEBUG -DNET_DEBUG # -DNETIF_DEBUG -DNFS_DEBUG -DARP_DEBUG +.if defined(USE_EGCS) COPTS+= -Wall -Wno-main +.else +COPTS+= -Wall +.endif CFLAGS+= -nostdinc ${INCLUDES} ${DEFS} LIBCRT0=