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