1 feature(!wireshark, !wireshark_cmake) {
2 requires += wireshark_any
6 includes += $(WIRESHARK_SRC)
9 macros += MSC_VER_REQUIRED=1310
12 macros += MSC_VER_REQUIRED=1400
15 macros += MSC_VER_REQUIRED=1500
18 macros += MSC_VER_REQUIRED=1600
21 macros += MSC_VER_REQUIRED=1700
24 macros += MSC_VER_REQUIRED=1800
27 macros += MSC_VER_REQUIRED=1900
30 macros += MSC_VER_REQUIRED=1910
33 macros += MSC_VER_REQUIRED=1920
35 verbatim(nmake, top, 1) {
36 include $(WIRESHARK_SRC)/config.nmake
40 // Autoconf / In Source Wireshark Build Method
41 // This feasture works with how Wireshark Developers Guide says to build
42 // Wireshark on Linux (autogen.sh). This is also used for older 1.x Wireshark
43 // Windows builds and if Wireshark headers are installed on the system.
44 // On Windows $(WIRETAP_VERSION) also has to be specified as well.
46 avoids += wireshark_cmake
47 specific(prop:windows) {
48 libpaths += $(WIRESHARK_SRC)/wiretap $(WIRESHARK_SRC)/epan
49 lit_libs += wiretap-$(WIRETAP_VERSION) libwireshark
51 libpaths += $(WIRESHARK_SRC)/wiretap/.libs $(WIRESHARK_SRC)/epan/.libs
52 lit_libs += wiretap wireshark
56 // Out of Source Built Wireshark
57 // CMake out of source builds of Wireshark are used in the Developers Guide
58 // for Windows and macOS. This can also be used on Linux if built using CMake.
59 // To use build against them we need two additional paths:
61 // The location of the build that the user choose when building Wireshark.
62 // It must contain the config.h file after building Wireshark.
64 // The location of the wireshark dynamic libraries relative to
66 // For Windows this might be:
68 // For macOS this might be:
69 // run/Wireshark.app/Contents/PlugIns/wireshark
70 feature(wireshark_cmake) {
73 includes += $(WIRESHARK_BUILD)
74 libpaths += $(WIRESHARK_BUILD)/$(WIRESHARK_LIB)
75 lit_libs += wiretap wireshark wsutil