1 # $NetBSD: Makefile,v 1.12 2009/03/20 13:59:49 tsutsui Exp $
3 S
= ${.CURDIR
}/..
/..
/..
/..
8 CFLAGS
+= -Wmissing-prototypes
-Wstrict-prototypes
-Wpointer-arith
10 CPPFLAGS
+= -D_STANDALONE
11 CPPFLAGS
+= -nostdinc
-I
${.OBJDIR
} -I
${S} -I.
12 CPPFLAGS
+= -D__daddr_t
=int32_t
15 .
include <bsd.klinks.mk
>
16 .
include <bsd.prog.mk
>
18 ### find out what to use for libkern
20 .
include "${S}/lib/libkern/Makefile.inc"
23 ### find out what to use for libz
25 .
include "${S}/lib/libz/Makefile.inc"
28 ### find out what to use for libsa
30 SAMISCMAKEFLAGS
= SA_USE_CREAD
=yes SA_USE_LOADFILE
=yes SA_EXTRADIR
=${.CURDIR
}
31 .
include "${S}/lib/libsa/Makefile.inc"
34 LIBS
= ${LIBSA} ${LIBZ} ${LIBKERN}
38 cleandir
distclean: cleanlibdir