1 RELDIR=WINNT\install\wix
2 !INCLUDE ..\..\..\config\NTMakefile.$(SYS_NAME)
3 !INCLUDE ..\..\..\config\NTMakefile.version
5 MEDIADIR = $(DESTDIR)\WinInstall
6 MEDIABINDIR = $(MEDIADIR)\Dll
8 MSIFILE = $(MEDIADIR)\openafs-$(LANG).msi
19 WIXOBJ = $(OJT)\openafs-$(LANG).wixobj
21 LANGUAGES=en_US de_DE es_ES ja_JP ko_KR pt_BR zh_CN zh_TW
24 # Don't bother with non en_US for now. The other builds comprise of either
25 # verbatim copies of en_US files, partial translations or doesn't build
26 # (no languages resources). Someday when OpenAFS 8.1029828419 comes out we'll
27 # get someone to translate.
28 # for %l in ( $(LANGUAGES ) do (
29 # $(MAKE) /f NTMakefile /nologo LANG=%l lang
31 $(MAKE) /f NTMakefile /nologo LANG=en_US lang
37 $(MAKE) /f NTMakefile /nologo install
40 install: customactions languages
43 light -nologo -out $(MSIFILE) \
44 -loc lang\$(LANG)\strings.wxl \
48 $(WIXOBJ): openafs.wxs $(WIXINCLUDES)
49 candle -nologo -out $@ \
50 "-dCellName=$(CELLNAME_DEFAULT)" \
52 -dNumericVersion=$(AFSPRODUCT_VERSION) \
53 -dVersionMajor=$(AFSPRODUCT_VER_MAJOR) \
54 -dVersionMinor=$(AFSPRODUCT_VER_MINOR) \
55 -dVersionPatch=$(AFSPRODUCT_VER_PATCH) \
56 "-dDestDir=$(DESTDIR)\\" \
57 -dCellDbFile=CellServDB \
64 for %l in ( $(LANGUAGES) ) do (
65 $(MAKE) /f NTMakefile /nologo LANG=%l lang_clean
68 $(MAKE) /f NTMakefile /nologo clean