Subversion Repositories gelsvn

Rev

Rev 198 | Go to most recent revision | Details | Compare with Previous | 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")
217 bj 43
DEPGEN=perl $(DEPGEN_ROOT)/depgen.pl -i -t nmake
107 bj 44
!ELSEIF EXISTS("$(ACE_ROOT)/bin/depgen.pl")
217 bj 45
DEPGEN=perl $(ACE_ROOT)/bin/depgen.pl -i -t nmake
107 bj 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
 
217 bj 69
ALL :<%if(prebuild)%> __prebuild__<%endif%> DEPENDCHECK $(GENERATED_DIRTY)<%if(exename)%><%if(install)%> "$(INSTALLDIR)"<%endif%><%endif%><%if(type_is_dynamic)%><%if(sharedname || staticname)%> "<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%>"<%endif%><%endif%><%if(staticname && type_is_static)%> "$(OUTDIR)\<%libname_prefix%><%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%>
107 bj 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)%>
217 bj 79
	$(DEPGEN)<%foreach(includes)%> -I"<%include%>"<%endfor%><%foreach(defines cpu_defines common_defines platform_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%>
107 bj 80
<%else%>
81
	-@rem
82
<%endif%>
83
!ENDIF
84
 
85
REALCLEAN : CLEAN
198 bj 86
<%if(pdbl && exename)%>
107 bj 87
	-@del /f/q "$(INSTALLDIR)\<%exename%><%if(use_exe_modifier)%><%lib_modifier%><%endif%>.pdb"
88
<%endif%>
89
<%if(sharedname && type_is_dynamic)%>
198 bj 90
<%if(pdbl)%>
91
	-@del /f/q "$(OUTDIR)\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb"
92
<%endif%>
93
        -@del /f/q "<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%>"
94
        -@del /f/q "$(OUTDIR)\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
95
        -@del /f/q "$(OUTDIR)\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.exp"
96
        -@del /f/q "$(OUTDIR)\<%libname_prefix%><%sharedname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.ilk"
107 bj 97
<%else%>
98
<%if(staticname && type_is_dynamic)%>
198 bj 99
<%if(pdbl || pdbc)%>
100
	-@del /f/q "$(OUTDIR)\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb"
107 bj 101
<%endif%>
198 bj 102
        -@del /f/q "<%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%>"
107 bj 103
<%endif%>
198 bj 104
<%endif%>
107 bj 105
<%if(staticname && type_is_static || !sharedname && type_is_dynamic)%>
198 bj 106
        -@del /f/q "$(OUTDIR)\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
107
        -@del /f/q "$(OUTDIR)\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.exp"
108
        -@del /f/q "$(OUTDIR)\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.ilk"
107 bj 109
<%endif%>
198 bj 110
<%if(pdbc && type_is_static)%>
111
	-@del /f/q "<%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb"
107 bj 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
 
198 bj 130
CPP=<%cc("cl.exe")%>
217 bj 131
CPP_COMMON=/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%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%>$(INTDIR)/<%endif%>"<%endif%> <%foreach(includes)%>/I "<%include%>" <%endfor%><%foreach(defines cpu_defines common_defines platform_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)\<%transdir(pch_header)%><%basenoextension(pch_header)%>.pch" <%endif%>/FD /c
132
CPP_PROJ=$(CPP_COMMON) /Fo"<%fo_flag("$(INTDIR)\\\\")%>"
107 bj 133
 
134
<%if(!type_is_static)%>
198 bj 135
RSC=<%rc("rc.exe")%>
107 bj 136
<%endif%>
137
 
138
<%if(exename || sharedname || staticname)%>
139
<%if(type_is_binary)%>
198 bj 140
LINK32=<%link("link.exe")%>
141
LINK32_FLAGS=<%systemlibs("advapi32.lib user32.lib")%><%if(link_options)%> <%link_options%><%endif%> /INCREMENTAL:<%incremental("NO")%> <%foreach(reverse(libs))%><%libname_prefix%><%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%>\<%libname_prefix%><%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)\<%libname_prefix%><%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%>\<%libname_prefix%><%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)\<%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"<%endif%>
107 bj 142
<%endif%>
143
<%if(type_is_static)%>
198 bj 144
LINK32=<%link("link.exe")%> -lib
145
LINK32_FLAGS=/nologo /machine:<%machine("I386")%><%if(link_options)%> <%link_options%><%endif%> /out:"<%libout%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%lib_ext%>"
107 bj 146
<%endif%>
147
LINK32_OBJS= \
148
<%if(!type_is_static)%>
149
<%foreach(resource_files)%>
217 bj 150
	"$(INTDIR)\<%transdir(resource_file)%><%basenoextension(resource_file)%>.res" \
107 bj 151
<%endfor%>
152
<%endif%>
153
<%if(pch_source)%>
217 bj 154
	"$(INTDIR)\<%transdir(pch_source)%><%basenoextension(pch_source)%>.obj" \
