1 #################################################################
3 ## Makefile for building curl.nlm (NetWare version - gnu make)
4 ## Use: make -f Makefile.netware
6 ## Comments to: Guenter Knauf http://www.gknw.net/phpbb
8 #################################################################
10 # Edit the path below to point to the base of your Novell NDK.
15 # Edit the path below to point to the base of your Zlib sources.
17 ZLIB_PATH = ../../zlib-1.2.5
20 # Edit the path below to point to the base of your OpenSSL package.
22 OPENSSL_PATH = ../../openssl-0.9.8r
25 # Edit the path below to point to the base of your LibSSH2 package.
27 LIBSSH2_PATH = ../../libssh2-1.2.9
30 # Edit the path below to point to the base of your axTLS package.
32 AXTLS_PATH = ../../axTLS-1.2.7
35 # Edit the path below to point to the base of your libidn package.
37 LIBIDN_PATH = ../../libidn-1.18
40 # Edit the path below to point to the base of your librtmp package.
42 LIBRTMP_PATH = ../../librtmp-2.3
45 # Edit the path below to point to the base of your c-ares package.
47 LIBCARES_PATH = ../ares
51 INSTDIR = ..$(DS)curl-$(LIBCURL_VERSION_STR)-bin-nw
54 # Edit the vars below to change NLM target settings.
56 VERSION = $(LIBCURL_VERSION)
57 COPYR = Copyright (C) $(LIBCURL_COPYRIGHT_STR)
58 DESCR = cURL $(LIBCURL_VERSION_STR) ($(LIBARCH)) - http://curl.haxx.se
61 SCREEN = $(TARGET) commandline utility
62 # Comment the line below if you dont want to load protected automatically.
65 # Uncomment the next line to enable linking with POSIX semantics.
68 # Edit the var below to point to your lib architecture.
73 # must be equal to NDEBUG or DEBUG, CURLDEBUG
77 # Optimization: -O<n> or debugging: -g
86 # The following lines defines your compiler.
88 METROWERKS = $(CWFolder)
91 # MWCW_PATH = $(subst \,/,$(METROWERKS))/Novell Support
92 MWCW_PATH = $(subst \,/,$(METROWERKS))/Novell Support/Metrowerks Support
98 # Here you can find a native Win32 binary of the original awk:
99 # http://www.gknw.net/development/prgtools/awk-20070501.zip
104 # If you want to mark the target as MTSAFE you will need a tool for
105 # generating the xdc data for the linker; here's a minimal tool:
106 # http://www.gknw.net/development/prgtools/mkxdc.zip
109 # LIBARCH_U = $(shell $(AWK) 'BEGIN {print toupper(ARGV[1])}' $(LIBARCH))
110 LIBARCH_L = $(shell $(AWK) 'BEGIN {print tolower(ARGV[1])}' $(LIBARCH))
112 # Include the version info retrieved from curlver.h
113 -include $(OBJDIR)/version.inc
115 # Global flags for all compilers
116 CFLAGS += $(OPT) -D$(DB) -DNETWARE -DHAVE_CONFIG_H -nostdinc
120 LDFLAGS = -nostdlib $(OBJS) $(PRELUDE) $(LDLIBS) -o $@ -commandfile
122 CFLAGS += -gccinc -inline off -opt nointrinsics -proc 586
123 CFLAGS += -relax_pointers
125 ifeq ($(LIBARCH),LIBC)
127 PRELUDE = $(NDK_LIBC)/imports/posixpre.o
129 PRELUDE = $(NDK_LIBC)/imports/libcpre.o
133 # PRELUDE = $(NDK_CLIB)/imports/clibpre.o
134 # to avoid the __init_* / __deinit_* whoes dont use prelude from NDK
135 PRELUDE = "$(MWCW_PATH)/libraries/runtime/prelude.obj"
136 # CFLAGS += -include "$(MWCW_PATH)/headers/nlm_clib_prefix.h"
144 CFLAGS += -fno-builtin -fno-strict-aliasing
145 ifeq ($(findstring gcc,$(CC)),gcc)
146 CFLAGS += -fpcc-struct-return
148 CFLAGS += -Wall # -pedantic
149 ifeq ($(LIBARCH),LIBC)
151 PRELUDE = $(NDK_LIBC)/imports/posixpre.gcc.o
153 PRELUDE = $(NDK_LIBC)/imports/libcpre.gcc.o
156 # PRELUDE = $(NDK_CLIB)/imports/clibpre.gcc.o
157 # to avoid the __init_* / __deinit_* whoes dont use prelude from NDK
158 # http://www.gknw.net/development/mk_nlm/gcc_pre.zip
159 PRELUDE = $(NDK_ROOT)/pre/prelude.o
160 CFLAGS += -include $(NDKBASE)/nlmconv/genlm.h
164 NDK_ROOT = $(NDKBASE)/ndk
166 NDK_CLIB = $(NDK_ROOT)/nwsdk
169 NDK_LIBC = $(NDK_ROOT)/libc
172 NDK_LDAP = $(NDK_ROOT)/cldapsdk/netware
174 CURL_INC = ../include
177 INCLUDES = -I$(CURL_INC) -I$(CURL_LIB)
180 LDLIBS = $(CURL_LIB)/libcurl.$(LIBEXT)
182 LDLIBS += $(LIBCARES_PATH)/libcares.$(LIBEXT)
185 MODULES = libcurl.nlm
186 IMPORTS = @$(CURL_LIB)/libcurl.imp
189 INCLUDES += -I$(LIBSSH2_PATH)/include
191 LDLIBS += $(LIBSSH2_PATH)/nw/libssh2.$(LIBEXT)
193 MODULES += libssh2.nlm
194 IMPORTS += @$(LIBSSH2_PATH)/nw/libssh2.imp
198 # INCLUDES += -I$(LIBRTMP_PATH)
200 LDLIBS += $(LIBRTMP_PATH)/librtmp/librtmp.$(LIBEXT)
204 INCLUDES += -I$(OPENSSL_PATH)/outinc_nw_$(LIBARCH_L)
205 LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/ssl.$(LIBEXT)
206 LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
207 IMPORTS += GetProcessSwitchCount RunningProcess
210 INCLUDES += -I$(AXTLS_PATH)/inc
212 LDLIBS += $(AXTLS_PATH)/lib/libaxtls.$(LIBEXT)
214 MODULES += libaxtls.nlm
215 IMPORTS += $(AXTLS_PATH)/lib/libaxtls.imp
220 INCLUDES += -I$(ZLIB_PATH)
222 LDLIBS += $(ZLIB_PATH)/nw/$(LIBARCH)/libz.$(LIBEXT)
225 IMPORTS += @$(ZLIB_PATH)/nw/$(LIBARCH)/libz.imp
229 # INCLUDES += -I$(LIBIDN_PATH)/include
230 LDLIBS += $(LIBIDN_PATH)/lib/libidn.$(LIBEXT)
233 ifeq ($(LIBARCH),LIBC)
234 INCLUDES += -I$(NDK_LIBC)/include
235 # INCLUDES += -I$(NDK_LIBC)/include/nks
236 # INCLUDES += -I$(NDK_LIBC)/include/winsock
237 CFLAGS += -D_POSIX_SOURCE
239 INCLUDES += -I$(NDK_CLIB)/include/nlm
240 # INCLUDES += -I$(NDK_CLIB)/include
243 # INCLUDES += -I$(NDK_LDAP)/$(LIBARCH_L)/inc
245 CFLAGS += $(INCLUDES)
254 XDCDATA = $(OBJDIR)/$(TARGET).xdc
257 ifeq ($(findstring /sh,$(SHELL)),/sh)
261 #-include $(NDKBASE)/nlmconv/ncpfs.inc
267 # Makefile.inc provides the CSOURCES and HHEADERS defines
270 OBJX := $(patsubst %.c,$(OBJDIR)/%.o,$(notdir $(strip $(CURLX_ONES))))
271 OBJS := $(patsubst %.c,$(OBJDIR)/%.o,$(strip $(CURL_CFILES)))
276 vpath %.c $(CURL_LIB)
278 all: prebuild $(TARGET).nlm
280 prebuild: $(OBJDIR) $(OBJDIR)/version.inc curl_config.h
284 $(CC) $(CFLAGS) -c $< -o $@
286 $(OBJDIR)/version.inc: $(CURL_INC)/curl/curlver.h $(OBJDIR)
288 @$(AWK) -f ../packages/NetWare/get_ver.awk $< > $@
290 install: $(INSTDIR) all
291 @-$(CP) ../docs/$(TARGET).pdf $(INSTDIR)
292 @-$(CP) ../docs/$(TARGET).html $(INSTDIR)
293 @$(CP) $(TARGET).nlm $(INSTDIR)
296 ifeq "$(wildcard hugehelp.c.cvs)" "hugehelp.c.cvs"
302 distclean vclean: clean
305 $(OBJDIR) $(INSTDIR):
308 $(TARGET).nlm: $(OBJS) $(OBJDIR)/$(TARGET).def $(XDCDATA)
311 @$(LD) $(LDFLAGS) $(OBJDIR)/$(TARGET).def
313 $(OBJDIR)/%.xdc: Makefile.netware
315 @$(MPKXDC) $(XDCOPT) $@
317 $(OBJDIR)/%.def: Makefile.netware
318 @echo $(DL)# DEF file for linking with $(LD)$(DL) > $@
319 @echo $(DL)# Do not edit this file - it is created by make!$(DL) >> $@
320 @echo $(DL)# All your changes will be lost!!$(DL) >> $@
321 @echo $(DL)#$(DL) >> $@
322 @echo $(DL)copyright "$(COPYR)"$(DL) >> $@
323 @echo $(DL)description "$(DESCR)"$(DL) >> $@
324 @echo $(DL)version $(VERSION)$(DL) >> $@
326 @echo $(DL)type $(NLMTYPE)$(DL) >> $@
329 @echo $(DL)stack $(STACK)$(DL) >> $@
332 @echo $(DL)screenname "$(SCREEN)"$(DL) >> $@
334 @echo $(DL)screenname "DEFAULT"$(DL) >> $@
337 @echo $(DL)debug$(DL) >> $@
339 @echo $(DL)threadname "$(TARGET)"$(DL) >> $@
341 @echo $(DL)xdcdata $(XDCDATA)$(DL) >> $@
344 @echo $(DL)flag_on 16$(DL) >> $@
347 @echo $(DL)flag_on 512$(DL) >> $@
349 ifeq ($(LIBARCH),CLIB)
350 @echo $(DL)start _Prelude$(DL) >> $@
351 @echo $(DL)exit _Stop$(DL) >> $@
352 @echo $(DL)import @$(NDK_CLIB)/imports/clib.imp$(DL) >> $@
353 @echo $(DL)import @$(NDK_CLIB)/imports/threads.imp$(DL) >> $@
354 @echo $(DL)import @$(NDK_CLIB)/imports/nlmlib.imp$(DL) >> $@
355 @echo $(DL)import @$(NDK_CLIB)/imports/socklib.imp$(DL) >> $@
356 @echo $(DL)module clib$(DL) >> $@
358 @echo $(DL)import @$(NDK_LDAP)/clib/imports/ldapsdk.imp$(DL) >> $@
359 @echo $(DL)import @$(NDK_LDAP)/clib/imports/ldapssl.imp$(DL) >> $@
360 # @echo $(DL)import @$(NDK_LDAP)/clib/imports/ldapx.imp$(DL) >> $@
361 @echo $(DL)module ldapsdk ldapssl$(DL) >> $@
365 @echo $(DL)flag_on 4194304$(DL) >> $@
367 @echo $(DL)flag_on 64$(DL) >> $@
368 @echo $(DL)pseudopreemption$(DL) >> $@
369 ifeq ($(findstring posixpre,$(PRELUDE)),posixpre)
370 @echo $(DL)start POSIX_Start$(DL) >> $@
371 @echo $(DL)exit POSIX_Stop$(DL) >> $@
372 @echo $(DL)check POSIX_CheckUnload$(DL) >> $@
374 @echo $(DL)start _LibCPrelude$(DL) >> $@
375 @echo $(DL)exit _LibCPostlude$(DL) >> $@
376 @echo $(DL)check _LibCCheckUnload$(DL) >> $@
378 @echo $(DL)import @$(NDK_LIBC)/imports/libc.imp$(DL) >> $@
379 @echo $(DL)import @$(NDK_LIBC)/imports/netware.imp$(DL) >> $@
380 @echo $(DL)module libc$(DL) >> $@
382 @echo $(DL)import @$(NDK_LDAP)/libc/imports/lldapsdk.imp$(DL) >> $@
383 @echo $(DL)import @$(NDK_LDAP)/libc/imports/lldapssl.imp$(DL) >> $@
384 # @echo $(DL)import @$(NDK_LDAP)/libc/imports/lldapx.imp$(DL) >> $@
385 @echo $(DL)module lldapsdk lldapssl$(DL) >> $@
389 @echo $(DL)module $(MODULES)$(DL) >> $@
392 @echo $(DL)export $(EXPORTS)$(DL) >> $@
395 @echo $(DL)import $(IMPORTS)$(DL) >> $@
397 ifeq ($(findstring nlmconv,$(LD)),nlmconv)
398 @echo $(DL)input $(PRELUDE)$(DL) >> $@
399 @echo $(DL)input $(OBJS)$(DL) >> $@
401 @echo $(DL)input $(LDLIBS)$(DL) >> $@
403 @echo $(DL)output $(TARGET).nlm$(DL) >> $@
406 curl_config.h: Makefile.netware
408 @echo $(DL)/* $@ for NetWare target.$(DL) > $@
409 @echo $(DL)** Do not edit this file - it is created by make!$(DL) >> $@
410 @echo $(DL)** All your changes will be lost!!$(DL) >> $@
411 @echo $(DL)*/$(DL) >> $@
412 @echo $(DL)#ifndef NETWARE$(DL) >> $@
413 @echo $(DL)#error This $(notdir $@) is created for NetWare platform!$(DL) >> $@
414 @echo $(DL)#endif$(DL) >> $@
415 @echo $(DL)#define VERSION "$(LIBCURL_VERSION_STR)"$(DL) >> $@
416 @echo $(DL)#define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/"$(DL) >> $@
417 ifeq ($(LIBARCH),CLIB)
418 @echo $(DL)#define OS "i586-pc-clib-NetWare"$(DL) >> $@
419 @echo $(DL)#define NETDB_USE_INTERNET 1$(DL) >> $@
420 @echo $(DL)#define HAVE_STRICMP 1$(DL) >> $@
421 @echo $(DL)#define HAVE_STRNICMP 1$(DL) >> $@
422 @echo $(DL)#define RECV_TYPE_ARG1 int$(DL) >> $@
423 @echo $(DL)#define RECV_TYPE_ARG2 char *$(DL) >> $@
424 @echo $(DL)#define RECV_TYPE_ARG3 int$(DL) >> $@
425 @echo $(DL)#define RECV_TYPE_ARG4 int$(DL) >> $@
426 @echo $(DL)#define RECV_TYPE_RETV int$(DL) >> $@
427 @echo $(DL)#define RECVFROM_TYPE_ARG1 int$(DL) >> $@
428 @echo $(DL)#define RECVFROM_TYPE_ARG2 char$(DL) >> $@
429 @echo $(DL)#define RECVFROM_TYPE_ARG3 int$(DL) >> $@
430 @echo $(DL)#define RECVFROM_TYPE_ARG4 int$(DL) >> $@
431 @echo $(DL)#define RECVFROM_TYPE_ARG5 struct sockaddr$(DL) >> $@
432 @echo $(DL)#define RECVFROM_TYPE_ARG6 int$(DL) >> $@
433 @echo $(DL)#define RECVFROM_TYPE_RETV int$(DL) >> $@
434 @echo $(DL)#define SEND_QUAL_ARG2$(DL) >> $@
435 @echo $(DL)#define SEND_TYPE_ARG1 int$(DL) >> $@
436 @echo $(DL)#define SEND_TYPE_ARG2 char *$(DL) >> $@
437 @echo $(DL)#define SEND_TYPE_ARG3 int$(DL) >> $@
438 @echo $(DL)#define SEND_TYPE_ARG4 int$(DL) >> $@
439 @echo $(DL)#define SEND_TYPE_RETV int$(DL) >> $@
440 @echo $(DL)#define SIZEOF_SIZE_T 4$(DL) >> $@
441 @echo $(DL)#define pressanykey PressAnyKeyToContinue$(DL) >> $@
443 @echo $(DL)#define OS "i586-pc-libc-NetWare"$(DL) >> $@
444 @echo $(DL)#define HAVE_FTRUNCATE 1$(DL) >> $@
445 @echo $(DL)#define HAVE_GETTIMEOFDAY 1$(DL) >> $@
446 @echo $(DL)#define HAVE_INTTYPES_H 1$(DL) >> $@
447 @echo $(DL)#define HAVE_LONGLONG 1$(DL) >> $@
448 @echo $(DL)#define HAVE_STDINT_H 1$(DL) >> $@
449 @echo $(DL)#define HAVE_STRCASECMP 1$(DL) >> $@
450 @echo $(DL)#define HAVE_STRLCAT 1$(DL) >> $@
451 @echo $(DL)#define HAVE_STRLCPY 1$(DL) >> $@
452 @echo $(DL)#define HAVE_STRTOLL 1$(DL) >> $@
453 @echo $(DL)#define HAVE_SYS_PARAM_H 1$(DL) >> $@
454 @echo $(DL)#define HAVE_SYS_SELECT_H 1$(DL) >> $@
455 @echo $(DL)#define HAVE_TERMIOS_H 1$(DL) >> $@
456 @echo $(DL)#define RECV_TYPE_ARG1 int$(DL) >> $@
457 @echo $(DL)#define RECV_TYPE_ARG2 void *$(DL) >> $@
458 @echo $(DL)#define RECV_TYPE_ARG3 size_t$(DL) >> $@
459 @echo $(DL)#define RECV_TYPE_ARG4 int$(DL) >> $@
460 @echo $(DL)#define RECV_TYPE_RETV ssize_t$(DL) >> $@
461 @echo $(DL)#define RECVFROM_TYPE_ARG1 int$(DL) >> $@
462 @echo $(DL)#define RECVFROM_TYPE_ARG2 void$(DL) >> $@
463 @echo $(DL)#define RECVFROM_TYPE_ARG3 size_t$(DL) >> $@
464 @echo $(DL)#define RECVFROM_TYPE_ARG4 int$(DL) >> $@
465 @echo $(DL)#define RECVFROM_TYPE_ARG5 struct sockaddr$(DL) >> $@
466 @echo $(DL)#define RECVFROM_TYPE_ARG6 size_t$(DL) >> $@
467 @echo $(DL)#define RECVFROM_TYPE_RETV ssize_t$(DL) >> $@
468 @echo $(DL)#define RECVFROM_TYPE_ARG2_IS_VOID 1$(DL) >> $@
469 @echo $(DL)#define SEND_QUAL_ARG2$(DL) >> $@
470 @echo $(DL)#define SEND_TYPE_ARG1 int$(DL) >> $@
471 @echo $(DL)#define SEND_TYPE_ARG2 void *$(DL) >> $@
472 @echo $(DL)#define SEND_TYPE_ARG3 size_t$(DL) >> $@
473 @echo $(DL)#define SEND_TYPE_ARG4 int$(DL) >> $@
474 @echo $(DL)#define SEND_TYPE_RETV ssize_t$(DL) >> $@
475 @echo $(DL)#define SIZEOF_OFF_T 8$(DL) >> $@
476 @echo $(DL)#define SIZEOF_SIZE_T 8$(DL) >> $@
477 @echo $(DL)#define _LARGEFILE 1$(DL) >> $@
479 @echo $(DL)#define ENABLE_IPV6 1$(DL) >> $@
480 @echo $(DL)#define HAVE_AF_INET6 1$(DL) >> $@
481 @echo $(DL)#define HAVE_PF_INET6 1$(DL) >> $@
482 @echo $(DL)#define HAVE_FREEADDRINFO 1$(DL) >> $@
483 @echo $(DL)#define HAVE_GETADDRINFO 1$(DL) >> $@
484 @echo $(DL)#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1$(DL) >> $@
485 @echo $(DL)#define HAVE_STRUCT_ADDRINFO 1$(DL) >> $@
486 @echo $(DL)#define HAVE_STRUCT_IN6_ADDR 1$(DL) >> $@
487 @echo $(DL)#define HAVE_STRUCT_SOCKADDR_IN6 1$(DL) >> $@
488 @echo $(DL)#define SIZEOF_STRUCT_IN6_ADDR 16$(DL) >> $@
491 @echo $(DL)#define USE_MANUAL 1$(DL) >> $@
492 @echo $(DL)#define HAVE_ARPA_INET_H 1$(DL) >> $@
493 @echo $(DL)#define HAVE_ASSERT_H 1$(DL) >> $@
494 @echo $(DL)#define HAVE_ERRNO_H 1$(DL) >> $@
495 @echo $(DL)#define HAVE_ERR_H 1$(DL) >> $@
496 @echo $(DL)#define HAVE_FCNTL_H 1$(DL) >> $@
497 @echo $(DL)#define HAVE_GETHOSTBYADDR 1$(DL) >> $@
498 @echo $(DL)#define HAVE_GETHOSTBYNAME 1$(DL) >> $@
499 @echo $(DL)#define HAVE_GETPROTOBYNAME 1$(DL) >> $@
500 @echo $(DL)#define HAVE_GMTIME_R 1$(DL) >> $@
501 @echo $(DL)#define HAVE_INET_ADDR 1$(DL) >> $@
502 @echo $(DL)#define HAVE_IOCTL 1$(DL) >> $@
503 @echo $(DL)#define HAVE_IOCTL_FIONBIO 1$(DL) >> $@
504 @echo $(DL)#define HAVE_LIMITS_H 1$(DL) >> $@
505 @echo $(DL)#define HAVE_LL 1$(DL) >> $@
506 @echo $(DL)#define HAVE_LOCALE_H 1$(DL) >> $@
507 @echo $(DL)#define HAVE_LOCALTIME_R 1$(DL) >> $@
508 @echo $(DL)#define HAVE_MALLOC_H 1$(DL) >> $@
509 @echo $(DL)#define HAVE_NETINET_IN_H 1$(DL) >> $@
510 @echo $(DL)#define HAVE_RECV 1$(DL) >> $@
511 @echo $(DL)#define HAVE_RECVFROM 1$(DL) >> $@
512 @echo $(DL)#define HAVE_SELECT 1$(DL) >> $@
513 @echo $(DL)#define HAVE_SEND 1$(DL) >> $@
514 @echo $(DL)#define HAVE_SETJMP_H 1$(DL) >> $@
515 @echo $(DL)#define HAVE_SETLOCALE 1$(DL) >> $@
516 @echo $(DL)#define HAVE_SIGNAL 1$(DL) >> $@
517 @echo $(DL)#define HAVE_SIGNAL_H 1$(DL) >> $@
518 @echo $(DL)#define HAVE_SIG_ATOMIC_T 1$(DL) >> $@
519 @echo $(DL)#define HAVE_SOCKET 1$(DL) >> $@
520 @echo $(DL)#define HAVE_STDLIB_H 1$(DL) >> $@
521 @echo $(DL)#define HAVE_STRDUP 1$(DL) >> $@
522 @echo $(DL)#define HAVE_STRFTIME 1$(DL) >> $@
523 @echo $(DL)#define HAVE_STRING_H 1$(DL) >> $@
524 @echo $(DL)#define HAVE_STRSTR 1$(DL) >> $@
525 @echo $(DL)#define HAVE_STRUCT_TIMEVAL 1$(DL) >> $@
526 @echo $(DL)#define HAVE_SYS_IOCTL_H 1$(DL) >> $@
527 @echo $(DL)#define HAVE_SYS_STAT_H 1$(DL) >> $@
528 @echo $(DL)#define HAVE_SYS_TIME_H 1$(DL) >> $@
529 @echo $(DL)#define HAVE_TIME_H 1$(DL) >> $@
530 @echo $(DL)#define HAVE_UNAME 1$(DL) >> $@
531 @echo $(DL)#define HAVE_UNISTD_H 1$(DL) >> $@
532 @echo $(DL)#define HAVE_UTIME 1$(DL) >> $@
533 @echo $(DL)#define HAVE_UTIME_H 1$(DL) >> $@
534 @echo $(DL)#define HAVE_WRITEV 1$(DL) >> $@
535 @echo $(DL)#define RETSIGTYPE void$(DL) >> $@
536 @echo $(DL)#define SIZEOF_INT 4$(DL) >> $@
537 @echo $(DL)#define SIZEOF_SHORT 2$(DL) >> $@
538 @echo $(DL)#define SIZEOF_STRUCT_IN_ADDR 4$(DL) >> $@
539 @echo $(DL)#define STDC_HEADERS 1$(DL) >> $@
540 @echo $(DL)#define TIME_WITH_SYS_TIME 1$(DL) >> $@
542 @echo $(DL)#define CURL_DISABLE_LDAP 1$(DL) >> $@
544 @echo $(DL)#define CURL_HAS_NOVELL_LDAPSDK 1$(DL) >> $@
546 @echo $(DL)#define HAVE_LDAP_SSL 1$(DL) >> $@
548 @echo $(DL)#define HAVE_LDAP_SSL_H 1$(DL) >> $@
549 @echo $(DL)#define HAVE_LDAP_URL_PARSE 1$(DL) >> $@
552 @echo $(DL)#define HAVE_CLOSESOCKET 1$(DL) >> $@
554 @echo $(DL)#define USE_BSD_SOCKETS 1$(DL) >> $@
555 @echo $(DL)#define HAVE_SYS_TYPES_H 1$(DL) >> $@
556 @echo $(DL)#define HAVE_SYS_SOCKET_H 1$(DL) >> $@
557 @echo $(DL)#define HAVE_SYS_SOCKIO_H 1$(DL) >> $@
558 @echo $(DL)#define HAVE_NETDB_H 1$(DL) >> $@
561 @echo $(DL)#define USE_ARES 1$(DL) >> $@
564 @echo $(DL)#define HAVE_ZLIB_H 1$(DL) >> $@
565 @echo $(DL)#define HAVE_LIBZ 1$(DL) >> $@
568 @echo $(DL)#define USE_SSLEAY 1$(DL) >> $@
569 @echo $(DL)#define USE_OPENSSL 1$(DL) >> $@
570 @echo $(DL)#define HAVE_OPENSSL_X509_H 1$(DL) >> $@
571 @echo $(DL)#define HAVE_OPENSSL_SSL_H 1$(DL) >> $@
572 @echo $(DL)#define HAVE_OPENSSL_RSA_H 1$(DL) >> $@
573 @echo $(DL)#define HAVE_OPENSSL_PEM_H 1$(DL) >> $@
574 @echo $(DL)#define HAVE_OPENSSL_ERR_H 1$(DL) >> $@
575 @echo $(DL)#define HAVE_OPENSSL_CRYPTO_H 1$(DL) >> $@
576 @echo $(DL)#define HAVE_OPENSSL_ENGINE_H 1$(DL) >> $@
577 @echo $(DL)#define HAVE_LIBSSL 1$(DL) >> $@
578 @echo $(DL)#define HAVE_LIBCRYPTO 1$(DL) >> $@
579 @echo $(DL)#define OPENSSL_NO_KRB5 1$(DL) >> $@
582 @echo $(DL)#define USE_AXTLS 1$(DL) >> $@
586 @echo $(DL)#define USE_LIBSSH2 1$(DL) >> $@
587 @echo $(DL)#define HAVE_LIBSSH2_H 1$(DL) >> $@
590 @echo $(DL)#define HAVE_LIBIDN 1$(DL) >> $@
591 @echo $(DL)#define HAVE_TLD_H 1$(DL) >> $@
594 @echo $(DL)#define USE_LIBRTMP 1$(DL) >> $@
596 @echo $(DL)#ifdef __GNUC__$(DL) >> $@
597 @echo $(DL)#define HAVE_VARIADIC_MACROS_GCC 1$(DL) >> $@
598 @echo $(DL)#else$(DL) >> $@
599 @echo $(DL)#define HAVE_VARIADIC_MACROS_C99 1$(DL) >> $@
600 @echo $(DL)#endif$(DL) >> $@
602 @echo $(DL)#define CURL_CA_BUNDLE "$(CABUNDLE)"$(DL) >> $@
604 @echo $(DL)#define CURL_CA_BUNDLE getenv("CURL_CA_BUNDLE")$(DL) >> $@
609 @$(CP) hugehelp.c.cvs $@
611 $(LIBCARES_PATH)/libcares.$(LIBEXT):
612 $(MAKE) -C $(LIBCARES_PATH) -f Makefile.netware lib