source: anotherchoice/tags/jsp-1.4.4-full-UTF8/tools/M16C-RENESAS/Jsp14sample1m.tmk@ 26

Last change on this file since 26 was 26, checked in by ykominami, 10 years ago

initial

File size: 9.9 KB
Line 
1####################################################################
2# Makefile for TM V.3.20A
3# COPYRIGHT(C) 1998(1998-2003)
4# RENESAS TECHNOLOGY CORPORATION ALL RIGHTS RESERVED
5# AND
6# RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED
7#
8# Notice : Don't edit.
9# Date : 2010 12(December) 28(Tuesday) AM.09.37
10# Project : Jsp14sample1m
11####################################################################
12
13DELETE = @-del
14LNLIST = $(PROJECT).cmd
15LMC = LMC30
16CC = NC30
17AS = AS30
18OUTDIR = .
19MKDIR = @-mkdir
20CPP = C:\Hew\Tools\Renesas\nc30wa\v545r01\lib30\CPP30
21ABSFILE = $(PROJECT).x30
22ODINCMD = $(OUTDIR)
23TARGET = $(ABSFILE)
24LN = LN30
25ECHO = @-echo
26MKFILE = $(PROJECT).tmk
27TYPE = @-type
28PROJECT = Jsp14sample1m
29LFLAGS = -MS -L nc30lib -G -O $(OUTDIR)\$(TARGET) -ORDER data_NE=400,data_NO,bss_NE,bss_NO,program=0F0000,rom_FE,rom_FO,data_NEI,data_NOI
30CFLAGS = -c -I../../config/m16c-renesas -I../../config/m16c-renesas/oaks16_mini -I../../kernel -I../../include -I../../sample -I. -dir $(OUTDIR) -g -DNEED_API
31LMCFLAGS = -L
32AFLAGS = -LM -DRAMEND=0c00h:MON=0 -I. -O$(OUTDIR)
33.SUFFIXES: .a30 .r30 .c .x30 .lib
34.PHONY: all
35all: \
36 $(OUTDIR)\$(TARGET) \
37 $(OUTDIR)\Jsp14sample1m.mot
38.PHONY: clean
39clean:
40 $(DELETE) $(OUTDIR)\$(TARGET)
41 $(DELETE) $(ODINCMD)\$(LNLIST)
42 $(DELETE) $(OUTDIR)\kernel_cfg.c
43 $(DELETE) $(OUTDIR)\kernel_id.h
44 $(DELETE) $(OUTDIR)\m16cvec.inc
45 $(DELETE) $(OUTDIR)\offset.inc
46 $(DELETE) $(OUTDIR)\start.r30
47 $(DELETE) $(OUTDIR)\sys_config.r30
48 $(DELETE) $(OUTDIR)\serial_mini.r30
49 $(DELETE) $(OUTDIR)\syslog_mini.r30
50 $(DELETE) $(OUTDIR)\cpu_config.r30
51 $(DELETE) $(OUTDIR)\cpu_support.r30
52 $(DELETE) $(OUTDIR)\startup.r30
53 $(DELETE) $(OUTDIR)\banner.r30
54 $(DELETE) $(OUTDIR)\exception.r30
55 $(DELETE) $(OUTDIR)\interrupt.r30
56 $(DELETE) $(OUTDIR)\sys_manage.r30
57 $(DELETE) $(OUTDIR)\task_manage.r30
58 $(DELETE) $(OUTDIR)\time_manage.r30
59 $(DELETE) $(OUTDIR)\task.r30
60 $(DELETE) $(OUTDIR)\wait.r30
61 $(DELETE) $(OUTDIR)\task_except.r30
62 $(DELETE) $(OUTDIR)\task_sync.r30
63 $(DELETE) $(OUTDIR)\time_event.r30
64 $(DELETE) $(OUTDIR)\cyclic.r30
65 $(DELETE) $(OUTDIR)\dataqueue.r30
66 $(DELETE) $(OUTDIR)\eventflag.r30
67 $(DELETE) $(OUTDIR)\mailbox.r30
68 $(DELETE) $(OUTDIR)\mempfix.r30
69 $(DELETE) $(OUTDIR)\semaphore.r30
70 $(DELETE) $(OUTDIR)\timer.r30
71 $(DELETE) $(OUTDIR)\strerror.r30
72 $(DELETE) $(OUTDIR)\t_perror.r30
73 $(DELETE) $(OUTDIR)\vasyslog.r30
74 $(DELETE) $(OUTDIR)\kernel_cfg.r30
75 $(DELETE) $(OUTDIR)\sample1.r30
76 $(DELETE) $(OUTDIR)\sample1m.cfg.i
77 $(DELETE) $(OUTDIR)\start.lst
78 $(DELETE) $(OUTDIR)\cpu_support.lst
79 $(DELETE) $(OUTDIR)\makeoffset.a30
80 $(DELETE) $(OUTDIR)\Jsp14sample1m.map
81$(ODINCMD)\$(LNLIST): \
82 .\$(MKFILE)
83 $(ECHO)\$(MRLFLAGS) $(LFLAGS) > $(ODINCMD)\$(LNLIST)
84 $(ECHO)\$(OUTDIR)\start.r30 >> $(ODINCMD)\$(LNLIST)
85 $(ECHO)\$(OUTDIR)\sys_config.r30 >> $(ODINCMD)\$(LNLIST)
86 $(ECHO)\$(OUTDIR)\serial_mini.r30 >> $(ODINCMD)\$(LNLIST)
87 $(ECHO)\$(OUTDIR)\syslog_mini.r30 >> $(ODINCMD)\$(LNLIST)
88 $(ECHO)\$(OUTDIR)\cpu_config.r30 >> $(ODINCMD)\$(LNLIST)
89 $(ECHO)\$(OUTDIR)\cpu_support.r30 >> $(ODINCMD)\$(LNLIST)
90 $(ECHO)\$(OUTDIR)\startup.r30 >> $(ODINCMD)\$(LNLIST)
91 $(ECHO)\$(OUTDIR)\banner.r30 >> $(ODINCMD)\$(LNLIST)
92 $(ECHO)\$(OUTDIR)\exception.r30 >> $(ODINCMD)\$(LNLIST)
93 $(ECHO)\$(OUTDIR)\interrupt.r30 >> $(ODINCMD)\$(LNLIST)
94 $(ECHO)\$(OUTDIR)\sys_manage.r30 >> $(ODINCMD)\$(LNLIST)
95 $(ECHO)\$(OUTDIR)\task_manage.r30 >> $(ODINCMD)\$(LNLIST)
96 $(ECHO)\$(OUTDIR)\time_manage.r30 >> $(ODINCMD)\$(LNLIST)
97 $(ECHO)\$(OUTDIR)\task.r30 >> $(ODINCMD)\$(LNLIST)
98 $(ECHO)\$(OUTDIR)\wait.r30 >> $(ODINCMD)\$(LNLIST)
99 $(ECHO)\$(OUTDIR)\task_except.r30 >> $(ODINCMD)\$(LNLIST)
100 $(ECHO)\$(OUTDIR)\task_sync.r30 >> $(ODINCMD)\$(LNLIST)
101 $(ECHO)\$(OUTDIR)\time_event.r30 >> $(ODINCMD)\$(LNLIST)
102 $(ECHO)\$(OUTDIR)\cyclic.r30 >> $(ODINCMD)\$(LNLIST)
103 $(ECHO)\$(OUTDIR)\dataqueue.r30 >> $(ODINCMD)\$(LNLIST)
104 $(ECHO)\$(OUTDIR)\eventflag.r30 >> $(ODINCMD)\$(LNLIST)
105 $(ECHO)\$(OUTDIR)\mailbox.r30 >> $(ODINCMD)\$(LNLIST)
106 $(ECHO)\$(OUTDIR)\mempfix.r30 >> $(ODINCMD)\$(LNLIST)
107 $(ECHO)\$(OUTDIR)\semaphore.r30 >> $(ODINCMD)\$(LNLIST)
108 $(ECHO)\$(OUTDIR)\timer.r30 >> $(ODINCMD)\$(LNLIST)
109 $(ECHO)\$(OUTDIR)\strerror.r30 >> $(ODINCMD)\$(LNLIST)
110 $(ECHO)\$(OUTDIR)\t_perror.r30 >> $(ODINCMD)\$(LNLIST)
111 $(ECHO)\$(OUTDIR)\vasyslog.r30 >> $(ODINCMD)\$(LNLIST)
112 $(ECHO)\$(OUTDIR)\kernel_cfg.r30 >> $(ODINCMD)\$(LNLIST)
113 $(ECHO)\$(OUTDIR)\sample1.r30 >> $(ODINCMD)\$(LNLIST)
114$(OUTDIR)\Jsp14sample1m.mot: \
115 $(OUTDIR)\$(TARGET)
116 $(LMC) $<
117$(OUTDIR)\$(TARGET): \
118 $(ODINCMD)\$(LNLIST) \
119 $(OUTDIR)\kernel_cfg.c \
120 $(OUTDIR)\kernel_id.h \
121 $(OUTDIR)\m16cvec.inc \
122 $(OUTDIR)\offset.inc \
123 $(OUTDIR)\start.r30 \
124 $(OUTDIR)\sys_config.r30 \
125 $(OUTDIR)\serial_mini.r30 \
126 $(OUTDIR)\syslog_mini.r30 \
127 $(OUTDIR)\cpu_config.r30 \
128 $(OUTDIR)\cpu_support.r30 \
129 $(OUTDIR)\startup.r30 \
130 $(OUTDIR)\banner.r30 \
131 $(OUTDIR)\exception.r30 \
132 $(OUTDIR)\interrupt.r30 \
133 $(OUTDIR)\sys_manage.r30 \
134 $(OUTDIR)\task_manage.r30 \
135 $(OUTDIR)\time_manage.r30 \
136 $(OUTDIR)\task.r30 \
137 $(OUTDIR)\wait.r30 \
138 $(OUTDIR)\task_except.r30 \
139 $(OUTDIR)\task_sync.r30 \
140 $(OUTDIR)\time_event.r30 \
141 $(OUTDIR)\cyclic.r30 \
142 $(OUTDIR)\dataqueue.r30 \
143 $(OUTDIR)\eventflag.r30 \
144 $(OUTDIR)\mailbox.r30 \
145 $(OUTDIR)\mempfix.r30 \
146 $(OUTDIR)\semaphore.r30 \
147 $(OUTDIR)\timer.r30 \
148 $(OUTDIR)\strerror.r30 \
149 $(OUTDIR)\t_perror.r30 \
150 $(OUTDIR)\vasyslog.r30 \
151 $(OUTDIR)\kernel_cfg.r30 \
152 $(OUTDIR)\sample1.r30
153 $(LN) @$(ODINCMD)\$(LNLIST)
154$(OUTDIR)\banner.r30: \
155 ..\..\kernel\banner.c
156 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\banner.c
157$(OUTDIR)\cpu_config.r30: \
158 ..\..\config\m16c-renesas\cpu_config.c
159 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\config\m16c-renesas\cpu_config.c
160$(OUTDIR)\cpu_support.r30: \
161 ..\..\config\m16c-renesas\cpu_support.a30
162 $(AS) $(MRAFLAGS) $(AFLAGS) ..\..\config\m16c-renesas\cpu_support.a30
163$(OUTDIR)\cyclic.r30: \
164 ..\..\kernel\cyclic.c
165 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\cyclic.c
166$(OUTDIR)\dataqueue.r30: \
167 ..\..\kernel\dataqueue.c
168 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\dataqueue.c
169$(OUTDIR)\eventflag.r30: \
170 ..\..\kernel\eventflag.c
171 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\eventflag.c
172$(OUTDIR)\exception.r30: \
173 ..\..\kernel\exception.c
174 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\exception.c
175$(OUTDIR)\interrupt.r30: \
176 ..\..\kernel\interrupt.c
177 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\interrupt.c
178$(OUTDIR)\kernel_cfg.c: \
179 .\sample1m.cfg
180 $(CPP) -I../../config/m16c-renesas/oaks16_mini -I../../config/m16c-renesas -I../../kernel -I../../include -I../../sample -I. $< > sample1m.cfg.i
181 ..\..\cfg\cfg -cpu $(CPU) -system $(SYS) -s sample1m.cfg.i
182$(OUTDIR)\kernel_cfg.r30: \
183 $(OUTDIR)\kernel_cfg.c
184 $(CC) $(MRCFLAGS) $(CFLAGS) kernel_cfg.c
185$(OUTDIR)\kernel_id.h: \
186 .\sample1m.cfg
187 $(CPP) -I../../config/m16c-renesas/oaks16_mini -I../../config/m16c-renesas -I../../kernel -I../../include -I../../sample -I. $< > sample1m.cfg.i
188 ..\..\cfg\cfg -cpu $(CPU) -system $(SYS) -s sample1m.cfg.i
189$(OUTDIR)\m16cvec.inc: \
190 $(OUTDIR)\kernel_cfg.c
191 $(CPP) -I../../config/m16c-renesas/oaks16_mini -I../../config/m16c-renesas -I../../kernel -I../../include -I../../sample -I. $< > kernel_cfg.i
192 ..\..\utils\m16c-renesas\m16cvec.exe -M1
193$(OUTDIR)\mailbox.r30: \
194 ..\..\kernel\mailbox.c
195 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\mailbox.c
196$(OUTDIR)\mempfix.r30: \
197 ..\..\kernel\mempfix.c
198 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\mempfix.c
199$(OUTDIR)\offset.inc: \
200 ..\..\config\m16c-renesas\makeoffset.c
201 $(CC) -S $(MRCFLAGS) $(CFLAGS) $<
202 ..\..\utils\m16c-renesas\m16coffset.exe
203$(OUTDIR)\sample1.r30: \
204 ..\..\sample\sample1.c
205 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\sample\sample1.c
206$(OUTDIR)\semaphore.r30: \
207 ..\..\kernel\semaphore.c
208 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\semaphore.c
209$(OUTDIR)\serial_mini.r30: \
210 ..\..\config\m16c-renesas\oaks16_mini\serial_mini.c
211 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\config\m16c-renesas\oaks16_mini\serial_mini.c
212$(OUTDIR)\start.r30: \
213 ..\..\config\m16c-renesas\start.a30
214 $(AS) $(MRAFLAGS) $(AFLAGS) ..\..\config\m16c-renesas\start.a30
215$(OUTDIR)\startup.r30: \
216 ..\..\kernel\startup.c
217 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\startup.c
218$(OUTDIR)\strerror.r30: \
219 ..\..\library\strerror.c
220 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\library\strerror.c
221$(OUTDIR)\sys_config.r30: \
222 ..\..\config\m16c-renesas\oaks16_mini\sys_config.c
223 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\config\m16c-renesas\oaks16_mini\sys_config.c
224$(OUTDIR)\sys_manage.r30: \
225 ..\..\kernel\sys_manage.c
226 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\sys_manage.c
227$(OUTDIR)\syslog_mini.r30: \
228 ..\..\config\m16c-renesas\oaks16_mini\syslog_mini.c
229 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\config\m16c-renesas\oaks16_mini\syslog_mini.c
230$(OUTDIR)\t_perror.r30: \
231 ..\..\library\t_perror.c
232 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\library\t_perror.c
233$(OUTDIR)\task.r30: \
234 ..\..\kernel\task.c
235 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\task.c
236$(OUTDIR)\task_except.r30: \
237 ..\..\kernel\task_except.c
238 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\task_except.c
239$(OUTDIR)\task_manage.r30: \
240 ..\..\kernel\task_manage.c
241 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\task_manage.c
242$(OUTDIR)\task_sync.r30: \
243 ..\..\kernel\task_sync.c
244 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\task_sync.c
245$(OUTDIR)\time_event.r30: \
246 ..\..\kernel\time_event.c
247 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\time_event.c
248$(OUTDIR)\time_manage.r30: \
249 ..\..\kernel\time_manage.c
250 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\time_manage.c
251$(OUTDIR)\timer.r30: \
252 ..\..\systask\timer.c
253 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\systask\timer.c
254$(OUTDIR)\vasyslog.r30: \
255 ..\..\library\vasyslog.c
256 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\library\vasyslog.c
257$(OUTDIR)\wait.r30: \
258 ..\..\kernel\wait.c
259 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\wait.c
260####################################################################
261# End of makefile for TM V.3.20A
262# COPYRIGHT(C) 1998(1998-2003)
263# RENESAS TECHNOLOGY CORPORATION ALL RIGHTS RESERVED
264# AND
265# RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED
266####################################################################
Note: See TracBrowser for help on using the repository browser.