Makefile.watcom 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #
  2. # 3 proxy Makefile for Open Watcom 2
  3. #
  4. # You can try to remove -DWITH_STD_MALLOC to CFLAGS to use optimized malloc
  5. # libraries
  6. #
  7. # Add /DSAFESQL to CFLAGS if you are using poorely written/tested ODBC driver
  8. BUILDDIR = ../bin/
  9. CC = cl
  10. CFLAGS = /nologo /Ox /MT /D "NOIPV6" /D "NODEBUG" /D "NOODBC" /D "NORADIUS" /D"WATCOM" /D "MSVC" /D "WITH_STD_MALLOC" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "_WIN32" /c $(VERSION) $(BUILDDATE)
  11. COUT = /Fo
  12. LN = link
  13. LDFLAGS = /nologo /subsystem:console /incremental:no
  14. DLFLAGS = /DLL
  15. DLSUFFICS = .dll
  16. LIBS = ws2_32.lib advapi32.lib user32.lib kernel32.lib
  17. LIBSOLD = libeay32MT.lib ssleay32MT.lib
  18. LIBSPREFIX =
  19. LIBSSUFFIX = .lib
  20. LIBEXT = .lib
  21. LNOUT = /out:
  22. EXESUFFICS = .exe
  23. OBJSUFFICS = .obj
  24. DEFINEOPTION = /D
  25. COMPFILES = *.pch *.idb *.err
  26. REMOVECOMMAND = del 2>NUL >NUL
  27. TYPECOMMAND = type
  28. COMPATLIBS =
  29. MAKEFILE = Makefile.watcom
  30. PLUGINS = utf8tocp1251 WindowsAuthentication TrafficPlugin StringsPlugin PCREPlugin
  31. VERFILE = $(VERFILE)
  32. VERSION = $(VERSION)
  33. VERSIONDEP = 3proxy.res $(VERSIONDEP)
  34. BUILDDATE = $(BUILDDATE)
  35. include Makefile.inc
  36. 3proxy.res:
  37. rc 3proxy.rc
  38. allplugins:
  39. copy Makefile plugins\utf8tocp1251
  40. copy Makefile.var plugins\utf8tocp1251
  41. cd plugins\utf8tocp1251
  42. nmake
  43. del *.obj *.idb
  44. cd ../../
  45. copy Makefile plugins\WindowsAuthentication
  46. copy Makefile.var plugins\WindowsAuthentication
  47. cd plugins\WindowsAuthentication
  48. nmake
  49. del *.obj *.idb
  50. cd ../../
  51. copy Makefile plugins\TrafficPlugin
  52. copy Makefile.var plugins\TrafficPlugin
  53. cd plugins\TrafficPlugin
  54. nmake
  55. del *.obj *.idb
  56. cd ../../
  57. copy Makefile plugins\StringsPlugin
  58. copy Makefile.var plugins\StringsPlugin
  59. cd plugins\StringsPlugin
  60. nmake
  61. del *.obj *.idb
  62. cd ../../
  63. copy Makefile plugins\PCREPlugin
  64. copy Makefile.var plugins\PCREPlugin
  65. cd plugins\PCREPlugin
  66. nmake
  67. del *.obj *.idb
  68. cd ../../