-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
31 lines (23 loc) · 1.02 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
all: prepare deps build
prepare:
git submodule update --init
mkdir -p ./3d_party/libjingle; cd ./3d_party/libjingle; ../depot_tools/gclient config http://libjingle.googlecode.com/svn/trunk; GYP_GENERATORS=make ../depot_tools/gclient sync --force;
mkdir -p ./3d_party/googletest; cd ./3d_party/googletest; ../depot_tools/gclient config http://googletest.googlecode.com/svn/trunk/; GYP_GENERATORS=make ../depot_tools/gclient sync --force;
mkdir -p ./3d_party/googlemock; cd ./3d_party/googlemock; ../depot_tools/gclient config http://googlemock.googlecode.com/svn/trunk/; GYP_GENERATORS=make ../depot_tools/gclient sync --force;
npm install
deps:
cd 3d_party/openssl; ./config; make;
cd 3d_party/libjingle/trunk; make;
build:
./node_modules/.bin/node-gyp --arch=i386 configure
./node_modules/.bin/node-gyp build
speedytest:
arch --i386 node ./test.js
clientpure:
cd src; make;
./src/clientpure
test:
./build/Release/client.test.run
clean:
./node_modules/.bin/node-gyp clean
.PHONY: build clean prepare deps test speedytest