blob: a083047b0d1e96e517867067f1859bc9720b7729 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile.inc,v 1.4 1995/10/09 23:25:55 pk Exp $
.if !defined(__stand_makefile_inc)
__stand_makefile_inc=1
S= ${.CURDIR}/../../../${R}
.if !make(libdep) && !make(sadep) && !make(salibdir) && !make(kernlibdir)
.BEGIN:
@([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine)
.endif
RELOC_SUN4= 0x240000
RELOC_SUN4C= 0x340000
RELOC_SUN4M= 0x440000
# Note: a `RELOC' value of 0x340000 seems to work on most machines
RELOC?= ${RELOC_SUN4C}
INCLUDES+= -I. -I${.CURDIR}/.. -I${S}/arch -I${S} -I${S}/lib/libsa
DEFS+= -DSTANDALONE -DRELOC=${RELOC} -DSUN4 -DSUN4C -DSUN_BOOTPARAMS
CFLAGS+= -O2 ${INCLUDES} ${DEFS}
srt0.o: srt0.S
${CC} ${CFLAGS} -DLOCORE -c ${.IMPSRC}
cleandir:
rm -rf lib machine
.endif
|