diff options
Diffstat (limited to 'src/NetPerfDir')
-rw-r--r-- | src/NetPerfDir/inet_ntop.c | 6 | ||||
-rw-r--r-- | src/NetPerfDir/makefile | 7 | ||||
-rw-r--r-- | src/NetPerfDir/sources | 39 |
3 files changed, 52 insertions, 0 deletions
diff --git a/src/NetPerfDir/inet_ntop.c b/src/NetPerfDir/inet_ntop.c new file mode 100644 index 0000000..f644e4a --- /dev/null +++ b/src/NetPerfDir/inet_ntop.c @@ -0,0 +1,6 @@ +#if !defined(InetNtop) + +/* +*+ Why isn't this in the winsock headers yet? */ + +#include "..\missing\inet_ntop.c" +#endif diff --git a/src/NetPerfDir/makefile b/src/NetPerfDir/makefile new file mode 100644 index 0000000..b90b71d --- /dev/null +++ b/src/NetPerfDir/makefile @@ -0,0 +1,7 @@ +#
+# DO NOT EDIT THIS FILE!!! Edit .\sources. if you want to add a new source
+# file to this component. This file merely indirects to the real make file
+# that is shared by all the driver components of the Windows NT DDK
+#
+
+!INCLUDE $(NTMAKEENV)\makefile.def
\ No newline at end of file diff --git a/src/NetPerfDir/sources b/src/NetPerfDir/sources new file mode 100644 index 0000000..392c226 --- /dev/null +++ b/src/NetPerfDir/sources @@ -0,0 +1,39 @@ +TARGETNAME=netperf
+TARGETPATH=OBJ
+TARGETTYPE=PROGRAM
+
+LINKLIBS= \
+ $(SDK_LIB_PATH)\kernel32.lib \
+ $(SDK_LIB_PATH)\ws2_32.lib \
+ $(SDK_LIB_PATH)\wsock32.lib \
+ $(SDK_LIB_PATH)\Winmm.lib
+
+USE_MSVCRT=1
+UMTYPE=console
+
+INCLUDES=$(SDK_INC_PATH);.
+
+MSC_WARNING_LEVEL=/W3 /WX
+
+C_DEFINES=$(C_DEFINES) -D_CONSOLE_ -DHAVE_STRING_H -DHAVE_STRUCT_SOCKADDR_STORAGE -DHAVE_GETADDRINFO -DHAVE_GETNAMEINFO -DSTDC_HEADERS -DHAVE_STDLIB_H -DHAVE_WS2TCPIP_H -DWANT_OMNI -DWANT_DEMO -DWANT_HISTOGRAM -DWANT_INTERVALS
+
+#USER_C_FLAGS=$(USER_C_FLAGS) /E
+
+SOURCES= \
+ ..\netcpu_ntperf.c \
+ ..\netlib.c \
+ ..\netsh.c \
+ ..\nettest_bsd.c \
+ ..\nettest_omni.c \
+ ..\netsec_win.c \
+ ..\netdrv_none.c \
+ ..\netslot_none.c \
+ ..\netsys_none.c \
+ ..\netrt_none.c \
+ ..\netfirewall_none.c \
+ ..\net_uuid.c \
+ ..\netperf.c \
+ ..\dscp.c \
+ ..\inet_ntop.c
+
+
|