Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
michael@0 | 1 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 4 | |
michael@0 | 5 | dist_dest = $(DIST)/$(APP_NAME).app |
michael@0 | 6 | |
michael@0 | 7 | PREF_JS_EXPORTS = $(srcdir)/mobile.js |
michael@0 | 8 | |
michael@0 | 9 | ifndef LIBXUL_SDK |
michael@0 | 10 | ifneq (Android,$(OS_TARGET)) |
michael@0 | 11 | LIBS += \ |
michael@0 | 12 | $(XPCOM_STANDALONE_GLUE_LDOPTS) \ |
michael@0 | 13 | $(NULL) |
michael@0 | 14 | |
michael@0 | 15 | endif |
michael@0 | 16 | endif #LIBXUL_SDK |
michael@0 | 17 | |
michael@0 | 18 | # Make sure the standalone glue doesn't try to get libxpcom.so from mobile/app. |
michael@0 | 19 | NSDISTMODE = copy |
michael@0 | 20 | |
michael@0 | 21 | include $(topsrcdir)/config/rules.mk |
michael@0 | 22 | |
michael@0 | 23 | APP_BINARY = $(MOZ_APP_NAME)$(BIN_SUFFIX) |
michael@0 | 24 | |
michael@0 | 25 | libs:: |
michael@0 | 26 | ifdef LIBXUL_SDK |
michael@0 | 27 | cp $(LIBXUL_DIST)/bin/xulrunner-stub$(BIN_SUFFIX) $(DIST)/bin/$(APP_BINARY) |
michael@0 | 28 | endif |
michael@0 | 29 | ifndef SKIP_COPY_XULRUNNER #{ |
michael@0 | 30 | ifdef LIBXUL_SDK |
michael@0 | 31 | $(NSINSTALL) -D $(DIST)/bin/xulrunner |
michael@0 | 32 | (cd $(LIBXUL_SDK)/bin && tar $(TAR_CREATE_FLAGS) - .) | (cd $(DIST)/bin/xulrunner && tar -xf -) |
michael@0 | 33 | endif |
michael@0 | 34 | endif #} SKIP_COPY_XULRUNNER |
michael@0 | 35 | |
michael@0 | 36 | $(NSINSTALL) -D $(DIST)/bin/chrome/icons/default |