Home | History | Annotate | Line # | Download | only in stand
Makefile.inc revision 1.3
      1  1.3  thorpej #	$NetBSD: Makefile.inc,v 1.3 1997/02/04 19:14:57 thorpej Exp $
      2  1.1  thorpej 
      3  1.1  thorpej BINDIR=			/usr/mdec
      4  1.1  thorpej 
      5  1.1  thorpej # RELOC=FFF00000 allows for boot prog up to FF000 (1044480) bytes long
      6  1.1  thorpej RELOC=	FFF00000
      7  1.1  thorpej 
      8  1.1  thorpej CPPFLAGS+=		-DDCACONSOLE -DITECONSOLE -DDCMCONSOLE
      9  1.1  thorpej CPPFLAGS+=		-DSTANDALONE -DCOMPAT_NOLABEL -Dhp300
     10  1.1  thorpej CPPFLAGS+=		-DCOMPAT_UFS -DNO_LSEEK
     11  1.3  thorpej 
     12  1.3  thorpej # Limit the alloc() heap to below the msgbuf and ROM scratch pages.
     13  1.3  thorpej CPPFLAGS+=		-DHEAP_LIMIT="0xffffdfff"
     14  1.1  thorpej 
     15  1.2  thorpej COMMONSOURCE=		srt0.o autoconf.c clock.c conf.c cons.c devopen.c \
     16  1.2  thorpej 			machdep.c prf.c rawfs.c netio.c
     17  1.1  thorpej DRIVERSOURCE=		ct.c dca.c dcm.c fhpib.c hil.c hpib.c if_le.c \
     18  1.1  thorpej 			ite.c ite_dv.c ite_gb.c ite_rb.c ite_subr.c \
     19  1.1  thorpej 			ite_tc.c ite_hy.c nhpib.c rd.c scsi.c sd.c
     20  1.1  thorpej 
     21  1.1  thorpej ### Figure out what to use for mkboot
     22  1.1  thorpej MKBOOTDIR=		${.CURDIR}/../mkboot
     23  1.1  thorpej 
     24  1.1  thorpej .if exists(${MKBOOTDIR}/obj.${MACHINE})
     25  1.1  thorpej MKBOOTOBJDIR=		${MKBOOTDIR}/obj.${MACHINE}
     26  1.1  thorpej .elif exists (${MKBOOTDIR}/obj)
     27  1.1  thorpej MKBOOTOBJDIR=		${MKBOOTDIR}/obj
     28  1.1  thorpej .else
     29  1.1  thorpej MKBOOTOBJDIR=		${MKBOOTDIR}
     30  1.1  thorpej .endif
     31  1.1  thorpej 
     32  1.1  thorpej MKBOOT_PROG=		${MKBOOTOBJDIR}/mkboot
     33  1.1  thorpej 
     34  1.1  thorpej # Make sure ${MKBOOT_PROG} is always available
     35  1.1  thorpej ${MKBOOT_PROG}:
     36  1.1  thorpej 	@cd ${MKBOOTDIR} && make depend && make
     37