2020-12-16 06:02:22 +03:00
|
|
|
TARGET = AmneziaVPN-service
|
|
|
|
|
TEMPLATE = app
|
2020-12-26 15:03:51 +03:00
|
|
|
CONFIG += console qt no_batch
|
2021-02-02 01:47:40 +03:00
|
|
|
QT += core network remoteobjects
|
2022-08-10 14:00:04 +03:00
|
|
|
equals(QT_MAJOR_VERSION, 6): QT += core5compat
|
2020-12-16 06:02:22 +03:00
|
|
|
|
|
|
|
|
HEADERS = \
|
2022-08-29 12:21:09 +04:30
|
|
|
../../client/utilities.h \
|
2021-02-02 01:47:40 +03:00
|
|
|
../../ipc/ipc.h \
|
|
|
|
|
../../ipc/ipcserver.h \
|
|
|
|
|
../../ipc/ipcserverprocess.h \
|
2020-12-26 15:03:51 +03:00
|
|
|
localserver.h \
|
2022-12-28 17:22:49 +03:00
|
|
|
logger.h \
|
2021-01-26 15:01:15 +03:00
|
|
|
router.h \
|
2020-12-26 15:03:51 +03:00
|
|
|
systemservice.h
|
|
|
|
|
|
2020-12-16 06:02:22 +03:00
|
|
|
SOURCES = \
|
2022-08-29 12:21:09 +04:30
|
|
|
../../client/utilities.cpp \
|
2021-02-02 01:47:40 +03:00
|
|
|
../../ipc/ipcserver.cpp \
|
|
|
|
|
../../ipc/ipcserverprocess.cpp \
|
2020-12-26 15:03:51 +03:00
|
|
|
localserver.cpp \
|
2022-12-28 17:22:49 +03:00
|
|
|
logger.cpp \
|
2020-12-26 15:03:51 +03:00
|
|
|
main.cpp \
|
2021-01-26 15:01:15 +03:00
|
|
|
router.cpp \
|
2020-12-26 15:03:51 +03:00
|
|
|
systemservice.cpp
|
2020-12-16 06:02:22 +03:00
|
|
|
|
2021-01-26 15:01:15 +03:00
|
|
|
win32 {
|
|
|
|
|
HEADERS += \
|
2021-02-21 09:44:53 -08:00
|
|
|
tapcontroller_win.h \
|
|
|
|
|
router_win.h
|
2021-01-26 15:01:15 +03:00
|
|
|
|
|
|
|
|
SOURCES += \
|
2021-02-21 09:44:53 -08:00
|
|
|
tapcontroller_win.cpp \
|
|
|
|
|
router_win.cpp
|
2021-01-26 15:01:15 +03:00
|
|
|
|
|
|
|
|
LIBS += \
|
|
|
|
|
-luser32 \
|
|
|
|
|
-lrasapi32 \
|
|
|
|
|
-lshlwapi \
|
|
|
|
|
-liphlpapi \
|
|
|
|
|
-lws2_32 \
|
|
|
|
|
-liphlpapi \
|
2021-06-01 18:18:09 +03:00
|
|
|
-lgdi32 \
|
|
|
|
|
-lAdvapi32 \
|
|
|
|
|
-lKernel32
|
2021-01-26 15:01:15 +03:00
|
|
|
}
|
|
|
|
|
|
2021-02-21 09:44:53 -08:00
|
|
|
macx {
|
|
|
|
|
HEADERS += \
|
2021-08-04 10:08:00 -07:00
|
|
|
router_mac.h \
|
2021-05-13 08:20:38 -07:00
|
|
|
helper_route_mac.h
|
2021-02-21 09:44:53 -08:00
|
|
|
|
|
|
|
|
SOURCES += \
|
2021-05-13 08:20:38 -07:00
|
|
|
router_mac.cpp \
|
|
|
|
|
helper_route_mac.c
|
2021-02-21 09:44:53 -08:00
|
|
|
}
|
|
|
|
|
|
2021-08-04 10:08:00 -07:00
|
|
|
linux {
|
|
|
|
|
HEADERS += \
|
|
|
|
|
router_linux.h
|
|
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
|
router_linux.cpp
|
|
|
|
|
}
|
|
|
|
|
|
2020-12-16 06:02:22 +03:00
|
|
|
include(../src/qtservice.pri)
|
|
|
|
|
|
2020-12-26 15:03:51 +03:00
|
|
|
INCLUDEPATH += "$$PWD/../../client"
|
2021-02-02 01:47:40 +03:00
|
|
|
|
2021-09-15 08:03:28 -07:00
|
|
|
REPC_SOURCE += ../../ipc/ipc_interface.rep
|
|
|
|
|
!ios: REPC_SOURCE += ../../ipc/ipc_process_interface.rep
|