Windows: Cleanup .exp .res .manifest and others
[openafs.git] / src / WINNT / afssvrcpa / NTMakefile
index 487e7b2..b8bd383 100644 (file)
@@ -28,7 +28,10 @@ DEFFILE = afssvrcpa.def
 
 $(DLLFILE): $(DLLOBJS)
        $(DLLGUILINK)  $(DLLLIBS) /DEF:$(DEFFILE)
+        $(_VC_MANIFEST_EMBED_DLL)
        $(DLLPREP)
+        $(CODESIGN_USERLAND)
+        $(SYMSTORE_IMPORT)
 
 
 ############################################################################
@@ -55,7 +58,10 @@ lang::
 # Local clean target; augments predefined clean target
 
 clean::
-
+       $(CD) lang
+        @if exist AFS_component_version_number.h del AFS_component_version_number.h
+       for /f %l in ('dir /B ??_??') do @$(NTLANG) %l $(MAKECMD) /nologo /f NTMakefile clean
+       $(CD) ..
 
 mkdir:
        -mkdir $(OUT)\lang