forked from smith7800/vanillacoin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jamfile
executable file
·176 lines (158 loc) · 3.41 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
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
block
block_index
block_index_disk
block_locator
checkpoint_sync
checkpoint_sync_unsigned
checkpoints
configuration
crypter
database_stack
db
db_env
db_tx
db_wallet
file
filesystem
gateway
globals
hash
http_transport
inventory_vector
kernel
key
key_pool
key_public
key_reserved
key_store_basic
key_store_crypto
key_wallet
key_wallet_master
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
secret
sha256
signature_cache
stack
stack_impl
status_manager
tcp_acceptor
tcp_connection
tcp_connection_manager
tcp_transport
transaction
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
;
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>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)
;