Makefile revision 1.1
11.1Sitohy# $NetBSD: Makefile,v 1.1 1998/09/01 19:55:32 itohy Exp $ 21.1Sitohy 31.1SitohyBASE= loadbsd 41.1SitohyPROG= ${BASE}.x # Human68k ".x" executable 51.1SitohySTRIPFLAG= # not an a.out 61.1SitohyBINMODE=444 # not to be run on NetBSD 71.1SitohySRCS= start.S loadbsd.c xprintf.c trampoline.S 81.1SitohyMAN= ${BASE}.8 91.1Sitohy 101.1SitohyBINDIR= /usr/mdec 111.1SitohyMANSUBDIR= /${MACHINE} 121.1Sitohy 131.1Sitohy.PATH: ${.CURDIR}/../common 141.1Sitohy 151.1SitohyAOUT2HUX!=cd ${.CURDIR}/../aout2hux; echo `${MAKE} print-objdir`/aout2hux 161.1SitohyLIBDOS!=cd ${.CURDIR}/../libdos; ${MAKE} print-objdir 171.1SitohyLIBIOCS!=cd ${.CURDIR}/../libiocs; ${MAKE} print-objdir 181.1Sitohy 191.1SitohyCPPFLAGS= -W -Wall -O -fomit-frame-pointer 201.1SitohyCPPFLAGS+= -m68000 -Wa,-mc68000 211.1SitohyCPPFLAGS+= -I${.CURDIR}/../libdos -I${.CURDIR}/../libiocs 221.1SitohyLDFLAGS= -nostdlib -static -N 231.1SitohyLDLIBS= -L${LIBDOS} -ldos -L${LIBIOCS} -liocs -lc 241.1SitohyDPADD+= ${AOUT2HUX} 251.1Sitohy 261.1SitohyCLEANFILES+= ${BASE}1 ${BASE}2 271.1Sitohy 281.1Sitohy${PROG}: ${BASE}1 ${BASE}2 291.1Sitohy ${AOUT2HUX} -o ${.TARGET} ${BASE}1 11000 ${BASE}2 22000 301.1Sitohy 311.1Sitohy.include <bsd.prog.mk> 321.1Sitohy 331.1Sitohy.for i in 1 2 341.1Sitohy${BASE}${i}: ${OBJS} ${LIBDOS}/libdos.a ${LIBIOCS}/libiocs.a 351.1Sitohy ${CC} -o ${.TARGET} ${LDFLAGS} -Wl,-T${i}${i}000 ${OBJS} ${LDLIBS} 361.1Sitohy.endfor 37