~ubuntu-branches/ubuntu/saucy/curl/saucy-201307251546

« back to all changes in this revision

Viewing changes to lib/Makefile.m32

  • Committer: Bazaar Package Importer
  • Author(s): Ramakrishnan Muthukrishnan
  • Date: 2010-10-18 11:13:17 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20101018111317-9rkas34ecwtq0upn
Tags: upstream-7.21.2
ImportĀ upstreamĀ versionĀ 7.21.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
## and optionally OpenSSL (0.9.8), libssh2 (1.2), zlib (1.2.5)
5
5
##
6
6
## Usage:
7
 
## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [IDN=1] [SSPI=1] [IPV6=1] [LDAPS=1] [DYN=1]
 
7
## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [IDN=1] [SSPI=1] [IPV6=1] [LDAPS=1] [RTMP=1] [DYN=1]
8
8
##
9
9
## Hint: you can also set environment vars to control the build, f.e.:
10
10
## set ZLIB_PATH=c:/zlib-1.2.5
24
24
endif
25
25
# Edit the path below to point to the base of your LibSSH2 package.
26
26
ifndef LIBSSH2_PATH
27
 
LIBSSH2_PATH = ../../libssh2-1.2.6
 
27
LIBSSH2_PATH = ../../libssh2-1.2.7
28
28
endif
29
29
# Edit the path below to point to the base of your libidn package.
30
30
ifndef LIBIDN_PATH
31
31
LIBIDN_PATH = ../../libidn-1.18
32
32
endif
 
33
# Edit the path below to point to the base of your librtmp package.
 
34
ifndef LIBRTMP_PATH
 
35
LIBRTMP_PATH = ../../librtmp-2.3
 
36
endif
33
37
# Edit the path below to point to the base of your Novell LDAP NDK.
34
38
ifndef LDAP_SDK
35
39
LDAP_SDK = c:/novell/ndk/cldapsdk/win32
47
51
RANLIB = ranlib
48
52
RC = windres
49
53
RCFLAGS = --include-dir=../include -DDEBUGBUILD=0 -O COFF -i
50
 
RM = del /q /f > NUL 2>&1
 
54
RM = del /q /f 2>NUL
51
55
STRIP = strip -g
52
56
 
53
57
########################################################
61
65
  DLL_LIBS += -L$(LIBCARES_PATH) -lcares
62
66
  libcurl_dll_DEPENDENCIES = $(LIBCARES_PATH)/libcares.a
63
67
endif
 
68
ifdef RTMP
 
69
  INCLUDES += -I"$(LIBRTMP_PATH)"
 
70
  CFLAGS += -DUSE_LIBRTMP
 
71
  DLL_LIBS += -L"$(LIBRTMP_PATH)/librtmp" -lrtmp -lwinmm
 
72
endif
64
73
ifdef SSH2
65
74
  INCLUDES += -I"$(LIBSSH2_PATH)/include" -I"$(LIBSSH2_PATH)/win32"
66
75
  CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H
148
157
clean:
149
158
        -$(RM) $(libcurl_a_OBJECTS) $(RESOURCE)
150
159
 
151
 
distrib: clean
 
160
distclean vclean: clean
152
161
        -$(RM) $(libcurl_a_LIBRARY) $(libcurl_dll_LIBRARY) $(libcurl_dll_a_LIBRARY)
153
162
 
154
163
FORCE: ;
156
165
$(LIBCARES_PATH)/libcares.a:
157
166
        $(MAKE) -C $(LIBCARES_PATH) -f Makefile.m32
158
167
 
159