Home | History | Annotate | Line # | Download | only in bootxx
Makefile revision 1.3
      1  1.1    chuck #	from: @(#)Makefile	8.1 (Berkeley) 6/10/93
      2  1.3      cgd #	$NetBSD: Makefile,v 1.3 1998/06/12 23:11:46 cgd Exp $
      3  1.1    chuck 
      4  1.1    chuck RELOC=0x3F0000 
      5  1.1    chuck 
      6  1.1    chuck S=	${.CURDIR}/../../../..
      7  1.1    chuck DEFS= 
      8  1.1    chuck INCPATH=-I${.CURDIR} -I${.CURDIR}/../libsa -I${.CURDIR}/../libbug \
      9  1.1    chuck 	-I${.CURDIR}/../../include -I${S} -I${S}/lib/libsa
     10  1.1    chuck CFLAGS=	-O2 ${INCPATH} ${DEFS} ${COPTS}
     11  1.1    chuck CLEANFILES+=bootxx
     12  1.1    chuck 
     13  1.3      cgd .include "${S}/arch/mvme68k/stand/bugcrt/Makefile.inc"
     14  1.3      cgd .include "${S}/arch/mvme68k/stand/libbug/Makefile.inc"
     15  1.3      cgd .include "${S}/arch/mvme68k/stand/libsa/Makefile.inc"
     16  1.1    chuck 
     17  1.1    chuck SRCS=   bootxx.c conf.c version.c
     18  1.1    chuck 
     19  1.1    chuck LIBS=	${LIBSA} ${LIBBUG}
     20  1.1    chuck 
     21  1.1    chuck OBJS= ${SRCS:N*.h:R:S/$/.o/g}
     22  1.1    chuck 
     23  1.1    chuck BOOTS=	bootxx
     24  1.1    chuck ALL=	${BOOTS} 
     25  1.1    chuck 
     26  1.1    chuck all: ${ALL}
     27  1.1    chuck 
     28  1.1    chuck bootxx: ${OBJS} ${BUGCRT} ${LIBS}
     29  1.1    chuck 	${LD} -N -T ${RELOC} ${BUGCRT} ${OBJS} ${LIBS} -o $@
     30  1.1    chuck 
     31  1.1    chuck install:
     32  1.2  thorpej 	${INSTALL} -c -m 555 -g bin -o bin ${BOOTS} ${DESTDIR}${MDEC_DIR}
     33  1.1    chuck 
     34  1.1    chuck .include <bsd.prog.mk>
     35