Home | History | Annotate | Line # | Download | only in stand
Makefile.booters revision 1.13
      1  1.13    simonb #	$NetBSD: Makefile.booters,v 1.13 1999/01/21 14:16:52 simonb Exp $
      2   1.4       cgd #	@(#)Makefile	8.3 (Berkeley) 2/16/94
      3   1.1   deraadt 
      4   1.1   deraadt # RELOC=80200000 allows for boot prog up to 1D0000 (1900544) bytes long
      5   1.1   deraadt RELOC=	80200000
      6   1.1   deraadt 
      7  1.13    simonb DEFS=	-D_STANDALONE -DSMALL
      8   1.2     glass CFLAGS=	-O2 ${INCPATH} ${DEFS}
      9   1.7   mycroft AFLAGS=	-O2 ${INCPATH} ${DEFS} -D_LOCORE
     10   1.1   deraadt 
     11  1.13    simonb .PATH:	${S}/stand ${S}/lib/libsa
     12   1.5    mellon 
     13  1.12    simonb INCPATH=-I${.CURDIR} -I${.CURDIR}/.. -I${S} -I${S}/arch -I${S}/lib/libsa
     14   1.5    mellon 
     15   1.5    mellon # not yet: need to write libsa/Makefile.inc first
     16  1.12    simonb LIBSADIR != cd ${.CURDIR}/../libsa; \
     17  1.12    simonb 	printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
     18  1.12    simonb LIBSA=	${LIBSADIR}/libsa.a
     19  1.13    simonb LIBS=	${.OBJDIR}/libdrive.a ${LIBSA}
     20   1.5    mellon 
     21   1.1   deraadt SRCS=	${DRIVERS}
     22   1.1   deraadt 
     23   1.1   deraadt .s.o:
     24   1.1   deraadt 	${CPP} -E ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} | \
     25  1.13    simonb 		${AS} -o ${.TARGET}
     26   1.1   deraadt 
     27  1.10  jonathan includes:
     28   1.1   deraadt 
     29  1.12    simonb # XXX doesn't belong here.
     30  1.12    simonb libdrive.a: conf.o ${DRIVERS:.c=.o}
     31   1.1   deraadt 	ar crv $@ $?
     32   1.1   deraadt 	ranlib $@
     33   1.1   deraadt 
     34   1.1   deraadt depend: ${SRCS}
     35   1.1   deraadt 	mkdep ${INCPATH} ${DEFS} ${SRCS}
     36   1.1   deraadt 	mkdep -a -p ${INCPATH} ${DEFS} mkboot.c mkboottape.c
     37   1.1   deraadt 	cd libsa; make depend
     38   1.5    mellon 
     39   1.5    mellon .include <bsd.dep.mk>
     40   1.5    mellon .include <bsd.obj.mk>
     41