NetBSD/sys/arch/vax/conf/Makefile.vax

105 lines
1.8 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile.vax,v 1.77 2006/06/02 22:16:18 mrg Exp $
1994-10-26 11:01:33 +03:00
1996-02-02 23:08:17 +03:00
# Makefile for NetBSD
1994-08-03 00:18:46 +04:00
#
# This makefile is constructed from a machine description:
# config machineid
# Most changes should be made in the machine description
1996-02-02 23:08:17 +03:00
# /sys/arch/vax/conf/``machineid''
1994-08-03 00:18:46 +04:00
# after which you should do
1996-02-02 23:08:17 +03:00
# config machineid
1994-08-03 00:18:46 +04:00
# Machine generic makefile changes should be made in
1996-02-02 23:08:17 +03:00
# /sys/arch/vax/conf/Makefile.vax
1994-08-03 00:18:46 +04:00
# after which config should be rerun for all machines of that type.
#
# To specify debugging, add the config line: makeoptions DEBUG="-g"
# A better way is to specify -g only for a few files.
#
# makeoptions DEBUGLIST="uvm* trap if_*"
1996-02-02 23:08:17 +03:00
MACHINE_ARCH= vax
USETOOLS?= no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>
##
## (1) port identification
##
VAX= $S/arch/vax
GENASSYM_CONF= ${VAX}/vax/genassym.cf
1994-08-03 00:18:46 +04:00
##
## (2) compile settings
##
CPPFLAGS+= -D_VAX_INLINE_
AFLAGS+= -x assembler-with-cpp -traditional-cpp
2002-11-05 17:35:30 +03:00
.if ${OBJECT_FMT} == "ELF"
.else
CFLAGS+= -fno-pic
.endif
##
## (3) libkern and compat
##
KERN_AS= obj
##
## (4) local objects, compile rules, and dependencies
##
MD_OBJS= intvec.o subr.o
MD_CFILES=
MD_SFILES= ${VAX}/vax/intvec.S ${VAX}/vax/subr.S
1994-08-03 00:18:46 +04:00
intvec.o: ${VAX}/vax/intvec.S assym.h
${NORMAL_S}
1994-08-03 00:18:46 +04:00
subr.o: ${VAX}/vax/subr.S assym.h
${NORMAL_S}
##
## (5) link settings
##
TEXTADDR?= 80000000
LINKFORMAT= -N
LINKFLAGS_DEBUG= -X
LINKFLAGS_NORMAL= -S
1996-02-02 23:08:17 +03:00
##
## (6) port specific target dependencies
##
1994-08-03 00:18:46 +04:00
# depend on CPU configuration
tmscp.o ts.o uba.o uda.o clock.o emulate.o intvec.o: Makefile
sbi.o subr.o: Makefile
unimpl_emul.o: assym.h
##
## (7) misc settings
##
##
## (8) config(8) generated machinery
##
%INCLUDES
1994-08-03 00:18:46 +04:00
%OBJS
%CFILES
1996-02-02 23:08:17 +03:00
%SFILES
%LOAD
1994-08-03 00:18:46 +04:00
%RULES
##
## (9) port independent kernel machinery
##
.include "$S/conf/Makefile.kern.inc"
##
## (10) Appending make options.
##
%MAKEOPTIONSAPPEND