Line 38... |
Line 38... |
38 |
NULL=nul
|
38 |
NULL=nul
|
39 |
!ENDIF
|
39 |
!ENDIF
|
40 |
|
40 |
|
41 |
!IF "$(DEPGEN)" == ""
|
41 |
!IF "$(DEPGEN)" == ""
|
42 |
!IF EXISTS("$(DEPGEN_ROOT)/depgen.pl")
|
42 |
!IF EXISTS("$(DEPGEN_ROOT)/depgen.pl")
|
43 |
DEPGEN=perl $(DEPGEN_ROOT)/depgen.pl -t nmake
|
43 |
DEPGEN=perl $(DEPGEN_ROOT)/depgen.pl -i -t nmake
|
44 |
!ELSEIF EXISTS("$(ACE_ROOT)/bin/depgen.pl")
|
44 |
!ELSEIF EXISTS("$(ACE_ROOT)/bin/depgen.pl")
|
45 |
DEPGEN=perl $(ACE_ROOT)/bin/depgen.pl -t nmake
|
45 |
DEPGEN=perl $(ACE_ROOT)/bin/depgen.pl -i -t nmake
|
46 |
!ENDIF
|
46 |
!ENDIF
|
47 |
!ENDIF
|
47 |
!ENDIF
|
48 |
|
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%>
|
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 |
|
50 |
|
Line 64... |
Line 64... |
64 |
<%endif%>
|
64 |
<%endif%>
|
65 |
<%endif%>
|
65 |
<%endif%>
|
66 |
<%endif%>
|
66 |
<%endif%>
|
67 |
INTDIR=<%intermediate_dir%>\<%project_name%>\<%machine%>
|
67 |
INTDIR=<%intermediate_dir%>\<%project_name%>\<%machine%>
|
68 |
|
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%>\<%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%>
|
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%>
|
70 |
|
70 |
|
71 |
DEPEND :
|
71 |
DEPEND :
|
72 |
!IF "$(DEPGEN)" == ""
|
72 |
!IF "$(DEPGEN)" == ""
|
73 |
@echo No suitable dependency generator could be found.
|
73 |
@echo No suitable dependency generator could be found.
|
74 |
@echo You can check one out from OCI using the following cvs command:
|
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
|
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.
|
76 |
@echo Then set the DEPGEN_ROOT environment variable to the full path of Depgen.
|
77 |
!ELSE
|
77 |
!ELSE
|
78 |
<%if(source_files || pch_source)%>
|
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%>
|
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%>
|
80 |
<%else%>
|
80 |
<%else%>
|
81 |
-@rem
|
81 |
-@rem
|
82 |
<%endif%>
|
82 |
<%endif%>
|
83 |
!ENDIF
|
83 |
!ENDIF
|
84 |
|
84 |
|
Line 126... |
Line 126... |
126 |
if not exist "<%intermediate_dir%>\$(NULL)" mkdir "<%intermediate_dir%>"
|
126 |
if not exist "<%intermediate_dir%>\$(NULL)" mkdir "<%intermediate_dir%>"
|
127 |
if not exist "<%intermediate_dir%>\<%project_name%>\$(NULL)" mkdir "<%intermediate_dir%>\<%project_name%>"
|
127 |
if not exist "<%intermediate_dir%>\<%project_name%>\$(NULL)" mkdir "<%intermediate_dir%>\<%project_name%>"
|
128 |
if not exist "$(INTDIR)\$(NULL)" mkdir "$(INTDIR)"
|
128 |
if not exist "$(INTDIR)\$(NULL)" mkdir "$(INTDIR)"
|
129 |
|
129 |
|
130 |
CPP=<%cc("cl.exe")%>
|
130 |
CPP=<%cc("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%>\<%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 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
|
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)\\\\")%>"
|
132 |
|
133 |
|
133 |
<%if(!type_is_static)%>
|
134 |
<%if(!type_is_static)%>
|
134 |
RSC=<%rc("rc.exe")%>
|
135 |
RSC=<%rc("rc.exe")%>
|
135 |
<%endif%>
|
136 |
<%endif%>
|
136 |
|
137 |
|
Line 144... |
Line 145... |
144 |
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%>"
|
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%>"
|
145 |
<%endif%>
|
146 |
<%endif%>
|
146 |
LINK32_OBJS= \
|
147 |
LINK32_OBJS= \
|
147 |
<%if(!type_is_static)%>
|
148 |
<%if(!type_is_static)%>
|
148 |
<%foreach(resource_files)%>
|
149 |
<%foreach(resource_files)%>
|
149 |
"$(INTDIR)\<%if(dirname(resource_file))%><%noextension(resource_file)%><%else%><%basenoextension(resource_file)%><%endif%>.res" \
|
150 |
"$(INTDIR)\<%transdir(resource_file)%><%basenoextension(resource_file)%>.res" \
|
150 |
<%endfor%>
|
151 |
<%endfor%>
|
151 |
<%endif%>
|
152 |
<%endif%>
|
152 |
<%if(pch_source)%>
|
153 |
<%if(pch_source)%>
|
153 |
"$(INTDIR)\<%if(dirname(pch_source))%><%noextension(pch_source)%><%else%><%basenoextension(pch_source)%><%endif%>.obj" \
|
154 |
"$(INTDIR)\<%transdir(pch_source)%><%basenoextension(pch_source)%>.obj" \
|
154 |
<%endif%>
|
155 |
<%endif%>
|
155 |
<%foreach(source_files)%>
|
156 |
<%foreach(source_files)%>
|
156 |
"$(INTDIR)\<%if(dirname(source_file))%><%noextension(source_file)%><%else%><%basenoextension(source_file)%><%endif%>.obj"<%fornotlast(" \\")%>
|
157 |
"$(INTDIR)\<%transdir(source_file)%><%basenoextension(source_file)%>.obj"<%fornotlast(" \\")%>
|
157 |
<%endfor%>
|
158 |
<%endfor%>
|
158 |
|
159 |
|
159 |
"<%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)
|
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)
|
160 |
$(LINK32) @<<
|
161 |
$(LINK32) @<<
|
161 |
$(LINK32_FLAGS) $(LINK32_OBJS)
|
162 |
$(LINK32_FLAGS) $(LINK32_OBJS)
|
162 |
<<
|
163 |
<<
|
- |
|
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%>
|
163 |
<%endif%>
|
165 |
<%endif%>
|
164 |
|
166 |
|
- |
|
167 |
<%if(prebuild)%>
|
- |
|
168 |
__prebuild__:
|
- |
|
169 |
@<%eval(prebuild)%>
|
- |
|
170 |
|
- |
|
171 |
<%endif%>
|
165 |
<%if(postbuild)%>
|
172 |
<%if(postbuild)%>
|
166 |
__postbuild__:
|
173 |
__postbuild__:
|
167 |
@<%eval(postbuild)%>
|
174 |
@<%eval(postbuild)%>
|
168 |
|
175 |
|
169 |
<%endif%>
|
176 |
<%endif%>
|
Line 219... |
Line 226... |
219 |
!ENDIF
|
226 |
!ENDIF
|
220 |
|
227 |
|
221 |
<%marker(macros)%>
|
228 |
<%marker(macros)%>
|
222 |
<%foreach(platforms)%>
|
229 |
<%foreach(platforms)%>
|
223 |
!IF <%foreach(configurations)%>"$(CFG)" == "<%platform%> <%configuration%>" <%fornotlast("|| ")%><%endfor%>
|
230 |
!IF <%foreach(configurations)%>"$(CFG)" == "<%platform%> <%configuration%>" <%fornotlast("|| ")%><%endfor%>
|
224 |
<%if(pch_source)%>
|
- |
|
225 |
<%if(pch_header)%>
|
231 |
<%if(pch_source && pch_header)%>
|
226 |
SOURCE="<%pch_source%>"
|
232 |
SOURCE="<%pch_source%>"
|
227 |
|
233 |
|
228 |
<%foreach(configurations)%>
|
234 |
<%foreach(configurations)%>
|
229 |
!<%fornotfirst("ELSE")%>IF "$(CFG)" == "<%platform%> <%configuration%>"
|
235 |
!<%fornotfirst("ELSE")%>IF "$(CFG)" == "<%platform%> <%configuration%>"
|
230 |
|
236 |
|
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%>\<%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 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
|
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
|
232 |
|
238 |
|
- |
|
239 |
"$(INTDIR)\<%transdir(pch_source)%><%basenoextension(pch_source)%>.obj" "$(INTDIR)\<%transdir(pch_header)%><%basenoextension(pch_header)%>.pch" : $(SOURCE) "$(INTDIR)"
|
233 |
<%if(dirname(pch_source))%>
|
240 |
<%if(transdir(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)%>"
|
241 |
@if not exist "$(INTDIR)\<%transdir(pch_source)%>$(NULL)" mkdir "$(INTDIR)\<%transdir(pch_source)%>"
|
236 |
$(CPP) @<<
|
- |
|
237 |
$(CPP_SWITCHES) /Fo"$(INTDIR)\<%noextension(pch_source)%>.obj" $(SOURCE)
|
- |
|
238 |
<<
|
- |
|
239 |
<%else%>
|
242 |
<%endif%>
|
240 |
"$(INTDIR)\<%basenoextension(pch_source)%>.obj" "$(INTDIR)\<%basenoextension(pch_header)%>.pch" : $(SOURCE) "$(INTDIR)"
|
- |
|
241 |
$(CPP) @<<
|
243 |
$(CPP) @<<
|
242 |
$(CPP_SWITCHES) /Fo"<%fo_flag%>" $(SOURCE)
|
244 |
$(CPP_SWITCHES) /Fo"$(INTDIR)\<%transdir(pch_source)%><%basenoextension(pch_source)%>.obj" $(SOURCE)
|
243 |
<<
|
245 |
<<
|
244 |
<%endif%>
|
- |
|
245 |
|
246 |
|
246 |
<%endfor%>
|
247 |
<%endfor%>
|
247 |
!ENDIF
|
248 |
!ENDIF
|
248 |
|
249 |
|
249 |
<%endif%>
|
250 |
<%endif%>
|
250 |
<%endif%>
|
- |
|
251 |
<%if(exename || sharedname || staticname)%>
|
251 |
<%if(exename || sharedname || staticname)%>
|
252 |
<%foreach(source_files)%>
|
252 |
<%foreach(source_files)%>
|
253 |
SOURCE="<%source_file%>"
|
253 |
SOURCE="<%source_file%>"
|
254 |
<%if(dirname(source_file))%>
|
- |
|
255 |
<%foreach(configurations)%>
|
- |
|
256 |
!<%fornotfirst("ELSE")%>IF "$(CFG)" == "<%platform%> <%configuration%>"
|
- |
|
257 |
|
254 |
|
258 |
"$(INTDIR)\<%noextension(source_file)%>.obj" : $(SOURCE) "$(INTDIR)"
|
255 |
"$(INTDIR)\<%transdir(source_file)%><%basenoextension(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%>\<%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 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)
|
256 |
<%if(transdir(source_file))%>
|
262 |
<<
|
- |
|
263 |
<%endfor%>
|
- |
|
264 |
!ENDIF
|
- |
|
265 |
<%else%>
|
- |
|
266 |
"$(INTDIR)\<%basenoextension(source_file)%>.obj" : $(SOURCE) "$(INTDIR)"
|
257 |
@if not exist "$(INTDIR)\<%transdir(source_file)%>$(NULL)" mkdir "$(INTDIR)\<%transdir(source_file)%>"
|
267 |
$(CPP) $(CPP_PROJ) $(SOURCE)
|
- |
|
268 |
<%endif%>
|
258 |
<%endif%>
|
- |
|
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)
|
269 |
|
260 |
|
270 |
<%endfor%>
|
261 |
<%endfor%>
|
271 |
<%endif%>
|
262 |
<%endif%>
|
272 |
<%foreach(custom_types)%>
|
263 |
<%foreach(custom_types)%>
|
273 |
<%foreach(custom_type->input_files)%>
|
264 |
<%foreach(custom_type->input_files)%>
|
Line 313... |
Line 304... |
313 |
<%endfor%>
|
304 |
<%endfor%>
|
314 |
<%if(!type_is_static)%>
|
305 |
<%if(!type_is_static)%>
|
315 |
<%foreach(resource_files)%>
|
306 |
<%foreach(resource_files)%>
|
316 |
SOURCE="<%resource_file%>"
|
307 |
SOURCE="<%resource_file%>"
|
317 |
|
308 |
|
318 |
"$(INTDIR)\<%if(dirname(resource_file))%><%noextension(resource_file)%><%else%><%basenoextension(resource_file)%><%endif%>.res" : $(SOURCE) "$(INTDIR)"
|
309 |
"$(INTDIR)\<%transdir(resource_file)%><%basenoextension(resource_file)%>.res" : $(SOURCE) "$(INTDIR)"
|
319 |
<%if(dirname(resource_file))%>
|
310 |
<%if(transdir(resource_file))%>
|
320 |
@if not exist "$(INTDIR)\<%dirname(resource_file)%>\$(NULL)" mkdir "$(INTDIR)\<%dirname(resource_file)%>"
|
311 |
@if not exist "$(INTDIR)\<%transdir(resource_file)%>$(NULL)" mkdir "$(INTDIR)\<%transdir(resource_file)%>"
|
321 |
<%endif%>
|
312 |
<%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)
|
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)
|
323 |
|
314 |
|
324 |
|
315 |
|
325 |
<%endfor%>
|
316 |
<%endfor%>
|
326 |
<%endif%>
|
317 |
<%endif%>
|
327 |
<%marker(local)%>
|
318 |
<%marker(local)%>
|