forked from smith7800/vanillacoin
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Jamfile
executable file
·208 lines (189 loc) · 4.16 KB
/
Jamfile
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
import modules ;
import os ;
ECHO "OS =" [ os.name ] ;
BOOST_ROOT = [ modules.peek : BOOST_ROOT ] ;
if [ os.name ] = MACOSX
{
BOOST_ROOT = ./deps/boost ;
}
else if [ os.name ] = NT
{
BOOST_ROOT = ./deps/boost ;
}
else if [ os.name ] = LINUX
{
BOOST_ROOT = ./deps/boost ;
}
else
{
if ! $(BOOST_ROOT)
{
BOOST_ROOT = ./deps/boost ;
}
}
ECHO "BOOST_ROOT =" $(BOOST_ROOT) ;
if $(BOOST_ROOT)
{
use-project /boost : $(BOOST_ROOT) ;
}
SOURCES =
account
accounting_entry
address
address_manager
alert
alert_manager
alert_unsigned
base58
big_number
blake256
block
block_index
block_index_disk
block_locator
block_merkle
chainblender
chainblender_broadcast
chainblender_join
chainblender_leave
chainblender_manager
chainblender_status
checkpoint_sync
checkpoint_sync_unsigned
checkpoints
configuration
crypter
database_stack
db
db_env
db_tx
db_tx_bdb
db_tx_ldb
db_wallet
ecdhe
file
filesystem
gateway
globals
hash
hc256
hd_configuration
hd_ecdsa
hd_keychain
http_transport
incentive
incentive_answer
incentive_collaterals
incentive_manager
incentive_question
incentive_sync
incentive_vote
inventory_vector
kernel
key
key_pool
key_public
key_reserved
key_store_basic
key_store_crypto
key_wallet
key_wallet_master
merkle_tree_partial
message
mining
mining_manager
nat_pmp
nat_pmp_client
point_in
point_out
reward
ripemd160
rpc_connection
rpc_json_parser
rpc_manager
rpc_server
rpc_transport
script
script_checker
script_checker_queue
secret
sha256
signature_cache
stack
stack_impl
status_manager
tcp_acceptor
tcp_connection
tcp_connection_manager
tcp_transport
transaction
transaction_bloom_filter
transaction_in
transaction_index
transaction_merkle
transaction_out
transaction_pool
transaction_position
transaction_wallet
upnp_client
utility
wallet
wallet_manager
whirlpool
zerotime
zerotime_answer
zerotime_lock
zerotime_manager
zerotime_question
zerotime_vote
;
local usage-requirements =
<include>./include
<include>./coin/include
<include>./deps
<include>./database/include
<toolset>gcc:<include>$(BOOST_ROOT)
<toolset>clang-darwin:<include>$(BOOST_ROOT)
<toolset>darwin:<include>$(BOOST_ROOT)
<toolset>msvc:<include>$(BOOST_ROOT)
<toolset>gcc:<include>./deps/openssl/include
<toolset>clang-darwin:<include>./deps/platforms/osx/openssl/include
<toolset>darwin:<include>./deps/platforms/osx/openssl/include
<toolset>msvc:<include>./deps/platforms/windows/openssl/include
<toolset>gcc:<include>./deps/db/include
<toolset>clang-darwin:<include>./deps/platforms/osx/db/include
<toolset>darwin:<include>./deps/platforms/osx/db/include
<toolset>msvc:<include>./deps/platforms/windows/db/build_windows
<toolset>gcc:<include>./deps/leveldb/leveldb/include
<toolset>clang-darwin:<include>./deps/leveldb/leveldb/include
<toolset>darwin:<include>./deps/leveldb/leveldb/include
<toolset>msvc:<include>./deps/leveldb/leveldb/include
<toolset>msvc,<variant>debug:<include>$(BOOST_ROOT)/build/debug/include
<toolset>msvc,<variant>release:<include>$(BOOST_ROOT)/build/release/include
<variant>release:<define>NDEBUG
<define>_FILE_OFFSET_BITS=64
<toolset>clang-darwin:<define>BOOST_NO_CXX11_NUMERIC_LIMITS
<toolset>msvc:<define>_WIN32_WINNT=0x0501
<toolset>msvc:<define>_UNICODE
<toolset>msvc:<define>UNICODE
<toolset>msvc:<cxxflags>/Zc:wchar_t
<toolset>msvc:<cxxflags>/Zc:forScope
<toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
<toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
<toolset>msvc:<define>_WIN32_WINNT=0x0501
<toolset>msvc:<define>BOOST_ALL_NO_LIB=1
<toolset>msvc,<variant>release:<linkflags>/OPT:ICF=5
<toolset>msvc,<variant>release:<linkflags>/OPT:REF
;
project coin ;
lib coin
: # sources
src/$(SOURCES).cpp
: # requirements
<threading>multi
$(usage-requirements)
: # default build
<link>static
: # usage requirements
$(usage-requirements)
;