~ubuntu-branches/ubuntu/saucy/curl/saucy-201307251546

« back to all changes in this revision

Viewing changes to lib/Makefile.Watcom

  • Committer: Bazaar Package Importer
  • Author(s): Ramakrishnan Muthukrishnan
  • Date: 2010-10-18 11:13:17 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20101018111317-9rkas34ecwtq0upn
Tags: upstream-7.21.2
ImportĀ upstreamĀ versionĀ 7.21.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
!endif
35
35
 
36
36
!if $(__VERSION__) < 1250                                                                                                           
37
 
RM = del /q /f >NUL 2>&1
 
37
RM = del /q /f 2>NUL
38
38
!else                                                                                                                               
39
39
RM = rm -f                                                                                                                          
40
40
!endif
41
41
MD = mkdir
42
 
RD = rmdir /q /s >NUL 2>&1
 
42
RD = rmdir /q /s 2>NUL
43
43
CP = copy
44
44
 
45
45
CFLAGS = -3r -mf -hc -zff -zgf -zq -zm -zc -s -fr=con -w2 -fpi -oilrtfm &
57
57
CFLAGS += -d_WIN32_WINNT=0x0501 -dENABLE_IPV6
58
58
!endif
59
59
 
 
60
!ifdef %use_sspi
 
61
CFLAGS += -dUSE_WINDOWS_SSPI
 
62
!endif
 
63
 
60
64
#
61
65
# Change to suite.
62
66
#
66
70
ZLIB_ROOT = ..\..\zlib-1.2.5
67
71
!endif
68
72
 
 
73
!ifdef %libssh2_root
 
74
LIBSSH2_ROOT = $(%libssh2_root)
 
75
!else
 
76
LIBSSH2_ROOT = ..\..\libssh2-1.2.7
 
77
!endif
 
78
 
 
79
!ifdef %librtmp_root
 
80
LIBRTMP_ROOT = $(%librtmp_root)
 
81
!else
 
82
LIBRTMP_ROOT = ..\..\librtmp-2.3
 
83
!endif
 
84
 
69
85
!ifdef %openssl_root
70
86
OPENSSL_ROOT = $(%openssl_root)
71
87
!else
82
98
CFLAGS += -dHAVE_ZLIB_H -dHAVE_LIBZ -I$(ZLIB_ROOT)
83
99
!endif
84
100
 
 
101
!ifdef %use_rtmp
 
102
CFLAGS += -dUSE_LIBRTMP -I$(LIBRTMP_ROOT)
 
103
!endif
 
104
 
 
105
!ifdef %use_ssh2
 
106
CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H -I$(LIBSSH2_ROOT)\include -I$(LIBSSH2_ROOT)\win32
 
107
!endif
 
108
 
85
109
!ifdef %use_ssl
86
110
CFLAGS += -wcd=138 -dUSE_OPENSSL -dUSE_SSLEAY -I$(OPENSSL_ROOT)\inc32
87
111
!endif
128
152
        -$(RM) $(OBJS_DYN)
129
153
        -$(RM) $(RESOURCE) $(LINK_ARG) $(LIB_ARG)
130
154
 
131
 
vclean realclean: clean .SYMBOLIC
 
155
vclean distclean: clean .SYMBOLIC
132
156
        -$(RM) $(TARGETS) $(LIBNAME).map $(LIBNAME).sym
133
157
        -$(RD) $(OBJ_BASE)\stat
134
158
        -$(RD) $(OBJ_BASE)\dyn
179
203
!ifdef %use_zlib
180
204
        @%append $^@ library $(ZLIB_ROOT)\zlib.lib
181
205
!endif
 
206
!ifdef %use_rtmp
 
207
        @%append $^@ library $(LIBRTMP_ROOT)\librtmp\librtmp.lib
 
208
!endif
 
209
!ifdef %use_ssh2
 
210
        @%append $^@ library $(LIBSSH2_ROOT)\win32\libssh2.lib
 
211
!endif
182
212
!ifdef %use_ssl
183
213
        @%append $^@ library $(OPENSSL_ROOT)\out32\libeay32.lib, $(OPENSSL_ROOT)\out32\ssleay32.lib
184
214
!endif