js/src/shell/Makefile.in
author Ted Campbell <tcampbell@mozilla.com>
Sat, 10 Jul 2021 21:50:53 +0000
changeset 585259 e5591aaa2cdc8ace99686b1e09bcd5d4c7c39fa6
parent 371897 83612510f824dc2af1abd85e3fd6f933aa3afc4a
permissions -rw-r--r--
Bug 1719866 - Compute jsshell binary name correctly on Windows. r=sfink Differential Revision: https://phabricator.services.mozilla.com/D119519

# -*- Mode: makefile -*-
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

ifdef QEMU_EXE
MOZ_POST_PROGRAM_COMMAND = $(topsrcdir)/build/qemu-wrap --qemu $(QEMU_EXE) --libdir $(CROSS_LIB)
endif

include $(topsrcdir)/config/rules.mk

# Install versioned binary for parallel installability in Linux distributions
install:: $(PROGRAM)
	cp $^ $(basename $^)$(MOZJS_MAJOR_VERSION)$(suffix $^)
	$(SYSINSTALL) $(basename $^)$(MOZJS_MAJOR_VERSION)$(suffix $^) $(DESTDIR)$(bindir)