Makefile.b32 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. ############################################################
  2. # $Id: Makefile.b32,v 1.13 2004/02/23 12:01:10 bagder Exp $
  3. #
  4. # Makefile.b32 - Borland's C++ Compiler 5.X
  5. #
  6. # 'lib' directory
  7. #
  8. # Requires 'Makefile.b32.resp'
  9. #
  10. # Written by Jaepil Kim, pit@paradise.net.nz
  11. ############################################################
  12. # Setup environment
  13. CXX = bcc32
  14. RM = del
  15. LIB = tlib
  16. TOPDIR = ..
  17. CURNTDIR = .
  18. CXXFLAGS = -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu \
  19. -w-pro -tWM
  20. # If you build without SSL support, remove "-DUSE_SSLEAY" from the line below.
  21. DEFINES = -DLIBCURL_BIGENDIAN=0 -DNDEBUG -DWIN32 -DCONSOLE -DMBCS \
  22. -DUSE_SSLEAY
  23. INCDIRS = -I$(CURNTDIR);$(TOPDIR)\include\
  24. # 'BCCDIR' has to be set up in your c:\autoexec.bat
  25. # i.e. SET BCCDIR = c:\Borland\BCC55
  26. # where c:\Borland\BCC55 is the compiler is installed
  27. LINKLIB = $(BCCDIR)\lib\psdk\ws2_32.lib
  28. LIBCURLLIB = libcurl.lib
  29. .SUFFIXES: .c
  30. SOURCES = \
  31. base64.c \
  32. md5.c \
  33. cookie.c \
  34. transfer.c \
  35. escape.c \
  36. formdata.c \
  37. ftp.c \
  38. http.c \
  39. http_chunks.c \
  40. http_digest.c \
  41. http_ntlm.c \
  42. ldap.c \
  43. dict.c \
  44. telnet.c \
  45. getdate.c \
  46. getenv.c \
  47. hostip.c \
  48. if2ip.c \
  49. mprintf.c \
  50. netrc.c \
  51. progress.c \
  52. sendf.c \
  53. inet_pton.c \
  54. speedcheck.c \
  55. ssluse.c \
  56. timeval.c \
  57. url.c \
  58. file.c \
  59. getinfo.c \
  60. version.c \
  61. easy.c \
  62. strequal.c \
  63. strtok.c \
  64. strtoofft.c \
  65. connect.c \
  66. hash.c \
  67. share.c \
  68. llist.c \
  69. multi.c \
  70. content_encoding.c
  71. OBJECTS = $(SOURCES:.c=.obj)
  72. .c.obj:
  73. $(CXX) -c $(INCDIRS) $(CXXFLAGS) $(DEFINES) $<
  74. all: $(LIBCURLLIB)
  75. clean:
  76. -$(RM) $(LIBCURLLIB)
  77. -$(RM) *.obj
  78. $(LIBCURLLIB): $(LINKLIB) $(OBJECTS) Makefile.b32.resp
  79. -$(RM) $(LIBCURLLIB)
  80. $(LIB) $(LIBCURLLIB) @Makefile.b32.resp