86 lines
2.0 KiB
Prolog
86 lines
2.0 KiB
Prolog
TEMPLATE = app
|
|
CONFIG += qt
|
|
macx: TARGET = Ostinato
|
|
win32:RC_FILE = ostinato.rc
|
|
macx:ICON = icons/logo.icns
|
|
QT += network script xml
|
|
INCLUDEPATH += "../rpc/" "../common/"
|
|
win32 {
|
|
CONFIG(debug, debug|release) {
|
|
LIBS += -L"../common/debug" -lostproto
|
|
LIBS += -L"../rpc/debug" -lpbrpc
|
|
POST_TARGETDEPS += \
|
|
"../common/debug/libostproto.a" \
|
|
"../rpc/debug/libpbrpc.a"
|
|
} else {
|
|
LIBS += -L"../common/release" -lostproto
|
|
LIBS += -L"../rpc/release" -lpbrpc
|
|
POST_TARGETDEPS += \
|
|
"../common/release/libostproto.a" \
|
|
"../rpc/release/libpbrpc.a"
|
|
}
|
|
} else {
|
|
LIBS += -L"../common" -lostproto
|
|
LIBS += -L"../rpc" -lpbrpc
|
|
POST_TARGETDEPS += "../common/libostproto.a" "../rpc/libpbrpc.a"
|
|
}
|
|
LIBS += -lprotobuf
|
|
LIBS += -L"../extra/qhexedit2/$(OBJECTS_DIR)/" -lqhexedit2
|
|
RESOURCES += ostinato.qrc
|
|
HEADERS += \
|
|
dumpview.h \
|
|
hexlineedit.h \
|
|
mainwindow.h \
|
|
packetmodel.h \
|
|
port.h \
|
|
portgroup.h \
|
|
portgrouplist.h \
|
|
portmodel.h \
|
|
portstatsmodel.h \
|
|
portstatsfilterdialog.h \
|
|
portstatswindow.h \
|
|
portswindow.h \
|
|
preferences.h \
|
|
settings.h \
|
|
streamconfigdialog.h \
|
|
streamlistdelegate.h \
|
|
streammodel.h
|
|
|
|
FORMS += \
|
|
about.ui \
|
|
mainwindow.ui \
|
|
portstatsfilter.ui \
|
|
portstatswindow.ui \
|
|
portswindow.ui \
|
|
preferences.ui \
|
|
streamconfigdialog.ui
|
|
|
|
SOURCES += \
|
|
dumpview.cpp \
|
|
stream.cpp \
|
|
hexlineedit.cpp \
|
|
main.cpp \
|
|
mainwindow.cpp \
|
|
packetmodel.cpp \
|
|
port.cpp \
|
|
portgroup.cpp \
|
|
portgrouplist.cpp \
|
|
portmodel.cpp \
|
|
portstatsmodel.cpp \
|
|
portstatsfilterdialog.cpp \
|
|
portstatswindow.cpp \
|
|
portswindow.cpp \
|
|
preferences.cpp \
|
|
streamconfigdialog.cpp \
|
|
streamlistdelegate.cpp \
|
|
streammodel.cpp
|
|
|
|
|
|
QMAKE_DISTCLEAN += object_script.*
|
|
|
|
include(../install.pri)
|
|
include(../version.pri)
|
|
|
|
# TODO(LOW): Test only
|
|
CONFIG(debug, debug|release):include(modeltest.pri)
|