107 bj 155
<%endif%>
156
<%foreach(source_files)%>
217 bj 157
	"$(INTDIR)\<%transdir(source_file)%><%basenoextension(source_file)%>.obj"<%fornotlast(" \\")%>
107 bj 158
<%endfor%>
159
 
198 bj 160
"<%if(type_is_dynamic)%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%libname_prefix%><%if(sharedname)%><%sharedname%><%else%><%staticname%><%endif%><%if(use_lib_modifier)%><%lib_modifier%><%endif%><%dll_ext%><%endif%><%if(type_is_static)%>$(OUTDIR)\<%libname_prefix%><%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)
107 bj 161
    $(LINK32) @<<
162
  $(LINK32_FLAGS) $(LINK32_OBJS)
163
<<
217 bj 164
    if exist "<%if(type_is_dynamic)%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%sharedname%><%lib_modifier%><%dll_ext%>.manifest<%endif%><%if(exename)%>$(INSTALLDIR)\<%exename%><%if(use_modifier)%><%lib_modifier%><%endif%><%exe_ext%>.manifest<%endif%><%if(type_is_static)%>$(OUTDIR)\<%staticname%><%lib_modifier%><%lib_ext%>.manifest<%endif%>" mt.exe -manifest "<%if(type_is_dynamic)%><%if(dllout)%><%dllout%><%else%><%libout%><%endif%>\<%sharedname%><%lib_modifier%><%dll_ext%>.manifest<%endif%><%if(exename)%>$(INSTALLDIR)\<%exename%><%if(use_modifier)%><%lib_modifier%><%endif%><%exe_ext%>.manifest<%endif%><%if(type_is_static)%>$(OUTDIR)\<%staticname%><%lib_modifier%><%lib_ext%>.manifest<%endif%>" -outputresource:$@;<%if(type_is_dynamic)%>2<%endif%><%if(exename)%>1<%endif%><%if(type_is_static)%>2<%endif%>
107 bj 165
<%endif%>
166
 
217 bj 167
<%if(prebuild)%>
168
__prebuild__:
169
	@<%eval(prebuild)%>
170
 
171
<%endif%>
107 bj 172
<%if(postbuild)%>
173
__postbuild__:
174
	@<%eval(postbuild)%>
175
 
176
<%endif%>
177
<%endfor%>
178
!ENDIF
179
<%endfor%>
180
 
181
CLEAN :
182
	-@del /f/s/q "$(INTDIR)"
183
 
184
<%if(install)%>
185
"$(INSTALLDIR)" :
186
    if not exist "$(INSTALLDIR)\$(NULL)" mkdir "$(INSTALLDIR)"
187
 
188
<%endif%>
189
"$(OUTDIR)" :
190
    if not exist "$(OUTDIR)\$(NULL)" mkdir "$(OUTDIR)"
191
 
192
.c{$(INTDIR)}.obj::
193
   $(CPP) @<<
194
   $(CPP_PROJ) $<
195
<<
196
 
197
.cpp{$(INTDIR)}.obj::
198
   $(CPP) @<<
199
   $(CPP_PROJ) $<
200
<<
201
 
202
.cxx{$(INTDIR)}.obj::
203
   $(CPP) @<<
204
   $(CPP_PROJ) $<
205
<<
206
 
207
.c{$(INTDIR)}.sbr::
208
   $(CPP) @<<
209
   $(CPP_PROJ) $<
210
<<
211
 
212
.cpp{$(INTDIR)}.sbr::
213
   $(CPP) @<<
214
   $(CPP_PROJ) $<
215
<<
216
 
217
.cxx{$(INTDIR)}.sbr::
218
   $(CPP) @<<
219
   $(CPP_PROJ) $<
220
<<
221
 
222
!IF "$(NO_EXTERNAL_DEPS)" != "1"
223
!IF EXISTS("<%noextension(project_file)%>.dep")
224
!INCLUDE "<%noextension(project_file)%>.dep"
225
!ENDIF
226
!ENDIF
227
 
228
<%marker(macros)%>
229
<%foreach(platforms)%>
230
!IF <%foreach(configurations)%>"$(CFG)" == "<%platform%> <%configuration%>" <%fornotlast("|| ")%><%endfor%>
217 bj 231
<%if(pch_source && pch_header)%>
107 bj 232
SOURCE="<%pch_source%>"
233
 
234
<%foreach(configurations)%>
235
!<%fornotfirst("ELSE")%>IF  "$(CFG)" == "<%platform%> <%configuration%>"
236
 
217 bj 237
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%>\<%libname_prefix%><%staticname%><%if(use_lib_modifier)%><%lib_modifier%><%endif%>.pdb<%else%>$(INTDIR)/<%endif%>"<%endif%> <%foreach(includes)%>/I "<%include%>" <%endfor%><%foreach(defines cpu_defines common_defines platform_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)\<%transdir(pch_header)%><%basenoextension(pch_header)%>.pch" /Yc"<%pch_header%>" <%endif%>/FD /c
107 bj 238
 
