From 178bb3a1ceab88f29aa7d0ceb453e76de172fd27 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sun, 6 Aug 2017 22:23:41 +0200 Subject: Add protools, used for getting content out of packages Only HTTP protocol implemented yet, but with gzip, deflate and bzip2 suport --- src/Makefile.am | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 9622262..3ace3ea 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,8 +5,9 @@ AM_CXXFLAGS = @DEFINES@ # Remove ar: `u' modifier ignored since `D' is the default (see `U') ARFLAGS = cr -bin_PROGRAMS = tp tp-monitor -noinst_LIBRARIES = libtp.a libproxy.a libmonitor.a libattrstr.a +bin_PROGRAMS = tp tp-monitor protocol +noinst_LIBRARIES = libtp.a libproxy.a libmonitor.a libattrstr.a libprotocol.a \ + libhexdump.a if HAVE_SSL bin_PROGRAMS += tp-genca noinst_LIBRARIES += libmitm.a @@ -55,15 +56,20 @@ tp_genca_SOURCES = genca.cc logger.cc logger.hh tp_genca_LDADD = libmitm.a libtp.a @SSL_LIBS@ tp_genca_CXXFLAGS = $(AM_CXXFLAGS) -DVERSION='"@VERSION@"' -libmonitor_a_SOURCES = monitor.cc monitor.hh gui_hexdump.cc gui_hexdump.hh +libhexdump_a_SOURCES = gui_hexdump.cc gui_hexdump.hh + +libmonitor_a_SOURCES = monitor.cc monitor.hh libmonitor_a_CXXFLAGS = $(AM_CXXFLAGS) -DVERSION='"@VERSION@"' @THREAD_CFLAGS@ -tp_monitor_SOURCES = monitor-cmd.cc ios_save.hh resolver.cc resolver.hh \ - gui_plainattrtext.cc gui_plainattrtext.hh \ - gui_attrtext.cc gui_attrtext.hh -tp_monitor_LDADD = libmonitor.a libtp.a @THREAD_LIBS@ +tp_monitor_SOURCES = monitor-cmd.cc ios_save.hh resolver.cc resolver.hh +tp_monitor_LDADD = libmonitor.a libhexdump.a libattrstr.a libtp.a @THREAD_LIBS@ tp_monitor_CXXFLAGS = $(AM_CXXFLAGS) -DVERSION='"@VERSION@"' @THREAD_CFLAGS@ +libprotocol_a_SOURCES = protocols.hh protocols.cc protocol.hh \ + http_protocol.hh http_protocol.cc +libprotocol_a_CXXFLAGS = $(AM_CXXFLAGS) -DVERSION='"@VERSION@"' \ + @THREAD_CFLAGS@ @ZLIB_CFLAGS@ @BZIP2_CFLAGS@ + libmonitor_gui_a_SOURCES = monitor-gui.cc gui_config.cc gui_config.hh \ gui_about.hh gui_file.hh gui_main.hh \ gui_window.hh gui_formapply.hh gui_menu.hh \ @@ -75,11 +81,18 @@ libmonitor_gui_a_CXXFLAGS = $(AM_CXXFLAGS) -DVERSION='"@VERSION@"' \ libattrstr_a_SOURCES = gui_attrtext.cc gui_attrtext.hh \ gui_htmlattrtext.cc gui_htmlattrtext.hh \ + gui_plainattrtext.cc gui_plainattrtext.hh \ observers.hh +protocol_SOURCES = protocol-main.cc +protocol_CXXFLAGS = $(AM_CXXFLAGS) -DVERSION='"@VERSION@"' @THREAD_CFLAGS@ +protocol_LDADD = libprotocol.a libhexdump.a libattrstr.a libtp.a @THREAD_LIBS@ \ + @ZLIB_LIBS@ @BZIP2_LIBS@ + tp_monitor_gtk_SOURCES = gui_gtk.cc tp_monitor_gtk_LDADD = libmonitor_gui.a libattrstr.a libproxy.a libmonitor.a \ - libtp.a @GTK_LIBS@ @THREAD_LIBS@ @PCAP_LIBS@ + libhexdump.a libtp.a @GTK_LIBS@ @THREAD_LIBS@ \ + @PCAP_LIBS@ if HAVE_SSL tp_monitor_gtk_LDADD += libmitm.a @SSL_LIBS@ endif @@ -88,7 +101,8 @@ tp_monitor_gtk_CXXFLAGS = $(AM_CXXFLAGS) -DVERSION='"@VERSION@"' \ tp_monitor_qt_SOURCES = gui_qt.cc tp_monitor_qt_LDADD = libmonitor_gui.a libattrstr.a libmonitor.a libproxy.a \ - libtp.a @QT_LIBS@ @THREAD_LIBS@ @PCAP_LIBS@ + libhexdump.a libtp.a @QT_LIBS@ @THREAD_LIBS@ \ + @PCAP_LIBS@ if HAVE_SSL tp_monitor_qt_LDADD += libmitm.a @SSL_LIBS@ endif -- cgit v1.2.3-70-g09d2