GNUmakefile
author Benjamin Bouvier <benj@benj.me>
Tue, 25 Sep 2018 15:56:56 +0200
changeset 438649 537457dc2f47fa9436c5abb6b27977ae9727e059
parent 228789 07479758ab6870988d3165990e8d4b468628aeba
permissions -rw-r--r--
Bug 1490948: Add build system support for a Rust library in Spidermonkey; r=chmanchester This introduces two new crates: - jsrust, for standalone builds. This crate is compiled into a static library libjsrust.a, which gets linked into the shared Spidermonkey library when it's built, or into the static Spidermonkey library otherwise. This is just a static library wrapping jsrust_shared below. - jsrust_shared, for Gecko embedding. It just references other Rust crates actively used in Spidermonkey. It is used to be embedded as part of a new Rust dependency in Gecko (in gkrust).

# This Makefile is used as a shim to aid people with muscle memory
# so that they can type "make".
#
# This file and all of its targets should not be used by anything important.

all: build

build:
	./mach build

clean:
	./mach clobber

.PHONY: all build clean