makefile.mk (7871dc3e) | makefile.mk (996f785a) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 23 unchanged lines hidden (view full) --- 32.IF "$(SYSTEM_CURL)" == "YES" 33all: 34 @echo "An already available installation of curl should exist on your system." 35 @echo "Therefore the version provided here does not need to be built in addition." 36.ENDIF 37 38# --- Files -------------------------------------------------------- 39 | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 23 unchanged lines hidden (view full) --- 32.IF "$(SYSTEM_CURL)" == "YES" 33all: 34 @echo "An already available installation of curl should exist on your system." 35 @echo "Therefore the version provided here does not need to be built in addition." 36.ENDIF 37 38# --- Files -------------------------------------------------------- 39 |
40TARFILE_NAME=curl-7.19.7 41TARFILE_MD5=ecb2e37e45c9933e2a963cabe03670ab 42PATCH_FILES=curl-7.19.7.patch | 40TARFILE_NAME=curl-7.61.1 41TARFILE_MD5=4762f41ef0dba751d1c7a3060a1c6ec6 42PATCH_FILES= |
43 | 43 |
44.IF "$(GUI)"=="WNT" 45 PATCH_FILES+=curl-7.19.7_win.patch 46 .IF "$(COM)"=="GCC" 47 PATCH_FILES+=curl-7.19.7_mingw.patch 48 .ENDIF 49.ENDIF 50 51 52#CONVERTFILES= \ 53 lib$/Makefile.vc6 54 | |
55#ADDITIONAL_FILES= lib$/config-os2.h lib$/Makefile.os2 56 57.IF "$(GUI)"=="UNX" 58 59.IF "$(SYSBASE)"!="" 60curl_CFLAGS+=-I$(SYSBASE)$/usr$/include 61curl_LDFLAGS+=-L$(SYSBASE)$/usr$/lib 62.ENDIF # "$(SYSBASE)"!="" --- 39 unchanged lines hidden (view full) --- 102EXT_USE_STLPORT=TRUE 103 104.IF "$(CCNUMVER)" > "001399999999" 105EXCFLAGS="/EHa /Zc:wchar_t- /D "_CRT_SECURE_NO_DEPRECATE"" 106.ELSE 107EXCFLAGS="/EHsc /YX" 108.ENDIF 109 | 44#ADDITIONAL_FILES= lib$/config-os2.h lib$/Makefile.os2 45 46.IF "$(GUI)"=="UNX" 47 48.IF "$(SYSBASE)"!="" 49curl_CFLAGS+=-I$(SYSBASE)$/usr$/include 50curl_LDFLAGS+=-L$(SYSBASE)$/usr$/lib 51.ENDIF # "$(SYSBASE)"!="" --- 39 unchanged lines hidden (view full) --- 91EXT_USE_STLPORT=TRUE 92 93.IF "$(CCNUMVER)" > "001399999999" 94EXCFLAGS="/EHa /Zc:wchar_t- /D "_CRT_SECURE_NO_DEPRECATE"" 95.ELSE 96EXCFLAGS="/EHsc /YX" 97.ENDIF 98 |
110BUILD_DIR=.$/lib | 99.IF "$(CPUNAME)"=="INTEL" 100curl_MACHINE:="X86" 101.ELIF "$(CPUNAME)"=="X86_64" 102curl_MACHINE:="X64" 103.ENDIF 104 105BUILD_DIR=.$/winbuild |
111.IF "$(debug)"=="" | 106.IF "$(debug)"=="" |
112BUILD_ACTION=nmake -f Makefile.vc9 cfg=release-dll EXCFLAGS=$(EXCFLAGS) | 107BUILD_ACTION=CC="cl.exe" nmake -f Makefile.vc mode=dll VC=9 EXCFLAGS=$(EXCFLAGS) MACHINE=$(curl_MACHINE) |
113.ELSE | 108.ELSE |
114BUILD_ACTION=nmake -f Makefile.vc9 cfg=debug-dll EXCFLAGS=$(EXCFLAGS) | 109BUILD_ACTION=CC="cl.exe" nmake -f Makefile.vc mode=dll VC=9 DEBUG=yes EXCFLAGS=$(EXCFLAGS) MACHINE=$(curl_MACHINE) |
115.ENDIF 116 | 110.ENDIF 111 |
117OUT2BIN=$(BUILD_DIR)$/libcurl.dll 118OUT2LIB=$(BUILD_DIR)$/libcurl.lib | 112OUT2BIN=$(BUILD_DIR)$/../builds/libcurl-vc9-X86-release-dll-ipv6-sspi-winssl-obj-lib/libcurl.dll 113OUT2LIB=$(BUILD_DIR)$/../builds/libcurl-vc9-X86-release-dll-ipv6-sspi-winssl-obj-lib/libcurl.lib |
119 120.ENDIF 121.ENDIF # "$(GUI)"=="WNT" 122 123.IF "$(GUI)"=="OS2" 124# make use of stlport headerfiles 125EXT_USE_STLPORT=TRUE 126 --- 9 unchanged lines hidden (view full) --- 136 137.ENDIF # "$(GUI)"=="OS2" 138 139OUT2INC= \ 140 include$/curl$/easy.h \ 141 include$/curl$/multi.h \ 142 include$/curl$/curl.h \ 143 include$/curl$/curlver.h \ | 114 115.ENDIF 116.ENDIF # "$(GUI)"=="WNT" 117 118.IF "$(GUI)"=="OS2" 119# make use of stlport headerfiles 120EXT_USE_STLPORT=TRUE 121 --- 9 unchanged lines hidden (view full) --- 131 132.ENDIF # "$(GUI)"=="OS2" 133 134OUT2INC= \ 135 include$/curl$/easy.h \ 136 include$/curl$/multi.h \ 137 include$/curl$/curl.h \ 138 include$/curl$/curlver.h \ |
144 include$/curl$/types.h \ | 139 include$/curl$/typecheck-gcc.h \ |
145 include$/curl$/stdcheaders.h \ 146 include$/curl$/mprintf.h \ | 140 include$/curl$/stdcheaders.h \ 141 include$/curl$/mprintf.h \ |
147 include$/curl$/curlbuild.h \ 148 include$/curl$/curlrules.h | 142 include$/curl$/system.h |
149 | 143 |
144 |
|
150# --- Targets ------------------------------------------------------ 151 152.INCLUDE : set_ext.mk 153.INCLUDE : target.mk 154.INCLUDE : tg_ext.mk | 145# --- Targets ------------------------------------------------------ 146 147.INCLUDE : set_ext.mk 148.INCLUDE : target.mk 149.INCLUDE : tg_ext.mk |