1 # $NetBSD: Makefile.alpha,v 1.81 2008/12/11 05:27:42 alc Exp $
5 # This makefile is constructed from a machine description:
7 # Most changes should be made in the machine description
8 # /sys/arch/alpha/conf/``machineid''
9 # after which you should do
11 # Machine generic makefile changes should be made in
12 # /sys/arch/alpha/conf/Makefile.alpha
13 # after which config should be rerun for all machines of that type.
15 # To specify debugging, add the config line: makeoptions DEBUG="-g"
16 # A better way is to specify -g only for a few files.
18 # makeoptions DEBUGLIST="uvm* trap if_*"
22 NEED_OWN_INSTALL_TARGET?=no
26 ## (1) port identification
29 GENASSYM_CONF= ${ALPHA}/alpha/genassym.cf
32 ## (2) compile settings
38 NORMAL_S= ${CPP} ${AFLAGS} ${CPPFLAGS} $< | ${TOOL_SED} -e 's,^\#.*,,' | \
42 ## (3) libkern and compat
46 ## (4) local objects, compile rules, and dependencies
48 MD_OBJS= locore.o transfer.o
50 MD_SFILES= ${ALPHA}/alpha/locore.s ${ALPHA}/alpha/transfer.s
52 locore.o: ${ALPHA}/alpha/locore.s assym.h
55 transfer.o: ${ALPHA}/alpha/transfer.s
64 TEXTADDR?= fffffc0000430000
65 ENTRYPOINT= __transfer
70 ## (6) port specific target dependencies
73 # depend on CPU configuration
74 clock.o apecs.o cia.o lca.o ioasic.o icasic.o: Makefile
79 MKDEP_AFLAGS= -x assembler-with-cpp ${AFLAGS}
82 ## (8) config(8) generated machinery
97 ## (9) port independent kernel machinery
99 .include "$S/conf/Makefile.kern.inc"
102 ## (10) Appending make options.