summaryrefslogtreecommitdiff
path: root/Build/source/libs/curl/lib/win32.mak
blob: ecca019448563061a75b7b7344e1f8cca30d9ad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
################################################################################
#
# Makefile  : libcurl / lib
# Author    : Fabrice Popineau <Fabrice.Popineau@supelec.fr>
# Platform  : Win32, Microsoft VC++ 6.0, depends upon fpTeX 0.5 sources
# Time-stamp: <02/09/23 17:43:33 popineau>
#
################################################################################
root_srcdir=..\..\..
!ifdef DEVELOPMENT
INCLUDE=$(INCLUDE);$(root_srcdir)\texk.development
!else
INCLUDE=$(INCLUDE);$(root_srcdir)\texk
!endif

USE_CURL = 1
MAKE_CURL = 1
USE_GNUW32 = 1
USE_NETWORK2 = 1

!include <msvc/common.mak>

programs = $(curldll)
libfiles = $(curllib)
includefiles =
manfiles =
objects = \
	$(objdir)\base64.obj	\
	$(objdir)\cookie.obj	\
	$(objdir)\transfer.obj	\
	$(objdir)\escape.obj	\
	$(objdir)\formdata.obj	\
	$(objdir)\ftp.obj	\
	$(objdir)\http.obj	\
	$(objdir)\http_chunks.obj	\
	$(objdir)\ldap.obj	\
	$(objdir)\dict.obj	\
	$(objdir)\telnet.obj	\
	$(objdir)\getdate.obj	\
	$(objdir)\getenv.obj	\
	$(objdir)\getpass.obj	\
	$(objdir)\hostip.obj	\
	$(objdir)\if2ip.obj	\
	$(objdir)\mprintf.obj	\
	$(objdir)\netrc.obj	\
	$(objdir)\progress.obj	\
	$(objdir)\sendf.obj	\
	$(objdir)\speedcheck.obj	\
	$(objdir)\ssluse.obj	\
	$(objdir)\timeval.obj	\
	$(objdir)\url.obj	\
	$(objdir)\file.obj	\
	$(objdir)\getinfo.obj	\
	$(objdir)\version.obj	\
	$(objdir)\easy.obj	\
	$(objdir)\strequal.obj	\
	$(objdir)\strtok.obj	\
	$(objdir)\connect.obj	\
	$(objdir)\hash.obj	\
	$(objdir)\llist.obj

DEFS = $(DEFS) -DVC6 -DMSDOS

default: all

all: $(objdir) $(curl)

lib: $(objdir) $(curllib)

!ifdef CURL_DLL
DEFS = $(DEFS) -DMAKE_LIBCURL_DLL

$(curllib): libcurl.def $(objdir)\libcurl.res $(objects)
	$(archive) /DEF:libcurl.def $(objdir)\libcurl.res $(objects)

$(curldll): $(objects) $(gnuw32lib)
	$(link_dll) $(**) $(curllib:.lib=.exp) $(conlibs)
!else
$(curllib): $(objects)
	$(archive) $(objects)
!endif

!include <msvc/config.mak>
!include <msvc/install.mak>

install:: install-exec install-lib install-include

!include <msvc/clean.mak>

!include <msvc/rdepend.mak>
!include "./depend.mak"

#
# Local Variables:
# mode: makefile
# End: