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
36 macros += MSC_VER_REQUIRED=1930
38 verbatim(nmake, top, 1) {
39 include $(WIRESHARK_SRC)/config.nmake
43 // Autoconf / In Source Wireshark Build Method
44 // This feature works with how Wireshark Developers Guide says to build
45 // Wireshark on Linux (autogen.sh). This is also used for older 1.x Wireshark
46 // Windows builds and if Wireshark headers are installed on the system.
47 // On Windows $(WIRETAP_VERSION) also has to be specified as well.
49 avoids += wireshark_cmake
50 specific(prop:windows) {
51 libpaths += $(WIRESHARK_SRC)/wiretap $(WIRESHARK_SRC)/epan
52 lit_libs += wiretap-$(WIRETAP_VERSION) libwireshark
54 libpaths += $(WIRESHARK_SRC)/wiretap/.libs $(WIRESHARK_SRC)/epan/.libs
55 lit_libs += wiretap wireshark
59 // Out of Source Built Wireshark
60 // CMake out of source builds of Wireshark are used in the Developers Guide
61 // for Windows and macOS. This can also be used on Linux if built using CMake.
62 // To use build against them we need two additional paths:
64 // The location of the build that the user choose when building Wireshark.
65 // It must contain the config.h file after building Wireshark.
67 // The location of the wireshark dynamic libraries relative to
69 // For Windows this might be:
71 // For macOS this might be:
72 // run/Wireshark.app/Contents/PlugIns/wireshark
73 feature(wireshark_cmake) {
76 includes += $(WIRESHARK_BUILD) $(WIRESHARK_SRC)/include
77 libpaths += $(WIRESHARK_BUILD)/$(WIRESHARK_LIB)
78 lit_libs += wiretap wireshark wsutil