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: # finds the location of the browser and puts it in the variable $(browser_path) michael@0: michael@0: ifneq (,$(filter WINNT,$(OS_ARCH))) michael@0: program = $(MOZ_APP_NAME)$(BIN_SUFFIX) michael@0: else michael@0: program = $(MOZ_APP_NAME)-bin$(BIN_SUFFIX) michael@0: endif michael@0: michael@0: TARGET_DIST = $(TARGET_DEPTH)/dist michael@0: michael@0: ifeq ($(MOZ_BUILD_APP),camino) michael@0: browser_path = $(TARGET_DIST)/Camino.app/Contents/MacOS/Camino michael@0: else michael@0: ifeq ($(OS_ARCH),Darwin) michael@0: browser_path = $(TARGET_DIST)/$(MOZ_MACBUNDLE_NAME)/Contents/MacOS/$(program) michael@0: else michael@0: browser_path = $(TARGET_DIST)/bin/$(program) michael@0: endif michael@0: endif