diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-03-24 13:00:07 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-03-24 20:49:37 +0000 |
commit | a4aa8930bb47296704a4689cdbfa8f5b8b3f550f (patch) | |
tree | fe563c1aeafdd8064dcadfb472fa62cf18f0fbfb /writecap/Makefile.am | |
parent | 67bd2cc511bc081b51b649c22240f5ca81383dc6 (diff) | |
download | wireshark-a4aa8930bb47296704a4689cdbfa8f5b8b3f550f.tar.gz wireshark-a4aa8930bb47296704a4689cdbfa8f5b8b3f550f.tar.bz2 wireshark-a4aa8930bb47296704a4689cdbfa8f5b8b3f550f.zip |
Put pcapio.c into a writecap library, and use it.
Change-Id: Ib89f345c072a38bc01f0513366a4bdae3bf6f08e
Reviewed-on: https://code.wireshark.org/review/14615
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'writecap/Makefile.am')
-rw-r--r-- | writecap/Makefile.am | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/writecap/Makefile.am b/writecap/Makefile.am new file mode 100644 index 0000000000..bdff5c6eb9 --- /dev/null +++ b/writecap/Makefile.am @@ -0,0 +1,81 @@ +# Makefile.am +# Automake file for the "write capture file" routines for Wireshark +# +# Wireshark - Network traffic analyzer +# By Gerald Combs <gerald@wireshark.org> +# Copyright 1998 Gerald Combs +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +include Makefile.common +include $(top_srcdir)/Makefile.am.inc + +AM_CPPFLAGS = $(INCLUDEDIRS) $(WS_CPPFLAGS) $(GLIB_CFLAGS) + +noinst_LIBRARIES = libwritecap.a + +CLEANFILES = \ + doxygen-writecap.tag \ + libwritecap.a \ + *~ + +MAINTAINERCLEANFILES = \ + $(GENERATED_FILES) \ + Makefile.in + +EXTRA_DIST = \ + .editorconfig \ + $(GENERATOR_FILES) \ + CMakeLists.txt \ + doxygen.cfg.in \ + Makefile.common \ + Makefile.nmake + +# All sources that should be put in the source distribution tarball +libwritecap_a_SOURCES = \ + $(WRITECAP_SRC) \ + $(noinst_HEADERS) + +# +# This is used to build dumpcap, and dumpcap is, if possible, built as +# a position-independent executable (for address space layout randomization, +# as it might be running with extra privileges), so this library needs +# to be built that way as well. +# +libwritecap_a_CFLAGS = $(AM_CFLAGS) $(PIE_CFLAGS) + +libwritecap_a_DEPENDENCIES = + +doxygen: +if HAVE_DOXYGEN + $(DOXYGEN) doxygen.cfg +endif # HAVE_DOXYGEN + +wsar_html: doxygen.cfg ../doxygen_global.cfg +if HAVE_DOXYGEN + (umask 022 ; $(DOXYGEN) doxygen.cfg) +endif + +checkapi: checkapi-base checkapi-todo + +checkapi-base: + $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g deprecated-gtk -build \ + -sourcedir=$(srcdir) \ + $(WRITECAP_SRC) + +checkapi-todo: + $(PERL) $(top_srcdir)/tools/checkAPIs.pl -M -g deprecated-gtk-todo -build \ + -sourcedir=$(srcdir) \ + $(WRITECAP_SRC) |