fixed creation of curlbuild.h.
authorGunter Knauf <gk@gknw.de>
Sun, 10 Aug 2008 22:28:51 +0000 (22:28 +0000)
committerGunter Knauf <gk@gknw.de>
Sun, 10 Aug 2008 22:28:51 +0000 (22:28 +0000)
lib/Makefile.netware

index bab5d79..3986dc7 100644 (file)
@@ -20,7 +20,7 @@ endif
 
 # Edit the path below to point to the base of your OpenSSL package.
 ifndef OPENSSL_PATH
-OPENSSL_PATH = ../../openssl-0.9.8g
+OPENSSL_PATH = ../../openssl-0.9.8h
 endif
 
 # Edit the path below to point to the base of your LibSSH2 package.
@@ -584,23 +584,21 @@ ca-bundle.crt: mk-ca-bundle.pl
        @echo Creating $@
        @-$(PERL) $< -b -n $@
 
-$(CURL_INC)/curl/curlbuild.h: Makefile.netware
+$(CURL_INC)/curl/curlbuild.h: Makefile.netware FORCE
        @echo Creating $@
-       @echo $(DL)#ifndef __CURL_CURLBUILD_H$(DL) > $@
-       @echo $(DL)#define __CURL_CURLBUILD_H$(DL) >> $@
-       @echo $(DL)/* $@ intended for NetWare target.$(DL) >> $@
+       @echo $(DL)/* $@ intended for NetWare target.$(DL) > $@
        @echo $(DL)** Do not edit this file - it is created by make!$(DL) >> $@
        @echo $(DL)** All your changes will be lost!!$(DL) >> $@
        @echo $(DL)*/$(DL) >> $@
+       @echo $(DL)#ifndef __CURL_CURLBUILD_H$(DL) >> $@
+       @echo $(DL)#define __CURL_CURLBUILD_H$(DL) >> $@
 ifeq ($(LIBARCH),LIBC)
-       # NetWare - LIBC curlbuild.h settings.
        @echo $(DL)#define CURL_OFF_T long long$(DL) >> $@
        @echo $(DL)#define CURL_FMT_OFF_T "lld"$(DL) >> $@
        @echo $(DL)#define CURL_FMT_OFF_TU "llu"$(DL) >> $@
        @echo $(DL)#define CURL_FORMAT_OFF_T "%lld"$(DL) >> $@
        @echo $(DL)#define CURL_SIZEOF_CURL_OFF_T 8$(DL) >> $@
 else
-       # NetWare - CLIB curlbuild.h settings.
        @echo $(DL)#define CURL_OFF_T long$(DL) >> $@
        @echo $(DL)#define CURL_FMT_OFF_T "ld"$(DL) >> $@
        @echo $(DL)#define CURL_FMT_OFF_TU "lu"$(DL) >> $@