mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
b66f466c7a
Allows installation of for example only retroshare-nogui, without installing files only relevant for gui $ qmake $ make retroshare-nogui $ make retroshare-nogui-install_subtargets
78 lines
1.7 KiB
Prolog
78 lines
1.7 KiB
Prolog
!include("../../retroshare.pri"): error("Could not include file ../../retroshare.pri")
|
|
|
|
TEMPLATE = lib
|
|
CONFIG += staticlib
|
|
CONFIG -= qt
|
|
TARGET = resapi
|
|
DESTDIR = lib
|
|
|
|
CONFIG += libmicrohttpd
|
|
|
|
INCLUDEPATH += ../../libretroshare/src
|
|
|
|
unix {
|
|
webui_files.path = "$${DATA_DIR}/webui"
|
|
webui_files.files = webfiles/*
|
|
INSTALLS += webui_files
|
|
|
|
webui_img_files.path = "$${DATA_DIR}/webui/img"
|
|
webui_img_files.files = ../../retroshare-gui/src/gui/images/logo/logo_splash.png
|
|
INSTALLS += webui_img_files
|
|
}
|
|
|
|
win32{
|
|
DEFINES *= WINDOWS_SYS
|
|
INCLUDEPATH += $$PWD/../../../libs/include
|
|
}
|
|
|
|
libmicrohttpd{
|
|
SOURCES += \
|
|
api/ApiServerMHD.cpp
|
|
|
|
HEADERS += \
|
|
api/ApiServerMHD.h
|
|
}
|
|
|
|
SOURCES += \
|
|
api/ApiServer.cpp \
|
|
api/json.cpp \
|
|
api/JsonStream.cpp \
|
|
api/ResourceRouter.cpp \
|
|
api/PeersHandler.cpp \
|
|
api/Operators.cpp \
|
|
api/IdentityHandler.cpp \
|
|
api/ForumHandler.cpp \
|
|
api/ServiceControlHandler.cpp \
|
|
api/StateTokenServer.cpp \
|
|
api/GxsResponseTask.cpp \
|
|
api/FileSearchHandler.cpp \
|
|
api/TransfersHandler.cpp \
|
|
api/RsControlModule.cpp \
|
|
api/GetPluginInterfaces.cpp \
|
|
api/ChatHandler.cpp \
|
|
api/LivereloadHandler.cpp \
|
|
api/TmpBlobStore.cpp
|
|
|
|
HEADERS += \
|
|
api/ApiServer.h \
|
|
api/json.h \
|
|
api/JsonStream.h \
|
|
api/ApiTypes.h \
|
|
api/ResourceRouter.h \
|
|
api/PeersHandler.h \
|
|
api/Operators.h \
|
|
api/IdentityHandler.h \
|
|
api/ForumHandler.h \
|
|
api/ServiceControlHandler.h \
|
|
api/GxsMetaOperators.h \
|
|
api/StateTokenServer.h \
|
|
api/GxsResponseTask.h \
|
|
api/Pagination.h \
|
|
api/FileSearchHandler.h \
|
|
api/TransfersHandler.h \
|
|
api/RsControlModule.h \
|
|
api/GetPluginInterfaces.h \
|
|
api/ChatHandler.h \
|
|
api/LivereloadHandler.h \
|
|
api/TmpBlobStore.h
|