windows-tests-nm-20090130
[openafs.git] / src / WINNT / tests / nmtest / NTMakefile
1 #                                                                                                                                
2 # Copyright (c) 2009 Secure Endpoints Inc.
3 #
4
5 RELDIR=WINNT\tests\nmtest
6 !INCLUDE ..\..\..\config\NTMakefile.$(SYS_NAME)
7 !INCLUDE ..\..\..\config\NTMakefile.version
8
9 idirs:
10 !       if !(exist($(OJT)\WINNT\tests))
11                 md $(OJT)\WINNT\tests
12 !       endif
13 !       if !(exist($(OJT)\WINNT\tests\nmtest))
14                 md $(OJT)\WINNT\tests\nmtest
15 !       endif
16
17 EXEDIR = $(DESTDIR)\bin
18
19 OBJS = $(OUT)\nmtest.obj
20
21 $(EXEDIR)\nmtest.exe: $(OBJS)
22         $(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib shell32.lib userenv.lib
23         $(_VC_MANIFEST_EMBED_EXE)
24         $(EXEPREP)
25         $(CODESIGN_USERLAND)
26
27 install: idirs $(EXEDIR)\nmtest.exe
28
29 clean::
30         
31