windows-tests-largefiles-20090130
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 31 Jan 2009 03:42:29 +0000 (03:42 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 31 Jan 2009 03:42:29 +0000 (03:42 +0000)
LICENSE BSD

permit the largefiles test to build under the openafs build system

src/WINNT/tests/largefiles/NTMakefile [new file with mode: 0644]

diff --git a/src/WINNT/tests/largefiles/NTMakefile b/src/WINNT/tests/largefiles/NTMakefile
new file mode 100644 (file)
index 0000000..1b596c8
--- /dev/null
@@ -0,0 +1,31 @@
+#                                                                                                                                
+# Copyright (c) 2009 Secure Endpoints Inc.
+#
+
+RELDIR=WINNT\tests\lftest
+!INCLUDE ..\..\..\config\NTMakefile.$(SYS_NAME)
+!INCLUDE ..\..\..\config\NTMakefile.version
+
+idirs:
+!       if !(exist($(OJT)\WINNT\tests))
+                md $(OJT)\WINNT\tests
+!       endif
+!       if !(exist($(OJT)\WINNT\tests\lftest))
+                md $(OJT)\WINNT\tests\lftest
+!       endif
+
+EXEDIR = $(DESTDIR)\bin
+
+OBJS = $(OUT)\lftest.obj
+
+$(EXEDIR)\lftest.exe: $(OBJS)
+        $(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib shell32.lib userenv.lib
+        $(_VC_MANIFEST_EMBED_EXE)
+        $(EXEPREP)
+        $(CODESIGN_USERLAND)
+
+install: idirs $(EXEDIR)\lftest.exe
+
+clean::
+        
+