]> granicus.if.org Git - curl/commitdiff
Block created curlbuild.h for NetWare to avoid usage from other platforms.
authorGuenter Knauf <lists@gknw.net>
Fri, 6 Aug 2010 23:29:04 +0000 (01:29 +0200)
committerGuenter Knauf <lists@gknw.net>
Fri, 6 Aug 2010 23:29:04 +0000 (01:29 +0200)
lib/Makefile.netware

index f11eef64ab17ef0b4716bd0121e139bae535bd4b..a3e77b745c8a646c75d53c722d1ac0eb7c32d703 100644 (file)
@@ -616,6 +616,9 @@ $(CURL_INC)/curl/curlbuild.h: Makefile.netware FORCE
        @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 NETWARE$(DL) >> $@
+       @echo $(DL)#error This $(notdir $@) is created for NetWare platform!$(DL) >> $@
+       @echo $(DL)#endif$(DL) >> $@
        @echo $(DL)#ifndef __CURL_CURLBUILD_H$(DL) >> $@
        @echo $(DL)#define __CURL_CURLBUILD_H$(DL) >> $@
 ifeq ($(LIBARCH),LIBC)