diff options
author | Gunter Knauf <gk@gknw.de> | 2005-04-22 13:03:17 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2005-04-22 13:03:17 +0000 |
commit | 1a230e91e6c0839d8e0b93287c01a762c277d733 (patch) | |
tree | d576048da70cb876224eef6419a58f15b52d0db0 /Makefile.netware | |
parent | b6f7715488fd092679607a064a6e2b4150237549 (diff) | |
download | c-ares-1a230e91e6c0839d8e0b93287c01a762c277d733.tar.gz c-ares-1a230e91e6c0839d8e0b93287c01a762c277d733.tar.bz2 c-ares-1a230e91e6c0839d8e0b93287c01a762c277d733.zip |
changes for building with IPV6.
Diffstat (limited to 'Makefile.netware')
-rw-r--r-- | Makefile.netware | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile.netware b/Makefile.netware index 3394684..2c5f0c9 100644 --- a/Makefile.netware +++ b/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 |