2018-05-21 12:23:52 -04:00
|
|
|
################################################################################
|
|
|
|
# Retroshare.pro #
|
|
|
|
# Copyright (C) 2018, Retroshare team <retroshare.team@gmailcom> #
|
|
|
|
# #
|
|
|
|
# This program is free software: you can redistribute it and/or modify #
|
|
|
|
# it under the terms of the GNU Affero General Public License as #
|
|
|
|
# published by the Free Software Foundation, either version 3 of the #
|
|
|
|
# License, or (at your option) any later version. #
|
|
|
|
# #
|
|
|
|
# This program is distributed in the hope that it will be useful, #
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
|
|
|
# GNU Affero General Public License for more details. #
|
|
|
|
# #
|
|
|
|
# You should have received a copy of the GNU Affero General Public License #
|
|
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>. #
|
|
|
|
################################################################################
|
|
|
|
|
2016-07-18 23:17:22 -04:00
|
|
|
!include("retroshare.pri"): error("Could not include file retroshare.pri")
|
|
|
|
|
|
|
|
TEMPLATE = subdirs
|
|
|
|
|
2016-08-02 18:48:19 -04:00
|
|
|
SUBDIRS += openpgpsdk
|
2016-07-18 23:17:22 -04:00
|
|
|
openpgpsdk.file = openpgpsdk/src/openpgpsdk.pro
|
|
|
|
|
2017-12-31 11:27:21 -05:00
|
|
|
retrotor {
|
2018-04-15 07:41:52 -04:00
|
|
|
libretroshare.depends = openpgpsdk
|
2017-12-31 11:27:21 -05:00
|
|
|
} else {
|
|
|
|
SUBDIRS += libbitdht
|
|
|
|
libbitdht.file = libbitdht/src/libbitdht.pro
|
2018-06-23 11:13:38 -04:00
|
|
|
libretroshare.depends = openpgpsdk libbitdht
|
|
|
|
}
|
|
|
|
|
|
|
|
rs_jsonapi {
|
|
|
|
SUBDIRS += jsonapi-generator
|
|
|
|
jsonapi-generator.file = jsonapi-generator/src/jsonapi-generator.pro
|
|
|
|
libretroshare.depends += jsonapi-generator
|
2017-12-31 11:27:21 -05:00
|
|
|
}
|
2016-07-18 23:17:22 -04:00
|
|
|
|
2016-08-02 18:48:19 -04:00
|
|
|
SUBDIRS += libretroshare
|
2016-07-18 23:17:22 -04:00
|
|
|
libretroshare.file = libretroshare/src/libretroshare.pro
|
|
|
|
|
2016-08-02 18:48:19 -04:00
|
|
|
SUBDIRS += libresapi
|
2016-07-18 23:17:22 -04:00
|
|
|
libresapi.file = libresapi/src/libresapi.pro
|
|
|
|
libresapi.depends = libretroshare
|
|
|
|
|
2016-08-02 18:48:19 -04:00
|
|
|
retroshare_gui {
|
|
|
|
SUBDIRS += retroshare_gui
|
|
|
|
retroshare_gui.file = retroshare-gui/src/retroshare-gui.pro
|
|
|
|
retroshare_gui.depends = libretroshare libresapi
|
|
|
|
retroshare_gui.target = retroshare_gui
|
|
|
|
}
|
|
|
|
|
2017-12-31 11:27:21 -05:00
|
|
|
retrotor {
|
|
|
|
} else {
|
2016-08-02 18:48:19 -04:00
|
|
|
retroshare_nogui {
|
|
|
|
SUBDIRS += retroshare_nogui
|
|
|
|
retroshare_nogui.file = retroshare-nogui/src/retroshare-nogui.pro
|
|
|
|
retroshare_nogui.depends = libretroshare libresapi
|
|
|
|
retroshare_nogui.target = retroshare_nogui
|
|
|
|
}
|
2017-12-31 11:27:21 -05:00
|
|
|
}
|
2016-07-18 23:17:22 -04:00
|
|
|
|
2016-08-02 18:48:19 -04:00
|
|
|
retroshare_android_service {
|
|
|
|
SUBDIRS += retroshare_android_service
|
|
|
|
retroshare_android_service.file = retroshare-android-service/src/retroshare-android-service.pro
|
2017-04-18 17:14:44 -04:00
|
|
|
retroshare_android_service.depends = libresapi
|
2016-08-02 18:48:19 -04:00
|
|
|
retroshare_android_service.target = retroshare_android_service
|
|
|
|
}
|
2016-07-18 23:17:22 -04:00
|
|
|
|
2017-04-07 12:26:08 -04:00
|
|
|
retroshare_android_notify_service {
|
|
|
|
SUBDIRS += retroshare_android_notify_service
|
|
|
|
retroshare_android_notify_service.file = retroshare-android-notify-service/src/retroshare-android-notify-service.pro
|
2017-04-18 17:14:44 -04:00
|
|
|
retroshare_android_notify_service.depends = retroshare_android_service
|
2017-04-07 12:26:08 -04:00
|
|
|
retroshare_android_notify_service.target = retroshare_android_notify_service
|
|
|
|
}
|
|
|
|
|
2016-08-22 21:19:33 -04:00
|
|
|
retroshare_qml_app {
|
|
|
|
SUBDIRS += retroshare_qml_app
|
|
|
|
retroshare_qml_app.file = retroshare-qml-app/src/retroshare-qml-app.pro
|
2017-04-18 17:14:44 -04:00
|
|
|
retroshare_qml_app.depends = retroshare_android_service
|
2016-08-22 21:19:33 -04:00
|
|
|
retroshare_qml_app.target = retroshare_qml_app
|
2017-04-07 12:26:08 -04:00
|
|
|
|
|
|
|
android-g++ {
|
|
|
|
retroshare_qml_app.depends += retroshare_android_notify_service
|
|
|
|
}
|
2016-08-22 21:19:33 -04:00
|
|
|
}
|
|
|
|
|
2016-08-02 18:48:19 -04:00
|
|
|
retroshare_plugins {
|
|
|
|
SUBDIRS += plugins
|
|
|
|
plugins.file = plugins/plugins.pro
|
|
|
|
plugins.depends = retroshare_gui
|
|
|
|
plugins.target = plugins
|
|
|
|
}
|
2016-07-18 23:17:22 -04:00
|
|
|
|
|
|
|
wikipoos {
|
|
|
|
SUBDIRS += pegmarkdown
|
|
|
|
pegmarkdown.file = supportlibs/pegmarkdown/pegmarkdown.pro
|
|
|
|
retroshare_gui.depends += pegmarkdown
|
|
|
|
}
|
|
|
|
|
|
|
|
tests {
|
|
|
|
SUBDIRS += librssimulator
|
|
|
|
librssimulator.file = tests/librssimulator/librssimulator.pro
|
|
|
|
|
|
|
|
SUBDIRS += unittests
|
|
|
|
unittests.file = tests/unittests/unittests.pro
|
|
|
|
unittests.depends = libretroshare librssimulator
|
2016-07-15 09:03:41 -04:00
|
|
|
unittests.target = unittests
|
2016-07-18 23:17:22 -04:00
|
|
|
}
|