2009-12-28 04:05:42 -06:00
|
|
|
TEMPLATE = app
|
2010-03-06 03:20:22 -06:00
|
|
|
CONFIG += qt
|
2009-12-28 04:05:42 -06:00
|
|
|
QT += network script
|
|
|
|
DEFINES += HAVE_REMOTE WPCAP
|
|
|
|
INCLUDEPATH += "../rpc"
|
2010-03-06 03:20:22 -06:00
|
|
|
win32 {
|
|
|
|
LIBS += -lwpcap -lpacket
|
|
|
|
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 += -lpcap
|
|
|
|
LIBS += -L"../common" -lostproto
|
|
|
|
LIBS += -L"../rpc" -lpbrpc
|
|
|
|
POST_TARGETDEPS += "../common/libostproto.a" "../rpc/libpbrpc.a"
|
|
|
|
}
|
2009-12-28 04:05:42 -06:00
|
|
|
LIBS += -lprotobuf
|
|
|
|
RESOURCES += drone.qrc
|
|
|
|
HEADERS += drone.h
|
|
|
|
FORMS += drone.ui
|
|
|
|
SOURCES += \
|
|
|
|
drone_main.cpp \
|
|
|
|
drone.cpp \
|
|
|
|
portmanager.cpp \
|
|
|
|
abstractport.cpp \
|
|
|
|
pcapport.cpp \
|
|
|
|
winpcapport.cpp
|
|
|
|
SOURCES += myservice.cpp
|
|
|
|
SOURCES += pcapextra.cpp
|
|
|
|
|
2010-03-24 10:56:11 -05:00
|
|
|
QMAKE_DISTCLEAN += object_script.*
|
|
|
|
|
|
|
|
include (../version.pri)
|