diff options
Diffstat (limited to 'icu/createmak.cfg')
-rw-r--r-- | icu/createmak.cfg | 452 |
1 files changed, 452 insertions, 0 deletions
diff --git a/icu/createmak.cfg b/icu/createmak.cfg new file mode 100644 index 000000000000..1b47c0f76570 --- /dev/null +++ b/icu/createmak.cfg @@ -0,0 +1,452 @@ +[Copy] +SOURCE=<HEADER> +InputPath=<INPUTPATH> +"<TARGET>" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + <TARGETPATH> + +[Deps] +SOURCE=.\<SOURCEFILE>.<EXT> +"$(INTDIR)\<SOURCEFILE>.obj": $(SOURCE) "$(INTDIR)" <HEADER_LIST> + +[Cpp] +CPP=cl.exe +[Link] +LINK32=link.exe +[CDefs_Common] + +[RSC_Template] +RSC=rc.exe +RSC_PROJ=/l 0x409 /fo"$(INTDIR)\<FILEOUT>.res" /i "..\common" /d "NDEBUG" +SOURCE=<FILE> +"$(INTDIR)\<FILEOUT>.res" : $(SOURCE) "$(INTDIR)" + $(RSC) $(RSC_PROJ) $(SOURCE) + +[General_CFlags] +CPP_PROJ_INCLUDES=<AddIncDirs> +CDEFS=<PreProcDefs> +COPT=-nologo -O2 -Ob2 +CPDBOBJ=-FD -Fo"$(INTDIR)\\" -Fd"$(INTDIR)\\" +CTOOLSFLAGS=-nologo -W3 $(EXCEPTIONSWITCH) $(CPP_PROJ_INCLUDES) $(CDEFS) $(CPDBOBJ) -c +CDEF1FLAGS= -D "_WINDOWS" -D "_MBCS" + +[CFlags_common] +CPP_PROJ=-nologo -MD -Za -Zi -W3 -GF -O2 -Ob2 $(EXCEPTIONSWITCH) $(CPP_PROJ_INCLUDES) $(CDEFS) $(CPDBOBJ) -c + +[CFlags_i18n] +CPP_PROJ=-MD -W3 -Oi -GF -FD -GS -Gy -Za -Zi $(EXCEPTIONSWITCH) $(COPT) $(CPP_PROJ_INCLUDES) $(CDEFS) -Fp".\Release/i18n.pch" $(CPDBOBJ) -c + +[CFlags_extra_uconv] +CPP_PROJ=-MD -W3 -GF -Gy $(EXCEPTIONSWITCH) $(COPT) $(CPP_PROJ_INCLUDES) $(CDEFS) -Fp".\Release/uconv.pch" $(CPDBOBJ) -c + +[CFlags_layout] +CPP_PROJ=-Za -GF -Gy -W3 $(EXCEPTIONSWITCH) -O2 $(CPP_PROJ_INCLUDES) $(CDEFS) -D "LAYOUT_EXPORTS" -D "_WINDOWS" -D "_MBCS" -D "_USRDLL" $(CPDBOBJ) -c + +[CFlags_io] +CPP_PROJ=-Za -GF -Gy -W3 $(EXCEPTIONSWITCH) -O2 $(CPP_PROJ_INCLUDES) $(CDEFS) -D "LAYOUT_EXPORTS" -D "_WINDOWS" -D "_MBCS" -D "_USRDLL" $(CPDBOBJ) -c + +[CFlags_layoutex] +CPP_PROJ=-MT -W3 -GF -Gy $(EXCEPTIONSWITCH) $(COPT) $(CPP_PROJ_INCLUDES) $(CDEFS) -Fp".\Release/layoutex.pch" $(CPDBOBJ) -c + +[CFlags_stubdata] +CPP_PROJ=-MD -W3 -GF -Gy -Za $(EXCEPTIONSWITCH) $(COPT) $(CPP_PROJ_INCLUDES) $(CDEFS) -Fp".\Release/stubdata.pch" $(CPDBOBJ) -c + +[CFlags_test_cintltst] +CPP_PROJ=-MT -Za -O2 -W3 $(EXCEPTIONSWITCH) $(CPP_PROJ_INCLUDES) $(CDEFS) $(CPDBOBJ) -c + +[CFlags_test_intltest] +CPP_PROJ=-nologo -MT -Za -Zi -Ox -Ob0 -W3 $(EXCEPTIONSWITCH) $(CPP_PROJ_INCLUDES) $(CDEFS) $(CPDBOBJ) -c + +[CFlags_test_iotest] +CPP_PROJ=-nologo -MD -Za -Zi -Ox -Ob0 -W3 $(EXCEPTIONSWITCH) $(CPP_PROJ_INCLUDES) $(CDEFS) $(CPDBOBJ) -c + +[CFlags_test_letest] +CPP_PROJ=-nologo -MD -Za -Zi -Ox -Ob0 -W3 $(EXCEPTIONSWITCH) $(CPP_PROJ_INCLUDES) $(CDEFS) $(CPDBOBJ) -c + +[CFlags_tools_ctestfw] +CPP_PROJ=-nologo -MD -O2 -FD -Za -W3 $(EXCEPTIONSWITCH) $(CPP_PROJ_INCLUDES) $(CDEFS) -Fp".\Release/icutest.pch" $(CPDBOBJ) -c + +[CFlags_tools_genbrk] +CPP_PROJ=-nologo -MD -Za -O2 -W3 $(EXCEPTIONSWITCH) $(CPP_PROJ_INCLUDES) $(CDEFS) $(CPDBOBJ) -c + +[CFlags_tools_gencase] +CPP_PROJ=-nologo -MD -GF -Za -Zi -W3 $(EXCEPTIONSWITCH) $(COPT) $(CPDBOBJ) -c + +[CFlags_tools_genccode] +CPP_PROJ=-MD -O2 $(CTOOLSFLAGS) + +[CFlags_tools_gencmn] +CPP_PROJ=-O2 -Za $(CTOOLSFLAGS) + +[CFlags_tools_genctd] +CPP_PROJ=-MD -O2 -Za $(CTOOLSFLAGS) + +[CFlags_tools_gencnval] +CPP_PROJ=-MD -O2 -Za $(CTOOLSFLAGS) + +[CFlags_tools_gennames] +CPP_PROJ=-MD -O2 -Za $(CTOOLSFLAGS) + +[CFlags_tools_gennorm] +CPP_PROJ=-MD -O2 -Za $(CTOOLSFLAGS) + +[CFlags_tools_genpname] +CPP_PROJ=-MD -O2 -Za $(CTOOLSFLAGS) + +[CFlags_tools_genprops] +CPP_PROJ=-MD -O2 -Za $(CTOOLSFLAGS) + +[CFlags_tools_genrb] +CPP_PROJ=-Za $(CTOOLSFLAGS) + +[CFlags_tools_genrb.derb] +CPP_PROJ=-Za -GX $(CTOOLSFLAGS) + +[CFlags_tools_gensprep] +CPP_PROJ=-Za $(CTOOLSFLAGS) + +[CFlags_tools_gentest] +CPP_PROJ=-Za -O2 $(CTOOLSFLAGS) + +[CFlags_tools_genuca] +CPP_PROJ=-Za -O2 $(CTOOLSFLAGS) + +[CFlags_tools_gencase] +CPP_PROJ=-Za -O2 $(CTOOLSFLAGS) + +[CFlags_tools_genbidi] +CPP_PROJ=-Za -O2 $(CTOOLSFLAGS) + +[CFlags_tools_icupkg] +CPP_PROJ=-O2 $(CTOOLSFLAGS) + +[CFlags_tools_icuswap] +CPP_PROJ=-O2 $(CTOOLSFLAGS) + +[CFlags_tools_makeconv] +CPP_PROJ=-Za $(CTOOLSFLAGS) + +[CFlags_tools_pkgdata] +CPP_PROJ=-Za -O2 $(CTOOLSFLAGS) + +[CFlags_tools_toolutil] +CPP_PROJ=-MD -O2 $(CTOOLSFLAGS) + +[CommonLinkFlags] +PDBOUT=/pdb:"<PDBFILE>" /out:"<OUTFILE>" +COMMONLINKFLAGS=/incremental:no /nologo $(PDBOUT) +COMMONLINKFLAGS_CONSOLE=$(COMMONLINKFLAGS) /subsystem:console +COMMONLINKFLAGS_DLL=$(COMMONLINKFLAGS) /dll + +[LinkFlags_common] +LINK32_FLAGS=icudata.lib kernel32.lib user32.lib advapi32.lib shell32.lib $(COMMONLINKFLAGS_DLL) /base:"0x4a800000" /implib:"$(OUTDIR)\icuuc.lib" /libpath:"..\..\lib" + +[LinkFlags_i18n] +LINK32_FLAGS=icuuc.lib $(COMMONLINKFLAGS_DLL) /base:"0x4a900000" /implib:"$(OUTDIR)\icuin.lib" /libpath:"..\..\lib" + +[LinkFlags_extra_uconv] +LINK32_FLAGS=icuuc.lib icuin.lib uconvmsg.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\..\..\lib" /libpath:"Release" + +[LinkFlags_layout] +LINK32_FLAGS=..\..\lib\icuuc.lib $(COMMONLINKFLAGS_DLL) /implib:"$(OUTDIR)\icule.lib" + +[LinkFlags_io] +LINK32_FLAGS=icuuc.lib icuin.lib $(COMMONLINKFLAGS_DLL) /libpath:"..\..\lib" /implib:"$(OUTDIR)\icuio.lib" + +[LinkFlags_layoutex] +LINK32_FLAGS=..\..\lib\icuuc.lib ..\..\lib\icule.lib $(COMMONLINKFLAGS_DLL) /implib:"$(OUTDIR)\iculx.lib" + +[LinkFlags_stubdata] +LINK32_FLAGS=kernel32.lib user32.lib /nologo /dll /incremental:yes $(PDBOUT) /implib:"..\..\lib\icudata.lib" + +[LinkFlags_test_cintltst] +LINK32_FLAGS=icuuc.lib icuin.lib icutest.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\..\..\lib\\" + +[LinkFlags_test_intltest] +LINK32_FLAGS=$(COMMONLINKFLAGS_CONSOLE) /libpath:"..\..\..\lib" + +[LinkFlags_test_iotest] +LINK32_FLAGS=icuuc.lib icuin.lib icutu.lib icuio.lib icutest.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\..\..\lib" + +[LinkFlags_test_letest] +LINK32_FLAGS=icuuc.lib icuin.lib icutu.lib icule.lib iculx.lib icutest.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\..\..\lib" + +[LinkFlags_tools_ctestfw] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_DLL) /implib:"$(OUTDIR)\icutest.lib" /libpath:"..\..\..\lib" + +[LinkFlags_tools_genbrk] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_gencmn] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_genctd] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_gencnval] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_genccode] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_gennames] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_gennorm] +LINK32_FLAGS=icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_genpname] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_genprops] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_genrb] +LINK32_FLAGS=icuin.lib icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_genrb.derb] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\..\..\lib" + +[LinkFlags_tools_gensprep] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_gentest] +LINK32_FLAGS=icuuc.lib icutu.lib icutest.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_genuca] +LINK32_FLAGS=icuin.lib icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_gencase] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_genbidi] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_icupkg] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_icuswap] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_makeconv] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_pkgdata] +LINK32_FLAGS=icuuc.lib icutu.lib $(COMMONLINKFLAGS_CONSOLE) /libpath:"../toolutil/release" /libpath:"..\toolutil\Release" /libpath:"..\..\..\lib" + +[LinkFlags_tools_toolutil] +LINK32_FLAGS=kernel32.lib ..\..\..\lib\icuin.lib $(COMMONLINKFLAGS_DLL) /NODEFAULTLIB:libcmt /implib:"$(OUTDIR)\icutu.lib" /libpath:"..\..\..\lib" + +[LinkTemplate] +<OUTFILE> : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + $(LINK32) @<< + $(LINK32_FLAGS) $(LINK32_OBJS) +<< + if exist $@.manifest mt.exe -manifest $@.manifest -outputresource:$@;<MANIFEST> + +[AdditionalLinkObjects_common] + $(OUTDIR)\icudata.lib + +[AdditionalLinkObjects_i18n] + "$(OUTDIR)\icuuc.lib" + +[AdditionalLinkObjects_extra_uconv] + "$(INTDIR)\uconvmsg.lib" \ + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icuin.lib" + +[AdditionalLinkObjects_layout] + "$(OUTDIR)\icuuc.lib" + +[AdditionalLinkObjects_io] + "$(OUTDIR)\icuuc.lib" + +[AdditionalLinkObjects_layoutex] + "$(OUTDIR)\icuuc.lib" \ + "$(OUTDIR)\icuin.lib" \ + "$(OUTDIR)\icule.lib" + +[AdditionalLinkObjects_test_cintltst] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutest.lib" \ + "..\..\..\lib\icuin.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_test_intltest] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutest.lib" \ + "..\..\..\lib\icuin.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_test_letest] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutest.lib" \ + "..\..\..\lib\icuin.lib" \ + "..\..\..\lib\icule.lib" \ + "..\..\..\lib\iculx.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_genbrk] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_genccode] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_gencmn] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_genctd] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_gencnval] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_gennames] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_gennorm] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_genpname] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_genprops] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_genrb] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icuin.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_genrb.derb] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icudata.lib" + +[AdditionalLinkObjects_tools_gensprep] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_gentest] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_genuca] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icuin.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_gencase] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_genbidi] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_icupkg] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_icuswap] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_makeconv] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_pkgdata] + "..\..\..\lib\icuuc.lib" \ + "..\..\..\lib\icutu.lib" + +[AdditionalLinkObjects_tools_toolutil] + "$(OUTDIR)\icuuc.lib" + + +[Rules] +.c{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(INTDIR)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.c{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(INTDIR)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +[AllTargetTools] +ALL : "$(OUTDIR)\<MAKFILE>.exe" ".\<RELPATH>\bin\<MAKFILE>.exe" + +[AllInOnePrj] +<PRJ> : + cd "$(MAKEDIR)\<PRJDIR>" + $(MAKE) /$(MAKEFLAGS) /F <PRJMAK> EXCEPTIONSWITCH="$(EXFLAGS)" + cd "<ALLINONEDIR>" + +[HeadSectionCommon] +NULL= +!IF "$(CFG)" == "<MAKFILE> - Win32 Release" + +OUTDIR=<OUTDIR> +INTDIR=<INTDIR> +"$(OUTDIR)" : + if not exist "$(OUTDIR)/\$(NULL)" mkdir "$(OUTDIR)" + +"$(INTDIR)" : + if not exist "$(INTDIR)/\$(NULL)" mkdir "$(INTDIR)" + +!IF "$(CFG)" == "<MAKFILE> - Win32 Release" + +ALL : <ALLTARGETS> + +[Special_stubdata] +<OUTFILE> : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) + @if not exist "..\..\bin" mkdir "..\..\bin" + @if not exist "..\..\lib" mkdir "..\..\lib" + @if not exist "..\..\include" mkdir "..\..\include" + @if not exist "..\..\include\unicode" mkdir "..\..\include\unicode" + @if not exist "..\..\include\layout" mkdir "..\..\include\layout" + echo "File with stubdata build time, used as a dependency to trigger fresh data build, since stubdata dll will overwrite the real one." > .\stubdatabuilt.txt + $(LINK32) $(LINK32_FLAGS) $(LINK32_OBJS) + +[Special_extra_uconv] +SOURCE=.\makedata.mak +InputPath=.\makedata.mak + +"$(INTDIR)\uconvmsg.lib" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + <<tempfile.bat + @echo off + nmake /nologo /f makedata.mak icup=.\..\..\.. CFG=Release +<< + + + +[End] |