11.15Schristos# $NetBSD: Makefile,v 1.15 2014/11/21 20:13:18 christos Exp $ 21.1Schuck 31.1Schuck# 41.2Sthorpej# sboot would like a newer GNU ld because it can generate S-Records. 51.2Sthorpej# Until then, we convert. 61.1Schuck# 71.1Schuck 81.14SjoergCOMPILE.s= $(CC) -x assembler-with-cpp \ 91.10Sscw $(ASFLAGS) $(CPPFLAGS) $(INCPATH) -c -o $*.o 101.10Sscw 111.13SscwRELOC= 0x4000 121.13SscwSRCS= start.s clock.c console.c etherfun.c le_poll.c \ 131.13Sscw oc_cksum.s sboot.c 141.10SscwSRTOBJ= 151.10SscwPROG= sboot 161.15SchristosLIBS= ${LIBSA} ${LIBKERN} 171.10SscwDPADD= ${LIBS} 181.13SscwCLEANFILES+= sboot.srec 191.8Sjdolecek 201.10SscwPROGDEPENDS= ${OBJS} ${LIBS} 211.10SscwPROGLINKOBJS= ${OBJS} ${LIBS} 221.2Sthorpej 231.13Sscwsboot.srec: ${PROG} 241.13Sscw ${OBJCOPY} -O srec ${.OBJDIR}/sboot ${.TARGET} 251.2Sthorpej 261.10Sscw.include "../Makefile.booters" 271.2Sthorpej 281.10Sscwall realall: sboot.srec 291.10Sscw 301.10Sscwinstall: sboot.srec 311.12Slukem ${INSTALL_FILE} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 321.12Slukem ${.OBJDIR}/sboot.srec ${DESTDIR}${MDEC_DIR}/sboot 331.1Schuck 341.1Schuck.include <bsd.prog.mk> 35