//
// $Id: wireshark.mpb 1727 2010-02-23 15:10:52Z elliott_c $
//

project : glib {
  requires      += wireshark

  // Unfortunately Wireshark does not install headers for plugin
  // development; instead we rely on the source distribution:
  includes      += $(WIRESHARK_SRC)

  specific(vc71) {
    macros      += MSC_VER_REQUIRED=1310
  }
  specific(vc8) {
    macros      += MSC_VER_REQUIRED=1400
  }
  specific(vc9) {
    macros      += MSC_VER_REQUIRED=1500
  }
  verbatim(nmake, top) {
    include $(WIRESHARK_SRC)/config.nmake
  }

  specific(prop:windows) {
    libpaths    += $(WIRESHARK_SRC)/wiretap $(WIRESHARK_SRC)/epan
    lit_libs    += wiretap-$(WIRETAP_VERSION) libwireshark
  } else {
    libpaths    += $(WIRESHARK_SRC)/wiretap/.libs $(WIRESHARK_SRC)/epan/.libs
    lit_libs    += wiretap wireshark
  }
}
