Home | History | Annotate | Line # | Download | only in boot
      1 #	$NetBSD: Makefile,v 1.2 2024/05/04 07:04:24 skrll Exp $
      2 
      3 #	$OpenBSD: Makefile,v 1.10 2000/05/31 19:56:51 mickey Exp $
      4 
      5 PROG=		boot
      6 PROGSOURCE=	srt0.S boot.c bootinfo.c ct.c conf.c lf.c lif.c tgets.c
      7 NEWVERSWHAT=	"LIF/FFS/LFS Boot"
      8 
      9 NOMAN=		# defined
     10 
     11 CLEANFILES+=	boot.gdb boot.map
     12 
     13 # IODC can handle only 2GB, and need not to use 64bit integer
     14 CPPFLAGS+=	-D__daddr_t=int32_t
     15 
     16 #CPPFLAGS+=	-DEXEC_DEBUG -DPDCDEBUG
     17 #CPPFLAGS+=	-DLIFDEBUG -DDEBUGBUG -DDEBUG
     18 CPPFLAGS+=	-DBOOTARG_APIVER=3
     19 CPPFLAGS+=	-Wmissing-prototypes -Wstrict-prototypes
     20 WARNS=		2
     21 
     22 CPPFLAGS+=	-D__INTERNAL_LIBSA_CREAD -DCOMPAT_UFS
     23 SAMISCMAKEFLAGS+="SA_USE_CREAD=yes"
     24 
     25 .include "../Makefile.buildboot"
     26