1 1.5.2.2 cgd # $NetBSD: Makefile.inc,v 1.5.2.2 1999/02/02 06:00:40 cgd Exp $ 2 1.5.2.2 cgd # 3 1.5.2.2 cgd # NOTE: $S must correspond to the top of the 'sys' tree 4 1.5.2.2 cgd 5 1.5.2.2 cgd BINDIR= /usr/mdec 6 1.5.2.2 cgd BINMODE=444 7 1.5.2.2 cgd 8 1.5.2.2 cgd # Tailor C compilation for standalone environment. 9 1.5.2.2 cgd COPTS= -O2 # -O2 gives smaller code 10 1.5.2.2 cgd 11 1.5.2.2 cgd C_MACHDEP=-mno-abicalls -G 64 # may give smaller code 12 1.5.2.2 cgd 13 1.5.2.2 cgd # We are so tight for space, ifdef away symlnks and spinning propellers. 14 1.5.2.2 cgd DEFS?= -D_STANDALONE -DSMALL -DNO_TWIDDLE 15 1.5.2.2 cgd INCL?= -I${.CURDIR} -I$S -I${.CURDIR}/../libsa -I$S/lib/libsa 16 1.5.2.2 cgd 17 1.5.2.2 cgd CFLAGS= ${COPTS} ${CWARN} ${INCPATH} ${DEFS} ${C_MACHDEP} 18 1.5.2.2 cgd AFLAGS= -O2 ${INCPATH} ${DEFS} -D_LOCORE 19 1.5.2.2 cgd CPPFLAGS= ${INCL} 20 1.5.2.2 cgd 21 1.5.2.2 cgd # be sure to turn off any PIC flags for standalone library code. 22 1.5.2.2 cgd CPICFLAGS= 23 1.5.2.2 cgd CAPICFLAGS= 24 1.5.2.2 cgd CPPPICFLAGS= 25 1.5.2.2 cgd APICFLAGS= 26