TOPDIR = ..\.. INCLUDE_DIRS = \ /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 \ Ws2_32.lib TEST_BINS = \ test_strdup.exe \ test_strerror_r.exe \ test_strcasecmp.exe \ test_strncasecmp.exe \ test_localtime_r.exe \ test_snprintf.exe \ test_strlcpy.exe \ test_strlcat.exe \ test_itoa.exe \ test_getaddrinfo.exe \ test_gai_strerror_r.exe !INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk # TODO: what is the autogeneration rule for NMAKE? test_strdup.exe: test_strdup.obj test_strerror_r.exe: test_strerror_r.obj test_strcasecmp.exe: test_strcasecmp.obj test_strncasecmp.exe: test_strncasecmp.obj test_localtime_r.exe: test_localtime_r.obj 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 test_gai_strerror_r.exe: test_gai_strerror_r.obj local_all: local_clean: local_distclean: local_test: @echo Testing strdup.. @test_strdup >NUL 2>NUL @echo Testing strerror_r... @test_strerror_r >NUL 2>NUL @echo Testing strcasecmp.. @test_strcasecmp >NUL 2>NUL @echo Testing strncasecmp.. @test_strncasecmp >NUL 2>NUL @echo Testing localtime_r.. @test_localtime_r >NUL 2>NUL @echo Testing snprintf.. @test_snprintf >NUL 2>NUL @echo Testing strlcpy.. @test_strlcpy >NUL 2>NUL @echo Testing strlcat.. @test_strlcat >NUL 2>NUL @echo Testing itoa.. @test_itoa >NUL 2>NUL @echo Testing getaddrinfo.. @test_getaddrinfo localhost 80 >NUL 2>NUL @echo Testing gai_strerror_r.. @test_gai_strerror_r >NUL 2>NUL