Home | History | Annotate | Line # | Download | only in stand
Makefile.inc revision 1.1
      1  1.1  thorpej #	$NetBSD: Makefile.inc,v 1.1 1997/02/04 03:51:38 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.1  thorpej 
     12  1.1  thorpej COMMONSOURCE=		autoconf.c clock.c conf.c cons.c devopen.c \
     13  1.1  thorpej 			machdep.c prf.c rawfs.c srt0.s netio.c
     14  1.1  thorpej DRIVERSOURCE=		ct.c dca.c dcm.c fhpib.c hil.c hpib.c if_le.c \
     15  1.1  thorpej 			ite.c ite_dv.c ite_gb.c ite_rb.c ite_subr.c \
     16  1.1  thorpej 			ite_tc.c ite_hy.c nhpib.c rd.c scsi.c sd.c
     17  1.1  thorpej 
     18  1.1  thorpej ### Figure out what to use for mkboot
     19  1.1  thorpej MKBOOTDIR=		${.CURDIR}/../mkboot
     20  1.1  thorpej 
     21  1.1  thorpej .if exists(${MKBOOTDIR}/obj.${MACHINE})
     22  1.1  thorpej MKBOOTOBJDIR=		${MKBOOTDIR}/obj.${MACHINE}
     23  1.1  thorpej .elif exists (${MKBOOTDIR}/obj)
     24  1.1  thorpej MKBOOTOBJDIR=		${MKBOOTDIR}/obj
     25  1.1  thorpej .else
     26  1.1  thorpej MKBOOTOBJDIR=		${MKBOOTDIR}
     27  1.1  thorpej .endif
     28  1.1  thorpej 
     29  1.1  thorpej MKBOOT_PROG=		${MKBOOTOBJDIR}/mkboot
     30  1.1  thorpej 
     31  1.1  thorpej # Make sure ${MKBOOT_PROG} is always available
     32  1.1  thorpej ${MKBOOT_PROG}:
     33  1.1  thorpej 	@cd ${MKBOOTDIR} && make depend && make
     34