]> git.saurik.com Git - apple/libresolv.git/commitdiff
libresolv-51.tar.gz mac-os-x-108 mac-os-x-1081 mac-os-x-1082 mac-os-x-1083 mac-os-x-1084 mac-os-x-1085 v51
authorApple <opensource@apple.com>
Tue, 6 Mar 2012 02:53:39 +0000 (02:53 +0000)
committerApple <opensource@apple.com>
Tue, 6 Mar 2012 02:53:39 +0000 (02:53 +0000)
BUILD [deleted file]
Makefile [deleted file]
Makefile.postamble [deleted file]
Makefile.preamble [deleted file]
PB.project [deleted file]
libresolv.xcodeproj/project.pbxproj [new file with mode: 0644]
res_send.c
resolver_so.3 [deleted file]
xcodescripts/headers.sh [new file with mode: 0644]
xcodescripts/links.sh [new file with mode: 0644]
xcodescripts/manpages.sh [new file with mode: 0644]

diff --git a/BUILD b/BUILD
deleted file mode 100644 (file)
index 5a42a1e..0000000
--- a/BUILD
+++ /dev/null
@@ -1,191 +0,0 @@
-#! /bin/sh
-# This script will build resolver library
-#
-
-TARGET=resolver
-echo
-echo "=================================================="
-echo $TARGET
-echo "=================================================="
-
-PROJECT_ROOT=../netinfo.build/root
-TARGET_DYNAMIC_LIB=libresolv.9.dylib
-TARGET_LIB_LINK=libresolv.dylib
-TARGET_STATIC_LIB=libresolv.a
-TARGET_VERSION=A
-TARGET_DIR=usr/lib
-COMPAT_VERS=1.0.0
-CURR_VERS=2.0.0
-TARGET_MAN_DIR=/usr/share/man/man5
-
-BLD=$TARGET.build
-DERIVED_SRC_DIR=$BLD/derived_src
-OBJECT_DIR=$BLD/objects
-
-DST_DIR=$PROJECT_ROOT/$TARGET_DIR
-PUBLIC_HEADERS_DIR=$PROJECT_ROOT/usr/include
-PRIVATE_HEADERS_DIR=$PROJECT_ROOT/usr/local/include
-PROJECT_HEADERS_DIR=../netinfo.build/ProjectHeaders
-MAN_DIR=${PROJECT_ROOT}${TARGET_MAN_DIR}
-
-CFLAGS="-g -dynamic -fno-common -Wall -D_REENTRANT"
-INCLUDE="-I. -I$PUBLIC_HEADERS_DIR"
-LIBS=
-nm /usr/lib/libSystem.B.dylib | grep -q pselect
-if [ $? = 1 ]; then
-  CFLAGS="$CFLAGS -DNEED_PSELECT"
-fi
-
-CLEAN=0
-BUILD=1
-
-while [ $# != 0 ]; do
-  if [ ${1}x = cleanx ]; then
-    CLEAN=1
-    BUILD=0
-  fi
-
-  if [ ${1}x = freshx ]; then
-    CLEAN=1
-    BUILD=1
-  fi
-
-  shift
-done
-
-if [ $CLEAN = 1 ]; then
-  echo "Cleaning $TARGET"
-  rm -rf $BLD
-  rm -rf .gdb_history
-fi
-
-if [ $BUILD = 0 ]; then
-  echo "Done"
-  exit 0
-fi
-
-if [ ! -d $BLD ]; then
-  mkdir $BLD
-fi
-if [ ! -d $DERIVED_SRC_DIR ]; then
-  mkdir $DERIVED_SRC_DIR
-  ln -s ../.. $DERIVED_SRC_DIR/NetInfo
-fi
-if [ ! -d $OBJECT_DIR ]; then
-  mkdir $OBJECT_DIR
-fi
-
-if [ ! -d $DST_DIR ]; then
-  if [ -f /bin/mkdirs ]; then
-    mkdirs $DST_DIR
-  else
-    mkdir -p $DST_DIR
-  fi
-fi
-
-if [ ! -d $PUBLIC_HEADERS_DIR ]; then
-  if [ -f /bin/mkdirs ]; then
-    mkdirs $PUBLIC_HEADERS_DIR
-    mkdirs $PUBLIC_HEADERS_DIR/arpa
-  else
-    mkdir -p $PUBLIC_HEADERS_DIR
-    mkdir -p $PUBLIC_HEADERS_DIR/arpa
-  fi
-fi
-
-if [ ! -d $PRIVATE_HEADERS_DIR ]; then
-  if [ -f /bin/mkdirs ]; then
-    mkdirs $PRIVATE_HEADERS_DIR
-  else
-    mkdir -p $PRIVATE_HEADERS_DIR
-  fi
-fi
-
-if [ ! -d $PROJECT_HEADERS_DIR ]; then
-  if [ -f /bin/mkdirs ]; then
-    mkdirs $PROJECT_HEADERS_DIR
-  else
-    mkdir -p $PROJECT_HEADERS_DIR
-  fi
-fi
-
-if [ ! -f $PUBLIC_HEADERS_DIR/dns.h ]; then
-  echo "cp dns.h $PUBLIC_HEADERS_DIR"
-  cp dns.h $PUBLIC_HEADERS_DIR
-fi
-
-if [ ! -f $PUBLIC_HEADERS_DIR/dns_util.h ]; then
-  echo "cp dns_util.h $PUBLIC_HEADERS_DIR"
-  cp dns_util.h $PUBLIC_HEADERS_DIR
-fi
-
-if [ ! -f $PRIVATE_HEADERS_DIR/dns_private.h ]; then
-  echo "cp dns_private.h $PRIVATE_HEADERS_DIR"
-  cp dns_private.h $PRIVATE_HEADERS_DIR
-fi
-
-if [ ! -f $PROJECT_HEADERS_DIR/dns_private.h ]; then
-  echo "cp dns_private.h $PROJECT_HEADERS_DIR"
-  cp dns_private.h $PROJECT_HEADERS_DIR
-fi
-
-if [ ! -f $PUBLIC_HEADERS_DIR/resolv.h ]; then
-  echo "cp resolv.h $PUBLIC_HEADERS_DIR"
-  cp resolv.h $PUBLIC_HEADERS_DIR
-fi
-
-if [ ! -f $PUBLIC_HEADERS_DIR/nameser.h ]; then
-  echo "cp nameser.h $PUBLIC_HEADERS_DIR"
-  cp nameser.h $PUBLIC_HEADERS_DIR
-  echo "ln -s ../nameser.h $PUBLIC_HEADERS_DIR/arpa/nameser.h"
-  ln -s ../nameser.h $PUBLIC_HEADERS_DIR/arpa/nameser.h
-fi
-
-if [ ! -d $MAN_DIR ]; then
-  if [ -f /bin/mkdirs ]; then
-    mkdirs $MAN_DIR
-  else
-    mkdir -p $MAN_DIR
-  fi
-fi
-
-if [ ! -f $MAN_DIR/resolver.5 ]; then
-  echo "cp resolver.5 $MAN_DIR"
-  cp resolver.5 $MAN_DIR
-fi
-
-MAKE_TARGET=0
-if [ ! -f $DST_DIR/$TARGET_DYNAMIC_LIB ]; then
-  MAKE_TARGET=1
-fi
-
-for c in *.[mc]
-do
-  OBJ=`echo $c | sed 's/..$/.o/'`
-  SRC=$c
-  DST=$OBJECT_DIR/$OBJ
-
-  MAKEIT=1
-  if [ -f $DST ]; then
-    RECENT=`/bin/ls -1t $DST $SRC | head -1`
-    if [ $RECENT = $DST ]; then
-      MAKEIT=0
-    fi
-  fi
-
-  if [ $MAKEIT = 1 ]; then
-    MAKE_TARGET=1
-    echo cc -c $CFLAGS $INCLUDE -o $DST $SRC
-    cc -c $CFLAGS $INCLUDE -o $DST $SRC
-  fi
-done
-
-if [ $MAKE_TARGET = 1 ]; then
-       echo libtool -dynamic -install_name /${TARGET_DIR}/${TARGET_DYNAMIC_LIB} -compatibility_version $COMPAT_VERS -current_version $CURR_VERS -arch_only ppc -o $DST_DIR/${TARGET_DYNAMIC_LIB} $OBJECT_DIR/*.o -lcc_dynamic -framework System
-       libtool -dynamic -install_name /${TARGET_DIR}/${TARGET_DYNAMIC_LIB} -compatibility_version $COMPAT_VERS -current_version $CURR_VERS -arch_only ppc -o $DST_DIR/${TARGET_DYNAMIC_LIB} $OBJECT_DIR/*.o -lcc_dynamic -ldnsinfo -framework System
-       echo "ln -s $TARGET_DYNAMIC_LIB $DST_DIR/${TARGET_LIB_LINK}"
-       ln -s $TARGET_DYNAMIC_LIB $DST_DIR/${TARGET_LIB_LINK}
-fi
-
-echo "Finished building $TARGET"
-exit 0
diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index 5663e82..0000000
--- a/Makefile
+++ /dev/null
@@ -1,80 +0,0 @@
-Project = resolv
-ProductType = dylib
-ifeq ($(RC_ProjectName),$(RC_ProjectName:%_Sim=%))
-Install_Dir = /usr/lib
-else
-Install_Dir = $(SDKROOT)/usr/lib
-endif
-
-HFILES = dns.h dns_private.h dns_util.h dst.h dst_internal.h\
-         nameser.h res_debug.h res_private.h res_update.h resolv.h
-
-CFILES = base64.c dns.c dns_async.c dns_util.c dst_api.c\
-         dst_hmac_link.c dst_support.c ns_date.c ns_name.c ns_netint.c\
-         ns_parse.c ns_print.c ns_samedomain.c ns_sign.c ns_ttl.c\
-         ns_verify.c res_comp.c res_data.c res_debug.c\
-         res_findzonecut.c res_init.c res_mkquery.c res_mkupdate.c\
-         res_query.c res_send.c res_sendsigned.c res_update.c
-
-# NOTE dns_plugin.c is not included in CFILES since it isn't part of the dylib
-
-ifeq ($(RC_ProjectName),$(RC_ProjectName:%_Sim=%))
-MANPAGES = resolver.3 resolver.5
-endif
-
-ifneq ($(RC_ProjectName),$(RC_ProjectName:%_Sim=%))
-Install_Headers_Directory = $(SDKROOT)/usr/include
-Install_Private_Headers_Directory = $(SDKROOT)/usr/local/include
-endif
-
-Install_Headers = dns.h dns_util.h nameser.h resolv.h
-Install_Private_Headers = dns_private.h
-
-Library_Version = 9
-
-Extra_CC_Flags = -Wall -Werror -fno-common -I.
-
-ifeq ($(RC_TARGET_CONFIG),)
-        export PRODUCT := $(shell xcodebuild -sdk "$(SDKROOT)" -version PlatformPath | head -1 | sed 's,^.*/\([^/]*\)\.platform$$,\1,')
-        ifeq ($(PRODUCT),)
-                export PRODUCT := MacOSX
-        endif
-else
-        export PRODUCT := $(RC_TARGET_CONFIG)
-endif
-
-ifeq "$(PRODUCT)" "iPhone"
-Extra_CC_Flags += -DUSE_DNS_PSELECT
-endif
-
-include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
-
-ifeq ($(RC_ProjectName),$(RC_ProjectName:%_Sim=%))
-       INSTALL_PREFIX = 
-else
-       INSTALL_PREFIX = $(SDKROOT)
-endif
-
-_installhdrs:: _symlink_hdrs
-
-_symlink_hdrs:
-       $(INSTALL_DIRECTORY) $(DSTROOT)$(Install_Headers_Directory)/arpa
-       $(LN) -sf ../nameser.h $(DSTROOT)$(Install_Headers_Directory)/arpa
-
-ifeq ($(RC_ProjectName),$(RC_ProjectName:%_Sim=%))
-after_install: install_man
-else
-after_install:
-endif
-       $(INSTALL_DIRECTORY) $(DSTROOT)$(Install_Headers_Directory)/arpa
-       $(LN) -sf ../nameser.h $(DSTROOT)$(Install_Headers_Directory)/arpa
-
-ifeq ($(RC_ProjectName),$(RC_ProjectName:%_Sim=%))
-install_man:
-       @for FILE in \
-               dn_comp.3 dn_expand.3 dn_skipname.3 \
-               ns_get16.3 ns_get32.3 ns_put16.3 ns_put32.3 \
-               res_init.3 res_mkquery.3 res_query.3 res_search.3 res_send.3 ; do \
-               $(INSTALL_FILE) resolver_so.3 $(DSTROOT)/usr/share/man/man3/$${FILE} ; \
-       done
-endif
diff --git a/Makefile.postamble b/Makefile.postamble
deleted file mode 100644 (file)
index 5a72628..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-arpa_headers: $(DSTROOT)$(PUBLIC_HDR_INSTALLDIR)$(ARPA_HEADER_DIR_SUFFIX)
-       $(RM) -f $(foreach header, $(ARPA_SYMLINKED_HEADERS), $(DSTROOT)$(PUBLIC_HDR_INSTALLDIR)$(ARPA_HEADER_DIR_SUFFIX)/$(header))
-       $(LN) -s $(foreach header, $(ARPA_SYMLINKED_HEADERS), ../$(header)) $(DSTROOT)$(PUBLIC_HDR_INSTALLDIR)$(ARPA_HEADER_DIR_SUFFIX)
-       $(SILENT) $(FASTCP) $(ARPA_HEADERS) $(DSTROOT)$(PUBLIC_HDR_INSTALLDIR)$(ARPA_HEADER_DIR_SUFFIX)
-
-$(DSTROOT)$(PUBLIC_HDR_INSTALLDIR)$(ARPA_HEADER_DIR_SUFFIX):
-       $(MKDIRS) $@
-
-after_install: $(DSTROOT)/usr/share/man/man3 $(DSTROOT)/usr/share/man/man5
-       install -d $(DSTROOT)/usr/share/man/man3
-       install -c -m 644 resolver.3 $(DSTROOT)/usr/share/man/man3
-       install -c -m 644 resolver_so.3 $(DSTROOT)/usr/share/man/man3/dn_comp.3
-       install -c -m 644 resolver_so.3 $(DSTROOT)/usr/share/man/man3/dn_expand.3
-       install -c -m 644 resolver_so.3 $(DSTROOT)/usr/share/man/man3/dn_skipname.3
-       install -c -m 644 resolver_so.3 $(DSTROOT)/usr/share/man/man3/ns_get16.3
-       install -c -m 644 resolver_so.3 $(DSTROOT)/usr/share/man/man3/ns_get32.3
-       install -c -m 644 resolver_so.3 $(DSTROOT)/usr/share/man/man3/ns_put16.3
-       install -c -m 644 resolver_so.3 $(DSTROOT)/usr/share/man/man3/ns_put32.3
-       install -c -m 644 resolver_so.3 $(DSTROOT)/usr/share/man/man3/res_init.3
-       install -c -m 644 resolver_so.3 $(DSTROOT)/usr/share/man/man3/res_mkquery.3
-       install -c -m 644 resolver_so.3 $(DSTROOT)/usr/share/man/man3/res_query.3
-       install -c -m 644 resolver_so.3 $(DSTROOT)/usr/share/man/man3/res_search.3
-       install -c -m 644 resolver_so.3 $(DSTROOT)/usr/share/man/man3/res_send.3
-       install -d $(DSTROOT)/usr/share/man/man5
-       install -c -m 444 resolver.5 $(DSTROOT)/usr/share/man/man5
-
-$(DSTROOT)/usr/share/man/man3:
-       $(MKDIRS) $@
-
-$(DSTROOT)/usr/share/man/man5:
-       $(MKDIRS) $@
diff --git a/Makefile.preamble b/Makefile.preamble
deleted file mode 100644 (file)
index 046bb8d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-OTHER_LDFLAGS += -undefined dynamic_lookup
-PUBLIC_HEADER_DIR=/usr/include
-PUBLIC_HEADER_DIR_SUFFIX = 
-ARPA_HEADER_DIR_SUFFIX = /arpa
-ARPA_SYMLINKED_HEADERS = nameser.h
-AFTER_INSTALLHDRS += arpa_headers
-
-PRIVATE_HEADER_DIR=/usr/local/include
-OTHER_PRIVATE_HEADERS += dns_private.h
diff --git a/PB.project b/PB.project
deleted file mode 100644 (file)
index 0862d98..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-{
-    "CURRENTLY_ACTIVE_VERSION" = YES; 
-    "DEPLOY_WITH_VERSION_NAME" = 9; 
-    "DYNAMIC_CODE_GEN" = YES; 
-    FILESTABLE = {
-        CLASSES = (); 
-        HEADERSEARCH = (); 
-        "H_FILES" = (
-            "dns.h", 
-            "dns_private.h", 
-            "dns_util.h", 
-            "dst.h", 
-            "dst_internal.h", 
-            "nameser.h", 
-            "res_debug.h", 
-            "res_private.h", 
-            "res_update.h", 
-            "resolv.h"
-        ); 
-        "OTHER_LINKED" = (
-            "base64.c", 
-            "dns.c", 
-            "dns_async.c", 
-            "dns_util.c", 
-            "dst_api.c", 
-            "dst_hmac_link.c", 
-            "dst_support.c", 
-            "ns_date.c", 
-            "ns_name.c", 
-            "ns_netint.c", 
-            "ns_parse.c", 
-            "ns_print.c", 
-            "ns_samedomain.c", 
-            "ns_sign.c", 
-            "ns_ttl.c", 
-            "ns_verify.c", 
-            "res_comp.c", 
-            "res_data.c", 
-            "res_debug.c", 
-            "res_findzonecut.c", 
-            "res_init.c", 
-            "res_mkquery.c", 
-            "res_mkupdate.c", 
-            "res_query.c", 
-            "res_send.c", 
-            "res_sendsigned.c", 
-            "res_update.c"
-        ); 
-        "OTHER_SOURCES" = (Makefile, "Makefile.postamble", "Makefile.preamble", "resolver.5"); 
-        "PROJECT_HEADERS" = (
-            "dns.h", 
-            "dns_private.h", 
-            "dns_util.h", 
-            "dst.h", 
-            "dst_internal.h", 
-            "nameser.h", 
-            "res_debug.h", 
-            "res_private.h", 
-            "res_update.h", 
-            "resolv.h"
-        ); 
-        "PUBLIC_HEADERS" = ("dns.h", "dns_util.h", "nameser.h", "resolv.h"); 
-        SUBPROJECTS = (); 
-    }; 
-    LANGUAGE = English; 
-    "LOCALIZABLE_FILES" = {}; 
-    MAKEFILEDIR = "$(MAKEFILEPATH)/pb_makefiles"; 
-    "NEXTSTEP_BUILDTOOL" = "/usr/bin/gnumake"; 
-    "NEXTSTEP_INSTALLDIR" = "/usr/lib"; 
-    "NEXTSTEP_JAVA_COMPILER" = "/usr/bin/javac"; 
-    "NEXTSTEP_OBJCPLUS_COMPILER" = "/usr/bin/cc"; 
-    "PDO_UNIX_BUILDTOOL" = "$NEXT_ROOT/Developer/bin/make"; 
-    "PDO_UNIX_JAVA_COMPILER" = "$(JDKBINDIR)/javac"; 
-    "PDO_UNIX_OBJCPLUS_COMPILER" = "$(NEXTDEV_BIN)/gcc"; 
-    PROJECTNAME = resolv; 
-    PROJECTTYPE = Library; 
-    PROJECTVERSION = "2.8"; 
-    "WINDOWS_BUILDTOOL" = "$NEXT_ROOT/Developer/Executables/make"; 
-    "WINDOWS_JAVA_COMPILER" = "$(JDKBINDIR)/javac.exe"; 
-    "WINDOWS_OBJCPLUS_COMPILER" = "$(DEVDIR)/gcc"; 
-    "WINDOWS_PUBLICHEADERSDIR" = "LOCAL_DEVELOPER_DIR/Headers/$(NAME)"; 
-}
diff --git a/libresolv.xcodeproj/project.pbxproj b/libresolv.xcodeproj/project.pbxproj
new file mode 100644 (file)
index 0000000..a5bc7a1
--- /dev/null
@@ -0,0 +1,338 @@
+// !$*UTF8*$!
+{
+       archiveVersion = 1;
+       classes = {
+       };
+       objectVersion = 46;
+       objects = {
+
+/* Begin PBXBuildFile section */
+               FC585F0714EDAF3000C8F63A /* base64.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EE014EDAF3000C8F63A /* base64.c */; };
+               FC585F0814EDAF3000C8F63A /* dns_async.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EE114EDAF3000C8F63A /* dns_async.c */; };
+               FC585F0914EDAF3000C8F63A /* dns_private.h in Headers */ = {isa = PBXBuildFile; fileRef = FC585EE214EDAF3000C8F63A /* dns_private.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               FC585F0A14EDAF3000C8F63A /* dns_util.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EE314EDAF3000C8F63A /* dns_util.c */; };
+               FC585F0B14EDAF3000C8F63A /* dns_util.h in Headers */ = {isa = PBXBuildFile; fileRef = FC585EE414EDAF3000C8F63A /* dns_util.h */; settings = {ATTRIBUTES = (Public, ); }; };
+               FC585F0C14EDAF3000C8F63A /* dns.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EE514EDAF3000C8F63A /* dns.c */; };
+               FC585F0D14EDAF3000C8F63A /* dns.h in Headers */ = {isa = PBXBuildFile; fileRef = FC585EE614EDAF3000C8F63A /* dns.h */; settings = {ATTRIBUTES = (Public, ); }; };
+               FC585F0E14EDAF3000C8F63A /* dst_api.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EE714EDAF3000C8F63A /* dst_api.c */; };
+               FC585F0F14EDAF3000C8F63A /* dst_hmac_link.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EE814EDAF3000C8F63A /* dst_hmac_link.c */; };
+               FC585F1014EDAF3000C8F63A /* dst_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = FC585EE914EDAF3000C8F63A /* dst_internal.h */; };
+               FC585F1114EDAF3000C8F63A /* dst_support.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EEA14EDAF3000C8F63A /* dst_support.c */; };
+               FC585F1214EDAF3000C8F63A /* dst.h in Headers */ = {isa = PBXBuildFile; fileRef = FC585EEB14EDAF3000C8F63A /* dst.h */; };
+               FC585F1314EDAF3000C8F63A /* nameser.h in Headers */ = {isa = PBXBuildFile; fileRef = FC585EEC14EDAF3000C8F63A /* nameser.h */; settings = {ATTRIBUTES = (Public, ); }; };
+               FC585F1414EDAF3000C8F63A /* ns_date.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EED14EDAF3000C8F63A /* ns_date.c */; };
+               FC585F1514EDAF3000C8F63A /* ns_name.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EEE14EDAF3000C8F63A /* ns_name.c */; };
+               FC585F1614EDAF3000C8F63A /* ns_netint.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EEF14EDAF3000C8F63A /* ns_netint.c */; };
+               FC585F1714EDAF3000C8F63A /* ns_parse.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EF014EDAF3000C8F63A /* ns_parse.c */; };
+               FC585F1814EDAF3000C8F63A /* ns_print.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EF114EDAF3000C8F63A /* ns_print.c */; };
+               FC585F1914EDAF3000C8F63A /* ns_samedomain.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EF214EDAF3000C8F63A /* ns_samedomain.c */; };
+               FC585F1A14EDAF3000C8F63A /* ns_sign.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EF314EDAF3000C8F63A /* ns_sign.c */; };
+               FC585F1B14EDAF3000C8F63A /* ns_ttl.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EF414EDAF3000C8F63A /* ns_ttl.c */; };
+               FC585F1C14EDAF3000C8F63A /* ns_verify.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EF514EDAF3000C8F63A /* ns_verify.c */; };
+               FC585F1D14EDAF3000C8F63A /* res_comp.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EF614EDAF3000C8F63A /* res_comp.c */; };
+               FC585F1E14EDAF3000C8F63A /* res_data.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EF714EDAF3000C8F63A /* res_data.c */; };
+               FC585F1F14EDAF3000C8F63A /* res_debug.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EF814EDAF3000C8F63A /* res_debug.c */; };
+               FC585F2014EDAF3000C8F63A /* res_debug.h in Headers */ = {isa = PBXBuildFile; fileRef = FC585EF914EDAF3000C8F63A /* res_debug.h */; };
+               FC585F2114EDAF3000C8F63A /* res_findzonecut.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EFA14EDAF3000C8F63A /* res_findzonecut.c */; };
+               FC585F2214EDAF3000C8F63A /* res_init.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EFB14EDAF3000C8F63A /* res_init.c */; };
+               FC585F2314EDAF3000C8F63A /* res_mkquery.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EFC14EDAF3000C8F63A /* res_mkquery.c */; };
+               FC585F2414EDAF3000C8F63A /* res_mkupdate.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EFD14EDAF3000C8F63A /* res_mkupdate.c */; };
+               FC585F2514EDAF3000C8F63A /* res_private.h in Headers */ = {isa = PBXBuildFile; fileRef = FC585EFE14EDAF3000C8F63A /* res_private.h */; };
+               FC585F2614EDAF3000C8F63A /* res_query.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585EFF14EDAF3000C8F63A /* res_query.c */; };
+               FC585F2714EDAF3000C8F63A /* res_send.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585F0014EDAF3000C8F63A /* res_send.c */; };
+               FC585F2814EDAF3000C8F63A /* res_sendsigned.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585F0114EDAF3000C8F63A /* res_sendsigned.c */; };
+               FC585F2914EDAF3000C8F63A /* res_update.c in Sources */ = {isa = PBXBuildFile; fileRef = FC585F0214EDAF3000C8F63A /* res_update.c */; };
+               FC585F2A14EDAF3000C8F63A /* res_update.h in Headers */ = {isa = PBXBuildFile; fileRef = FC585F0314EDAF3000C8F63A /* res_update.h */; };
+               FC585F2B14EDAF3000C8F63A /* resolv.h in Headers */ = {isa = PBXBuildFile; fileRef = FC585F0414EDAF3000C8F63A /* resolv.h */; settings = {ATTRIBUTES = (Public, ); }; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+               FC585ED614EDAEA400C8F63A /* libresolv.9.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libresolv.9.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
+               FC585EE014EDAF3000C8F63A /* base64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = base64.c; sourceTree = "<group>"; };
+               FC585EE114EDAF3000C8F63A /* dns_async.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dns_async.c; sourceTree = "<group>"; };
+               FC585EE214EDAF3000C8F63A /* dns_private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dns_private.h; sourceTree = "<group>"; };
+               FC585EE314EDAF3000C8F63A /* dns_util.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dns_util.c; sourceTree = "<group>"; };
+               FC585EE414EDAF3000C8F63A /* dns_util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dns_util.h; sourceTree = "<group>"; };
+               FC585EE514EDAF3000C8F63A /* dns.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dns.c; sourceTree = "<group>"; };
+               FC585EE614EDAF3000C8F63A /* dns.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dns.h; sourceTree = "<group>"; };
+               FC585EE714EDAF3000C8F63A /* dst_api.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dst_api.c; sourceTree = "<group>"; };
+               FC585EE814EDAF3000C8F63A /* dst_hmac_link.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dst_hmac_link.c; sourceTree = "<group>"; };
+               FC585EE914EDAF3000C8F63A /* dst_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dst_internal.h; sourceTree = "<group>"; };
+               FC585EEA14EDAF3000C8F63A /* dst_support.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dst_support.c; sourceTree = "<group>"; };
+               FC585EEB14EDAF3000C8F63A /* dst.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dst.h; sourceTree = "<group>"; };
+               FC585EEC14EDAF3000C8F63A /* nameser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = nameser.h; sourceTree = "<group>"; };
+               FC585EED14EDAF3000C8F63A /* ns_date.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ns_date.c; sourceTree = "<group>"; };
+               FC585EEE14EDAF3000C8F63A /* ns_name.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ns_name.c; sourceTree = "<group>"; };
+               FC585EEF14EDAF3000C8F63A /* ns_netint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ns_netint.c; sourceTree = "<group>"; };
+               FC585EF014EDAF3000C8F63A /* ns_parse.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ns_parse.c; sourceTree = "<group>"; };
+               FC585EF114EDAF3000C8F63A /* ns_print.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ns_print.c; sourceTree = "<group>"; };
+               FC585EF214EDAF3000C8F63A /* ns_samedomain.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ns_samedomain.c; sourceTree = "<group>"; };
+               FC585EF314EDAF3000C8F63A /* ns_sign.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ns_sign.c; sourceTree = "<group>"; };
+               FC585EF414EDAF3000C8F63A /* ns_ttl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ns_ttl.c; sourceTree = "<group>"; };
+               FC585EF514EDAF3000C8F63A /* ns_verify.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ns_verify.c; sourceTree = "<group>"; };
+               FC585EF614EDAF3000C8F63A /* res_comp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = res_comp.c; sourceTree = "<group>"; };
+               FC585EF714EDAF3000C8F63A /* res_data.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = res_data.c; sourceTree = "<group>"; };
+               FC585EF814EDAF3000C8F63A /* res_debug.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = res_debug.c; sourceTree = "<group>"; };
+               FC585EF914EDAF3000C8F63A /* res_debug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = res_debug.h; sourceTree = "<group>"; };
+               FC585EFA14EDAF3000C8F63A /* res_findzonecut.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = res_findzonecut.c; sourceTree = "<group>"; };
+               FC585EFB14EDAF3000C8F63A /* res_init.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = res_init.c; sourceTree = "<group>"; };
+               FC585EFC14EDAF3000C8F63A /* res_mkquery.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = res_mkquery.c; sourceTree = "<group>"; };
+               FC585EFD14EDAF3000C8F63A /* res_mkupdate.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = res_mkupdate.c; sourceTree = "<group>"; };
+               FC585EFE14EDAF3000C8F63A /* res_private.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = res_private.h; sourceTree = "<group>"; };
+               FC585EFF14EDAF3000C8F63A /* res_query.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = res_query.c; sourceTree = "<group>"; };
+               FC585F0014EDAF3000C8F63A /* res_send.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = res_send.c; sourceTree = "<group>"; };
+               FC585F0114EDAF3000C8F63A /* res_sendsigned.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = res_sendsigned.c; sourceTree = "<group>"; };
+               FC585F0214EDAF3000C8F63A /* res_update.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = res_update.c; sourceTree = "<group>"; };
+               FC585F0314EDAF3000C8F63A /* res_update.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = res_update.h; sourceTree = "<group>"; };
+               FC585F0414EDAF3000C8F63A /* resolv.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = resolv.h; sourceTree = "<group>"; };
+               FC585F0514EDAF3000C8F63A /* resolver.3 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = resolver.3; sourceTree = "<group>"; };
+               FC585F0614EDAF3000C8F63A /* resolver.5 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = resolver.5; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+               FC585ED314EDAEA400C8F63A /* Frameworks */ = {
+                       isa = PBXFrameworksBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+               };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+               FC585ECB14EDAEA400C8F63A = {
+                       isa = PBXGroup;
+                       children = (
+                               FC585EE014EDAF3000C8F63A /* base64.c */,
+                               FC585EE114EDAF3000C8F63A /* dns_async.c */,
+                               FC585EE214EDAF3000C8F63A /* dns_private.h */,
+                               FC585EE314EDAF3000C8F63A /* dns_util.c */,
+                               FC585EE414EDAF3000C8F63A /* dns_util.h */,
+                               FC585EE514EDAF3000C8F63A /* dns.c */,
+                               FC585EE614EDAF3000C8F63A /* dns.h */,
+                               FC585EE714EDAF3000C8F63A /* dst_api.c */,
+                               FC585EE814EDAF3000C8F63A /* dst_hmac_link.c */,
+                               FC585EE914EDAF3000C8F63A /* dst_internal.h */,
+                               FC585EEA14EDAF3000C8F63A /* dst_support.c */,
+                               FC585EEB14EDAF3000C8F63A /* dst.h */,
+                               FC585EEC14EDAF3000C8F63A /* nameser.h */,
+                               FC585EED14EDAF3000C8F63A /* ns_date.c */,
+                               FC585EEE14EDAF3000C8F63A /* ns_name.c */,
+                               FC585EEF14EDAF3000C8F63A /* ns_netint.c */,
+                               FC585EF014EDAF3000C8F63A /* ns_parse.c */,
+                               FC585EF114EDAF3000C8F63A /* ns_print.c */,
+                               FC585EF214EDAF3000C8F63A /* ns_samedomain.c */,
+                               FC585EF314EDAF3000C8F63A /* ns_sign.c */,
+                               FC585EF414EDAF3000C8F63A /* ns_ttl.c */,
+                               FC585EF514EDAF3000C8F63A /* ns_verify.c */,
+                               FC585EF614EDAF3000C8F63A /* res_comp.c */,
+                               FC585EF714EDAF3000C8F63A /* res_data.c */,
+                               FC585EF814EDAF3000C8F63A /* res_debug.c */,
+                               FC585EF914EDAF3000C8F63A /* res_debug.h */,
+                               FC585EFA14EDAF3000C8F63A /* res_findzonecut.c */,
+                               FC585EFB14EDAF3000C8F63A /* res_init.c */,
+                               FC585EFC14EDAF3000C8F63A /* res_mkquery.c */,
+                               FC585EFD14EDAF3000C8F63A /* res_mkupdate.c */,
+                               FC585EFE14EDAF3000C8F63A /* res_private.h */,
+                               FC585EFF14EDAF3000C8F63A /* res_query.c */,
+                               FC585F0014EDAF3000C8F63A /* res_send.c */,
+                               FC585F0114EDAF3000C8F63A /* res_sendsigned.c */,
+                               FC585F0214EDAF3000C8F63A /* res_update.c */,
+                               FC585F0314EDAF3000C8F63A /* res_update.h */,
+                               FC585F0414EDAF3000C8F63A /* resolv.h */,
+                               FC585F0514EDAF3000C8F63A /* resolver.3 */,
+                               FC585F0614EDAF3000C8F63A /* resolver.5 */,
+                               FC585ED714EDAEA400C8F63A /* Products */,
+                       );
+                       sourceTree = "<group>";
+               };
+               FC585ED714EDAEA400C8F63A /* Products */ = {
+                       isa = PBXGroup;
+                       children = (
+                               FC585ED614EDAEA400C8F63A /* libresolv.9.dylib */,
+                       );
+                       name = Products;
+                       sourceTree = "<group>";
+               };
+/* End PBXGroup section */
+
+/* Begin PBXHeadersBuildPhase section */
+               FC585ED414EDAEA400C8F63A /* Headers */ = {
+                       isa = PBXHeadersBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                               FC585F0D14EDAF3000C8F63A /* dns.h in Headers */,
+                               FC585F0B14EDAF3000C8F63A /* dns_util.h in Headers */,
+                               FC585F1314EDAF3000C8F63A /* nameser.h in Headers */,
+                               FC585F2B14EDAF3000C8F63A /* resolv.h in Headers */,
+                               FC585F0914EDAF3000C8F63A /* dns_private.h in Headers */,
+                               FC585F1014EDAF3000C8F63A /* dst_internal.h in Headers */,
+                               FC585F1214EDAF3000C8F63A /* dst.h in Headers */,
+                               FC585F2014EDAF3000C8F63A /* res_debug.h in Headers */,
+                               FC585F2514EDAF3000C8F63A /* res_private.h in Headers */,
+                               FC585F2A14EDAF3000C8F63A /* res_update.h in Headers */,
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+               };
+/* End PBXHeadersBuildPhase section */
+
+/* Begin PBXNativeTarget section */
+               FC585ED514EDAEA400C8F63A /* libresolv */ = {
+                       isa = PBXNativeTarget;
+                       buildConfigurationList = FC585EDA14EDAEA400C8F63A /* Build configuration list for PBXNativeTarget "libresolv" */;
+                       buildPhases = (
+                               FC585ED214EDAEA400C8F63A /* Sources */,
+                               FC585ED314EDAEA400C8F63A /* Frameworks */,
+                               FC585ED414EDAEA400C8F63A /* Headers */,
+                               FC585F2E14EF126300C8F63A /* Run Script */,
+                       );
+                       buildRules = (
+                       );
+                       dependencies = (
+                       );
+                       name = libresolv;
+                       productName = libresolv;
+                       productReference = FC585ED614EDAEA400C8F63A /* libresolv.9.dylib */;
+                       productType = "com.apple.product-type.library.dynamic";
+               };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+               FC585ECD14EDAEA400C8F63A /* Project object */ = {
+                       isa = PBXProject;
+                       attributes = {
+                               LastUpgradeCheck = 0440;
+                               ORGANIZATIONNAME = "Apple Inc.";
+                       };
+                       buildConfigurationList = FC585ED014EDAEA400C8F63A /* Build configuration list for PBXProject "libresolv" */;
+                       compatibilityVersion = "Xcode 3.2";
+                       developmentRegion = English;
+                       hasScannedForEncodings = 0;
+                       knownRegions = (
+                               en,
+                       );
+                       mainGroup = FC585ECB14EDAEA400C8F63A;
+                       productRefGroup = FC585ED714EDAEA400C8F63A /* Products */;
+                       projectDirPath = "";
+                       projectRoot = "";
+                       targets = (
+                               FC585ED514EDAEA400C8F63A /* libresolv */,
+                       );
+               };
+/* End PBXProject section */
+
+/* Begin PBXShellScriptBuildPhase section */
+               FC585F2E14EF126300C8F63A /* Run Script */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 8;
+                       files = (
+                       );
+                       inputPaths = (
+                       );
+                       name = "Run Script";
+                       outputPaths = (
+                       );
+                       runOnlyForDeploymentPostprocessing = 1;
+                       shellPath = /bin/sh;
+                       shellScript = "sh \"$PROJECT_DIR\"/xcodescripts/headers.sh\nsh \"$PROJECT_DIR\"/xcodescripts/manpages.sh\nsh \"$PROJECT_DIR\"/xcodescripts/links.sh";
+                       showEnvVarsInLog = 0;
+               };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+               FC585ED214EDAEA400C8F63A /* Sources */ = {
+                       isa = PBXSourcesBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                               FC585F0714EDAF3000C8F63A /* base64.c in Sources */,
+                               FC585F0814EDAF3000C8F63A /* dns_async.c in Sources */,
+                               FC585F0A14EDAF3000C8F63A /* dns_util.c in Sources */,
+                               FC585F0C14EDAF3000C8F63A /* dns.c in Sources */,
+                               FC585F0E14EDAF3000C8F63A /* dst_api.c in Sources */,
+                               FC585F0F14EDAF3000C8F63A /* dst_hmac_link.c in Sources */,
+                               FC585F1114EDAF3000C8F63A /* dst_support.c in Sources */,
+                               FC585F1414EDAF3000C8F63A /* ns_date.c in Sources */,
+                               FC585F1514EDAF3000C8F63A /* ns_name.c in Sources */,
+                               FC585F1614EDAF3000C8F63A /* ns_netint.c in Sources */,
+                               FC585F1714EDAF3000C8F63A /* ns_parse.c in Sources */,
+                               FC585F1814EDAF3000C8F63A /* ns_print.c in Sources */,
+                               FC585F1914EDAF3000C8F63A /* ns_samedomain.c in Sources */,
+                               FC585F1A14EDAF3000C8F63A /* ns_sign.c in Sources */,
+                               FC585F1B14EDAF3000C8F63A /* ns_ttl.c in Sources */,
+                               FC585F1C14EDAF3000C8F63A /* ns_verify.c in Sources */,
+                               FC585F1D14EDAF3000C8F63A /* res_comp.c in Sources */,
+                               FC585F1E14EDAF3000C8F63A /* res_data.c in Sources */,
+                               FC585F1F14EDAF3000C8F63A /* res_debug.c in Sources */,
+                               FC585F2114EDAF3000C8F63A /* res_findzonecut.c in Sources */,
+                               FC585F2214EDAF3000C8F63A /* res_init.c in Sources */,
+                               FC585F2314EDAF3000C8F63A /* res_mkquery.c in Sources */,
+                               FC585F2414EDAF3000C8F63A /* res_mkupdate.c in Sources */,
+                               FC585F2614EDAF3000C8F63A /* res_query.c in Sources */,
+                               FC585F2714EDAF3000C8F63A /* res_send.c in Sources */,
+                               FC585F2814EDAF3000C8F63A /* res_sendsigned.c in Sources */,
+                               FC585F2914EDAF3000C8F63A /* res_update.c in Sources */,
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+               };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+               FC585ED914EDAEA400C8F63A /* Release */ = {
+                       isa = XCBuildConfiguration;
+                       buildSettings = {
+                               ALWAYS_SEARCH_USER_PATHS = NO;
+                               CODE_SIGN_IDENTITY = "-";
+                               COPY_PHASE_STRIP = YES;
+                               DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+                               GCC_C_LANGUAGE_STANDARD = gnu99;
+                               GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+                               "GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*]" = USE_DNS_PSELECT;
+                               GCC_TREAT_WARNINGS_AS_ERRORS = NO;
+                               GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+                               GCC_WARN_ABOUT_RETURN_TYPE = YES;
+                               GCC_WARN_UNINITIALIZED_AUTOS = YES;
+                               GCC_WARN_UNUSED_VARIABLE = YES;
+                               INSTALLHDRS_SCRIPT_PHASE = YES;
+                               INSTALL_PATH = /usr/lib;
+                               "INSTALL_PATH[sdk=iphonesimulator*]" = "$(SDKROOT)/usr/lib";
+                               OTHER_CFLAGS = "-fno-common";
+                               PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include;
+                               "PRIVATE_HEADERS_FOLDER_PATH[sdk=iphonesimulator*]" = "$(SDKROOT)/usr/local/include";
+                               PROVISIONING_PROFILE = "";
+                               PUBLIC_HEADERS_FOLDER_PATH = /usr/include;
+                               "PUBLIC_HEADERS_FOLDER_PATH[sdk=iphonesimulator*]" = "$(SDKROOT)/usr/local/include";
+                               WARNING_CFLAGS = "-Wall";
+                       };
+                       name = Release;
+               };
+               FC585EDC14EDAEA400C8F63A /* Release */ = {
+                       isa = XCBuildConfiguration;
+                       buildSettings = {
+                               FRAMEWORK_VERSION = 9;
+                               PRODUCT_NAME = "$(TARGET_NAME).$(FRAMEWORK_VERSION)";
+                       };
+                       name = Release;
+               };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+               FC585ED014EDAEA400C8F63A /* Build configuration list for PBXProject "libresolv" */ = {
+                       isa = XCConfigurationList;
+                       buildConfigurations = (
+                               FC585ED914EDAEA400C8F63A /* Release */,
+                       );
+                       defaultConfigurationIsVisible = 0;
+                       defaultConfigurationName = Release;
+               };
+               FC585EDA14EDAEA400C8F63A /* Build configuration list for PBXNativeTarget "libresolv" */ = {
+                       isa = XCConfigurationList;
+                       buildConfigurations = (
+                               FC585EDC14EDAEA400C8F63A /* Release */,
+                       );
+                       defaultConfigurationIsVisible = 0;
+                       defaultConfigurationName = Release;
+               };
+/* End XCConfigurationList section */
+       };
+       rootObject = FC585ECD14EDAEA400C8F63A /* Project object */;
+}
index 67216e524ed411e5825f56bfb26682f851933d95..38ac60bd1145fe94e49c1f1363658a48a7af2d67 100644 (file)
@@ -1511,8 +1511,6 @@ Aerror(const res_state statp, FILE *file, const char *string, int error, const s
        char hbuf[NI_MAXHOST];
        char sbuf[NI_MAXSERV];
 
-       alen = alen;
-
        if ((statp->options & RES_DEBUG) != 0)
        {
                if (getnameinfo(address, alen, hbuf, sizeof(hbuf), sbuf, sizeof(sbuf), niflags))
diff --git a/resolver_so.3 b/resolver_so.3
deleted file mode 100644 (file)
index 87a6d0e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-.so man3/resolver.3
diff --git a/xcodescripts/headers.sh b/xcodescripts/headers.sh
new file mode 100644 (file)
index 0000000..ee06b70
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+set -e -x
+
+DIR="$DSTROOT"/usr/include/arpa
+install -d -m 0755 -o "$INSTALL_OWNER" -g "$INSTALL_GROUP" \
+       "$DIR"
+ln -s ../nameser.h "$DIR"
+chmod -h 0644 "$DIR"/nameser.h
+chown -h "$INSTALL_OWNER:$INSTALL_GROUP" "$DIR"/nameser.h
diff --git a/xcodescripts/links.sh b/xcodescripts/links.sh
new file mode 100644 (file)
index 0000000..151c4e3
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+set -e -x
+
+if [ "$ACTION" = installhdrs ]; then exit 0; fi
+
+LIBDIR="$DSTROOT"/usr/lib
+ln -s libresolv.9.dylib "$LIBDIR"/libresolv.dylib
+chown -h "$INSTALL_OWNER:$INSTALL_GROUP" "$LIBDIR"/libresolv.dylib
+chmod -h 0755 "$LIBDIR"/libresolv.dylib
diff --git a/xcodescripts/manpages.sh b/xcodescripts/manpages.sh
new file mode 100644 (file)
index 0000000..36b3bf0
--- /dev/null
@@ -0,0 +1,41 @@
+#!/bin/bash
+set -e -x
+
+if [ "$ACTION" = installhdrs ]; then exit 0; fi
+if [ "$PLATFORM_NAME" = iphoneos ]; then exit 0; fi
+if [ "$PLATFORM_NAME" = iphonesimulator ]; then exit 0; fi
+
+MANDIR="$DSTROOT"/usr/share/man
+
+install -d -m 0755 -o "$INSTALL_OWNER" -g "$INSTALL_GROUP" \
+       "$MANDIR"/man3 \
+       "$MANDIR"/man5
+
+install -c -m 0644 -o "$INSTALL_OWNER" -g "$INSTALL_GROUP" \
+       "$SRCROOT"/resolver.3 \
+       "$MANDIR"/man3
+
+install -c -m 0644 -o "$INSTALL_OWNER" -g "$INSTALL_GROUP" \
+       "$SRCROOT"/resolver.5 \
+       "$MANDIR"/man5
+
+set +x
+echo "Install man pages..."
+
+for M in dn_comp.3 \
+       dn_expand.3 \
+       dn_skipname.3 \
+       ns_get16.3 \
+       ns_get32.3 \
+       ns_put16.3 \
+       ns_put32.3 \
+       res_init.3 \
+       res_mkquery.3 \
+       res_query.3 \
+       res_search.3 \
+       res_send.3 ; do
+       echo "... $M"
+       echo ".so man3/resolver.3" > "$MANDIR"/man3/"$M"
+       chown "$INSTALL_OWNER:$INSTALL_GROUP" "$MANDIR"/man3/"$M"
+       chmod 0644 "$MANDIR"/man3/"$M"
+done