mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Build ragel
This commit is contained in:
parent
402c309607
commit
28e417ef87
2 changed files with 11 additions and 0 deletions
|
@ -37,6 +37,7 @@ ifeq ($(OSTYPE),darwin)
|
|||
endif
|
||||
|
||||
SERVO_DEPS += \
|
||||
src/ragel/ragel/ragel \
|
||||
src/rust-mozjs/libmozjs.dummy \
|
||||
src/rust-azure/libazure.dummy \
|
||||
src/rust-sdl/libsdl.dummy \
|
||||
|
@ -50,6 +51,7 @@ CHECK_DEPS += \
|
|||
$(NULL)
|
||||
|
||||
CLEAN_DEPS += \
|
||||
clean-ragel \
|
||||
clean-rust-mozjs \
|
||||
clean-rust-sdl \
|
||||
clean-rust-azure \
|
||||
|
@ -65,6 +67,9 @@ servo: $(SERVO_DEPS)
|
|||
servo-test: $(SERVO_DEPS)
|
||||
$(RUSTC) $(RUSTFLAGS) --test -o $@ $<
|
||||
|
||||
src/ragel/ragel/ragel:
|
||||
$(MAKE) -C src/ragel
|
||||
|
||||
src/mozjs/libjs_static.a:
|
||||
$(MAKE) -C src/mozjs
|
||||
|
||||
|
@ -104,6 +109,10 @@ check-rust-cocoa:
|
|||
.PHONY: clean
|
||||
clean: $(CLEAN_DEPS)
|
||||
|
||||
.PHONY: clean-ragel
|
||||
clean-ragel:
|
||||
$(MAKE) clean -C src/ragel
|
||||
|
||||
.PHONY: clean-rust-mozjs
|
||||
clean-rust-mozjs:
|
||||
$(MAKE) clean -C src/rust-mozjs
|
||||
|
|
|
@ -3,12 +3,14 @@
|
|||
SRCDIR="$(cd $(dirname $0) && pwd)"
|
||||
sed "s#%VPATH%#${SRCDIR}#" ${SRCDIR}/Makefile.in > Makefile
|
||||
|
||||
mkdir -p src/ragel
|
||||
mkdir -p src/mozjs
|
||||
mkdir -p src/rust-mozjs
|
||||
mkdir -p src/rust-sdl
|
||||
mkdir -p src/rust-azure
|
||||
mkdir -p src/rust-cocoa
|
||||
|
||||
(cd src/ragel && sh ${SRCDIR}/src/ragel/configure)
|
||||
(cd src/mozjs && sh ${SRCDIR}/src/mozjs/js/src/configure)
|
||||
(cd src/rust-mozjs && sh ${SRCDIR}/src/rust-mozjs/configure)
|
||||
(cd src/rust-sdl && sh ${SRCDIR}/src/rust-sdl/configure)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue