Home | History | Annotate | Line # | Download | only in boot
Makefile revision 1.25.10.1
      1  1.25.10.1     yamt #	$NetBSD: Makefile,v 1.25.10.1 2009/05/04 08:11:37 yamt Exp $
      2       1.13    lukem 
      3       1.13    lukem NOMAN= # defined
      4        1.8  tsutsui 
      5        1.9  tsutsui .include <bsd.own.mk>
      6        1.1  tsutsui 
      7        1.1  tsutsui COMMON= ${.CURDIR}/../common
      8        1.7  tsutsui COMMONOBJ!=	cd ${COMMON} && ${PRINTOBJDIR}
      9        1.1  tsutsui 
     10        1.1  tsutsui .PATH: ${COMMON}
     11        1.1  tsutsui 
     12        1.1  tsutsui PROG= boot
     13        1.1  tsutsui SRCS= locore.S boot.c devopen.c
     14        1.1  tsutsui STRIPFLAG=
     15        1.1  tsutsui BINMODE= 444
     16        1.1  tsutsui 
     17        1.1  tsutsui S= ${.CURDIR}/../../../..
     18        1.1  tsutsui 
     19       1.23    lukem LINKFLAGS= -x -N -Ttext 3e0000 -e start
     20       1.25  tsutsui CFLAGS= -Os -Wall -Werror
     21       1.25  tsutsui CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
     22       1.25  tsutsui #CFLAGS+= -Wno-format-zero-length -Wno-sign-compare
     23        1.1  tsutsui 
     24        1.5  tsutsui CPPFLAGS+= -D_STANDALONE # -DBOOT_DEBUG
     25        1.1  tsutsui CPPFLAGS+= -nostdinc -I${.OBJDIR} -I${S}
     26       1.16  tsutsui CPPFLAGS+= -D__daddr_t=int32_t
     27        1.1  tsutsui AFLAGS= -D_LOCORE
     28        1.1  tsutsui 
     29  1.25.10.1     yamt CLEANFILES+= ${PROG}.sym
     30        1.1  tsutsui 
     31        1.1  tsutsui L= ${COMMONOBJ}/lib
     32        1.1  tsutsui LIBS= ${L}/sa/libsa.a ${L}/kern/libkern.a ${L}/z/libz.a
     33        1.1  tsutsui 
     34       1.20      jmc ${PROG}: ${OBJS} ${LIBS}
     35       1.24    lukem 	${_MKTARGET_LINK}
     36       1.23    lukem 	${LD} ${LINKFLAGS} -o ${.TARGET}.sym ${OBJS} ${LIBS}
     37       1.15  tsutsui 	-${SIZE} ${.TARGET}.sym
     38       1.15  tsutsui 	${OBJCOPY} -O binary ${.TARGET}.sym ${.TARGET}
     39        1.9  tsutsui 
     40  1.25.10.1     yamt .include <bsd.klinks.mk>
     41        1.9  tsutsui .include <bsd.prog.mk>
     42