blob: ebc58cfc7f0fd58b463bdb6f7bd2ae37436823ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# -*- 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 $^ $^$(MOZJS_MAJOR_VERSION)
$(SYSINSTALL) $^$(MOZJS_MAJOR_VERSION) $(DESTDIR)$(bindir)
|