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

« back to all changes in this revision

Viewing changes to src/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
135
140
LD      = nlmconv
136
141
LDFLAGS = -T
137
142
LIBEXT  = a
138
 
CFLAGS  += -fno-builtin -fpcc-struct-return -fno-strict-aliasing
 
143
CFLAGS  += -m32
 
144
CFLAGS  += -fno-builtin -fno-strict-aliasing
 
145
ifeq ($(findstring gcc,$(CC)),gcc)
 
146
CFLAGS  += -fpcc-struct-return
 
147
endif
139
148
CFLAGS  += -Wall # -pedantic
140
149
ifeq ($(LIBARCH),LIBC)
141
150
ifeq ($(POSIXFL),1)
196
205
        LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT)
197
206
        LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
198
207
        IMPORTS += GetProcessSwitchCount RunningProcess
 
208
else
 
209
ifdef WITH_AXTLS
 
210
        INCLUDES += -I$(AXTLS_PATH)/inc
 
211
ifdef LINK_STATIC
 
212
        LDLIBS += $(AXTLS_PATH)/lib/libaxtls.$(LIBEXT)
 
213
else
 
214
        MODULES += libaxtls.nlm
 
215
        IMPORTS += $(AXTLS_PATH)/lib/libaxtls.imp
 
216
endif
 
217
endif
199
218
endif
200
219
ifdef WITH_ZLIB
201
220
        INCLUDES += -I$(ZLIB_PATH)
557
576
        @echo $(DL)#define HAVE_LIBSSL 1$(DL) >> $@
558
577
        @echo $(DL)#define HAVE_LIBCRYPTO 1$(DL) >> $@
559
578
        @echo $(DL)#define OPENSSL_NO_KRB5 1$(DL) >> $@
 
579
else
 
580
ifdef WITH_AXTLS
 
581
        @echo $(DL)#define USE_AXTLS 1$(DL) >> $@
 
582
endif
560
583
endif
561
584
ifdef WITH_SSH2
562
585
        @echo $(DL)#define USE_LIBSSH2 1$(DL) >> $@