Home | History | Annotate | Line # | Download | only in common
Makefile revision 1.9.2.1
      1  1.9.2.1      jym #	$NetBSD: Makefile,v 1.9.2.1 2009/05/13 17:18:10 jym Exp $
      2      1.1   tsubai 
      3      1.7  tsutsui WARNS?= 1
      4  1.9.2.1      jym S!= cd ${.CURDIR}/../../../..; pwd
      5      1.1   tsubai 
      6      1.1   tsubai OBJS= romcalls.o
      7      1.1   tsubai 
      8      1.7  tsutsui CFLAGS= -Os -ffreestanding -mmemcpy -mno-abicalls -msoft-float -G 0
      9      1.9  tsutsui CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
     10      1.1   tsubai 
     11      1.1   tsubai CPPFLAGS+= -D_STANDALONE #-DBOOT_DEBUG
     12      1.4  tsutsui CPPFLAGS+= -DHAVE_CHANGEDISK_HOOK
     13      1.1   tsubai CPPFLAGS+= -I. -I${S}
     14      1.8  tsutsui CPPFLAGS+= -D__daddr_t=int32_t
     15      1.1   tsubai 
     16      1.7  tsutsui AFLAGS= -D_LOCORE -mno-abicalls
     17      1.1   tsubai 
     18      1.1   tsubai ### find out what to use for libkern
     19      1.1   tsubai .include "${S}/lib/libkern/Makefile.inc"
     20      1.1   tsubai 
     21      1.1   tsubai ### find out what to use for libz
     22      1.1   tsubai .include "${S}/lib/libz/Makefile.inc"
     23      1.1   tsubai 
     24      1.1   tsubai ### find out what to use for libsa
     25      1.1   tsubai SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes
     26      1.1   tsubai .include "${S}/lib/libsa/Makefile.inc"
     27      1.1   tsubai 
     28      1.2  mycroft realall: ${OBJS} ${KERNLIB} ${ZLIB} ${SALIB}
     29      1.1   tsubai #	ln -s ${KERNLIB}
     30      1.1   tsubai #	ln -s ${ZLIB}
     31      1.1   tsubai #	ln -s ${SALIB}
     32      1.1   tsubai 
     33  1.9.2.1      jym .include <bsd.klinks.mk>
     34      1.1   tsubai .include <bsd.prog.mk>
     35