Sha256: d24a5b18fc18a7798bb0fab1a6d2eb2b69e2adf9861edb3f1c05c9cece47a71d

Contents?: true

Size: 846 Bytes

Versions: 5

Compression:

Stored size: 846 Bytes

Contents

SCONS=build/scons/install/bin/scons
SCONSSRC=build/scons
V8SRC=build/v8
LIBV8=build/v8/libv8.a
LIBV8_G=build/v8/libv8_g.a
GCC_VERSION=$(shell ruby -e 'puts %x{gcc --version} =~ /(\d)\.(\d)\.\d/ ? $$1 + $$2 : "UNKNOWN"')
ARCH=$(shell ruby detect_cpu.rb)

all: $(LIBV8)

debug: $(LIBV8_G)
	cp $(LIBV8_G) $(LIBV8)

$(LIBV8): $(SCONS) $(V8SRC)
	cd build/v8 && GCC_VERSION=$(GCC_VERSION) ../scons/install/bin/scons arch=$(ARCH)

$(LIBV8_G): $(SCONS) $(V8SRC)
	cd build/v8 && GCC_VERSION=$(GCC_VERSION) ../scons/install/bin/scons arch=$(ARCH) mode=debug

$(SCONS): $(SCONSSRC)
	mkdir -p $(SCONSSRC)/install
	python build/scons/setup.py install --prefix=install

$(V8SRC): build
	cp -r v8 build
	patch -td build/v8 -i ../../fpic-on-linux-amd64.patch

$(SCONSSRC): build
	cp -r scons build

build:
	mkdir -p build

scons: $(SCONS)

clean:
	rm -rf build

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
libv8-3.3.10.4 lib/libv8/Makefile
libv8-3.5.10.beta1 lib/libv8/Makefile
libv8-3.3.10.2 lib/libv8/Makefile
therubyracer-0.9.0beta4 ext/v8/upstream/Makefile
therubyracer-0.9.0beta3 ext/v8/upstream/Makefile