~ubuntu-branches/ubuntu/trusty/curl/trusty

« back to all changes in this revision

Viewing changes to winbuild/MakefileBuild.vc

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2014-01-31 08:42:28 UTC
  • mfrom: (3.4.45 sid)
  • Revision ID: package-import@ubuntu.com-20140131084228-rnste9wj6fqiy9zl
Tags: 7.35.0-1ubuntu1
* Resynchronize on Debian, remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#                            | (__| |_| |  _ <| |___
6
6
#                             \___|\___/|_| \_\_____|
7
7
#
8
 
# Copyright (C) 1999 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
 
8
# Copyright (C) 1999 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
9
9
#
10
10
# This software is licensed as described in the file COPYING, which
11
11
# you should have received as part of this distribution. The terms
22
22
 
23
23
###########################################################################
24
24
#
25
 
# Makefile for building libcurl with MSVC 6, 7, 8, 9 and 10
 
25
# Makefile for building libcurl with MSVC 6, 7, 8, 9, 10, 11 and 12
26
26
#
27
27
# Usage: see usage message below
28
28
#        Should be invoked from winbuild directory
50
50
!IF "$(VC)"=="6"
51
51
CC_NODEBUG  = cl.exe /O2 /DNDEBUG
52
52
CC_DEBUG    = cl.exe /Od /Gm /Zi /D_DEBUG /GZ
53
 
CFLAGS     = /I. /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c /DBUILDING_LIBCURL
 
53
CFLAGS     = /I. /I../lib /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c /DBUILDING_LIBCURL
54
54
!ELSE
55
55
CC_NODEBUG  = cl.exe /O2 /DNDEBUG
56
56
CC_DEBUG    = cl.exe /Od /D_DEBUG /RTC1 /Z7 /LDd /W3
57
 
CFLAGS      = /I. /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL
 
57
CFLAGS      = /I. /I ../lib /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL
58
58
!ENDIF
59
59
 
60
60
LFLAGS     = /nologo /machine:$(MACHINE)
425
425
 
426
426
$(LIB_DIROBJ):
427
427
        @if not exist "$(LIB_DIROBJ)" mkdir $(LIB_DIROBJ)
 
428
        @if not exist "$(LIB_DIROBJ)\vtls" mkdir $(LIB_DIROBJ)\vtls
428
429
 
429
430
$(CURL_DIROBJ):
430
431
        @if not exist "$(CURL_DIROBJ)" mkdir $(CURL_DIROBJ)
437
438
{$(LIBCURL_SRC_DIR)\}.c{$(LIB_DIROBJ)\}.obj:
438
439
        $(CC) $(CFLAGS) /Fo"$@"  $<
439
440
 
 
441
{$(LIBCURL_SRC_DIR)\vtls\}.c{$(LIB_DIROBJ)\vtls\}.obj:
 
442
        $(CC) $(CFLAGS) /Fo"$@"  $<
 
443
 
440
444
$(LIB_DIROBJ)\libcurl.res: $(LIBCURL_SRC_DIR)\libcurl.rc
441
445
        rc $(RC_FLAGS)
442
446