217 bj 239
"$(INTDIR)\<%transdir(pch_source)%><%basenoextension(pch_source)%>.obj" "$(INTDIR)\<%transdir(pch_header)%><%basenoextension(pch_header)%>.pch" : $(SOURCE) "$(INTDIR)"
240
<%if(transdir(pch_source))%>
241
        @if not exist "$(INTDIR)\<%transdir(pch_source)%>$(NULL)" mkdir "$(INTDIR)\<%transdir(pch_source)%>"
242
<%endif%>
107 bj 243
	$(CPP) @<<
217 bj 244
  $(CPP_SWITCHES) /Fo"$(INTDIR)\<%transdir(pch_source)%><%basenoextension(pch_source)%>.obj" $(SOURCE)
107 bj 245
<<
246
 
247
<%endfor%>
248
!ENDIF
249
 
250
<%endif%>
251
<%if(exename || sharedname || staticname)%>
252
<%foreach(source_files)%>
253
SOURCE="<%source_file%>"
254
 
217 bj 255
"$(INTDIR)\<%transdir(source_file)%><%basenoextension(source_file)%>.obj" : $(SOURCE) "$(INTDIR)"
256
<%if(transdir(source_file))%>
257
	@if not exist "$(INTDIR)\<%transdir(source_file)%>$(NULL)" mkdir "$(INTDIR)\<%transdir(source_file)%>"
107 bj 258
<%endif%>
217 bj 259
	$(CPP) <%if(flag_overrides(source_file, buildflags))%><%flag_overrides(source_file, buildflags)%> <%endif%>$(CPP_COMMON) /Fo"$(INTDIR)\<%transdir(source_file)%><%basenoextension(source_file)%>.obj" $(SOURCE)
107 bj 260
 
261
<%endfor%>
262
<%endif%>
263
<%foreach(custom_types)%>
264
<%foreach(custom_type->input_files)%>
265
<%if(custom_type->input_file->output_files)%>
266
SOURCE="<%custom_type->input_file%>"
267
 
268
InputPath=<%custom_type->input_file%>
269
 
270
<%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%>
271
	<<tempfile.bat
272
	@echo off
273
<%if(custom_type->libpath)%>
274
	PATH=%PATH%;<%custom_type->libpath%>
275
<%endif%>
276
<%if(flag_overrides(custom_type->input_file, gendir))%>
277
        if not exist <%flag_overrides(custom_type->input_file, gendir)%> mkdir <%flag_overrides(custom_type->input_file, gendir)%>
278
<%endif%>
198 bj 279
	<%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%><%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%> "$(InputPath)"
107 bj 280
<%if(flag_overrides(custom_type->input_file, postcommand))%>
281
<%foreach(custom_type->input_file)%>
282
	<%flag_overrides(custom_type->input_file, postcommand)%>
283
<%endfor%>
284
<%else%>
285
<%if(custom_type->postcommand)%>
286
<%foreach(custom_type->input_file)%>
287
	<%custom_type->postcommand%>
288
<%endfor%>
289
<%endif%>
290
<%endif%>
291
<%if(pch_header)%>
292
<%if(custom_type->pch_postrule)%>
293
<%foreach(custom_type->input_file->source_output_files)%>
294
	echo #include "<%pch_header%>" > temporary.src
295
	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
296
        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%>"
297
<%endfor%>
298
<%endif%>
299
<%endif%>
300
<<
301
 
302
<%endif%>
303
<%endfor%>
304
<%endfor%>
305
<%if(!type_is_static)%>
306
<%foreach(resource_files)%>
307
SOURCE="<%resource_file%>"
308
 
217 bj 309
"$(INTDIR)\<%transdir(resource_file)%><%basenoextension(resource_file)%>.res" : $(SOURCE) "$(INTDIR)"
310
<%if(transdir(resource_file))%>
311
	@if not exist "$(INTDIR)\<%transdir(resource_file)%>$(NULL)" mkdir "$(INTDIR)\<%transdir(resource_file)%>"
107 bj 312
<%endif%>
217 bj 313
	$(RSC) /l 0x409 /fo"$(INTDIR)\<%transdir(resource_file)%><%basenoextension(resource_file)%>.res"<%foreach(defines cpu_defines platform_defines macros)%> /d <%define%><%endfor%><%if(unicode)%> /d UNICODE /d _UNICODE<%endif%><%foreach(includes)%> /i "<%include%>"<%endfor%> $(SOURCE)
107 bj 314
 
315
 
316
<%endfor%>
317
<%endif%>
318
<%marker(local)%>
319
 
320
!ENDIF
321
<%endfor%>
322
 
323
GENERATED : $(GENERATED_DIRTY)
324
	-@rem
325
 
326
DEPENDCHECK :
327
!IF "$(NO_EXTERNAL_DEPS)" != "1"
328
!IF EXISTS("<%noextension(project_file)%>.dep")
329
	@echo Using "<%noextension(project_file)%>.dep"
330
!ELSE
331
	@echo Warning: cannot find "<%noextension(project_file)%>.dep"
332
!ENDIF
333
!ENDIF
334
 
335
<%marker(bottom)%>