windows-64-bit-type-safety-20051105
[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
26 install: $(UNINSTALL)
27
28 # Cleanup
29 clean::
30         -$(DEL) AFS_component_version_number.h
31         -$(DEL) $(OUT)\uninstall.obj
32         -$(DEL) $(OUT)\uninstall.res
33         -$(DEL) $(UNINSTALL)