Makefile revision 1.6
1# from: @(#)Makefile 8.1 (Berkeley) 6/10/93 2# $NetBSD: Makefile,v 1.6 2000/06/25 16:39:06 scw Exp $ 3 4RELOC=0x3F0000 5 6S= ${.CURDIR}/../../../.. 7DEFS= 8INCPATH=-I${.CURDIR} -I${.CURDIR}/../libsa -I${.CURDIR}/../libbug \ 9 -I${.CURDIR}/../../include -I${S} -I${S}/lib/libsa 10CFLAGS= -O2 ${INCPATH} ${DEFS} ${COPTS} 11CLEANFILES+=stboot bootst bootst.bug 12 13.include "${S}/arch/mvme68k/stand/libsa/Makefile.inc" 14.include "${S}/arch/mvme68k/stand/libbug/Makefile.inc" 15.include "${S}/arch/mvme68k/stand/bugcrt/Makefile.inc" 16.include "${S}/arch/mvme68k/stand/wrtvid/Makefile.inc" 17 18SRCS= boot.c conf.c dev_tape.c rawfs.c version.c 19LIBS= ${LIBSA} ${LIBBUG} 20OBJS= ${SRCS:S/.c/.o/g} 21 22realall: bootst stboot 23 24bootst.bug: ${OBJS} ${BUGCRT} ${LIBS} 25 ${LD} -s -N -T ${RELOC} ${BUGCRT} ${OBJS} ${LIBS} -o $@ 26 @size bootst.bug 27 28bootst stboot: bootst.bug ${WRTVID} 29 ${WRTVID} bootst.bug 30 31install: 32 ${INSTALL} -c -m 555 -g bin -o bin bootst ${DESTDIR}${MDEC_DIR} 33 ${INSTALL} -c -m 555 -g bin -o bin stboot ${DESTDIR}${MDEC_DIR} 34 35afterdepend: .depend 36 @(TMP=/tmp/_depend$$$$; \ 37 sed -e 's/^\([^\.]*\).o[ ]*:/\1.o g\1.o s\1.o:/' \ 38 < .depend > $$TMP; \ 39 mv $$TMP .depend) 40 41.include <bsd.prog.mk> 42