1 # $NetBSD: Makefile,v 1.6 2008/02/03 19:58:34 skrll Exp $
3 # $OpenBSD: Makefile,v 1.10 2000/05/31 19:56:51 mickey Exp $
6 PROGSOURCE
= srt0.S boot.c bootinfo.c ct.c conf.c lf.c lif.c tgets.c
7 NEWVERSWHAT
= "LIF/FFS/LFS Boot"
9 CLEANFILES
+= boot.gdb boot.map
11 # IODC can handle only 2GB, and need not to use 64bit integer
12 CPPFLAGS
+= -D__daddr_t
=int32_t
14 #CPPFLAGS+= -DEXEC_DEBUG -DPDCDEBUG
15 #CPPFLAGS+= -DLIFDEBUG -DDEBUGBUG -DDEBUG
16 CPPFLAGS
+= -DBOOTARG_APIVER
=3
17 CPPFLAGS
+= -Wmissing-prototypes
-Wstrict-prototypes
20 CPPFLAGS
+= -D__INTERNAL_LIBSA_CREAD
-DCOMPAT_UFS
21 SAMISCMAKEFLAGS
+="SA_USE_CREAD=yes"
23 .
include "../Makefile.buildboot"