No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / news68k / stand / common / Makefile
blobe39b50dc4541af311f36c06283ebf59dfa011f14
1 # $NetBSD: Makefile,v 1.12 2009/03/20 13:59:49 tsutsui Exp $
3 S= ${.CURDIR}/../../../..
5 NOMAN= # defined
7 CFLAGS= -Os -Wall
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
13 AFLAGS= -D_LOCORE
15 .include <bsd.klinks.mk>
16 .include <bsd.prog.mk>
18 ### find out what to use for libkern
19 KERN_AS= library
20 .include "${S}/lib/libkern/Makefile.inc"
21 LIBKERN= ${KERNLIB}
23 ### find out what to use for libz
24 Z_AS= library
25 .include "${S}/lib/libz/Makefile.inc"
26 LIBZ= ${ZLIB}
28 ### find out what to use for libsa
29 SA_AS= library
30 SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes SA_EXTRADIR=${.CURDIR}
31 .include "${S}/lib/libsa/Makefile.inc"
32 LIBSA= ${SALIB}
34 LIBS= ${LIBSA} ${LIBZ} ${LIBKERN}
36 realall: ${LIBS}
38 cleandir distclean: cleanlibdir
40 cleanlibdir:
41 -rm -rf lib