107 |
bj |
1 |
#----------------------------------------------------------------------------
|
|
|
2 |
# Borland Makefile
|
|
|
3 |
#
|
|
|
4 |
# This file was automatically generated by MPC. Any changes made directly to
|
|
|
5 |
# this file will be lost the next time it is generated.
|
|
|
6 |
#
|
|
|
7 |
#----------------------------------------------------------------------------
|
|
|
8 |
<%marker(top)%>
|
|
|
9 |
<%foreach(configurations)%>
|
|
|
10 |
!ifdef <%uc(configuration)%>
|
217 |
bj |
11 |
OCFLAGS = <%if(optimize)%>-O2<%else%><%if(debug_prj)%>-v -y -Od -vi- -k<%foreach(debug_macros)%> -D<%debug_macro%><%endfor%><%endif%><%endif%><%foreach(defines)%> -D<%define%><%endfor%>
|
107 |
bj |
12 |
CFG_DIR = <%intermediate_dir%>\\
|
|
|
13 |
ILIBMODIFIER = <%lib_modifier%>
|
|
|
14 |
OLIBMODIFIER = <%if(use_lib_modifier)%><%lib_modifier%><%endif%>
|
|
|
15 |
EXEMODIFIER = <%if(use_exe_modifier)%><%lib_modifier%><%endif%>
|
|
|
16 |
<%if(postlinkrmext)%>
|
|
|
17 |
POSTLINKRM = <%postlinkrmext%>
|
|
|
18 |
<%endif%>
|
|
|
19 |
<%if(exename)%>
|
|
|
20 |
EXEOUTPUTDIR = <%exeoutputdir(".")%>\\
|
|
|
21 |
<%endif%>
|
|
|
22 |
!else
|
|
|
23 |
<%endfor%>
|
|
|
24 |
!error You must define one of these valid configurations: <%configurations%>
|
|
|
25 |
<%foreach(configurations)%>
|
|
|
26 |
!endif
|
|
|
27 |
<%endfor%>
|
|
|
28 |
|
|
|
29 |
!ifdef UNICODE
|
|
|
30 |
UC_CFLAGS = <%unicode_flags%>
|
|
|
31 |
UNICODE_DIR = Unicode\\
|
|
|
32 |
UC_MAIN = w
|
|
|
33 |
!endif
|
|
|
34 |
|
|
|
35 |
!ifdef CODEGUARD
|
|
|
36 |
CG_CFLAGS = -vG
|
|
|
37 |
CG_LIB = cg32.lib
|
|
|
38 |
!endif
|
|
|
39 |
|
217 |
bj |
40 |
<%if(use_vcl)%>
|
|
|
41 |
STARTUP_LETTER = <%if(exename)%>w<%else%><%startup_letter%><%endif%>
|
|
|
42 |
<%else%>
|
|
|
43 |
VCL_CFLAGS = -D_NO_VCL
|
|
|
44 |
STARTUP_LETTER = <%startup_letter%>
|
|
|
45 |
<%endif%>
|
|
|
46 |
STARTUP_OBJ = c0$(STARTUP_LETTER)32$(UC_MAIN)$(OBJ_EXT)
|
|
|
47 |
|
107 |
bj |
48 |
<%foreach(compilers)%>
|
|
|
49 |
<%fornotlast("!ifdef")%><%forlast("!else #")%> <%uc(compiler)%>
|
|
|
50 |
OBJ_EXT = <%obj_ext%>
|
|
|
51 |
DLL_EXT = <%dll_ext%>
|
|
|
52 |
LIB_EXT = <%lib_ext%>
|
|
|
53 |
EXE_EXT = <%exe_ext%>
|
|
|
54 |
CC = <%cc%>
|
|
|
55 |
RC = <%rc%>
|
|
|
56 |
LINK = <%link%>
|
|
|
57 |
TLIB = <%tlib%>
|
|
|
58 |
THREADFLAGS = <%thflags%>
|
|
|
59 |
DLLFLAGS = <%dllflags%>
|
|
|
60 |
LIBFLAGS = <%libflags%>
|
|
|
61 |
EXEFLAGS = <%exeflags%>
|
|
|
62 |
WARNFLAGS = <%warnflags%>
|
217 |
bj |
63 |
CCFLAGS = <%ccflags%><%if(type_is_binary)%> <%binary_compile_flags("-tWR -tWD")%><%endif%><%if(compile_flags)%> <%compile_flags%><%endif%>
|
107 |
bj |
64 |
<%endfor%>
|
|
|
65 |
!endif
|
|
|
66 |
|
|
|
67 |
INTERMEDIATE = $(CFG_DIR)$(UNICODE_DIR)<%noextension(project_name)%>
|
|
|
68 |
<%if(exename)%>
|
|
|
69 |
NAME = <%exename%>$(EXEMODIFIER)
|
|
|
70 |
<%else%>
|
|
|
71 |
<%if(sharedname)%>
|
198 |
bj |
72 |
NAME = <%libname_prefix%><%sharedname%>$(OLIBMODIFIER)
|
107 |
bj |
73 |
<%else%>
|
|
|
74 |
<%if(staticname)%>
|
198 |
bj |
75 |
NAME = <%libname_prefix%><%staticname%>$(OLIBMODIFIER)
|
107 |
bj |
76 |
<%endif%>
|
|
|
77 |
<%endif%>
|
|
|
78 |
<%endif%>
|
|
|
79 |
CPPDIR = <%cppdir%>
|
|
|
80 |
RESDIR = <%rcdir%>
|
|
|
81 |
<%if(exename || sharedname || staticname)%>
|
|
|
82 |
|
|
|
83 |
OBJFILES = \
|
|
|
84 |
<%foreach(source_files)%>
|
217 |
bj |
85 |
"$(INTERMEDIATE)\<%transdir(source_file)%><%basenoextension(source_file)%>$(OBJ_EXT)"<%fornotlast(" \\")%>
|
107 |
bj |
86 |
<%endfor%>
|
|
|
87 |
<%endif%>
|
|
|
88 |
<%if(libpaths)%>
|
|
|
89 |
|
|
|
90 |
LFLAGS = \
|
|
|
91 |
<%if(StackReserveSize)%>
|
|
|
92 |
/S:<%StackReserveSize%> \
|
|
|
93 |
<%endif%>
|
|
|
94 |
<%if(StackCommitSize)%>
|
|
|
95 |
/Sc:<%StackCommitSize%> \
|
|
|
96 |
<%endif%>
|
|
|
97 |
<%if(!optimize)%>
|
|
|
98 |
-v<%if(libpaths)%> \<%endif%>
|
|
|
99 |
<%endif%>
|
|
|
100 |
<%foreach(libpaths)%>
|
|
|
101 |
-L"<%libpath%>" -j"<%libpath%>"<%fornotlast(" \\")%>
|
|
|
102 |
<%endfor%>
|
|
|
103 |
<%endif%>
|
|
|
104 |
|
|
|
105 |
LIBFILES = \
|
|
|
106 |
<%foreach(reverse(libs))%>
|
198 |
bj |
107 |
<%libname_prefix%><%lib%>$(ILIBMODIFIER)$(LIB_EXT) \
|
107 |
bj |
108 |
<%endfor%>
|
|
|
109 |
<%foreach(reverse(lit_libs))%>
|
|
|
110 |
<%lit_lib%>$(LIB_EXT) \
|
|
|
111 |
<%endfor%>
|
|
|
112 |
<%foreach(reverse(pure_libs))%>
|
|
|
113 |
<%pure_lib%> \
|
|
|
114 |
<%endfor%>
|
|
|
115 |
$(CG_LIB) <%common_libs%>
|
|
|
116 |
<%if(resource_files && !type_is_static)%>
|
|
|
117 |
|
|
|
118 |
RESOURCE = \
|
|
|
119 |
<%foreach(resource_files)%>
|
217 |
bj |
120 |
$(INTERMEDIATE)\<%transdir(resource_file)%><%basenoextension(resource_file)%>.res<%fornotlast(" \\")%>
|
107 |
bj |
121 |
<%endfor%>
|
198 |
bj |
122 |
<%if(includes)%>
|
|
|
123 |
|
|
|
124 |
RC_FLAGS = \
|
|
|
125 |
<%foreach(includes)%>
|
|
|
126 |
-i"<%include%>"<%fornotlast(" \\")%>
|
|
|
127 |
<%endfor%>
|
107 |
bj |
128 |
<%endif%>
|
198 |
bj |
129 |
<%endif%>
|
|
|
130 |
<%if(pch_header)%>
|
107 |
bj |
131 |
|
|
|
132 |
# Borland precompiled headers can choke on some header files.
|
|
|
133 |
# Set NO_USE_PCH if you do not want to use precompiled headers.
|
|
|
134 |
!ifndef NO_USE_PCH
|
|
|
135 |
PCH_CFLAGS = \
|
|
|
136 |
<%foreach(pch_defines)%>
|
|
|
137 |
-D<%pch_define%> \
|
|
|
138 |
<%endfor%>
|
|
|
139 |
-H=$(INTERMEDIATE)\<%noextension(project_name)%>.csm -Hh=<%pch_header%>
|
|
|
140 |
!endif
|
|
|
141 |
<%endif%>
|
|
|
142 |
|
|
|
143 |
CFLAGS = \
|
|
|
144 |
<%foreach(cc_flags)%>
|
|
|
145 |
<%cc_flags%> \
|
|
|
146 |
<%endfor%>
|
|
|
147 |
<%foreach(common_flags)%>
|
|
|
148 |
<%common_flags%> \
|
|
|
149 |
<%endfor%>
|
|
|
150 |
<%foreach(macros common_defines)%>
|
|
|
151 |
-D<%macro%> \
|
|
|
152 |
<%endfor%>
|
|
|
153 |
<%if(type_is_static || need_staticflags)%>
|
|
|
154 |
<%if(staticflags)%>
|
|
|
155 |
<%foreach(staticflags)%>
|
|
|
156 |
-D<%staticflag%> \
|
|
|
157 |
<%endfor%>
|
|
|
158 |
<%endif%>
|
|
|
159 |
<%else%>
|
|
|
160 |
<%if(dynamicflags)%>
|
|
|
161 |
<%foreach(dynamicflags)%>
|
|
|
162 |
-D<%dynamicflag%> \
|
|
|
163 |
<%endfor%>
|
|
|
164 |
<%endif%>
|
|
|
165 |
<%endif%>
|
|
|
166 |
<%foreach(includes)%>
|
|
|
167 |
-I"<%include%>" \
|
|
|
168 |
<%endfor%>
|
217 |
bj |
169 |
$(PCH_CFLAGS) \
|
|
|
170 |
$(VCL_CFLAGS)
|
107 |
bj |
171 |
|
|
|
172 |
<%marker(macros)%>
|
|
|
173 |
<%if(exename)%>
|
|
|
174 |
OUTPUTDIR = <%if(install)%><%install%>\\<%else%>$(EXEOUTPUTDIR)<%endif%>
|
217 |
bj |
175 |
all:<%if(prebuild)%> __prebuild__<%endif%> $(OUTPUTDIR)$(NAME)$(EXE_EXT)<%if(postbuild)%> __postbuild__<%endif%>
|
107 |
bj |
176 |
|
|
|
177 |
$(OUTPUTDIR)$(NAME)$(EXE_EXT): $(OBJFILES) $(RESOURCE)
|
|
|
178 |
@if not exist "$(OUTPUTDIR)" mkdir "$(OUTPUTDIR)"
|
|
|
179 |
$(LINK) @&&!
|
217 |
bj |
180 |
$(EXEFLAGS) $(LFLAGS) $(STARTUP_OBJ) $(OBJFILES), $(OUTPUTDIR)$(NAME)$(EXE_EXT),, $(LIBFILES),, $(RESOURCE)
|
107 |
bj |
181 |
!
|
|
|
182 |
|
|
|
183 |
<%endif%>
|
|
|
184 |
<%if(sharedname)%>
|
|
|
185 |
OUTPUTDIR = <%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\\
|
217 |
bj |
186 |
all:<%if(prebuild)%> __prebuild__<%endif%> $(OUTPUTDIR)$(NAME)$(DLL_EXT)<%if(postbuild)%> __postbuild__<%endif%>
|
107 |
bj |
187 |
|
|
|
188 |
$(OUTPUTDIR)$(NAME)$(DLL_EXT): $(OBJFILES) $(RESOURCE)
|
|
|
189 |
@if not exist "$(OUTPUTDIR)" mkdir "$(OUTPUTDIR)"
|
|
|
190 |
$(LINK) @&&!
|
217 |
bj |
191 |
$(DLLFLAGS) $(LFLAGS) $(STARTUP_OBJ) $(OBJFILES), $(OUTPUTDIR)$(NAME)$(DLL_EXT),, $(LIBFILES),, $(RESOURCE)
|
107 |
bj |
192 |
!
|
|
|
193 |
|
|
|
194 |
<%endif%>
|
|
|
195 |
<%if(type_is_static && staticname)%>
|
|
|
196 |
OUTPUTDIR = <%libout%>\\
|
217 |
bj |
197 |
all:<%if(prebuild)%> __prebuild__<%endif%> $(OUTPUTDIR)$(NAME)$(LIB_EXT)<%if(postbuild)%> __postbuild__<%endif%>
|
107 |
bj |
198 |
|
|
|
199 |
$(OUTPUTDIR)$(NAME)$(LIB_EXT): $(OBJFILES)
|
|
|
200 |
@if not exist "$(OUTPUTDIR)" mkdir "$(OUTPUTDIR)"
|
|
|
201 |
$(TLIB) $(LIBFLAGS) $(OUTPUTDIR)$(NAME)$(LIB_EXT) @&&!
|
|
|
202 |
+ $(**: = &^
|
|
|
203 |
+ )
|
|
|
204 |
!
|
|
|
205 |
|
|
|
206 |
<%endif%>
|
|
|
207 |
<%if(!exename && !sharedname && !staticname)%>
|
217 |
bj |
208 |
all:<%if(prebuild)%> __prebuild__<%endif%><%if(postbuild)%> __postbuild__<%endif%>
|
107 |
bj |
209 |
@-rem
|
|
|
210 |
|
|
|
211 |
<%endif%>
|
|
|
212 |
<%if(custom_types)%>
|
|
|
213 |
GENERATED_DIRTY =<%foreach(custom_types)%><%foreach(custom_type->input_files)%><%if(custom_type->input_file->output_files)%><%foreach(custom_type->input_file->output_files)%> <%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->output_file)%><%else%><%custom_type->input_file->output_file%><%endif%><%endfor%><%endif%><%endfor%><%endfor%>
|
|
|
214 |
<%foreach(custom_types)%>
|
217 |
bj |
215 |
<%if(custom_type->libpath)%>
|
|
|
216 |
PATH = $(PATH);<%custom_type->libpath%>
|
|
|
217 |
<%endif%>
|
107 |
bj |
218 |
<%foreach(custom_type->input_files)%>
|
|
|
219 |
<%if(custom_type->input_file->output_files)%>
|
|
|
220 |
<%foreach(custom_type->input_file->output_files)%><%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->output_file)%><%else%><%custom_type->input_file->output_file%><%endif%><%fornotlast(" ")%><%endfor%>: <%custom_type->input_file%><%if(custom_type->input_file->dependencies)%> <%custom_type->input_file->dependencies%><%endif%>
|
|
|
221 |
<%if(flag_overrides(custom_type->input_file, gendir))%>
|
217 |
bj |
222 |
@if not exist "<%flag_overrides(custom_type->input_file, gendir)%>" mkdir "<%flag_overrides(custom_type->input_file, gendir)%>"
|
107 |
bj |
223 |
<%endif%>
|
198 |
bj |
224 |
<%if(flag_overrides(custom_type->input_file, command))%><%flag_overrides(custom_type->input_file, command)%><%else%><%custom_type->command%><%endif%> <%if(flag_overrides(custom_type->input_file, commandflags))%><%flag_overrides(custom_type->input_file, commandflags)%><%else%><%custom_type->commandflags%><%endif%><%if(custom_type->output_option)%> <%custom_type->output_option%> $@<%endif%> <%custom_type->input_file%>
|
107 |
bj |
225 |
<%if(flag_overrides(custom_type->input_file, postcommand))%>
|
|
|
226 |
<%foreach(custom_type->input_file)%>
|
|
|
227 |
<%flag_overrides(custom_type->input_file, postcommand)%>
|
|
|
228 |
<%endfor%>
|
|
|
229 |
<%else%>
|
|
|
230 |
<%if(custom_type->postcommand)%>
|
|
|
231 |
<%foreach(custom_type->input_file)%>
|
|
|
232 |
<%custom_type->postcommand%>
|
|
|
233 |
<%endfor%>
|
|
|
234 |
<%endif%>
|
|
|
235 |
<%endif%>
|
|
|
236 |
<%if(pch_header)%>
|
|
|
237 |
<%if(custom_type->pch_postrule)%>
|
|
|
238 |
<%foreach(custom_type->input_file->source_output_files)%>
|
|
|
239 |
@echo \#include "<%pch_header%>" > temporary.src
|
|
|
240 |
@type <%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%> >> temporary.src
|
|
|
241 |
@move /y temporary.src <%if(flag_overrides(custom_type->input_file, gendir))%><%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->source_output_file)%><%else%><%custom_type->input_file->source_output_file%><%endif%>
|
|
|
242 |
<%endfor%>
|
|
|
243 |
<%endif%>
|
|
|
244 |
<%endif%>
|
|
|
245 |
|
|
|
246 |
<%endif%>
|
|
|
247 |
<%endfor%>
|
|
|
248 |
<%endfor%>
|
|
|
249 |
<%if(exename || sharedname || staticname)%>
|
|
|
250 |
<%if(source_files)%>
|
|
|
251 |
$(OBJFILES): $(GENERATED_DIRTY)
|
|
|
252 |
<%else%>
|
217 |
bj |
253 |
all:<%if(prebuild)%> __prebuild__<%endif%> $(GENERATED_DIRTY)<%if(postbuild)%> __postbuild__<%endif%>
|
107 |
bj |
254 |
<%endif%>
|
|
|
255 |
<%else%>
|
217 |
bj |
256 |
all:<%if(prebuild)%> __prebuild__<%endif%> $(GENERATED_DIRTY)<%if(postbuild)%> __postbuild__<%endif%>
|
107 |
bj |
257 |
<%endif%>
|
|
|
258 |
|
|
|
259 |
<%endif%>
|
|
|
260 |
generated: $(GENERATED_DIRTY)
|
|
|
261 |
@-rem
|
|
|
262 |
|
|
|
263 |
.path$(OBJ_EXT) = $(INTERMEDIATE)
|
|
|
264 |
|
|
|
265 |
.path.cpp = $(CPPDIR)
|
|
|
266 |
.cpp$(OBJ_EXT):
|
|
|
267 |
@if not exist "$(INTERMEDIATE)" mkdir "$(INTERMEDIATE)"
|
|
|
268 |
$(CC) $(OCFLAGS) $(CG_CFLAGS) $(UC_CFLAGS) $(THREADFLAGS) $(CCFLAGS) $(CFLAGS) $(WARNFLAGS) -c -n$(@D) $<
|
|
|
269 |
|
|
|
270 |
.path.cxx = $(CPPDIR)
|
|
|
271 |
.cxx$(OBJ_EXT):
|
|
|
272 |
@if not exist "$(INTERMEDIATE)" mkdir "$(INTERMEDIATE)"
|
|
|
273 |
$(CC) $(OCFLAGS) $(CG_CFLAGS) $(UC_CFLAGS) $(THREADFLAGS) $(CCFLAGS) $(CFLAGS) $(WARNFLAGS) -c -n$(@D) $<
|
|
|
274 |
|
|
|
275 |
.path.cc = $(CPPDIR)
|
|
|
276 |
.cc$(OBJ_EXT):
|
|
|
277 |
@if not exist "$(INTERMEDIATE)" mkdir "$(INTERMEDIATE)"
|
|
|
278 |
$(CC) $(OCFLAGS) $(CG_CFLAGS) $(UC_CFLAGS) $(THREADFLAGS) $(CCFLAGS) $(CFLAGS) $(WARNFLAGS) -c -n$(@D) $<
|
|
|
279 |
|
|
|
280 |
.path.C = $(CPPDIR)
|
|
|
281 |
.C$(OBJ_EXT):
|
|
|
282 |
@if not exist "$(INTERMEDIATE)" mkdir "$(INTERMEDIATE)"
|
|
|
283 |
$(CC) $(OCFLAGS) $(CG_CFLAGS) $(UC_CFLAGS) $(THREADFLAGS) $(CCFLAGS) $(CFLAGS) $(WARNFLAGS) -c -n$(@D) $<
|
|
|
284 |
|
|
|
285 |
.path.c = $(CPPDIR)
|
|
|
286 |
.c$(OBJ_EXT):
|
|
|
287 |
@if not exist "$(INTERMEDIATE)" mkdir "$(INTERMEDIATE)"
|
|
|
288 |
$(CC) $(OCFLAGS) $(CG_CFLAGS) $(UC_CFLAGS) $(THREADFLAGS) $(CCFLAGS) $(CFLAGS) $(WARNFLAGS) -c -n$(@D) $<
|
|
|
289 |
|
|
|
290 |
<%foreach(source_files)%>
|
217 |
bj |
291 |
<%if(transdir(source_file) || flag_overrides(source_file, buildflags))%>
|
|
|
292 |
"$(INTERMEDIATE)\<%transdir(source_file)%><%basenoextension(source_file)%>$(OBJ_EXT)":
|
|
|
293 |
@if not exist "$(INTERMEDIATE)\<%transdir(source_file)%>" mkdir "$(INTERMEDIATE)\<%transdir(source_file)%>"
|
|
|
294 |
$(CC) <%if(flag_overrides(source_file, buildflags))%><%flag_overrides(source_file, buildflags)%> <%endif%>$(OCFLAGS) $(CG_CFLAGS) $(UC_CFLAGS) $(THREADFLAGS) $(CCFLAGS) $(CFLAGS) $(WARNFLAGS) -c -n$(@D) <%source_file%>
|
107 |
bj |
295 |
|
|
|
296 |
<%endif%>
|
|
|
297 |
<%endfor%>
|
|
|
298 |
<%if(resource_files && !type_is_static)%>
|
|
|
299 |
.path.res = $(INTERMEDIATE)
|
|
|
300 |
|
|
|
301 |
.path.rc = $(RESDIR)
|
|
|
302 |
.rc.res:
|
|
|
303 |
@if not exist "$(INTERMEDIATE)" mkdir "$(INTERMEDIATE)"
|
198 |
bj |
304 |
$(RC) $(RC_FLAGS) -fo$@ $<
|
107 |
bj |
305 |
|
|
|
306 |
<%foreach(resource_files)%>
|
217 |
bj |
307 |
<%if(transdir(resource_file))%>
|
|
|
308 |
"$(INTERMEDIATE)\<%transdir(resource_file)%><%basenoextension(resource_file)%>.res":
|
|
|
309 |
@if not exist "$(INTERMEDIATE)\<%transdir(resource_file)%>" mkdir "$(INTERMEDIATE)\<%transdir(resource_file)%>"
|
107 |
bj |
310 |
$(RC) -fo$@ <%resource_file%>
|
|
|
311 |
|
|
|
312 |
<%endif%>
|
|
|
313 |
<%endfor%>
|
|
|
314 |
<%endif%>
|
|
|
315 |
clean:
|
217 |
bj |
316 |
-if exist "$(INTERMEDIATE)" rmdir /s/q $(INTERMEDIATE)
|
107 |
bj |
317 |
|
|
|
318 |
realclean: clean
|
|
|
319 |
<%foreach(custom_types)%>
|
|
|
320 |
<%foreach(custom_type->input_files)%>
|
|
|
321 |
<%if(custom_type->input_file->output_files)%>
|
|
|
322 |
<%foreach(custom_type->input_file->output_files)%>
|
|
|
323 |
<%if(flag_overrides(custom_type->input_file, gendir))%>
|
217 |
bj |
324 |
-if exist "<%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->output_file)%>" del "<%flag_overrides(custom_type->input_file, gendir)%>\<%basename(custom_type->input_file->output_file)%>"
|
107 |
bj |
325 |
<%else%>
|
217 |
bj |
326 |
-if exist "<%custom_type->input_file->output_file%>" del "<%custom_type->input_file->output_file%>"
|
107 |
bj |
327 |
<%endif%>
|
|
|
328 |
<%endfor%>
|
|
|
329 |
<%endif%>
|
|
|
330 |
<%endfor%>
|
|
|
331 |
<%endfor%>
|
|
|
332 |
<%if(exename)%>
|
217 |
bj |
333 |
-if exist "$(OUTPUTDIR)$(NAME)$(EXE_EXT)" del "$(OUTPUTDIR)$(NAME)$(EXE_EXT)"
|
107 |
bj |
334 |
<%else%>
|
|
|
335 |
<%if(sharedname)%>
|
217 |
bj |
336 |
-if exist "$(OUTPUTDIR)$(NAME)$(DLL_EXT)" del "$(OUTPUTDIR)$(NAME)$(DLL_EXT)"
|
107 |
bj |
337 |
<%endif%>
|
|
|
338 |
<%if(staticname)%>
|
217 |
bj |
339 |
-if exist "$(OUTPUTDIR)$(NAME)$(LIB_EXT)" del "$(OUTPUTDIR)$(NAME)$(LIB_EXT)"
|
107 |
bj |
340 |
<%endif%>
|
|
|
341 |
<%endif%>
|
|
|
342 |
<%if(exename || sharedname || staticname)%>
|
217 |
bj |
343 |
-if exist "$(OUTPUTDIR)$(NAME)$(POSTLINKRM)" del "$(OUTPUTDIR)$(NAME)$(POSTLINKRM)"
|
107 |
bj |
344 |
<%endif%>
|
|
|
345 |
|
217 |
bj |
346 |
<%if(prebuild)%>
|
|
|
347 |
__prebuild__:
|
|
|
348 |
@<%eval(prebuild)%>
|
|
|
349 |
|
|
|
350 |
<%endif%>
|
107 |
bj |
351 |
<%if(postbuild)%>
|
|
|
352 |
__postbuild__:
|
|
|
353 |
@<%eval(postbuild)%>
|
|
|
354 |
|
|
|
355 |
<%endif%>
|
|
|
356 |
<%marker(local)%>
|
|
|
357 |
<%marker(bottom)%>
|