2015-04-16 11:50:07 -05:00
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += qt staticlib
|
|
|
|
QT -= gui
|
2016-05-31 09:53:54 -05:00
|
|
|
QT += network script xml
|
2015-04-16 11:50:07 -05:00
|
|
|
LIBS += \
|
|
|
|
-lprotobuf
|
|
|
|
|
|
|
|
PROTOS = \
|
|
|
|
protocol.proto \
|
2015-09-14 07:49:52 -05:00
|
|
|
emulproto.proto
|
|
|
|
|
|
|
|
PROTOS += \
|
2015-04-16 11:50:07 -05:00
|
|
|
mac.proto \
|
|
|
|
payload.proto \
|
|
|
|
eth2.proto \
|
|
|
|
dot3.proto \
|
|
|
|
llc.proto \
|
|
|
|
snap.proto \
|
|
|
|
dot2llc.proto \
|
|
|
|
dot2snap.proto \
|
|
|
|
vlan.proto \
|
|
|
|
svlan.proto \
|
|
|
|
vlanstack.proto \
|
2015-11-24 06:33:25 -06:00
|
|
|
stp.proto \
|
2015-04-16 11:50:07 -05:00
|
|
|
arp.proto \
|
|
|
|
ip4.proto \
|
|
|
|
ip6.proto \
|
|
|
|
ip6over4.proto \
|
|
|
|
ip4over6.proto \
|
|
|
|
ip4over4.proto \
|
|
|
|
ip6over6.proto \
|
|
|
|
icmp.proto \
|
|
|
|
gmp.proto \
|
|
|
|
igmp.proto \
|
|
|
|
mld.proto \
|
|
|
|
tcp.proto \
|
|
|
|
udp.proto \
|
|
|
|
textproto.proto \
|
|
|
|
userscript.proto \
|
|
|
|
hexdump.proto \
|
2016-10-31 11:08:19 -05:00
|
|
|
sample.proto \
|
|
|
|
sign.proto
|
2015-04-16 11:50:07 -05:00
|
|
|
|
|
|
|
HEADERS = \
|
|
|
|
abstractprotocol.h \
|
|
|
|
comboprotocol.h \
|
|
|
|
protocolmanager.h \
|
|
|
|
protocollist.h \
|
|
|
|
protocollistiterator.h \
|
|
|
|
streambase.h \
|
2016-05-31 09:53:54 -05:00
|
|
|
updater.h \
|
2015-04-16 11:50:07 -05:00
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
mac.h \
|
|
|
|
vlan.h \
|
|
|
|
svlan.h \
|
|
|
|
vlanstack.h \
|
|
|
|
eth2.h \
|
|
|
|
dot3.h \
|
|
|
|
llc.h \
|
|
|
|
dot2llc.h \
|
|
|
|
snap.h \
|
|
|
|
dot2snap.h \
|
|
|
|
arp.h \
|
|
|
|
ip4.h \
|
|
|
|
ip6.h \
|
|
|
|
ip4over4.h \
|
|
|
|
ip4over6.h \
|
|
|
|
ip6over4.h \
|
|
|
|
ip6over6.h \
|
|
|
|
gmp.h \
|
|
|
|
icmp.h \
|
|
|
|
igmp.h \
|
|
|
|
mld.h \
|
|
|
|
tcp.h \
|
|
|
|
udp.h \
|
|
|
|
textproto.h \
|
|
|
|
hexdump.h \
|
|
|
|
payload.h \
|
|
|
|
sample.h \
|
2016-10-31 11:08:19 -05:00
|
|
|
sign.h \
|
2015-04-16 11:50:07 -05:00
|
|
|
userscript.h
|
|
|
|
|
|
|
|
SOURCES = \
|
|
|
|
abstractprotocol.cpp \
|
|
|
|
crc32c.cpp \
|
|
|
|
protocolmanager.cpp \
|
|
|
|
protocollist.cpp \
|
|
|
|
protocollistiterator.cpp \
|
|
|
|
streambase.cpp \
|
2016-05-31 09:53:54 -05:00
|
|
|
updater.cpp \
|
2015-04-16 11:50:07 -05:00
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
mac.cpp \
|
|
|
|
vlan.cpp \
|
|
|
|
svlan.cpp \
|
|
|
|
eth2.cpp \
|
|
|
|
dot3.cpp \
|
|
|
|
llc.cpp \
|
|
|
|
snap.cpp \
|
2015-11-24 06:33:25 -06:00
|
|
|
stp.cpp \
|
2015-04-16 11:50:07 -05:00
|
|
|
arp.cpp \
|
|
|
|
ip4.cpp \
|
|
|
|
ip6.cpp \
|
|
|
|
gmp.cpp \
|
|
|
|
icmp.cpp \
|
|
|
|
igmp.cpp \
|
|
|
|
mld.cpp \
|
|
|
|
tcp.cpp \
|
|
|
|
udp.cpp \
|
|
|
|
textproto.cpp \
|
|
|
|
hexdump.cpp \
|
|
|
|
payload.cpp \
|
|
|
|
sample.cpp \
|
2016-10-31 11:08:19 -05:00
|
|
|
sign.cpp \
|
2015-04-16 11:50:07 -05:00
|
|
|
userscript.cpp
|
|
|
|
|
|
|
|
QMAKE_DISTCLEAN += object_script.*
|
|
|
|
|
|
|
|
#binding.depends = compiler_protobuf_py_make_all
|
|
|
|
#QMAKE_EXTRA_TARGETS += binding
|
|
|
|
|
|
|
|
include(../protobuf.pri)
|
|
|
|
|