~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to src/Makefile.m32

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-04-29 11:10:29 UTC
  • mfrom: (3.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090429111029-2j5eiyokfw2bw049
Tags: 7.19.4-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop build dependencies: stunnel, libdb4.6-dev, libssh2-1-dev
  - Add build-dependency on openssh-server
  - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Call automake-1.9 with --add-missing --copy --force
* drop debian/patches/security_CVE-2009-0037.patch 
  - this patch is part of 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#########################################################################
2
 
# $Id: Makefile.m32,v 1.44 2008-05-09 16:31:51 yangtse Exp $
 
2
# $Id: Makefile.m32,v 1.48 2009-01-26 07:33:29 gknauf Exp $
3
3
#
4
4
## Makefile for building curl.exe 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
82
86
  CFLAGS += -DHAVE_LIBZ -DHAVE_ZLIB_H
83
87
  curl_LDADD += -L$(ZLIB_PATH) -lz
84
88
endif
 
89
ifdef IDN
 
90
  INCLUDES += -I"$(LIBIDN_PATH)/include"
 
91
  CFLAGS += -DUSE_LIBIDN
 
92
  curl_LDADD += -L$(LIBIDN_PATH)/lib -lidn
 
93
endif
85
94
ifdef SSPI
86
95
  CFLAGS += -DUSE_WINDOWS_SSPI
87
96
endif
111
120
include Makefile.inc
112
121
 
113
122
curl_OBJECTS := $(patsubst %.c,%.o,$(strip $(CURL_SOURCES)))
114
 
# curlx_OBJECTS := $(patsubst %.c,%.o,$(notdir $(strip $(CURLX_ONES))))
115
 
# vpath %.c ../lib
 
123
ifdef DYN
 
124
curlx_OBJECTS := $(patsubst %.c,%.o,$(notdir $(strip $(CURLX_ONES))))
 
125
curl_OBJECTS += $(curlx_OBJECTS)
 
126
vpath %.c ../lib
 
127
endif
116
128
 
117
129
RESOURCE = curl.res
118
130