michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: dist_dest = $(DIST)/$(APP_NAME).app michael@0: michael@0: PREF_JS_EXPORTS = $(srcdir)/mobile.js michael@0: michael@0: ifndef LIBXUL_SDK michael@0: ifneq (Android,$(OS_TARGET)) michael@0: LIBS += \ michael@0: $(XPCOM_STANDALONE_GLUE_LDOPTS) \ michael@0: $(NULL) michael@0: michael@0: endif michael@0: endif #LIBXUL_SDK michael@0: michael@0: # Make sure the standalone glue doesn't try to get libxpcom.so from mobile/app. michael@0: NSDISTMODE = copy michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: APP_BINARY = $(MOZ_APP_NAME)$(BIN_SUFFIX) michael@0: michael@0: libs:: michael@0: ifdef LIBXUL_SDK michael@0: cp $(LIBXUL_DIST)/bin/xulrunner-stub$(BIN_SUFFIX) $(DIST)/bin/$(APP_BINARY) michael@0: endif michael@0: ifndef SKIP_COPY_XULRUNNER #{ michael@0: ifdef LIBXUL_SDK michael@0: $(NSINSTALL) -D $(DIST)/bin/xulrunner michael@0: (cd $(LIBXUL_SDK)/bin && tar $(TAR_CREATE_FLAGS) - .) | (cd $(DIST)/bin/xulrunner && tar -xf -) michael@0: endif michael@0: endif #} SKIP_COPY_XULRUNNER michael@0: michael@0: $(NSINSTALL) -D $(DIST)/bin/chrome/icons/default