Static.msvc 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. !IF "$(OS)" == "Windows_NT"
  2. NULL=
  3. !ELSE
  4. NULL=nul
  5. !ENDIF
  6. CPP=cl.exe
  7. RSC=rc.exe
  8. F90=df.exe
  9. BSC32=bscmake.exe
  10. BSC32_SBRS= \
  11. LIB32=link.exe -lib
  12. OUTDIR_REL=.\output\libsamplerate-i386-win32-vc-release
  13. INTDIR_REL=.\output\libsamplerate-i386-win32-vc-release
  14. OUTDIR_DEB=.\output\libsamplerate-i386-win32-vc-debug
  15. INTDIR_DEB=.\output\libsamplerate-i386-win32-vc-debug
  16. LIB_REL=..\..\lib\libsamplerate-i386-win32-vc-release.lib
  17. LIB_DEB=..\..\lib\libsamplerate-i386-win32-vc-debug.lib
  18. ALL : $(LIB_REL) $(LIB_DEB)
  19. CLEAN :
  20. -@erase "$(INTDIR_REL)\*.obj"
  21. -@erase "$(INTDIR_REL)\*.pch"
  22. -@erase "$(INTDIR_REL)\*.pdb"
  23. -@erase "$(INTDIR_REL)\*.idb"
  24. @rmdir $(INTDIR_REL)
  25. -@erase "$(INTDIR_DEB)\*.obj"
  26. -@erase "$(INTDIR_DEB)\*.pch"
  27. -@erase "$(INTDIR_DEB)\*.pdb"
  28. -@erase "$(INTDIR_DEB)\*.idb"
  29. @rmdir $(INTDIR_DEB)
  30. -@erase $(LIB_REL)
  31. -@erase $(LIB_DEB)
  32. "$(OUTDIR_REL)" :
  33. if not exist "$(OUTDIR_REL)/$(NULL)" mkdir "$(OUTDIR_REL)"
  34. CPP_PROJ_REL=/nologo /MD /W3 /GX /O2 /I "../win32" /I "../../libsamplerate/src" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Fp"$(INTDIR_REL)\libsamplerate_static.pch" /YX /Fo"$(INTDIR_REL)\\" /Fd"$(INTDIR_REL)\\" /FD /c
  35. LIB32_FLAGS_REL=/nologo /out:$(LIB_REL)
  36. LIB32_OBJS_REL= \
  37. "$(INTDIR_REL)\samplerate.obj" \
  38. "$(INTDIR_REL)\src_linear.obj" \
  39. "$(INTDIR_REL)\src_sinc.obj" \
  40. "$(INTDIR_REL)\src_zoh.obj"
  41. $(LIB_REL) : "$(OUTDIR_REL)" $(DEF_FILE) $(LIB32_OBJS_REL)
  42. $(LIB32) @<<
  43. $(LIB32_FLAGS_REL) $(DEF_FLAGS) $(LIB32_OBJS_REL)
  44. <<
  45. "$(OUTDIR_DEB)" :
  46. if not exist "$(OUTDIR_DEB)/$(NULL)" mkdir "$(OUTDIR_DEB)"
  47. CPP_PROJ_DEB=/nologo /MTd /W3 /Gm /GX /ZI /Od /I "../win32" /I "../../libsamplerate/src" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /Fp"$(INTDIR_DEB)\libsamplerate_static.pch" /YX /Fo"$(INTDIR_DEB)\\" /Fd"$(INTDIR_DEB)\\" /FD /GZ /c
  48. LIB32_FLAGS_DEB=/nologo /out:$(LIB_DEB)
  49. LIB32_OBJS_DEB= \
  50. "$(INTDIR_DEB)\samplerate.obj" \
  51. "$(INTDIR_DEB)\src_linear.obj" \
  52. "$(INTDIR_DEB)\src_sinc.obj" \
  53. "$(INTDIR_DEB)\src_zoh.obj"
  54. $(LIB_DEB) : "$(OUTDIR_DEB)" $(DEF_FILE) $(LIB32_OBJS_DEB)
  55. $(LIB32) @<<
  56. $(LIB32_FLAGS_DEB) $(DEF_FLAGS) $(LIB32_OBJS_DEB)
  57. <<
  58. ..\..\libsamplerate\src\samplerate.c : \
  59. "..\..\libsamplerate\src\common.h"\
  60. "..\..\libsamplerate\src\config.h"\
  61. "..\..\libsamplerate\src\float_cast.h"\
  62. "..\..\libsamplerate\src\samplerate.h"\
  63. ..\..\libsamplerate\src\src_linear.c : \
  64. "..\..\libsamplerate\src\common.h"\
  65. "..\..\libsamplerate\src\config.h"\
  66. "..\..\libsamplerate\src\float_cast.h"\
  67. "..\..\libsamplerate\src\samplerate.h"\
  68. ..\..\libsamplerate\src\src_sinc.c : \
  69. "..\..\libsamplerate\src\common.h"\
  70. "..\..\libsamplerate\src\config.h"\
  71. "..\..\libsamplerate\src\fastest_coeffs.h"\
  72. "..\..\libsamplerate\src\float_cast.h"\
  73. "..\..\libsamplerate\src\high_qual_coeffs.h"\
  74. "..\..\libsamplerate\src\mid_qual_coeffs.h"\
  75. "..\..\libsamplerate\src\samplerate.h"\
  76. ..\..\libsamplerate\src\src_zoh.c : \
  77. "..\..\libsamplerate\src\common.h"\
  78. "..\..\libsamplerate\src\config.h"\
  79. "..\..\libsamplerate\src\float_cast.h"\
  80. "..\..\libsamplerate\src\samplerate.h"\
  81. SOURCE=..\..\libsamplerate\src\samplerate.c
  82. "$(INTDIR_DEB)\samplerate.obj" : $(SOURCE) "$(INTDIR_DEB)"
  83. $(CPP) $(CPP_PROJ_DEB) $(SOURCE)
  84. "$(INTDIR_REL)\samplerate.obj" : $(SOURCE) "$(INTDIR_REL)"
  85. $(CPP) $(CPP_PROJ_REL) $(SOURCE)
  86. SOURCE=..\..\libsamplerate\src\src_linear.c
  87. "$(INTDIR_DEB)\src_linear.obj" : $(SOURCE) "$(INTDIR_DEB)"
  88. $(CPP) $(CPP_PROJ_DEB) $(SOURCE)
  89. "$(INTDIR_REL)\src_linear.obj" : $(SOURCE) "$(INTDIR_REL)"
  90. $(CPP) $(CPP_PROJ_REL) $(SOURCE)
  91. SOURCE=..\..\libsamplerate\src\src_sinc.c
  92. "$(INTDIR_DEB)\src_sinc.obj" : $(SOURCE) "$(INTDIR_DEB)"
  93. $(CPP) $(CPP_PROJ_DEB) $(SOURCE)
  94. "$(INTDIR_REL)\src_sinc.obj" : $(SOURCE) "$(INTDIR_REL)"
  95. $(CPP) $(CPP_PROJ_REL) $(SOURCE)
  96. SOURCE=..\..\libsamplerate\src\src_zoh.c
  97. "$(INTDIR_DEB)\src_zoh.obj" : $(SOURCE) "$(INTDIR_DEB)"
  98. $(CPP) $(CPP_PROJ_DEB) $(SOURCE)
  99. "$(INTDIR_REL)\src_zoh.obj" : $(SOURCE) "$(INTDIR_REL)"
  100. $(CPP) $(CPP_PROJ_REL) $(SOURCE)