Makefile.cesfic revision 1.5.2.3 1 1.5.2.3 nathanw # $NetBSD: Makefile.cesfic,v 1.5.2.3 2002/06/20 03:38:26 nathanw Exp $
2 1.5.2.2 nathanw
3 1.5.2.2 nathanw # Makefile for NetBSD
4 1.5.2.2 nathanw #
5 1.5.2.2 nathanw # This makefile is constructed from a machine description:
6 1.5.2.2 nathanw # config machineid
7 1.5.2.2 nathanw # Most changes should be made in the machine description
8 1.5.2.2 nathanw # /sys/arch/cesfic/conf/``machineid''
9 1.5.2.2 nathanw # after which you should do
10 1.5.2.2 nathanw # config machineid
11 1.5.2.2 nathanw # Machine generic makefile changes should be made in
12 1.5.2.2 nathanw # /sys/arch/cesfic/conf/Makefile.cesfic
13 1.5.2.2 nathanw # after which config should be rerun for all machines of that type.
14 1.5.2.2 nathanw #
15 1.5.2.2 nathanw # To specify debugging, add the config line: makeoptions DEBUG="-g"
16 1.5.2.2 nathanw # A better way is to specify -g only for a few files.
17 1.5.2.2 nathanw #
18 1.5.2.2 nathanw # makeoptions DEBUGLIST="uvm* trap if_*"
19 1.5.2.2 nathanw
20 1.5.2.2 nathanw MACHINE_ARCH=m68k
21 1.5.2.2 nathanw USETOOLS?= no
22 1.5.2.2 nathanw NEED_OWN_INSTALL_TARGET?=no
23 1.5.2.2 nathanw .include <bsd.own.mk>
24 1.5.2.2 nathanw
25 1.5.2.2 nathanw ##
26 1.5.2.2 nathanw ## (1) port identification
27 1.5.2.2 nathanw ##
28 1.5.2.2 nathanw CESFIC= $S/arch/cesfic
29 1.5.2.2 nathanw GENASSYM= ${CESFIC}/cesfic/genassym.cf
30 1.5.2.2 nathanw
31 1.5.2.2 nathanw ##
32 1.5.2.2 nathanw ## (2) compile settings
33 1.5.2.2 nathanw ##
34 1.5.2.2 nathanw WEAK_POINTERS= yes
35 1.5.2.2 nathanw CWARNFLAGS+= -Wno-format
36 1.5.2.2 nathanw CFLAGS+= -msoft-float
37 1.5.2.3 nathanw .if defined(HAVE_GCC3)
38 1.5.2.3 nathanw AFLAGS+= -x assembler-with-cpp -Wa,-m68030 -Wa,-m68851 -Wa,-m68040
39 1.5.2.3 nathanw .else
40 1.5.2.2 nathanw AFLAGS+= -x assembler-with-cpp -traditional-cpp -Wa,-m68030 -Wa,-m68851 -Wa,-m68040
41 1.5.2.3 nathanw .endif
42 1.5.2.2 nathanw
43 1.5.2.2 nathanw ##
44 1.5.2.2 nathanw ## (3) libkern and compat
45 1.5.2.2 nathanw ##
46 1.5.2.2 nathanw KERN_AS= obj
47 1.5.2.2 nathanw
48 1.5.2.2 nathanw ##
49 1.5.2.2 nathanw ## (4) local objects, compile rules, and dependencies
50 1.5.2.2 nathanw ##
51 1.5.2.2 nathanw # for the Motorola 68040 Floating Point Software Product
52 1.5.2.2 nathanw .include "$S/arch/m68k/fpsp/Makefile.inc"
53 1.5.2.2 nathanw
54 1.5.2.2 nathanw MD_OBJS= locore.o ${FPSP}
55 1.5.2.2 nathanw MD_CFILES=
56 1.5.2.2 nathanw MD_SFILES= ${CESFIC}/cesfic/locore.s
57 1.5.2.2 nathanw
58 1.5.2.2 nathanw locore.o: ${CESFIC}/cesfic/locore.s assym.h
59 1.5.2.2 nathanw ${NORMAL_S}
60 1.5.2.2 nathanw
61 1.5.2.2 nathanw ##
62 1.5.2.2 nathanw ## (5) link settings
63 1.5.2.2 nathanw ##
64 1.5.2.2 nathanw LINKFORMAT= -n
65 1.5.2.2 nathanw TEXTADDR?= 2000
66 1.5.2.2 nathanw
67 1.5.2.2 nathanw ##
68 1.5.2.2 nathanw ## (6) port specific target dependencies
69 1.5.2.2 nathanw ##
70 1.5.2.2 nathanw
71 1.5.2.2 nathanw ##
72 1.5.2.2 nathanw ## (7) misc settings
73 1.5.2.2 nathanw ##
74 1.5.2.2 nathanw
75 1.5.2.2 nathanw ##
76 1.5.2.2 nathanw ## (8) config(8) generated machinery
77 1.5.2.2 nathanw ##
78 1.5.2.2 nathanw %INCLUDES
79 1.5.2.2 nathanw
80 1.5.2.2 nathanw %OBJS
81 1.5.2.2 nathanw
82 1.5.2.2 nathanw %CFILES
83 1.5.2.2 nathanw
84 1.5.2.2 nathanw #%SFILES
85 1.5.2.2 nathanw
86 1.5.2.2 nathanw %LOAD
87 1.5.2.2 nathanw
88 1.5.2.2 nathanw %RULES
89 1.5.2.2 nathanw
90 1.5.2.2 nathanw ##
91 1.5.2.2 nathanw ## (9) port independent kernel machinery
92 1.5.2.2 nathanw ##
93 1.5.2.2 nathanw .include "$S/conf/Makefile.kern.inc"
94