]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/lib/Makefile.b32
Various Mac OS X tweaks to get this to build. Probably breaking things.
[icculus/iodoom3.git] / neo / curl / lib / Makefile.b32
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
13 # Setup environment
14 CXX        = bcc32
15 RM         = del
16 LIB        = tlib
17 TOPDIR     = ..
18 CURNTDIR   = .
19 CXXFLAGS   = -5 -O2 -w-aus -w-ccc -w-csu -w-par -w-pia -w-rch -w-inl -w-ngu \
20              -w-pro -tWM
21
22 # If you build without SSL support, remove "-DUSE_SSLEAY" from the line below.
23 DEFINES    = -DLIBCURL_BIGENDIAN=0 -DNDEBUG -DWIN32 -DCONSOLE -DMBCS \
24              -DUSE_SSLEAY
25 INCDIRS    = -I$(CURNTDIR);$(TOPDIR)\include\
26
27 # 'BCCDIR' has to be set up in your c:\autoexec.bat
28 # i.e. SET BCCDIR = c:\Borland\BCC55
29 # where c:\Borland\BCC55 is the compiler is installed
30 LINKLIB    = $(BCCDIR)\lib\psdk\ws2_32.lib
31 LIBCURLLIB = libcurl.lib
32
33 .SUFFIXES: .c
34
35 SOURCES    = \
36         base64.c \
37         md5.c \
38         cookie.c \
39         transfer.c \
40         escape.c \
41         formdata.c \
42         ftp.c \
43         http.c \
44         http_chunks.c \
45         http_digest.c \
46         http_ntlm.c \
47         ldap.c \
48         dict.c \
49         telnet.c \
50         getdate.c \
51         getenv.c \
52         hostip.c \
53         if2ip.c \
54         mprintf.c \
55         netrc.c \
56         progress.c \
57         sendf.c \
58         inet_pton.c \
59         speedcheck.c \
60         ssluse.c \
61         timeval.c \
62         url.c \
63         file.c \
64         getinfo.c \
65         version.c \
66         easy.c \
67         strequal.c \
68         strtok.c \
69         strtoofft.c \
70         connect.c \
71         hash.c \
72         share.c \
73         llist.c \
74         multi.c \
75         content_encoding.c
76
77 OBJECTS = $(SOURCES:.c=.obj)
78
79 .c.obj:
80         $(CXX) -c $(INCDIRS) $(CXXFLAGS) $(DEFINES) $<
81
82 all:    $(LIBCURLLIB)
83
84 clean:
85         -$(RM) $(LIBCURLLIB)
86         -$(RM) *.obj
87
88 $(LIBCURLLIB):  $(LINKLIB) $(OBJECTS) Makefile.b32.resp
89         -$(RM) $(LIBCURLLIB)
90         $(LIB) $(LIBCURLLIB) @Makefile.b32.resp