summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-29 17:39:12 +0200
committerAndreas Baumann <abaumann@yahoo.com>2009-03-29 17:39:12 +0200
commita285896c04fb2a205f270a4ae55a62b003adb87e (patch)
tree7ba5212644451d5e9809853c12554ba772c4f556 /tests
parent93d9ab3932e86b0491e295ccd6f3842bc5ebd542 (diff)
downloadwolfbones-a285896c04fb2a205f270a4ae55a62b003adb87e.tar.gz
wolfbones-a285896c04fb2a205f270a4ae55a62b003adb87e.tar.bz2
cleaned up Cygwin getaddrinfo and started Win32 getaddrinfo
Diffstat (limited to 'tests')
-rw-r--r--tests/port/Makefile.W3215
1 files changed, 12 insertions, 3 deletions
diff --git a/tests/port/Makefile.W32 b/tests/port/Makefile.W32
index 17b3e6a..5cf4e7a 100644
--- a/tests/port/Makefile.W32
+++ b/tests/port/Makefile.W32
@@ -1,10 +1,15 @@
TOPDIR = ..\..
INCLUDE_DIRS = \
- /I$(TOPDIR)\include\wolf /I. /I$(TOPDIR)\src
+ /I$(TOPDIR)\include\wolf /I. /I$(TOPDIR)\src \
+ /D_WIN32_WINNT=0x400 /I"$(PLATFORM_SDK_DIR)\Include"
+
+INCLUDE_LDFLAGS = \
+ /LIBPATH:"$(PLATFORM_SDK_DIR)\lib"
INCLUDE_LIBS = \
- $(TOPDIR)\src\wolf.lib
+ $(TOPDIR)\src\wolf.lib \
+ Ws2_32.lib
TEST_BINS = \
test_strdup.exe \
@@ -15,7 +20,8 @@ TEST_BINS = \
test_snprintf.exe \
test_strlcpy.exe \
test_strlcat.exe \
- test_itoa.exe
+ test_itoa.exe \
+ test_getaddrinfo.exe
!INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk
@@ -29,6 +35,7 @@ test_snprintf.exe: test_snprintf.obj
test_strlcpy.exe: test_strlcpy.obj
test_strlcat.exe: test_strlcat.obj
test_itoa.exe: test_itoa.obj
+test_getaddrinfo.exe: test_getaddrinfo.obj
local_all:
@@ -55,3 +62,5 @@ local_test:
@test_strlcat >NUL 2>NUL
@echo Testing itoa..
@test_itoa >NUL 2>NUL
+ @echo Testing getaddrinfo..
+ @test_getaddrinfo >NUL 2>NUL