From b99cf21c2546bc8260d50f17e60ab614092dac24 Mon Sep 17 00:00:00 2001 From: Michal Labedzki Date: Sat, 14 Feb 2015 19:10:21 +0100 Subject: extcap: Add support for Android - androiddump androiddump is extcap program that can be used with Android devices (need Android SDK in system PATH). Supported is Logcat/Logger logs and Bluetooth interfaces for all Android to this day (Lollipop). Please note that it will work also for FirefoxOS. Interfaces: 1. Logcat Main (binary or text) 2. Logcat System (binary or text) 3. Logcat Events (binary or text) 4. Logcat Radio (binary or text) 5. Logcat Crash (text; Lollipop) 6. Bluetooth Hcidump ( Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte Reviewed-by: Michal Labedzki Tested-by: Michal Labedzki --- Makefile.am | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 12967ed90b..384a7697e6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -42,10 +42,11 @@ bin_PROGRAMS = \ @dumpcap_bin@ \ @reordercap_bin@ \ @rawshark_bin@ \ + @androiddump_bin@ \ @echld_test_bin@ EXTRA_PROGRAMS = wireshark-gtk wireshark tshark tfshark capinfos captype editcap \ - mergecap dftest randpkt text2pcap dumpcap reordercap rawshark \ + mergecap dftest randpkt text2pcap dumpcap reordercap rawshark androiddump \ echld_test # @@ -532,6 +533,21 @@ rawshark_LDADD = \ rawshark_CFLAGS = $(AM_CLEAN_CFLAGS) +if ENABLE_STATIC +androiddump_LDFLAGS = -Wl,-static -all-static +else +androiddump_LDFLAGS = -export-dynamic +endif + +# Libraries and plugin flags with which to link androiddump. +androiddump_LDADD = \ + wiretap/libwiretap.la \ + wsutil/libwsutil.la \ + @GLIB_LIBS@ \ + @SOCKET_LIBS@ + +androiddump_CFLAGS = $(AM_CLEAN_CFLAGS) + # Libraries with which to link text2pcap. text2pcap_LDADD = \ wsutil/libwsutil.la \ -- cgit v1.2.3