|
|
|
TEMPLATE = app
|
|
|
|
TARGET =
|
|
|
|
DEPENDPATH += .
|
|
|
|
INCLUDEPATH += src src/json src/cryptopp src/qt
|
|
|
|
|
|
|
|
# for boost 1.37, add -mt to the boost libraries
|
|
|
|
unix:LIBS += -lssl -lcrypto -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -ldb_cxx
|
|
|
|
macx:DEFINES += __WXMAC_OSX__ MSG_NOSIGNAL=0 BOOST_FILESYSTEM_VERSION=3
|
|
|
|
macx:LIBS += -lboost_thread-mt
|
|
|
|
|
|
|
|
# disable quite some warnings because bitcoin core "sins" a lot
|
|
|
|
QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wno-invalid-offsetof -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-char-subscripts -Wno-unused-value -Wno-sequence-point -Wno-parentheses -Wno-unknown-pragmas -Wno-switch
|
|
|
|
|
|
|
|
# TODO: WINDOWS defines, -DSSL
|
|
|
|
|
|
|
|
# Input
|
|
|
|
DEPENDPATH += src/qt src src/cryptopp src json/include
|
|
|
|
HEADERS += src/qt/bitcoingui.h \
|
|
|
|
src/qt/transactiontablemodel.h \
|
|
|
|
src/qt/addresstablemodel.h \
|
|
|
|
src/qt/optionsdialog.h \
|
|
|
|
src/qt/sendcoinsdialog.h \
|
|
|
|
src/qt/addressbookdialog.h \
|
|
|
|
src/qt/aboutdialog.h \
|
|
|
|
src/qt/editaddressdialog.h \
|
|
|
|
src/qt/bitcoinaddressvalidator.h \
|
|
|
|
src/base58.h \
|
|
|
|
src/bignum.h \
|
|
|
|
src/util.h \
|
|
|
|
src/uint256.h \
|
|
|
|
src/serialize.h \
|
|
|
|
src/cryptopp/stdcpp.h \
|
|
|
|
src/cryptopp/smartptr.h \
|
|
|
|
src/cryptopp/simple.h \
|
|
|
|
src/cryptopp/sha.h \
|
|
|
|
src/cryptopp/secblock.h \
|
|
|
|
src/cryptopp/pch.h \
|
|
|
|
src/cryptopp/misc.h \
|
|
|
|
src/cryptopp/iterhash.h \
|
|
|
|
src/cryptopp/cryptlib.h \
|
|
|
|
src/cryptopp/cpu.h \
|
|
|
|
src/cryptopp/config.h \
|
|
|
|
src/strlcpy.h \
|
|
|
|
src/main.h \
|
|
|
|
src/net.h \
|
|
|
|
src/key.h \
|
|
|
|
src/db.h \
|
|
|
|
src/script.h \
|
|
|
|
src/noui.h \
|
|
|
|
src/init.h \
|
|
|
|
src/headers.h \
|
|
|
|
src/irc.h \
|
|
|
|
src/json/json_spirit_writer_template.h \
|
|
|
|
src/json/json_spirit_writer.h \
|
|
|
|
src/json/json_spirit_value.h \
|
|
|
|
src/json/json_spirit_utils.h \
|
|
|
|
src/json/json_spirit_stream_reader.h \
|
|
|
|
src/json/json_spirit_reader_template.h \
|
|
|
|
src/json/json_spirit_reader.h \
|
|
|
|
src/json/json_spirit_error_position.h \
|
|
|
|
src/json/json_spirit.h \
|
|
|
|
src/rpc.h \
|
|
|
|
src/qt/clientmodel.h \
|
|
|
|
src/qt/guiutil.h \
|
|
|
|
src/qt/transactionrecord.h \
|
|
|
|
src/qt/guiconstants.h \
|
|
|
|
src/qt/optionsmodel.h \
|
|
|
|
src/qt/monitoreddatamapper.h \
|
|
|
|
src/externui.h \
|
|
|
|
src/qt/transactiondesc.h \
|
|
|
|
src/qt/transactiondescdialog.h
|
|
|
|
SOURCES += src/qt/bitcoin.cpp src/qt/bitcoingui.cpp \
|
|
|
|
src/qt/transactiontablemodel.cpp \
|
|
|
|
src/qt/addresstablemodel.cpp \
|
|
|
|
src/qt/optionsdialog.cpp \
|
|
|
|
src/qt/sendcoinsdialog.cpp \
|
|
|
|
src/qt/addressbookdialog.cpp \
|
|
|
|
src/qt/aboutdialog.cpp \
|
|
|
|
src/qt/editaddressdialog.cpp \
|
|
|
|
src/qt/bitcoinaddressvalidator.cpp \
|
|
|
|
src/cryptopp/sha.cpp \
|
|
|
|
src/cryptopp/cpu.cpp \
|
|
|
|
src/util.cpp \
|
|
|
|
src/script.cpp \
|
|
|
|
src/main.cpp \
|
|
|
|
src/init.cpp \
|
|
|
|
src/rpc.cpp \
|
|
|
|
src/net.cpp \
|
|
|
|
src/irc.cpp \
|
|
|
|
src/db.cpp \
|
|
|
|
src/json/json_spirit_writer.cpp \
|
|
|
|
src/json/json_spirit_value.cpp \
|
|
|
|
src/json/json_spirit_reader.cpp \
|
|
|
|
src/qt/clientmodel.cpp \
|
|
|
|
src/qt/guiutil.cpp \
|
|
|
|
src/qt/transactionrecord.cpp \
|
|
|
|
src/qt/optionsmodel.cpp \
|
|
|
|
src/qt/monitoreddatamapper.cpp \
|
|
|
|
src/qt/transactiondesc.cpp \
|
|
|
|
src/qt/transactiondescdialog.cpp \
|
|
|
|
src/qt/bitcoinstrings.cpp
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
src/qt/bitcoin.qrc
|
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
src/qt/forms/sendcoinsdialog.ui \
|
|
|
|
src/qt/forms/addressbookdialog.ui \
|
|
|
|
src/qt/forms/aboutdialog.ui \
|
|
|
|
src/qt/forms/editaddressdialog.ui \
|
|
|
|
src/qt/forms/transactiondescdialog.ui
|
|
|
|
|
|
|
|
CODECFORTR = UTF-8
|
|
|
|
TRANSLATIONS = src/qt/locale/bitcoin_nl.ts
|