1*8ca07e22Schristos# $NetBSD: Makefile.mbr,v 1.4 2016/08/28 08:51:52 christos Exp $ 21fd097bfSuwe 31fd097bfSuweS= ${.CURDIR}/../../../../.. 41fd097bfSuwe 5*8ca07e22SchristosNOPIE= # defined 61fd097bfSuweNOMAN= # defined 71fd097bfSuwe 81fd097bfSuweLIBCRT0= # nothing 92352c143StsutsuiLIBCRTI= # nothing 101fd097bfSuweLIBCRTBEGIN= # nothing 111fd097bfSuweLIBCRTEND= # nothing 121fd097bfSuweLIBC= # nothing 131fd097bfSuwe 14*8ca07e22Schristos.include <bsd.init.mk> 151fd097bfSuwe 161fd097bfSuweSTRIPFLAG= # override 171fd097bfSuwe 181fd097bfSuweSRCS?= mbr.S 191fd097bfSuwe 201fd097bfSuweBINDIR= /usr/mdec 211fd097bfSuweBINMODE= 444 221fd097bfSuwe 231fd097bfSuwe.PATH: ${.CURDIR}/.. 241fd097bfSuwe 251fd097bfSuweLDFLAGS+= -N -e start 261fd097bfSuweCPPFLAGS= -nostdinc -I${.OBJDIR} -I${.CURDIR}/.. -I${S} 271fd097bfSuwe 2888856a8dSnonakaCLEANFILES+= ${PROG}.tmp 291fd097bfSuwe 301fd097bfSuwe${PROG}: ${OBJS} 311fd097bfSuwe ${LD} -o ${PROG}.tmp ${LDFLAGS} -Ttext 0x8c200200 ${OBJS} 321fd097bfSuwe ${OBJCOPY} -O binary ${PROG}.tmp ${PROG} 331fd097bfSuwe -rm -f ${PROG}.tmp 341fd097bfSuwe 3588856a8dSnonaka.include <bsd.klinks.mk> 361fd097bfSuwe.include <bsd.prog.mk> 37