1997-04-28 00:29:43 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.6 1997/04/27 20:29:43 thorpej Exp $
|
1997-02-04 06:51:37 +03:00
|
|
|
|
|
|
|
BINDIR= /usr/mdec
|
|
|
|
|
|
|
|
# RELOC=FFF00000 allows for boot prog up to FF000 (1044480) bytes long
|
|
|
|
RELOC= FFF00000
|
|
|
|
|
|
|
|
CPPFLAGS+= -DDCACONSOLE -DITECONSOLE -DDCMCONSOLE
|
1997-04-14 23:09:01 +04:00
|
|
|
CPPFLAGS+= -DHIL_KEYBOARD -DUK_KEYBOARD
|
|
|
|
CPPFLAGS+= -DDOMAIN_KEYBOARD
|
1997-02-04 06:51:37 +03:00
|
|
|
CPPFLAGS+= -DSTANDALONE -DCOMPAT_NOLABEL -Dhp300
|
|
|
|
CPPFLAGS+= -DCOMPAT_UFS -DNO_LSEEK
|
|
|
|
|
1997-02-04 22:14:57 +03:00
|
|
|
# Limit the alloc() heap to below the msgbuf and ROM scratch pages.
|
|
|
|
CPPFLAGS+= -DHEAP_LIMIT="0xffffdfff"
|
|
|
|
|
1997-04-28 00:29:43 +04:00
|
|
|
COMMONSOURCE= srt0.S autoconf.c clock.c conf.c cons.c devopen.c \
|
1997-02-04 11:39:26 +03:00
|
|
|
machdep.c prf.c rawfs.c netio.c
|
1997-04-25 00:39:26 +04:00
|
|
|
DRIVERSOURCE= ct.c dca.c dcm.c dnkbd.c fhpib.c hil.c hpib.c if_le.c \
|
1997-02-04 06:51:37 +03:00
|
|
|
ite.c ite_dv.c ite_gb.c ite_rb.c ite_subr.c \
|
1997-04-25 00:39:26 +04:00
|
|
|
ite_tc.c ite_hy.c kbd.c kbdconf.c nhpib.c rd.c \
|
|
|
|
scsi.c sd.c
|
1997-02-04 06:51:37 +03:00
|
|
|
|
|
|
|
### Figure out what to use for mkboot
|
|
|
|
MKBOOTDIR= ${.CURDIR}/../mkboot
|
|
|
|
|
|
|
|
.if exists(${MKBOOTDIR}/obj.${MACHINE})
|
|
|
|
MKBOOTOBJDIR= ${MKBOOTDIR}/obj.${MACHINE}
|
|
|
|
.elif exists (${MKBOOTDIR}/obj)
|
|
|
|
MKBOOTOBJDIR= ${MKBOOTDIR}/obj
|
|
|
|
.else
|
|
|
|
MKBOOTOBJDIR= ${MKBOOTDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MKBOOT_PROG= ${MKBOOTOBJDIR}/mkboot
|
|
|
|
|
|
|
|
# Make sure ${MKBOOT_PROG} is always available
|
|
|
|
${MKBOOT_PROG}:
|
|
|
|
@cd ${MKBOOTDIR} && make depend && make
|