forked from google/certificate-transparency
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gclient
79 lines (59 loc) · 2.44 KB
/
build.gclient
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# TODO(pphaneuf): Make this be good.
INSTALL_DIR?=$(shell pwd)/install
export INSTALL_DIR
PKG_CONFIG_PATH=$(shell pwd)/install/lib/pkgconfig
export PKG_CONFIG_PATH
PHONY: libunwind tcmalloc objecthash boringssl openssl protobuf libevent libevhtp gflags glog ldns sqlite3 leveldb json-c configure-ct
all: configure-ct
_libunwind:
if [ -d libunwind ]; then \
$(MAKE) -C libunwind -f ../certificate-transparency/build/Makefile.unwind; \
(cd libunwind && git checkout --); \
fi
_tcmalloc:
$(MAKE) -C tcmalloc -f ../certificate-transparency/build/Makefile.tcmalloc
cd tcmalloc && git checkout --
_icu4c:
$(MAKE) -C icu4c/source -f `pwd`/certificate-transparency/build/Makefile.icu4c
_objecthash:
$(MAKE) -C certificate-transparency/third_party/objecthash -f `pwd`/certificate-transparency/build/Makefile.objecthash
_boringssl:
$(MAKE) -C boringssl -f `pwd`/certificate-transparency/build/Makefile.boringssl
_openssl:
$(MAKE) -C openssl -f `pwd`/certificate-transparency/build/Makefile.openssl
cd openssl && git checkout -- apps/progs.h crypto/bn/bn_prime.h
_protobuf:
$(MAKE) -C protobuf -f `pwd`/certificate-transparency/build/Makefile.protobuf
cd protobuf && git checkout --
cd protobuf/gtest && git checkout -- msvc/
_libevent:
$(MAKE) -C libevent -f ../certificate-transparency/build/Makefile.libevent
cd libevent && git checkout --
_libevhtp:
$(MAKE) -C libevhtp -f `pwd`/certificate-transparency/build/Makefile.libevhtp
cd libevhtp && git checkout --
_gflags:
$(MAKE) -C gflags -f ../certificate-transparency/build/Makefile.gflags
cd gflags && git checkout --
_glog:
$(MAKE) -C glog -f ../certificate-transparency/build/Makefile.glog
# TODO(alcutter): get these removed in Ben's "fix" branch
cd glog && git checkout -- config.guess config.sub install-sh
_ldns:
$(MAKE) -C ldns -f ../certificate-transparency/build/Makefile.ldns
cd ldns && git checkout --
_sqlite3:
$(MAKE) -C sqlite3 -f ../certificate-transparency/build/Makefile.sqlite3
cd sqlite3 && git checkout --
_libsnappy:
$(MAKE) -C libsnappy -f ../certificate-transparency/build/Makefile.libsnappy
cd libsnappy && git checkout --
_leveldb:
$(MAKE) -C leveldb -f ../certificate-transparency/build/Makefile.leveldb
cd leveldb && git checkout --
_json-c:
$(MAKE) -C json-c -f ../certificate-transparency/build/Makefile.json-c
cd json-c && git checkout --
_configure-ct:
# TODO(alcutter/pphaneuf): consider inlining the contents of this script:
certificate-transparency/build/configure-ct