1 # Copyright 2004, OpenAFS.ORG and others.
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
8 RELDIR=WINNT\install\wix
9 !INCLUDE ..\..\..\config\NTMakefile.$(SYS_NAME)
10 !INCLUDE ..\..\..\config\NTMakefile.version
12 MEDIADIR = $(DESTDIR)\WinInstall
13 MEDIABINDIR = $(MEDIADIR)\Dll
15 MSIFILE = $(MEDIADIR)\openafs-$(LANG).msi
26 WIXOBJ = $(OUT)\openafs-$(LANG).wixobj
28 LANGUAGES=en_US de_DE es_ES ja_JP ko_KR pt_BR zh_CN zh_TW
31 # Don't bother with non en_US for now. The other builds comprise of either
32 # verbatim copies of en_US files, partial translations or doesn't build
33 # (no languages resources). Someday when OpenAFS 8.1029828419 comes out we'll
34 # get someone to translate.
35 # for %l in ( $(LANGUAGES ) do (
36 # $(MAKE) /f NTMakefile /nologo LANG=%l lang
38 $(MAKE) /f NTMakefile /nologo LANG=en_US lang
40 lang:: lang_clean $(MSIFILE)
44 $(MAKE) /f NTMakefile /nologo install
49 $(MAKE) /f NTMakefile /nologo install
52 install: uninst customactions languages
55 light -nologo -out $(MSIFILE) \
56 -loc lang\$(LANG)\strings.wxl \
60 $(WIXOBJ): openafs.wxs $(WIXINCLUDES)
61 candle -nologo -out $@ \
62 "-dCellName=$(CELLNAME_DEFAULT)" \
64 -dNumericVersion=$(AFSPRODUCT_VERSION) \
65 -dVersionMajor=$(AFSPRODUCT_VER_MAJOR) \
66 -dVersionMinor=$(AFSPRODUCT_VER_MINOR) \
67 -dVersionPatch=$(AFSPRODUCT_VER_PATCH) \
68 -dProductCode=$(AFSPRODUCT_VER_GUID) \
69 "-dDestDir=$(DESTDIR)\\" \
70 -dCellDbFile=CellServDB \
73 $(AFSDEV_AUXWIXDEFINES) openafs.wxs
77 for %l in ( $(LANGUAGES) ) do \
78 $(MAKE) /f NTMakefile /nologo LANG=%l lang_clean
80 $(MAKE) /f NTMakefile /nologo clean
83 $(MAKE) /f NTMakefile /nologo clean