~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to lib/Makefile.m32

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-04-02 23:35:45 UTC
  • mto: (1.2.1 upstream) (3.2.3 sid)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20090402233545-geixkwhe3izccjt7
Tags: upstream-7.19.4
ImportĀ upstreamĀ versionĀ 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#########################################################################
2
 
# $Id: Makefile.m32,v 1.54 2008-05-09 16:31:51 yangtse Exp $
 
2
# $Id: Makefile.m32,v 1.57 2008-11-13 01:39:10 gknauf Exp $
3
3
#
4
4
## Makefile for building libcurl.a with MingW32 (GCC-3.2)
5
5
## and optionally OpenSSL (0.9.8), libssh2 (0.18), zlib (1.2.3)
6
6
##
7
7
## Usage:
8
 
## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [SSPI=1] [IPV6=1] [DYN=1]
 
8
## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [IDN=1] [SSPI=1] [IPV6=1] [LDAPS=1] [DYN=1]
9
9
##
10
10
## Hint: you can also set environment vars to control the build, f.e.:
11
11
## set ZLIB_PATH=c:/zlib-1.2.3
21
21
endif
22
22
# Edit the path below to point to the base of your OpenSSL package.
23
23
ifndef OPENSSL_PATH
24
 
OPENSSL_PATH = ../../openssl-0.9.8g
 
24
OPENSSL_PATH = ../../openssl-0.9.8i
25
25
endif
26
26
# Edit the path below to point to the base of your LibSSH2 package.
27
27
ifndef LIBSSH2_PATH
28
28
LIBSSH2_PATH = ../../libssh2-0.18
29
29
endif
 
30
# Edit the path below to point to the base of your libidn package.
 
31
ifndef LIBIDN_PATH
 
32
LIBIDN_PATH = ../../libidn-1.11
 
33
endif
30
34
# Edit the path below to point to the base of your Novell LDAP NDK.
31
35
ifndef LDAP_SDK
32
36
LDAP_SDK = c:/novell/ndk/cldapsdk/win32
72
76
  CFLAGS += -DHAVE_LIBZ -DHAVE_ZLIB_H
73
77
  DLL_LIBS += -L$(ZLIB_PATH) -lz
74
78
endif
 
79
ifdef IDN
 
80
  INCLUDES += -I"$(LIBIDN_PATH)/include"
 
81
  CFLAGS += -DUSE_LIBIDN
 
82
  DLL_LIBS += -L$(LIBIDN_PATH)/lib -lidn
 
83
endif
75
84
ifdef SSPI
76
85
  CFLAGS += -DUSE_WINDOWS_SSPI
77
86
endif