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

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

initial

File size: 10.5 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) PM.01.14
10# Project : Jsp14sample1
11####################################################################
12
13DELETE = @-del
14LNLIST = $(PROJECT).cmd
15CC_USER = NC308
16LN_USER = LN308
17LMC = lmc308
18CC = nc308
19AR = lb308
20AS = as308
21OUTDIR = .
22MKDIR = @-mkdir
23LIBFLAGS =
24CPP = C:\Hew\Tools\Renesas\nc308wa\v542r00\LIB308\CPP308
25ABSFILE = $(PROJECT).x30
26LMC_USER = LMC308
27PRJDIR_USER = C:\usr\TOPPERS\jsp-1.4\tools\M32C-RENESAS
28ODINCMD = $(OUTDIR)
29LBFILE = $(PROJECT).lib
30AS_USER = AS308
31LN = ln308
32TARGET = $(ABSFILE)
33ECHO = @-echo
34MKFILE = $(PROJECT).tmk
35@(SRCDIR) = ..
36TYPE = @-type
37PROJECT = Jsp14sample1
38LFLAGS = -MS -L nc308lib -. -G -M82 -NOSTOP -O $(OUTDIR)\$(TARGET) -ORDER data_NE=0400,data_NO,bss_NE,bss_NO,program=0f80000,rom_FE,rom_FO,data_NEI,data_NOI
39CFLAGS = -c -I../../config/m32c-renesas -I../../config/m32c-renesas/oaks32 -I../../kernel -I../../include -I../../sample -I. -silent -dir $(OUTDIR) -g -DNEED_API -M82
40LMCFLAGS = -L
41AFLAGS = -LM -. -DRAMEND=07800h:MON=0:USE_KD3083=1 -I. -M82 -O$(OUTDIR)
42.SUFFIXES: .a30 .r30 .c .x30 .lib
43.PHONY: all
44all: \
45 $(OUTDIR)\$(TARGET) \
46 $(OUTDIR)\Jsp14sample1.mot
47.PHONY: clean
48clean:
49 $(DELETE) $(OUTDIR)\$(TARGET)
50 $(DELETE) $(ODINCMD)\$(LNLIST)
51 $(DELETE) $(OUTDIR)\kernel_cfg.c
52 $(DELETE) $(OUTDIR)\kernel_id.h
53 $(DELETE) $(OUTDIR)\m16cvec.inc
54 $(DELETE) $(OUTDIR)\start.r30
55 $(DELETE) $(OUTDIR)\sys_config.r30
56 $(DELETE) $(OUTDIR)\sfruart.r30
57 $(DELETE) $(OUTDIR)\cpu_config.r30
58 $(DELETE) $(OUTDIR)\cpu_support.r30
59 $(DELETE) $(OUTDIR)\startup.r30
60 $(DELETE) $(OUTDIR)\banner.r30
61 $(DELETE) $(OUTDIR)\exception.r30
62 $(DELETE) $(OUTDIR)\interrupt.r30
63 $(DELETE) $(OUTDIR)\sys_manage.r30
64 $(DELETE) $(OUTDIR)\task_manage.r30
65 $(DELETE) $(OUTDIR)\time_manage.r30
66 $(DELETE) $(OUTDIR)\task.r30
67 $(DELETE) $(OUTDIR)\wait.r30
68 $(DELETE) $(OUTDIR)\task_except.r30
69 $(DELETE) $(OUTDIR)\task_sync.r30
70 $(DELETE) $(OUTDIR)\time_event.r30
71 $(DELETE) $(OUTDIR)\cyclic.r30
72 $(DELETE) $(OUTDIR)\dataqueue.r30
73 $(DELETE) $(OUTDIR)\eventflag.r30
74 $(DELETE) $(OUTDIR)\mailbox.r30
75 $(DELETE) $(OUTDIR)\mempfix.r30
76 $(DELETE) $(OUTDIR)\semaphore.r30
77 $(DELETE) $(OUTDIR)\syslog.r30
78 $(DELETE) $(OUTDIR)\logtask.r30
79 $(DELETE) $(OUTDIR)\serial.r30
80 $(DELETE) $(OUTDIR)\timer.r30
81 $(DELETE) $(OUTDIR)\log_output.r30
82 $(DELETE) $(OUTDIR)\strerror.r30
83 $(DELETE) $(OUTDIR)\t_perror.r30
84 $(DELETE) $(OUTDIR)\vasyslog.r30
85 $(DELETE) $(OUTDIR)\kernel_cfg.r30
86 $(DELETE) $(OUTDIR)\sample1.r30
87 $(DELETE) $(OUTDIR)\sample1.cfg.i
88 $(DELETE) $(OUTDIR)\start.lst
89 $(DELETE) $(OUTDIR)\cpu_support.lst
90 $(DELETE) $(OUTDIR)\makeoffset.a30
91 $(DELETE) $(OUTDIR)\Jsp14sample1.map
92$(ODINCMD)\$(LNLIST): \
93 .\$(MKFILE)
94 $(ECHO)\$(MRLFLAGS) $(LFLAGS) > $(ODINCMD)\$(LNLIST)
95 $(ECHO)\$(OUTDIR)\start.r30 >> $(ODINCMD)\$(LNLIST)
96 $(ECHO)\$(OUTDIR)\sys_config.r30 >> $(ODINCMD)\$(LNLIST)
97 $(ECHO)\$(OUTDIR)\sfruart.r30 >> $(ODINCMD)\$(LNLIST)
98 $(ECHO)\$(OUTDIR)\cpu_config.r30 >> $(ODINCMD)\$(LNLIST)
99 $(ECHO)\$(OUTDIR)\cpu_support.r30 >> $(ODINCMD)\$(LNLIST)
100 $(ECHO)\$(OUTDIR)\startup.r30 >> $(ODINCMD)\$(LNLIST)
101 $(ECHO)\$(OUTDIR)\banner.r30 >> $(ODINCMD)\$(LNLIST)
102 $(ECHO)\$(OUTDIR)\exception.r30 >> $(ODINCMD)\$(LNLIST)
103 $(ECHO)\$(OUTDIR)\interrupt.r30 >> $(ODINCMD)\$(LNLIST)
104 $(ECHO)\$(OUTDIR)\sys_manage.r30 >> $(ODINCMD)\$(LNLIST)
105 $(ECHO)\$(OUTDIR)\task_manage.r30 >> $(ODINCMD)\$(LNLIST)
106 $(ECHO)\$(OUTDIR)\time_manage.r30 >> $(ODINCMD)\$(LNLIST)
107 $(ECHO)\$(OUTDIR)\task.r30 >> $(ODINCMD)\$(LNLIST)
108 $(ECHO)\$(OUTDIR)\wait.r30 >> $(ODINCMD)\$(LNLIST)
109 $(ECHO)\$(OUTDIR)\task_except.r30 >> $(ODINCMD)\$(LNLIST)
110 $(ECHO)\$(OUTDIR)\task_sync.r30 >> $(ODINCMD)\$(LNLIST)
111 $(ECHO)\$(OUTDIR)\time_event.r30 >> $(ODINCMD)\$(LNLIST)
112 $(ECHO)\$(OUTDIR)\cyclic.r30 >> $(ODINCMD)\$(LNLIST)
113 $(ECHO)\$(OUTDIR)\dataqueue.r30 >> $(ODINCMD)\$(LNLIST)
114 $(ECHO)\$(OUTDIR)\eventflag.r30 >> $(ODINCMD)\$(LNLIST)
115 $(ECHO)\$(OUTDIR)\mailbox.r30 >> $(ODINCMD)\$(LNLIST)
116 $(ECHO)\$(OUTDIR)\mempfix.r30 >> $(ODINCMD)\$(LNLIST)
117 $(ECHO)\$(OUTDIR)\semaphore.r30 >> $(ODINCMD)\$(LNLIST)
118 $(ECHO)\$(OUTDIR)\syslog.r30 >> $(ODINCMD)\$(LNLIST)
119 $(ECHO)\$(OUTDIR)\logtask.r30 >> $(ODINCMD)\$(LNLIST)
120 $(ECHO)\$(OUTDIR)\serial.r30 >> $(ODINCMD)\$(LNLIST)
121 $(ECHO)\$(OUTDIR)\timer.r30 >> $(ODINCMD)\$(LNLIST)
122 $(ECHO)\$(OUTDIR)\log_output.r30 >> $(ODINCMD)\$(LNLIST)
123 $(ECHO)\$(OUTDIR)\strerror.r30 >> $(ODINCMD)\$(LNLIST)
124 $(ECHO)\$(OUTDIR)\t_perror.r30 >> $(ODINCMD)\$(LNLIST)
125 $(ECHO)\$(OUTDIR)\vasyslog.r30 >> $(ODINCMD)\$(LNLIST)
126 $(ECHO)\$(OUTDIR)\kernel_cfg.r30 >> $(ODINCMD)\$(LNLIST)
127 $(ECHO)\$(OUTDIR)\sample1.r30 >> $(ODINCMD)\$(LNLIST)
128$(OUTDIR)\Jsp14sample1.mot: \
129 $(OUTDIR)\$(TARGET)
130 $(LMC) -. -ID#00000000000000 $<
131$(OUTDIR)\$(TARGET): \
132 $(ODINCMD)\$(LNLIST) \
133 $(OUTDIR)\kernel_cfg.c \
134 $(OUTDIR)\kernel_id.h \
135 $(OUTDIR)\m16cvec.inc \
136 $(OUTDIR)\start.r30 \
137 $(OUTDIR)\sys_config.r30 \
138 $(OUTDIR)\sfruart.r30 \
139 $(OUTDIR)\cpu_config.r30 \
140 $(OUTDIR)\cpu_support.r30 \
141 $(OUTDIR)\startup.r30 \
142 $(OUTDIR)\banner.r30 \
143 $(OUTDIR)\exception.r30 \
144 $(OUTDIR)\interrupt.r30 \
145 $(OUTDIR)\sys_manage.r30 \
146 $(OUTDIR)\task_manage.r30 \
147 $(OUTDIR)\time_manage.r30 \
148 $(OUTDIR)\task.r30 \
149 $(OUTDIR)\wait.r30 \
150 $(OUTDIR)\task_except.r30 \
151 $(OUTDIR)\task_sync.r30 \
152 $(OUTDIR)\time_event.r30 \
153 $(OUTDIR)\cyclic.r30 \
154 $(OUTDIR)\dataqueue.r30 \
155 $(OUTDIR)\eventflag.r30 \
156 $(OUTDIR)\mailbox.r30 \
157 $(OUTDIR)\mempfix.r30 \
158 $(OUTDIR)\semaphore.r30 \
159 $(OUTDIR)\syslog.r30 \
160 $(OUTDIR)\logtask.r30 \
161 $(OUTDIR)\serial.r30 \
162 $(OUTDIR)\timer.r30 \
163 $(OUTDIR)\log_output.r30 \
164 $(OUTDIR)\strerror.r30 \
165 $(OUTDIR)\t_perror.r30 \
166 $(OUTDIR)\vasyslog.r30 \
167 $(OUTDIR)\kernel_cfg.r30 \
168 $(OUTDIR)\sample1.r30
169 $(LN) @$(ODINCMD)\$(LNLIST)
170$(OUTDIR)\banner.r30: \
171 ..\..\kernel\banner.c
172 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\banner.c
173$(OUTDIR)\cpu_config.r30: \
174 ..\..\config\m32c-renesas\cpu_config.c
175 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\config\m32c-renesas\cpu_config.c
176$(OUTDIR)\cpu_support.r30: \
177 ..\..\config\m32c-renesas\cpu_support.a30
178 $(AS) $(MRAFLAGS) $(AFLAGS) ..\..\config\m32c-renesas\cpu_support.a30
179$(OUTDIR)\cyclic.r30: \
180 ..\..\kernel\cyclic.c
181 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\cyclic.c
182$(OUTDIR)\dataqueue.r30: \
183 ..\..\kernel\dataqueue.c
184 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\dataqueue.c
185$(OUTDIR)\eventflag.r30: \
186 ..\..\kernel\eventflag.c
187 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\eventflag.c
188$(OUTDIR)\exception.r30: \
189 ..\..\kernel\exception.c
190 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\exception.c
191$(OUTDIR)\interrupt.r30: \
192 ..\..\kernel\interrupt.c
193 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\interrupt.c
194$(OUTDIR)\kernel_cfg.c: \
195 .\sample1.cfg
196 $(CPP) -I../../config/m32c-renesas/oaks32 -I../../config/m32c-renesas -I../../kernel -I../../include -I../../sample -I. $< > sample1.cfg.i
197 ..\..\cfg\cfg -cpu $(CPU) -system $(SYS) -s sample1.cfg.i
198$(OUTDIR)\kernel_cfg.r30: \
199 $(OUTDIR)\kernel_cfg.c
200 $(CC) $(MRCFLAGS) $(CFLAGS) kernel_cfg.c
201$(OUTDIR)\kernel_id.h: \
202 .\sample1.cfg
203 $(CPP) -I../../config/m32c-renesas/oaks32 -I../../config/m32c-renesas -I../../kernel -I../../include -I../../sample -I. $< > sample1.cfg.i
204 ..\..\cfg\cfg -cpu $(CPU) -system $(SYS) -s sample1.cfg.i
205$(OUTDIR)\log_output.r30: \
206 ..\..\library\log_output.c
207 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\library\log_output.c
208$(OUTDIR)\logtask.r30: \
209 ..\..\systask\logtask.c
210 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\systask\logtask.c
211$(OUTDIR)\m16cvec.inc: \
212 $(OUTDIR)\kernel_cfg.c
213 $(CPP) -I../../config/m32c-renesas/oaks32 -I../../config/m32c-renesas -I../../kernel -I../../include -I../../sample -I. $< > kernel_cfg.i
214 ..\..\utils\m16c-renesas\m16cvec.exe -M0 -F0ffffdch
215$(OUTDIR)\mailbox.r30: \
216 ..\..\kernel\mailbox.c
217 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\mailbox.c
218$(OUTDIR)\mempfix.r30: \
219 ..\..\kernel\mempfix.c
220 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\mempfix.c
221$(OUTDIR)\sample1.r30: \
222 ..\..\sample\sample1.c
223 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\sample\sample1.c
224$(OUTDIR)\semaphore.r30: \
225 ..\..\kernel\semaphore.c
226 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\semaphore.c
227$(OUTDIR)\serial.r30: \
228 ..\..\systask\serial.c
229 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\systask\serial.c
230$(OUTDIR)\sfruart.r30: \
231 ..\..\config\m32c-renesas\oaks32\sfruart.c
232 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\config\m32c-renesas\oaks32\sfruart.c
233$(OUTDIR)\start.r30: \
234 ..\..\config\m32c-renesas\start.a30 \
235 $(OUTDIR)\m16cvec.inc
236 $(AS) $(MRAFLAGS) $(AFLAGS) ..\..\config\m32c-renesas\start.a30
237$(OUTDIR)\startup.r30: \
238 ..\..\kernel\startup.c
239 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\startup.c
240$(OUTDIR)\strerror.r30: \
241 ..\..\library\strerror.c
242 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\library\strerror.c
243$(OUTDIR)\sys_config.r30: \
244 ..\..\config\m32c-renesas\oaks32\sys_config.c
245 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\config\m32c-renesas\oaks32\sys_config.c
246$(OUTDIR)\sys_manage.r30: \
247 ..\..\kernel\sys_manage.c
248 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\sys_manage.c
249$(OUTDIR)\syslog.r30: \
250 ..\..\kernel\syslog.c
251 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\syslog.c
252$(OUTDIR)\t_perror.r30: \
253 ..\..\library\t_perror.c
254 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\library\t_perror.c
255$(OUTDIR)\task.r30: \
256 ..\..\kernel\task.c
257 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\task.c
258$(OUTDIR)\task_except.r30: \
259 ..\..\kernel\task_except.c
260 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\task_except.c
261$(OUTDIR)\task_manage.r30: \
262 ..\..\kernel\task_manage.c
263 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\task_manage.c
264$(OUTDIR)\task_sync.r30: \
265 ..\..\kernel\task_sync.c
266 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\task_sync.c
267$(OUTDIR)\time_event.r30: \
268 ..\..\kernel\time_event.c
269 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\time_event.c
270$(OUTDIR)\time_manage.r30: \
271 ..\..\kernel\time_manage.c
272 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\time_manage.c
273$(OUTDIR)\timer.r30: \
274 ..\..\systask\timer.c
275 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\systask\timer.c
276$(OUTDIR)\vasyslog.r30: \
277 ..\..\library\vasyslog.c
278 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\library\vasyslog.c
279$(OUTDIR)\wait.r30: \
280 ..\..\kernel\wait.c
281 $(CC) $(MRCFLAGS) $(CFLAGS) ..\..\kernel\wait.c
282####################################################################
283# End of makefile for TM V.3.20A
284# COPYRIGHT(C) 1998(1998-2003)
285# RENESAS TECHNOLOGY CORPORATION ALL RIGHTS RESERVED
286# AND
287# RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED
288####################################################################
Note: See TracBrowser for help on using the repository browser.