DEVEL15-util-snprintf-replacement-20090624
[openafs.git] / src / util / test / NTMakefile
index 29e19f0..c393c95 100644 (file)
@@ -5,6 +5,7 @@
 # License.  For details, see the LICENSE file in the top-level source
 # directory or online at http://www.openafs.org/dl/license10.html
 
+RELDIR=util\test
 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
 !INCLUDE ..\..\config\NTMakefile.version
 
@@ -12,13 +13,21 @@ LIBS =\
        $(DESTDIR)\lib\afs\afsutil.lib \
        $(DESTDIR)\lib\afs\afsreg.lib
 
-$(OJT)\dirpath_test.exe: $(OJT)\dirpath_test.obj $(LIBS)
-       $(EXECONLINK)
+$(OUT)\dirpath_test.exe: $(OUT)\dirpath_test.obj $(LIBS)
+       $(EXECONLINK) shell32.lib
+        $(_VC_MANIFEST_EMBED_EXE)
+        $(CODESIGN_USERLAND)
 
-test tests: $(OJT)\dirpath_test.exe
+$(OUT)\snprintf_test.exe: $(OUT)\snprintf_test.obj $(LIBS)
+       $(EXECONLINK) shell32.lib
+        $(_VC_MANIFEST_EMBED_EXE)
+        $(CODESIGN_USERLAND)
+
+test tests: $(OUT)\dirpath_test.exe  $(OUT)\snprintf_test.exe
 
 clean::
-       $(DEL) $(OJT)\dirpath_test.exe
+       $(DEL) $(OUT)\dirpath_test.*
+        $(DEL) $(OUT)\snprintf_test.*
 
 mkdir: