windows-code-signing-20080702
[openafs.git] / src / WINNT / install / wix / uninstall / NTMakefile
1 # Copyright 2004, OpenAFS.ORG and others.
2 # All Rights Reserved.
3 #
4 # This software has been released under the terms of the IBM Public
5 # License.  For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
7
8 RELDIR=WINNT\install\wix\uninstall
9 !INCLUDE ..\..\..\..\config\NTMakefile.$(SYS_NAME)
10 !INCLUDE ..\..\..\..\config\NTMakefile.version
11
12 UNINSTALL = $(DESTDIR)\root.client\usr\vice\etc\uninstall.exe
13
14 OBJECTS = $(OUT)\uninstall.obj
15
16 $(OBJECTS): $$(@B).c
17         $(C2OBJ) $**
18
19 $(OUT)\uninstall.res: uninstall.rc AFS_component_version_number.h
20
21 $(UNINSTALL): $(OBJECTS) $(OUT)\uninstall.res
22         $(EXECONLINK) msi.lib
23         $(_VC_MANIFEST_EMBED_EXE)
24         $(EXEPREP)
25         $(CODESIGN_USERLAND)
26
27 install: $(UNINSTALL)
28
29 # Cleanup
30 clean::
31         -$(DEL) AFS_component_version_number.h
32         -$(DEL) $(OUT)\uninstall.obj
33         -$(DEL) $(OUT)\uninstall.res
34         -$(DEL) $(UNINSTALL)