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

« back to all changes in this revision

Viewing changes to lib/Makefile.netware

  • Committer: Bazaar Package Importer
  • Author(s): Ramakrishnan Muthukrishnan
  • Date: 2011-02-28 19:35:36 UTC
  • mto: (3.6.1 experimental) (1.3.1)
  • mto: This revision was merged to the branch mainline in revision 47.
  • Revision ID: james.westby@ubuntu.com-20110228193536-p3a9jawxxofcsz7o
Tags: upstream-7.21.4
ImportĀ upstreamĀ versionĀ 7.21.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
# Edit the path below to point to the base of your OpenSSL package.
21
21
ifndef OPENSSL_PATH
22
 
OPENSSL_PATH = ../../openssl-0.9.8q
 
22
OPENSSL_PATH = ../../openssl-0.9.8r
23
23
endif
24
24
 
25
25
# Edit the path below to point to the base of your LibSSH2 package.
27
27
LIBSSH2_PATH = ../../libssh2-1.2.7
28
28
endif
29
29
 
 
30
# Edit the path below to point to the base of your axTLS package.
 
31
ifndef AXTLS_PATH
 
32
AXTLS_PATH = ../../axTLS-1.2.7
 
33
endif
 
34
 
30
35
# Edit the path below to point to the base of your libidn package.
31
36
ifndef LIBIDN_PATH
32
37
LIBIDN_PATH = ../../libidn-1.18
140
145
ARFLAGS = -cq
141
146
LIBEXT  = a
142
147
RANLIB  = ranlib
143
 
CFLAGS  += -fno-builtin -fpcc-struct-return -fno-strict-aliasing
 
148
CFLAGS  += -m32
 
149
CFLAGS  += -fno-builtin -fno-strict-aliasing
 
150
ifeq ($(findstring gcc,$(CC)),gcc)
 
151
CFLAGS  += -fpcc-struct-return
 
152
endif
144
153
CFLAGS  += -Wall # -pedantic
145
154
ifeq ($(LIBARCH),LIBC)
146
155
ifeq ($(POSIXFL),1)
195
204
        LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
196
205
        IMPORTS += GetProcessSwitchCount RunningProcess
197
206
        INSTDEP += ca-bundle.crt
 
207
else
 
208
ifdef WITH_AXTLS
 
209
        INCLUDES += -I$(AXTLS_PATH)/inc
 
210
ifdef LINK_STATIC
 
211
        LDLIBS += $(AXTLS_PATH)/lib/libaxtls.$(LIBEXT)
 
212
else
 
213
        MODULES += libaxtls.nlm
 
214
        IMPORTS += $(AXTLS_PATH)/lib/libaxtls.imp
 
215
endif
 
216
        INSTDEP += ca-bundle.crt
 
217
endif
198
218
endif
199
219
ifdef WITH_ZLIB
200
220
        INCLUDES += -I$(ZLIB_PATH)
563
583
        @echo $(DL)#define HAVE_LIBSSL 1$(DL) >> $@
564
584
        @echo $(DL)#define HAVE_LIBCRYPTO 1$(DL) >> $@
565
585
        @echo $(DL)#define OPENSSL_NO_KRB5 1$(DL) >> $@
 
586
else
 
587
ifdef WITH_AXTLS
 
588
        @echo $(DL)#define USE_AXTLS 1$(DL) >> $@
 
589
endif
566
590
endif
567
591
ifdef WITH_SSH2
568
592
        @echo $(DL)#define USE_LIBSSH2 1$(DL) >> $@