diff --git a/src/libFLAC/libFLAC_dynamic.dsp b/src/libFLAC/libFLAC_dynamic.dsp index 97de0e0e..924164c1 100644 --- a/src/libFLAC/libFLAC_dynamic.dsp +++ b/src/libFLAC/libFLAC_dynamic.dsp @@ -95,6 +95,35 @@ LINK32=link.exe # PROP Default_Filter "" # Begin Source File +SOURCE=.\ia32\bitreader_asm.nasm + +!IF "$(CFG)" == "libFLAC_dynamic - Win32 Release" + +USERDEP__CPU_A="ia32/bitreader_asm.nasm" +# Begin Custom Build +InputPath=.\ia32\bitreader_asm.nasm + +"ia32/bitreader_asm.obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + nasmw.exe -f win32 -d OBJ_FORMAT_win32 -i ia32/ ia32/bitreader_asm.nasm -o ia32/bitreader_asm.obj + +# End Custom Build + +!ELSEIF "$(CFG)" == "libFLAC_dynamic - Win32 Debug" + +USERDEP__CPU_A="ia32/bitreader_asm.nasm" +# Begin Custom Build +InputPath=.\ia32\bitreader_asm.nasm + +"ia32/bitreader_asm.obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + nasmw.exe -f win32 -d OBJ_FORMAT_win32 -i ia32/ ia32/bitreader_asm.nasm -o ia32/bitreader_asm.obj + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + SOURCE=.\ia32\cpu_asm.nasm !IF "$(CFG)" == "libFLAC_dynamic - Win32 Release" diff --git a/src/libFLAC/libFLAC_dynamic.vcproj b/src/libFLAC/libFLAC_dynamic.vcproj index 45b475f5..0fa150cc 100644 --- a/src/libFLAC/libFLAC_dynamic.vcproj +++ b/src/libFLAC/libFLAC_dynamic.vcproj @@ -406,6 +406,30 @@ RelativePath=".\release_static\BuildLog.htm" > + + + + + + + + diff --git a/src/libFLAC/libFLAC_static.dsp b/src/libFLAC/libFLAC_static.dsp index c3ca405b..a71dad5b 100644 --- a/src/libFLAC/libFLAC_static.dsp +++ b/src/libFLAC/libFLAC_static.dsp @@ -88,6 +88,35 @@ LIB32=link.exe -lib # PROP Default_Filter "" # Begin Source File +SOURCE=.\ia32\bitreader_asm.nasm + +!IF "$(CFG)" == "libFLAC_static - Win32 Release" + +USERDEP__CPU_A="ia32/bitreader_asm.nasm" +# Begin Custom Build +InputPath=.\ia32\bitreader_asm.nasm + +"ia32/bitreader_asm.obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + nasmw.exe -f win32 -d OBJ_FORMAT_win32 -i ia32/ ia32/bitreader_asm.nasm -o ia32/bitreader_asm.obj + +# End Custom Build + +!ELSEIF "$(CFG)" == "libFLAC_static - Win32 Debug" + +USERDEP__CPU_A="ia32/bitreader_asm.nasm" +# Begin Custom Build +InputPath=.\ia32\bitreader_asm.nasm + +"ia32/bitreader_asm.obj" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + nasmw.exe -f win32 -d OBJ_FORMAT_win32 -i ia32/ ia32/bitreader_asm.nasm -o ia32/bitreader_asm.obj + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + SOURCE=.\ia32\cpu_asm.nasm !IF "$(CFG)" == "libFLAC_static - Win32 Release" diff --git a/src/libFLAC/libFLAC_static.vcproj b/src/libFLAC/libFLAC_static.vcproj index c3078883..07712dc6 100644 --- a/src/libFLAC/libFLAC_static.vcproj +++ b/src/libFLAC/libFLAC_static.vcproj @@ -372,6 +372,30 @@ > + + + + + + + +