aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2005-04-22 13:03:17 +0000
committerGunter Knauf <gk@gknw.de>2005-04-22 13:03:17 +0000
commit64ab85da4fb9897bcfc7d0694b31f1a8c4621cc1 (patch)
tree2b7caf98c667058d4d8fb41dc3d608fcb3c0b966
parentb8d7a13ea3e68ded04bbf272aded744e9ae7e421 (diff)
changes for building with IPV6.
-rw-r--r--ares/Makefile.netware11
1 files changed, 9 insertions, 2 deletions
diff --git a/ares/Makefile.netware b/ares/Makefile.netware
index 3394684bd..2c5f0c990 100644
--- a/ares/Makefile.netware
+++ b/ares/Makefile.netware
@@ -126,7 +126,11 @@ DL = '
#-include $(NDKBASE)/nlmconv/ncpfs.inc
endif
-OBJS := $(patsubst %.c,$(OBJDIR)/%.o,$(wildcard ares_*.c))
+# Makefile.inc provides the CSOURCES and HHEADERS defines
+include Makefile.inc
+
+#OBJS := $(patsubst %.c,$(OBJDIR)/%.o,$(wildcard ares_*.c))
+OBJS := $(patsubst %.c,$(OBJDIR)/%.o,$(strip $(CSOURCES)))
.PHONY: lib nlm prebuild dist install clean
@@ -297,8 +301,11 @@ config.h: Makefile.netware
@echo $(DL)#define SIZEOF_CURL_OFF_T 4$(DL) >> $@
@echo $(DL)#define STDC_HEADERS 1$(DL) >> $@
@echo $(DL)#define TIME_WITH_SYS_TIME 1$(DL) >> $@
- @echo $(DL)#define HAVE_STRUCT_IN6_ADDR 1$(DL) >> $@
@echo $(DL)#define HAVE_AF_INET6 1$(DL) >> $@
+ @echo $(DL)#define HAVE_PF_INET6 1$(DL) >> $@
+ @echo $(DL)#define HAVE_STRUCT_IN6_ADDR 1$(DL) >> $@
+ @echo $(DL)#define SIZEOF_STRUCT_IN6_ADDR 16$(DL) >> $@
+ @echo $(DL)#define SIZEOF_STRUCT_IN_ADDR 4$(DL) >> $@
ifdef NW_WINSOCK
@echo $(DL)#define HAVE_CLOSESOCKET 1$(DL) >> $@
else