Mercurial > hg > bitcoin
comparison src/makefile.unix @ 2323:9fc52dc07f53 draft
Define TEST_DATA_DIR so unit tests can be run from any current working directory
author | Gavin Andresen <gavinandresen@gmail.com> |
---|---|
date | Thu, 26 Apr 2012 11:20:44 -0400 |
parents | fd09fd11692a |
children | 8aabf0bbe78f |
comparison
equal
deleted
inserted
replaced
2322:e28cb2309ead | 2323:9fc52dc07f53 |
---|---|
6 | 6 |
7 DEFS=-DNOPCH | 7 DEFS=-DNOPCH |
8 | 8 |
9 DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH)) | 9 DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH)) |
10 LIBS = $(addprefix -L,$(BOOST_LIB_PATH) $(BDB_LIB_PATH) $(OPENSSL_LIB_PATH)) | 10 LIBS = $(addprefix -L,$(BOOST_LIB_PATH) $(BDB_LIB_PATH) $(OPENSSL_LIB_PATH)) |
11 | |
12 TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data) | |
11 | 13 |
12 LMODE = dynamic | 14 LMODE = dynamic |
13 LMODE2 = dynamic | 15 LMODE2 = dynamic |
14 ifdef STATIC | 16 ifdef STATIC |
15 LMODE = static | 17 LMODE = static |