Subversion Repositories gelsvn

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
107 bj 1
# Microsoft Developer Studio Generated NMAKE File
2
<%marker(top)%>
3
<%foreach(platforms)%>
4
!<%fornotfirst("ELSE")%>IF "$(CFG)" == ""
5
CFG=<%platform%> <%default_configuration%>
6
!MESSAGE No configuration specified. Defaulting to <%platform%> <%default_configuration%>.
7
<%endfor%>
8
!ENDIF
9
 
10
<%foreach(platforms)%>
11
!IF <%foreach(configurations)%>"$(CFG)" == "<%platform%> <%configuration%>"<%fornotlast(" || ")%><%endfor%>
12
!ELSE
13
<%endfor%>
14
!MESSAGE Invalid configuration "$(CFG)" specified.
15
!MESSAGE You can specify a configuration when running NMAKE
16
!MESSAGE by defining the macro CFG on the command line. For example:
17
!MESSAGE
18
<%foreach(platforms)%>
19
!MESSAGE NMAKE /f "<%project_file%>" CFG="<%platform%> <%default_configuration%>"
20
<%endfor%>
21
!MESSAGE
22
!MESSAGE Possible choices for configuration are:
23
!MESSAGE
24
<%foreach(platforms)%>
25
<%foreach(configurations)%>
26
!MESSAGE "<%platform%> <%configuration%>" (based on "<%platform%> (<%machine_description%>) <%type_description("Dynamic-Lynk Library")%>")
27
<%endfor%>
28
<%endfor%>
29
!MESSAGE
30
!ERROR An invalid configuration was specified.
31
<%foreach(platforms)%>
32
!ENDIF
33
<%endfor%>
34
 
35
!IF "$(OS)" == "Windows_NT"
36
NULL=
37
!ELSE
38
NULL=nul
39
!ENDIF
40
 
41
!IF "$(DEPGEN)" == ""
42
!IF EXISTS("$(DEPGEN_ROOT)/depgen.pl")
43
DEPGEN=perl $(DEPGEN_ROOT)/depgen.pl -t nmake
44
!ELSEIF EXISTS("$(ACE_ROOT)/bin/depgen.pl")
45
DEPGEN=perl $(ACE_ROOT)/bin/depgen.pl -t nmake
46
!ENDIF
47
!ENDIF
48
 
