diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2016-10-15 20:48:17 +0200 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2017-01-25 07:19:05 +0000 |
commit | e2930f3b78cd47ac4044f3ece059e7dbe83f3f02 (patch) | |
tree | 8f64e87b1a44d3ab52509dc92fcc8155a0923c25 /Makefile.am | |
parent | 11574208e7f11d76bb1dbe460577396b8c06e3fb (diff) | |
download | wireshark-e2930f3b78cd47ac4044f3ece059e7dbe83f3f02.tar.gz |
Add sharkd - daemon variant
sharkd listens on UNIX socket and allows external clients
to run commands like: loading file, analysing frames or running TAP(s).
Change-Id: I443b2865e4adfd1c11f4f57d09ff7fce6b1e8766
Reviewed-on: https://code.wireshark.org/review/18208
Petri-Dish: Jakub Zawadzki <darkjames-ws@darkjames.pl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Jakub Zawadzki <darkjames-ws@darkjames.pl>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 2f186f273f..81b7cd4e33 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,11 +45,12 @@ bin_PROGRAMS = \ @dumpcap_bin@ \ @reordercap_bin@ \ @rawshark_bin@ \ + @sharkd_bin@ \ @echld_test_bin@ EXTRA_PROGRAMS = wireshark-gtk wireshark tshark tfshark capinfos captype \ editcap mergecap dftest randpkt text2pcap dumpcap reordercap \ - rawshark echld_test + rawshark sharkd echld_test # # Wireshark configuration files are put in $(pkgdatadir). @@ -577,6 +578,34 @@ rawshark_LDADD = \ @SYSTEMCONFIGURATION_FRAMEWORKS@ \ @COREFOUNDATION_FRAMEWORKS@ +sharkd_SOURCES = \ + $(SHARK_COMMON_SRC) \ + filter_files.c \ + sharkd.c \ + sharkd_daemon.c \ + sharkd_session.c \ + ws_version_info.c + +sharkd_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) + +sharkd_LDFLAGS = $(AM_LDFLAGS) $(EXTRALINKFLAGS) + +# Libraries and plugin flags with which to link sharkd. +sharkd_LDADD = \ + capchild/libcapchild.a \ + caputils/libcaputils.a \ + ui/cli/libcliui.a \ + ui/libui.a \ + wiretap/libwiretap.la \ + epan/libwireshark.la \ + wsutil/libwsutil.la \ + $(plugin_ldadd) \ + @GLIB_LIBS@ \ + @PCAP_LIBS@ \ + ${EPAN_EXTRA_LIBS} \ + @SYSTEMCONFIGURATION_FRAMEWORKS@ \ + @COREFOUNDATION_FRAMEWORKS@ + text2pcap_SOURCES = \ text2pcap.c \ text2pcap-scanner.l \ |