1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 # You can obtain one at http://mozilla.org/MPL/2.0/.
14 include $(topsrcdir
)/toolkit
/mozapps
/installer
/package-name.mk
17 SFX_MODULE
= $(topsrcdir
)/other-licenses
/7zstub
/firefox
/7zSD.sfx
18 APP_VERSION
:= $(shell cat
$(topsrcdir
)/browser
/config
/version.txt
)
19 DEFINES
+= -DAPP_VERSION
=$(APP_VERSION
)
24 --l10n-dir
=$(LOCALE_MERGEDIR
)/webapprt
/webapp-uninstaller \
25 --l10n-dir
=$(call EXPAND_LOCALE_SRCDIR
,webapprt
/locales
)/webapp-uninstaller \
26 --l10n-dir
=$(topsrcdir
)/webapprt
/locales
/en-US
/webapp-uninstaller \
29 PPL_LOCALE_ARGS
=$(call EXPAND_LOCALE_SRCDIR
,webapprt
/locales
)/webapp-uninstaller
33 $(RM
) -r
$(CONFIG_DIR
)
34 $(MKDIR
) $(CONFIG_DIR
)
35 $(call py_action
,preprocessor
,-Fsubstitution \
36 $(DEFINES
) $(ACDEFINES
) \
37 $(srcdir)/webapp-uninstaller.nsi.in
-o
$(CONFIG_DIR
)/webapp-uninstaller.nsi
)
39 $(topsrcdir
)/toolkit
/mozapps
/installer
/windows
/nsis
/preprocess-locale.py \
40 --create-nlf-file
$(topsrcdir
) $(AB_CD
) $(CONFIG_DIR
)
42 $(topsrcdir
)/toolkit
/mozapps
/installer
/windows
/nsis
/preprocess-locale.py \
43 --preprocess-single-file
$(topsrcdir
) $(PPL_LOCALE_ARGS
) $(CONFIG_DIR
) \
44 webapp-uninstaller.properties webapp-uninstaller-locale.nsh
45 $(MAKE
) webapp_uninstaller
47 GARBAGE_DIRS
+= instgen
49 PROGRAMS_DEST
= $(DIST
)/bin
51 include $(topsrcdir
)/config
/rules.mk
52 include $(topsrcdir
)/toolkit
/mozapps
/installer
/windows
/nsis
/makensis.mk
54 GRE_BUILDID
:= $(shell cat
$(DEPTH
)/config
/buildid
)
55 DEFINES
+= -DGRE_BUILDID
=$(GRE_BUILDID
)
57 webapprt.
$(OBJ_SUFFIX
): $(DEPTH
)/config
/buildid