-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPacMan.pro
189 lines (169 loc) · 5.11 KB
/
PacMan.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
#-------------------------------------------------
#
# Project created by QtCreator 2011-05-11T03:14:44
#
#-------------------------------------------------
QT -= core gui
TARGET = PacMan
TEMPLATE = lib
CONFIG += dll
LIBS += -lpcap
DEFINES += PACMAN_LIBRARY
Release:DESTDIR = release
Release:OBJECTS_DIR = release/.obj
Release:MOC_DIR = release/.moc
Release:RCC_DIR = release/.rcc
Release:UI_DIR = release/.ui
Debug:DESTDIR = debug
Debug:OBJECTS_DIR = debug/.obj
Debug:MOC_DIR = debug/.moc
Debug:RCC_DIR = debug/.rcc
Debug:UI_DIR = debug/.ui
SOURCES += \
common/threads.cpp \
common/stringUtils.cpp \
common/semaphore.cpp \
common/mutex.cpp \
Device/devicesLookup.cpp \
Device/device.cpp \
Injector/injector.cpp \
Packet/packetBuilder.cpp \
Packet/packetBuffer.cpp \
Packet/packet.cpp \
Packet/App/staticBuffer.cpp \
Packet/App/raw.cpp \
Packet/App/dnsRecord.cpp \
Packet/App/dnsQuestion.cpp \
Packet/App/dnsPacket.cpp \
Packet/App/arp.cpp \
Packet/App/app.cpp \
Packet/Inet/ipv6Address.cpp \
Packet/Inet/ipv6.cpp \
Packet/Inet/ipv4.cpp \
Packet/Inet/inet.cpp \
Packet/Inet/icmp.cpp \
Packet/Link/mac.cpp \
Packet/Link/link.cpp \
Packet/Link/ethernet.cpp \
Packet/Trans/udp.cpp \
Packet/Trans/trans.cpp \
Packet/Trans/tcpOptions.cpp \
Packet/Trans/tcp.cpp \
Sniffer/snifferData.cpp \
Sniffer/sniffer.cpp \
Sniffer/filterData.cpp \
Sniffer/baseData.cpp \
#Stream/tcpStream.cpp \
#Stream/StreamProcessor.cpp \
common/pthreaderrors.cpp \
ArpAgent/arpagent.cpp \
ArpAgent/arpcache.cpp \
ArpAgent/arplistener.cpp \
ArpAgent/arprequestor.cpp \
Packet/Inet/ipv4address.cpp \
common/condition.cpp \
Packet/Link/oui.cpp
COMMON_HEADERS = \
common/threads.h \
common/stringUtils.h \
common/smartPtr.h \
common/helper.h \
common/pthreaderrors.h \
common/deprecated.h \
common/uncopyable.h
DEVICE_HEADERS = \
Device/devicesLookup.h \
Device/device.h
INJECTOR_HEADERS = \
Injector/injector.h
PACKET_HEADERS = \
Packet/packetBuilder.h \
Packet/packetBuffer.h \
Packet/packet.h \
Packet/encapsulateable.h
APP_HEADERS = \
Packet/App/staticBuffer.h \
Packet/App/raw.h \
Packet/App/http.h \
Packet/App/dnsPacket.h \
Packet/App/arp.h \
Packet/App/appData.h \
Packet/App/app.h
INET_HEADERS = \
Packet/Inet/ipv4address.h \
Packet/Inet/ipv6Address.h \
Packet/Inet/ipv6.h \
Packet/Inet/ipv4.h \
Packet/Inet/inetData.h \
Packet/Inet/inet.h \
Packet/Inet/icmp.h
LINK_HEADERS = \
Packet/Link/mac.h \
Packet/Link/linkData.h \
Packet/Link/link.h \
Packet/Link/oui.h \
Packet/Link/ethernet.h
TRANS_HEADERS = \
Packet/Trans/wsOption.h \
Packet/Trans/udp.h \
Packet/Trans/transData.h \
Packet/Trans/trans.h \
Packet/Trans/timeStampOption.h \
Packet/Trans/tcpOptions.h \
Packet/Trans/tcp.h \
Packet/Trans/sackPermittedOption.h \
Packet/Trans/sackOption.h \
Packet/Trans/noopOption.h \
Packet/Trans/mssOption.h \
Packet/Trans/eolOption.h
SNIFFER_HEADERS = \
Sniffer/snifferData.h \
Sniffer/sniffer.h \
Sniffer/filterData.h \
Sniffer/constants.h \
Sniffer/baseData.h
ARPAGENT_HEADERS = \
ArpAgent/arpagent.h \
ArpAgent/arpcache.h \
ArpAgent/arplistener.h \
ArpAgent/arprequestor.h
HEADERS += \
$$COMMON_HEADERS \
$$DEVICE_HEADERS \
$$INJECTOR_HEADERS \
$$PACKET_HEADERS \
$$APP_HEADERS \
$$INET_HEADERS \
$$LINK_HEADERS \
$$TRANS_HEADERS \
$$SNIFFER_HEADERS \
$$ARPAGENT_HEADERS \
#Stream/Stream.h \
#Stream/tcpStream.h \
#Stream/StreamProcessor.h \
OTHER_FILES +=
sniffer_header_files.files = $$SNIFFER_HEADERS
sniffer_header_files.path = /usr/local/include/PacMan/Sniffer/
trans_header_files.files = $$TRANS_HEADERS
trans_header_files.path = /usr/local/include/PacMan/Packet/Trans/
link_header_files.files = $$LINK_HEADERS
link_header_files.path = /usr/local/include/PacMan/Packet/Link/
inet_header_files.files = $$INET_HEADERS
inet_header_files.path = /usr/local/include/PacMan/Packet/Inet/
app_header_files.files = $$APP_HEADERS
app_header_files.path = /usr/local/include/PacMan/Packet/App/
packet_header_files.files = $$PACKET_HEADERS
packet_header_files.path = /usr/local/include/PacMan/Packet/
device_header_files.files = $$DEVICE_HEADERS
device_header_files.path = /usr/local/include/PacMan/Device/
injector_header_files.files = $$INJECTOR_HEADERS
injector_header_files.path = /usr/local/include/PacMan/Injector/
common_header_files.files = $$COMMON_HEADERS
common_header_files.path = /usr/local/include/PacMan/common/
arpagent_header_files.files = $$ARPAGENT_HEADERS
arpagent_header_files.path = /usr/local/include/PacMan/ArpAgent/
pacman_lib.files = libPacMan.so libPacMan.so.1 libPacMan.so.1.0 libPacMan.so.1.0.0
pacman_lib.path = /usr/lib/
INSTALLS += sniffer_header_files trans_header_files link_header_files inet_header_files app_header_files \
packet_header_files device_header_files injector_header_files common_header_files arpagent_header_files pacman_lib
QMAKE_CLEAN += libPacMan.so*