49
GENERATED_DIRTY =<%foreach(custom_types)%><%foreach(custom_type->input_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%><%endfor%><%endfor%>
50
 
51
<%foreach(platforms)%>
52
<%foreach(configurations)%>
53
!<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%platform%> <%configuration%>"
54
 
55
<%if(exename)%>
56
OUTDIR=<%output_dir(".")%>
57
INSTALLDIR=<%if(install)%><%install%><%else%><%output_dir%><%endif%>
58
<%else%>
59
<%if(type_is_static)%>
60
OUTDIR=<%libout%>
61
<%else%>
62
<%if(type_is_dynamic)%>
63
OUTDIR=<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>
64
<%endif%>
65
<%endif%>
66
<%endif%>
67
INTDIR=<%intermediate_dir%>\<%project_name%>\<%machine%>
68
 
69
ALL : DEPENDCHECK $(GENERATED_DIRTY)<%if(exename)%><%if(install)%> "$(INSTALLDIR)"<%endif%><%endif%><%if(type_is_dynamic)%><%if(sharedname || staticname)%> "<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%>"<%endif%><%endif%><%if(staticname && type_is_static)%> "$(OUTDIR)\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"<%endif%><%if(exename)%> "$(INSTALLDIR)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%>"<%endif%><%if(postbuild)%> __postbuild__<%endif%>
70
 
71
DEPEND :
72
!IF "$(DEPGEN)" == ""
73
	@echo No suitable dependency generator could be found.
74
	@echo You can check one out from OCI using the following cvs command:
75
	@echo cvs -d :pserver:anonymous@anoncvs.ociweb.com:/cvs co Depgen
76
	@echo Then set the DEPGEN_ROOT environment variable to the full path of Depgen.
77
!ELSE
78
<%if(source_files || pch_source)%>
79
	$(DEPGEN)<%foreach(includes)%> -I"<%include%>"<%endfor%><%foreach(defines cpu_defines common_defines macros)%> -D<%define%><%endfor%><%if(unicode)%> -DUNICODE -D_UNICODE<%endif%><%if(type_is_dynamic)%><%foreach(dynamicflags)%> -D<%dynamicflag%><%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%> -D<%staticflag%><%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%> -D<%pch_define%><%endfor%><%endif%> -f "<%noextension(project_file)%>.dep"<%foreach(source_files)%> "<%source_file%>"<%endfor%><%if(pch_source)%> "<%pch_source%>"<%endif%>
80
<%else%>
81
	-@rem
82
<%endif%>
83
!ENDIF
84
 
85
REALCLEAN : CLEAN
86
<%if(pdbl)%>
87
<%if(exename)%>
88
	-@del /f/q "$(INSTALLDIR)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%>.pdb"
89
<%endif%>
90
<%if(sharedname && type_is_dynamic)%>
91
	-@del /f/q "$(OUTDIR)\<%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb"
92
        -@del /f/q "<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%>"
93
        -@del /f/q "$(OUTDIR)\<%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
94
        -@del /f/q "$(OUTDIR)\<%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.exp"
95
        -@del /f/q "$(OUTDIR)\<%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.ilk"
96
<%else%>
97
<%if(staticname && type_is_dynamic)%>
98
	-@del /f/q "$(OUTDIR)\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb"
99
        -@del /f/q "<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%>"
100
<%endif%>
101
<%endif%>
102
<%if(staticname && type_is_static || !sharedname && type_is_dynamic)%>
103
        -@del /f/q "$(OUTDIR)\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
104
        -@del /f/q "$(OUTDIR)\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.exp"
105
        -@del /f/q "$(OUTDIR)\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.ilk"
106
<%endif%>
107
<%endif%>
108
<%if(pdbc)%>
109
<%if(type_is_static)%>
110
	-@del /f/q "<%libout%>\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb"
111
<%endif%>
112
<%endif%>
113
<%if(exename)%>
114
        -@del /f/q "$(INSTALLDIR)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%>"
115
        -@del /f/q "$(INSTALLDIR)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%>.ilk"
116
<%endif%>
117
<%foreach(custom_types)%>
118
<%foreach(custom_type->input_files)%>
119
<%foreach(custom_type->input_file->output_files)%>
120
        -@del /f/q "<%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%>"
121
<%endfor%>
122
<%endfor%>
123
<%endfor%>
124
 
125
"$(INTDIR)" :
126
    if not exist "<%intermediate_dir%>\$(NULL)" mkdir "<%intermediate_dir%>"
127
    if not exist "<%intermediate_dir%>\<%project_name%>\$(NULL)" mkdir "<%intermediate_dir%>\<%project_name%>"
128
    if not exist "$(INTDIR)\$(NULL)" mkdir "$(INTDIR)"
129
 
130
CPP=cl.exe
131
CPP_PROJ=/nologo <%if(add_compile)%><%add_compile%> <%endif%><%if(optimize)%><%optimize_flags("/O2")%><%else%><%debug_flags("/Ob0")%><%endif%> <%compile_flags%><%if(pdbc)%> /Fd"<%if(type_is_static)%><%libout%>\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%>$(INTDIR)/<%endif%>"<%endif%> <%foreach(includes)%>/I "<%include%>" <%endfor%><%foreach(defines cpu_defines common_defines macros)%>/D <%define%> <%endfor%><%if(unicode)%>/D UNICODE /D _UNICODE <%endif%><%if(type_is_dynamic)%><%foreach(dynamicflags)%>/D <%dynamicflag%> <%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%>/D <%staticflag%> <%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%>/D <%pch_define%> <%endfor%><%if(pch_source)%>/Yu<%else%>/YX<%endif%>"<%pch_header%>" /Fp"$(INTDIR)\<%noextension(pch_header)%>.pch" <%endif%>/Fo"<%fo_flag("$(INTDIR)\\\\")%>" /FD /c
132
 
133
<%if(!type_is_static)%>
134
RSC=rc.exe
135
<%endif%>
136
 
137
<%if(exename || sharedname || staticname)%>
138
<%if(type_is_binary)%>
139
LINK32=link.exe
140
LINK32_FLAGS=<%systemlibs("advapi32.lib user32.lib")%><%if(link_options)%> <%link_options%><%endif%> /INCREMENTAL:<%incremental("NO")%> <%foreach(reverse(libs))%><%lib%><%lib_modifier%><%lib_ext%> <%endfor%><%foreach(reverse(lit_libs))%><%lit_lib%>.lib <%endfor%><%foreach(reverse(pure_libs))%><%pure_lib%> <%endfor%><%foreach(libpaths)%>/libpath:"<%libpath%>" <%endfor%>/nologo<%if(win_version)%> /version:<%win_version%><%endif%><%if(StackReserveSize)%> /stack:<%StackReserveSize%><%if(StackCommitSize)%>,<%StackCommitSize%><%endif%><%endif%> /subsystem:<%subsystem("windows")%><%if(type_is_dynamic)%> <%if(!source_files)%>/noentry <%endif%>/dll<%endif%> <%if(unicode && unicode_mfc_entry && exename && source_files)%>/entry:"<%unicode_mfc_entry%>" <%endif%><%debug_switch("/debug")%> <%if(pdbl)%>/pdb:"<%if(type_is_dynamic)%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%endif%><%if(exename)%>$(INSTALLDIR)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%>.pdb<%endif%><%if(type_is_static)%>$(OUTDIR)\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%endif%>" <%endif%>/machine:<%machine("I386")%> /out:"<%if(type_is_dynamic)%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%><%endif%><%if(exename)%>$(INSTALLDIR)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%><%endif%>"<%if(type_is_dynamic)%> /implib:"$(OUTDIR)\<%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"<%endif%>
141
<%endif%>
142
<%if(type_is_static)%>
143
LINK32=link.exe -lib
144
LINK32_FLAGS=/nologo /machine:<%machine("I386")%><%if(link_options)%> <%link_options%><%endif%> /out:"<%libout%>\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
145
<%endif%>
146
LINK32_OBJS= \
147
<%if(!type_is_static)%>
148
<%foreach(resource_files)%>
149
	"$(INTDIR)\<%if(dirname(resource_file))%><%noextension(resource_file)%><%else%><%basenoextension(resource_file)%><%endif%>.res" \
150
<%endfor%>
151
<%endif%>
152
<%if(pch_source)%>
153
	"$(INTDIR)\<%if(dirname(pch_source))%><%noextension(pch_source)%><%else%><%basenoextension(pch_source)%><%endif%>.obj" \
154
<%endif%>
155
<%foreach(source_files)%>
156
	"$(INTDIR)\<%if(dirname(source_file))%><%noextension(source_file)%><%else%><%basenoextension(source_file)%><%endif%>.obj"<%fornotlast(" \\")%>
157
<%endfor%>
158
 
159
"<%if(type_is_dynamic)%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%><%endif%><%if(type_is_static)%>$(OUTDIR)\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%><%endif%><%if(exename)%>$(INSTALLDIR)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%><%exe_ext%><%endif%>" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
160
    $(LINK32) @<<
161
  $(LINK32_FLAGS) $(LINK32_OBJS)
162
<<
163
<%endif%>
164
 
165
<%if(postbuild)%>
166
__postbuild__:
167
	@<%eval(postbuild)%>
168
 
169
<%endif%>
170
<%endfor%>
171
!ENDIF
172
<%endfor%>
173
 
174
CLEAN :
175
	-@del /f/s/q "$(INTDIR)"
176
 
177
<%if(install)%>
178
"$(INSTALLDIR)" :
179
    if not exist "$(INSTALLDIR)\$(NULL)" mkdir "$(INSTALLDIR)"
180
 
181
<%endif%>
182
"$(OUTDIR)" :
183
    if not exist "$(OUTDIR)\$(NULL)" mkdir "$(OUTDIR)"
184
 
185
.c{$(INTDIR)}.obj::
186
   $(CPP) @<<
187
   $(CPP_PROJ) $<
188
<<
189
 
190
.cpp{$(INTDIR)}.obj::
191
   $(CPP) @<<
192
   $(CPP_PROJ) $<
193
<<
194
 
195
.cxx{$(INTDIR)}.obj::
196
   $(CPP) @<<
197
   $(CPP_PROJ) $<
198
<<
199
 
200
.c{$(INTDIR)}.sbr::
201
   $(CPP) @<<
202
   $(CPP_PROJ) $<
203
<<
204
 
205
.cpp{$(INTDIR)}.sbr::
206
   $(CPP) @<<
207
   $(CPP_PROJ) $<
208
<<
209
 
210
.cxx{$(INTDIR)}.sbr::
211
   $(CPP) @<<
212
   $(CPP_PROJ) $<
213
<<
214
 
215
!IF "$(NO_EXTERNAL_DEPS)" != "1"
216
!IF EXISTS("<%noextension(project_file)%>.dep")
217
!INCLUDE "<%noextension(project_file)%>.dep"
218
!ENDIF
219
!ENDIF
220
 
221
<%marker(macros)%>
222
<%foreach(platforms)%>
223
!IF <%foreach(configurations)%>"$(CFG)" == "<%platform%> <%configuration%>" <%fornotlast("|| ")%><%endfor%>
224
<%if(pch_source)%>
225
<%if(pch_header)%>
226
SOURCE="<%pch_source%>"
227
 
228
<%foreach(configurations)%>
229
!<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%platform%> <%configuration%>"
230
 
231
CPP_SWITCHES=/nologo <%if(add_compile)%><%add_compile%> <%endif%><%if(optimize)%><%optimize_flags%><%else%><%debug_flags%><%endif%> <%compile_flags%><%if(pdbc)%> /Fd"<%if(type_is_static)%><%libout%>\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%>$(INTDIR)/<%endif%>"<%endif%> <%foreach(includes)%>/I "<%include%>" <%endfor%><%foreach(defines cpu_defines common_defines macros)%>/D <%define%> <%endfor%><%if(unicode)%>/D UNICODE /D _UNICODE <%endif%><%if(type_is_dynamic)%><%foreach(dynamicflags)%>/D <%dynamicflag%> <%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%>/D <%staticflag%> <%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%>/D <%pch_define%> <%endfor%>/Fp"$(INTDIR)\<%noextension(pch_header)%>.pch" /Yc"<%pch_header%>" <%endif%>/FD /c
232
 
233
<%if(dirname(pch_source))%>
234
"$(INTDIR)\<%noextension(pch_source)%>.obj" "$(INTDIR)\<%noextension(pch_header)%>.pch" : $(SOURCE) "$(INTDIR)"
235
        @if not exist "$(INTDIR)\<%dirname(pch_source)%>\$(NULL)" mkdir "$(INTDIR)\<%dirname(pch_source)%>"
236
	$(CPP) @<<
237
  $(CPP_SWITCHES) /Fo"$(INTDIR)\<%noextension(pch_source)%>.obj" $(SOURCE)
238
<<
239
<%else%>
240
"$(INTDIR)\<%basenoextension(pch_source)%>.obj" "$(INTDIR)\<%basenoextension(pch_header)%>.pch" : $(SOURCE) "$(INTDIR)"
241
	$(CPP) @<<
242
  $(CPP_SWITCHES) /Fo"<%fo_flag%>" $(SOURCE)
243
<<
244
<%endif%>
245
 
246
<%endfor%>
247
!ENDIF
248
 
249
<%endif%>
250
<%endif%>
251
<%if(exename || sharedname || staticname)%>
252
<%foreach(source_files)%>
253
SOURCE="<%source_file%>"
254
<%if(dirname(source_file))%>
255
<%foreach(configurations)%>
256
!<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%platform%> <%configuration%>"
257
 
258
"$(INTDIR)\<%noextension(source_file)%>.obj" : $(SOURCE) "$(INTDIR)"
259
        @if not exist "$(INTDIR)\<%dirname(source_file)%>\$(NULL)" mkdir "$(INTDIR)\<%dirname(source_file)%>"
260
	$(CPP) @<<
261
	/nologo <%if(add_compile)%><%add_compile%> <%endif%><%if(optimize)%><%optimize_flags%><%else%><%debug_flags%><%endif%> <%compile_flags%><%if(pdbc)%> /Fd"<%if(type_is_static)%><%libout%>\<%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%>$(INTDIR)/<%endif%>"<%endif%> <%foreach(includes)%>/I "<%include%>" <%endfor%><%foreach(defines cpu_defines common_defines macros)%>/D <%define%> <%endfor%><%if(unicode)%>/D UNICODE /D _UNICODE <%endif%><%if(type_is_dynamic)%><%foreach(dynamicflags)%>/D <%dynamicflag%> <%endfor%><%endif%><%if(need_staticflags)%><%foreach(staticflags)%>/D <%staticflag%> <%endfor%><%endif%><%if(pch_header)%><%foreach(pch_defines)%>/D <%pch_define%> <%endfor%><%if(pch_source)%>/Yu<%else%>/YX<%endif%>"<%pch_header%>" /Fp"$(INTDIR)\<%noextension(pch_header)%>.pch" <%endif%>/FD /c /Fo"$(INTDIR)\<%noextension(source_file)%>.obj" $(SOURCE)
262
<<
263
<%endfor%>
264
!ENDIF
265
<%else%>
266
"$(INTDIR)\<%basenoextension(source_file)%>.obj" : $(SOURCE) "$(INTDIR)"
267
	$(CPP) $(CPP_PROJ) $(SOURCE)
268
<%endif%>
269
 
270
<%endfor%>
271
<%endif%>
272
<%foreach(custom_types)%>
273
<%foreach(custom_type->input_files)%>
274
<%if(custom_type->input_file->output_files)%>
275
SOURCE="<%custom_type->input_file%>"
276
 
277
InputPath=<%custom_type->input_file%>
278
 
279
<%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%>: $(SOURCE) "$(INTDIR)" "$(OUTDIR)"<%foreach(custom_type->input_file->dependencies)%> "<%custom_type->input_file->dependencie%>"<%endfor%>
280
	<<tempfile.bat
281
	@echo off
282
<%if(custom_type->libpath)%>
283
	PATH=%PATH%;<%custom_type->libpath%>
284
<%endif%>
285
<%if(flag_overrides(custom_type->input_file, gendir))%>
286
        if not exist <%flag_overrides(custom_type->input_file, gendir)%> mkdir <%flag_overrides(custom_type->input_file, gendir)%>
287
<%endif%>
288
	<%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%> "$(InputPath)"<%if(custom_type->output_option)%> <%custom_type->output_option%><%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%>
289
<%if(flag_overrides(custom_type->input_file, postcommand))%>
290
<%foreach(custom_type->input_file)%>
291
	<%flag_overrides(custom_type->input_file, postcommand)%>
292
<%endfor%>
293
<%else%>
294
<%if(custom_type->postcommand)%>
295
<%foreach(custom_type->input_file)%>
296
	<%custom_type->postcommand%>
297
<%endfor%>
298
<%endif%>
299
<%endif%>
300
<%if(pch_header)%>
301
<%if(custom_type->pch_postrule)%>
302
<%foreach(custom_type->input_file->source_output_files)%>
303
	echo #include "<%pch_header%>" > temporary.src
304
	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
305
        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%>"
306
<%endfor%>
307
<%endif%>
308
<%endif%>
309
<<
310
 
311
<%endif%>
312
<%endfor%>
313
<%endfor%>
314
<%if(!type_is_static)%>
315
<%foreach(resource_files)%>
316
SOURCE="<%resource_file%>"
317
 
318
"$(INTDIR)\<%if(dirname(resource_file))%><%noextension(resource_file)%><%else%><%basenoextension(resource_file)%><%endif%>.res" : $(SOURCE) "$(INTDIR)"
319
<%if(dirname(resource_file))%>
320
	@if not exist "$(INTDIR)\<%dirname(resource_file)%>\$(NULL)" mkdir "$(INTDIR)\<%dirname(resource_file)%>"
321
<%endif%>
322
	$(RSC) /l 0x409 /fo"$(INTDIR)\<%if(dirname(resource_file))%><%noextension(resource_file)%><%else%><%basenoextension(resource_file)%><%endif%>.res"<%foreach(defines cpu_defines macros)%> /d <%define%><%endfor%><%if(unicode)%> /d UNICODE /d _UNICODE<%endif%><%foreach(includes)%> /i "<%include%>"<%endfor%> $(SOURCE)
323
 
324
 
325
<%endfor%>
326
<%endif%>
327
<%marker(local)%>
328
 
329
!ENDIF
330
<%endfor%>
331
 
332
GENERATED : $(GENERATED_DIRTY)
333
	-@rem
334
 
335
DEPENDCHECK :
336
!IF "$(NO_EXTERNAL_DEPS)" != "1"
337
!IF EXISTS("<%noextension(project_file)%>.dep")
338
	@echo Using "<%noextension(project_file)%>.dep"
339
!ELSE
340
	@echo Warning: cannot find "<%noextension(project_file)%>.dep"
341
!ENDIF
342
!ENDIF
343
 
344
<%marker(bottom)%>