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

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

initial

File size: 10.4 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.10.16
10# Project : Jsp14sample1
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
27@(SRCDIR) = ..
28TYPE = @-type
29PROJECT = Jsp14sample1
30LFLAGS = -MS -L nc30lib -G -O $(OUTDIR)\$(TARGET) -ORDER data_NE=400,data_NO,bss_NE,bss_NO,program=0E0000,rom_FE,rom_FO,data_NEI,data_NOI
31CFLAGS = -c -I../../config/m16c-renesas -I../../config/m16c-renesas/oaks16 -I../../kernel -I../../include -I../../sample -I. -dir $(OUTDIR) -g -DNEED_API
32LMCFLAGS = -L
33AFLAGS = -LM -DRAMEND=02c00h:MON=0 -I. -O$(OUTDIR)
34.SUFFIXES: .a30 .r30 .c .x30 .lib
35.PHONY: all
36all: \
37 $(OUTDIR)\$(TARGET) \
38 $(OUTDIR)\Jsp14sample1.mot
39.PHONY: clean
40clean:
41 $(DELETE) $(OUTDIR)\$(TARGET)
42 $(DELETE) $(ODINCMD)\$(LNLIST)
43 $(DELETE) $(OUTDIR)\kernel_cfg.c
44 $(DELETE) $(OUTDIR)\kernel_id.h
45 $(DELETE) $(OUTDIR)\m16cvec.inc
46 $(DELETE) $(OUTDIR)\offset.inc
47 $(DELETE) $(OUTDIR)\start.r30
48 $(DELETE) $(OUTDIR)\sys_config.r30
49 $(DELETE) $(OUTDIR)\sfruart.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)\syslog.r30
71 $(DELETE) $(OUTDIR)\logtask.r30
72 $(DELETE) $(OUTDIR)\serial.r30
73 $(DELETE) $(OUTDIR)\timer.r30
74 $(DELETE) $(OUTDIR)\log_output.r30
75 $(DELETE) $(OUTDIR)\strerror.r30
76 $(DELETE) $(OUTDIR)\t_perror.r30
77 $(DELETE) $(OUTDIR)\vasyslog.r30
78 $(DELETE) $(OUTDIR)\kernel_cfg.r30
79 $(DELETE) $(OUTDIR)\sample1.r30
80 $(DELETE) $(OUTDIR)\sample1.cfg.i
81 $(DELETE) $(OUTDIR)\start.lst
82 $(DELETE) $(OUTDIR)\cpu_support.lst
83 $(DELETE) $(OUTDIR)\makeoffset.a30
84 $(DELETE) $(OUTDIR)\Jsp14sample1.map
85$(ODINCMD)\$(LNLIST): \
86 .\$(MKFILE)
87 $(ECHO)\$(MRLFLAGS) $(LFLAGS) > $(ODINCMD)\$(LNLIST)
88 $(ECHO)\$(OUTDIR)\start.r30 >> $(ODINCMD)\$(LNLIST)
89 $(ECHO)\$(OUTDIR)\sys_config.r30 >> $(ODINCMD)\$(LNLIST)
90 $(ECHO)\$(OUTDIR)\sfruart.r30 >> $(ODINCMD)\$(LNLIST)
91 $(ECHO)\$(OUTDIR)\cpu_config.r30 >> $(ODINCMD)\$(LNLIST)
92 $(ECHO)\$(OUTDIR)\cpu_support.r30 >> $(ODINCMD)\$(LNLIST)
93 $(ECHO)\$(OUTDIR)\startup.r30 >> $(ODINCMD)\$(LNLIST)
94 $(ECHO)\$(OUTDIR)\banner.r30 >> $(ODINCMD)\$(LNLIST)
95 $(ECHO)\$(OUTDIR)\exception.r30 >> $(ODINCMD)\$(LNLIST)
96 $(ECHO)\$(OUTDIR)\interrupt.r30 >> $(ODINCMD)\$(LNLIST)
97 $(ECHO)\$(OUTDIR)\sys_manage.r30 >> $(ODINCMD)\$(LNLIST)
98 $(ECHO)\$(OUTDIR)\task_manage.r30 >> $(ODINCMD)\$(LNLIST)
99 $(ECHO)\$(OUTDIR)\time_manage.r30 >> $(ODINCMD)\$(LNLIST)
100 $(ECHO)\$(OUTDIR)\task.r30 >> $(ODINCMD)\$(LNLIST)
101 $(ECHO)\$(OUTDIR)\wait.r30 >> $(ODINCMD)\$(LNLIST)
102 $(ECHO)\$(OUTDIR)\task_except.r30 >> $(ODINCMD)\$(LNLIST)
103 $(ECHO)\$(OUTDIR)\task_sync.r30 >> $(ODINCMD)\$(LNLIST)
104 $(ECHO)\$(OUTDIR)\time_event.r30 >> $(ODINCMD)\$(LNLIST)
105 $(ECHO)\$(OUTDIR)\cyclic.r30 >> $(ODINCMD)\$(LNLIST)
106 $(ECHO)\$(OUTDIR)\dataqueue.r30 >> $(ODINCMD)\$(LNLIST)
107 $(ECHO)\$(OUTDIR)\eventflag.r30 >> $(ODINCMD)\$(LNLIST)
108 $(ECHO)\$(OUTDIR)\mailbox.r30 >> $(ODINCMD)\$(LNLIST)
109 $(ECHO)\$(OUTDIR)\mempfix.r30 >> $(ODINCMD)\$(LNLIST)
110 $(ECHO)\$(OUTDIR)\semaphore.r30 >> $(ODINCMD)\$(LNLIST)
111 $(ECHO)\$(OUTDIR)\syslog.r30 >> $(ODINCMD)\$(LNLIST)
112 $(ECHO)\$(OUTDIR)\logtask.r30 >> $(ODINCMD)\$(LNLIST)
113 $(ECHO)\$(OUTDIR)\serial.r30 >> $(ODINCMD)\$(LNLIST)
114 $(ECHO)\$(OUTDIR)\timer.r30 >> $(ODINCMD)\$(LNLIST)
115 $(ECHO)\$(OUTDIR)\log_output.r30 >> $(ODINCMD)\$(LNLIST)
116 $(ECHO)\$(OUTDIR)\strerror.r30 >> $(ODINCMD)\$(LNLIST)
117 $(ECHO)\$(OUTDIR)\t_perror.r30 >> $(ODINCMD)\$(LNLIST)
118 $(ECHO)\$(OUTDIR)\vasyslog.r30 >> $(ODINCMD)\$(LNLIST)
119 $(ECHO)\$(OUTDIR)\kernel_cfg.r30 >> $(ODINCMD)\$(LNLIST)
120 $(ECHO)\$(OUTDIR)\sample1.r30 >> $(ODINCMD)\$(LNLIST)
121$(OUTDIR)\Jsp14sample1.mot: \
122 $(OUTDIR)\$(TARGET)
123 $(LMC) $<
124$(OUTDIR)\$(TARGET): \
125 $(ODINCMD)\$(LNLIST) \
126 $(OUTDIR)\kernel_cfg.c \
127 $(OUTDIR)\kernel_id.h \
128 $(OUTDIR)\m16cvec.inc \
129 $(OUTDIR)\offset.inc \
130 $(OUTDIR)\start.r30 \
131 $(OUTDIR)\sys_config.r30 \
132 $(OUTDIR)\sfruart.r30 \
133 $(OUTDIR)\cpu_config.r30 \
134 $(OUTDIR)\cpu_support.r30 \
135 $(OUTDIR)\startup.r30 \
136 $(OUTDIR)\banner.r30 \
137 $(OUTDIR)\exception.r30 \
138 $(OUTDIR)\interrupt.r30 \
139 $(OUTDIR)\sys_manage.r30 \
140 $(OUTDIR)\task_manage.r30 \
141 $(OUTDIR)\time_manage.r30 \
142 $(OUTDIR)\task.r30 \
143 $(OUTDIR)\wait.r30 \
144 $(OUTDIR)\task_except.r30 \
145 $(OUTDIR)\task_sync.r30 \
146 $(OUTDIR)\time_event.r30 \
147 $(OUTDIR)\cyclic.r30 \
148 $(OUTDIR)\dataqueue.r30 \
149 $(OUTDIR)\eventflag.r30 \
150 $(OUTDIR)\mailbox.r30 \
151 $(OUTDIR)\mempfix.r30 \
152 $(OUTDIR)\semaphore.r30 \
153 $(OUTDIR)\syslog.r30 \
154 $(OUTDIR)\logtask.r30 \
155 $(OUTDIR)\serial.r30 \
156 $(OUTDIR)\timer.r30 \
157 $(OUTDIR)\log_output.r30 \
158 $(OUTDIR)\strerror.r30 \
159 $(OUTDIR)\t_perror.r30 \
160 $(OUTDIR)\vasyslog.r30 \
161 $(OUTDIR)\kernel_cfg.r30 \
162 $(OUTDIR)\sample1.r30
163 $(LN) @$(ODINCMD)\$(LNLIST)
164$(OUTDIR)\banner.r30: \
165 ..\..\kernel\banner.c
166 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\banner.c
167$(OUTDIR)\cpu_config.r30: \
168 ..\..\config\m16c-renesas\cpu_config.c
169 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\config\m16c-renesas\cpu_config.c
170$(OUTDIR)\cpu_support.r30: \
171 ..\..\config\m16c-renesas\cpu_support.a30
172 $(AS) $(MRAFLAGS) $(AFLAGS) ..\..\config\m16c-renesas\cpu_support.a30
173$(OUTDIR)\cyclic.r30: \
174 ..\..\kernel\cyclic.c
175 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\cyclic.c
176$(OUTDIR)\dataqueue.r30: \
177 ..\..\kernel\dataqueue.c
178 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\dataqueue.c
179$(OUTDIR)\eventflag.r30: \
180 ..\..\kernel\eventflag.c
181 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\eventflag.c
182$(OUTDIR)\exception.r30: \
183 ..\..\kernel\exception.c
184 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\exception.c
185$(OUTDIR)\interrupt.r30: \
186 ..\..\kernel\interrupt.c
187 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\interrupt.c
188$(OUTDIR)\kernel_cfg.c: \
189 .\sample1.cfg
190 $(CPP) -I../../config/m16c-renesas/oaks16 -I../../config/m16c-renesas -I../../kernel -I../../include -I../../sample -I. $< > sample1.cfg.i
191 ..\..\cfg\cfg -cpu $(CPU) -system $(SYS) -s sample1.cfg.i
192$(OUTDIR)\kernel_cfg.r30: \
193 $(OUTDIR)\kernel_cfg.c
194 $(CC) $(MRCFLAGS) $(CFLAGS) kernel_cfg.c
195$(OUTDIR)\kernel_id.h: \
196 .\sample1.cfg
197 $(CPP) -I../../config/m16c-renesas/oaks16 -I../../config/m16c-renesas -I../../kernel -I../../include -I../../sample -I. $< > sample1.cfg.i
198 ..\..\cfg\cfg -cpu $(CPU) -system $(SYS) -s sample1.cfg.i
199$(OUTDIR)\log_output.r30: \
200 ..\..\library\log_output.c
201 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\library\log_output.c
202$(OUTDIR)\logtask.r30: \
203 ..\..\systask\logtask.c
204 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\systask\logtask.c
205$(OUTDIR)\m16cvec.inc: \
206 $(OUTDIR)\kernel_cfg.c
207 $(CPP) -I../../config/m16c-renesas/oaks16 -I../../config/m16c-renesas -I../../kernel -I../../include -I../../sample -I. $< > kernel_cfg.i
208 ..\..\utils\m16c-renesas\m16cvec.exe -M0
209$(OUTDIR)\mailbox.r30: \
210 ..\..\kernel\mailbox.c
211 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\mailbox.c
212$(OUTDIR)\mempfix.r30: \
213 ..\..\kernel\mempfix.c
214 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\mempfix.c
215$(OUTDIR)\offset.inc: \
216 ..\..\config\m16c-renesas\makeoffset.c
217 $(CC) -S $(MRCFLAGS) $(CFLAGS) $<
218 ..\..\utils\m16c-renesas\m16coffset.exe
219$(OUTDIR)\sample1.r30: \
220 ..\..\sample\sample1.c
221 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\sample\sample1.c
222$(OUTDIR)\semaphore.r30: \
223 ..\..\kernel\semaphore.c
224 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\semaphore.c
225$(OUTDIR)\serial.r30: \
226 ..\..\systask\serial.c
227 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\systask\serial.c
228$(OUTDIR)\sfruart.r30: \
229 ..\..\config\m16c-renesas\oaks16\sfruart.c
230 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\config\m16c-renesas\oaks16\sfruart.c
231$(OUTDIR)\start.r30: \
232 ..\..\config\m16c-renesas\start.a30
233 $(AS) $(MRAFLAGS) $(AFLAGS) ..\..\config\m16c-renesas\start.a30
234$(OUTDIR)\startup.r30: \
235 ..\..\kernel\startup.c
236 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\startup.c
237$(OUTDIR)\strerror.r30: \
238 ..\..\library\strerror.c
239 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\library\strerror.c
240$(OUTDIR)\sys_config.r30: \
241 ..\..\config\m16c-renesas\oaks16\sys_config.c
242 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\config\m16c-renesas\oaks16\sys_config.c
243$(OUTDIR)\sys_manage.r30: \
244 ..\..\kernel\sys_manage.c
245 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\sys_manage.c
246$(OUTDIR)\syslog.r30: \
247 ..\..\kernel\syslog.c
248 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\syslog.c
249$(OUTDIR)\t_perror.r30: \
250 ..\..\library\t_perror.c
251 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\library\t_perror.c
252$(OUTDIR)\task.r30: \
253 ..\..\kernel\task.c
254 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\task.c
255$(OUTDIR)\task_except.r30: \
256 ..\..\kernel\task_except.c
257 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\task_except.c
258$(OUTDIR)\task_manage.r30: \
259 ..\..\kernel\task_manage.c
260 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\task_manage.c
261$(OUTDIR)\task_sync.r30: \
262 ..\..\kernel\task_sync.c
263 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\task_sync.c
264$(OUTDIR)\time_event.r30: \
265 ..\..\kernel\time_event.c
266 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\time_event.c
267$(OUTDIR)\time_manage.r30: \
268 ..\..\kernel\time_manage.c
269 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\time_manage.c
270$(OUTDIR)\timer.r30: \
271 ..\..\systask\timer.c
272 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\systask\timer.c
273$(OUTDIR)\vasyslog.r30: \
274 ..\..\library\vasyslog.c
275 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\library\vasyslog.c
276$(OUTDIR)\wait.r30: \
277 ..\..\kernel\wait.c
278 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\wait.c
279####################################################################
280# End of makefile for TM V.3.20A
281# COPYRIGHT(C) 1998(1998-2003)
282# RENESAS TECHNOLOGY CORPORATION ALL RIGHTS RESERVED
283# AND
284# RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED
285####################################################################
Note: See TracBrowser for help on using the repository browser.