summaryrefslogtreecommitdiff
path: root/Makefile.netware
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2010-08-08 10:26:04 +0200
committerGuenter Knauf <lists@gknw.net>2010-08-08 10:26:04 +0200
commite6b38cdbd24845b2829339e0d5bf2fa0caf144ab (patch)
treec40e596cb604578e90edcf8ca67292839ffe46dc /Makefile.netware
parentd8ed817b99b7c9e1a85935f993d544c89ae2746f (diff)
downloadc-ares-e6b38cdbd24845b2829339e0d5bf2fa0caf144ab.tar.gz
c-ares-e6b38cdbd24845b2829339e0d5bf2fa0caf144ab.tar.bz2
c-ares-e6b38cdbd24845b2829339e0d5bf2fa0caf144ab.zip
Block created ares_build.h for NetWare to avoid usage from other platforms.
Diffstat (limited to 'Makefile.netware')
-rw-r--r--Makefile.netware7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.netware b/Makefile.netware
index 1eeca1e..043c967 100644
--- a/Makefile.netware
+++ b/Makefile.netware
@@ -20,7 +20,7 @@ endif
TARGETS = adig.nlm ahost.nlm acountry.nlm
LTARGET = libcares.$(LIBEXT)
VERSION = $(LIBCARES_VERSION)
-COPYR = Copyright (C) 1996 - 2008, Daniel Stenberg, <daniel@haxx.se>
+COPYR = Copyright (C) 1996 - 2010, Daniel Stenberg, <daniel@haxx.se>
DESCR = cURL $(subst .def,,$(notdir $@)) $(LIBCARES_VERSION_STR) - http://curl.haxx.se
MTSAFE = YES
STACK = 64000
@@ -142,7 +142,7 @@ ifeq ($(MTSAFE),NO)
XDCOPT = -u
endif
-ifeq ($(findstring linux,$(OSTYPE)),linux)
+ifeq ($(findstring /sh,$(SHELL)),/sh)
DL = '
#-include $(NDKBASE)/nlmconv/ncpfs.inc
endif
@@ -415,6 +415,9 @@ ares_build.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 __CARES_BUILD_H$(DL) >> $@
@echo $(DL)#define __CARES_BUILD_H$(DL) >> $@
ifeq ($(LIBARCH),CLIB)