2017-08-23 13:52:22 +00:00
|
|
|
QT += core gui qml widgets
|
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
TARGET = FortFirewall
|
|
|
|
TEMPLATE = app
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
main.cpp \
|
2017-09-02 10:17:51 +00:00
|
|
|
conf/addressgroup.cpp \
|
2017-08-28 10:35:15 +00:00
|
|
|
conf/appgroup.cpp \
|
|
|
|
conf/firewallconf.cpp \
|
2017-09-02 08:04:18 +00:00
|
|
|
activityLog/logbuffer.cpp \
|
|
|
|
activityLog/logentry.cpp \
|
2017-08-26 09:39:19 +00:00
|
|
|
fortcommon.cpp \
|
2017-09-01 15:13:17 +00:00
|
|
|
fortmanager.cpp \
|
2017-08-30 16:20:31 +00:00
|
|
|
fortsettings.cpp \
|
2017-08-29 08:40:23 +00:00
|
|
|
util/confutil.cpp \
|
2017-08-29 13:00:18 +00:00
|
|
|
util/device.cpp \
|
2017-08-26 09:39:19 +00:00
|
|
|
util/fileutil.cpp \
|
2017-08-28 09:03:45 +00:00
|
|
|
util/ip4range.cpp \
|
|
|
|
util/netutil.cpp \
|
2017-08-26 09:39:19 +00:00
|
|
|
util/processinfo.cpp
|
2017-08-23 13:52:22 +00:00
|
|
|
|
|
|
|
HEADERS += \
|
2017-09-02 10:17:51 +00:00
|
|
|
conf/addressgroup.h \
|
2017-08-28 10:35:15 +00:00
|
|
|
conf/appgroup.h \
|
|
|
|
conf/firewallconf.h \
|
2017-09-02 08:04:18 +00:00
|
|
|
activityLog/logbuffer.h \
|
|
|
|
activityLog/logentry.h \
|
2017-08-26 09:39:19 +00:00
|
|
|
fortcommon.h \
|
2017-09-01 15:13:17 +00:00
|
|
|
fortmanager.h \
|
2017-08-30 16:20:31 +00:00
|
|
|
fortsettings.h \
|
2017-08-29 08:40:23 +00:00
|
|
|
util/confutil.h \
|
2017-08-29 13:00:18 +00:00
|
|
|
util/device.h \
|
2017-08-26 09:39:19 +00:00
|
|
|
util/fileutil.h \
|
2017-08-28 09:03:45 +00:00
|
|
|
util/ip4range.h \
|
|
|
|
util/netutil.h \
|
2017-08-26 09:39:19 +00:00
|
|
|
util/processinfo.h
|
2017-08-23 13:52:22 +00:00
|
|
|
|
|
|
|
QML_FILES += \
|
2017-09-01 13:13:12 +00:00
|
|
|
qml/*.qml \
|
2017-09-02 14:25:47 +00:00
|
|
|
qml/controls/*.qml \
|
|
|
|
qml/pages/*.qml \
|
|
|
|
qml/pages/addresses/*.qml \
|
2017-09-02 13:48:33 +00:00
|
|
|
qml/pages/apps/*.qml
|
2017-08-23 13:52:22 +00:00
|
|
|
|
|
|
|
OTHER_FILES += \
|
|
|
|
$${QML_FILES} \
|
|
|
|
*.ini
|
|
|
|
|
|
|
|
TRANSLATIONS += \
|
|
|
|
i18n/i18n_ru.ts
|
|
|
|
|
2017-09-01 13:13:12 +00:00
|
|
|
# QML files
|
|
|
|
RESOURCES += fort_qml.qrc
|
|
|
|
|
2017-08-23 13:52:22 +00:00
|
|
|
# Compiled translation files
|
2017-09-01 13:13:12 +00:00
|
|
|
#RESOURCES += fort_i18n.qrc
|
2017-08-23 13:52:22 +00:00
|
|
|
|
|
|
|
# Default FortFirewall.ini
|
|
|
|
RESOURCES += fort_ini.qrc
|
|
|
|
|
2017-09-01 13:13:12 +00:00
|
|
|
# Images
|
|
|
|
RESOURCES += fort_images.qrc
|
|
|
|
|
2017-08-25 10:59:13 +00:00
|
|
|
# Windows
|
2017-08-28 09:03:45 +00:00
|
|
|
LIBS += -lfwpuclnt -lkernel32 -lpsapi -luser32 -luuid -lws2_32
|
2017-08-23 13:52:22 +00:00
|
|
|
RC_FILE = fort.rc
|
|
|
|
|
2017-08-24 14:32:24 +00:00
|
|
|
# Kernel Driver
|
|
|
|
{
|
|
|
|
BUILDCMD = MSBuild $$PWD/../driver/fortdrv.vcxproj /p:OutDir=./;IntDir=$$OUT_PWD/driver/
|
|
|
|
|
2017-08-25 10:32:46 +00:00
|
|
|
fortdrv32.target = $$PWD/../driver/fortfw32.sys
|
2017-08-24 14:32:24 +00:00
|
|
|
fortdrv32.commands = $$BUILDCMD /p:Platform=Win32
|
|
|
|
|
2017-08-25 10:32:46 +00:00
|
|
|
fortdrv64.target = $$PWD/../driver/fortfw64.sys
|
2017-08-24 14:32:24 +00:00
|
|
|
fortdrv64.commands = $$BUILDCMD /p:Platform=x64
|
|
|
|
|
|
|
|
QMAKE_EXTRA_TARGETS += fortdrv32 fortdrv64
|
|
|
|
PRE_TARGETDEPS += $$fortdrv32.target $$fortdrv64.target
|
|
|
|
}
|