NetBSD/sys/arch/pmax/stand/Makefile.inc

33 lines
848 B
Makefile

# $NetBSD: Makefile.inc,v 1.5 1999/01/30 12:57:58 simonb Exp $
#
# NOTE: $S must correspond to the top of the 'sys' tree
BINDIR= /usr/mdec
BINMODE=444
beforedepend ${OBJS}: machine
CLEANFILES+=machine
machine:
-rm -f ${.TARGET}
ln -s $S/arch/pmax/include ${.TARGET}
# Tailor C compilation for standalone environment.
COPTS= -O2 # -O2 gives smaller code
C_MACHDEP=-mmemcpy -mno-abicalls -G 128 # may give smaller code
# We are so tight for space, ifdef away symlnks and spinning propellers.
DEFS?= -D_STANDALONE -DSMALL -DNO_TWIDDLE
INCL?= -I. -I${.CURDIR} -I$S -I${.CURDIR}/../libsa -I$S/lib/libsa
CFLAGS= ${COPTS} ${CWARN} ${INCPATH} ${DEFS} ${C_MACHDEP}
AFLAGS= -O2 ${INCPATH} ${DEFS} -D_LOCORE -D_KERNEL
CPPFLAGS= ${INCL}
# be sure to turn off any PIC flags for standalone library code.
CPICFLAGS=
CAPICFLAGS=
CPPPICFLAGS=
APICFLAGS=