nexmon – Rev 1

Subversion Repositories:
Rev:
# Makefile.in generated by automake 1.15 from Makefile.am.
# @configure_input@

# Copyright (C) 1994-2014 Free Software Foundation, Inc.

# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@SET_MAKE@

#
# Make the "Wireshark User Guide" and "Wireshark Developer Guide"
# in several formats.
# See the Readme.txt file for instructions.
#
VPATH = @srcdir@
am__is_gnu_make = { \
  if test -z '$(MAKELEVEL)'; then \
    false; \
  elif test -n '$(MAKE_HOST)'; then \
    true; \
  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
    true; \
  else \
    false; \
  fi; \
}
am__make_running_with_option = \
  case $${target_option-} in \
      ?) ;; \
      *) echo "am__make_running_with_option: internal error: invalid" \
              "target option '$${target_option-}' specified" >&2; \
         exit 1;; \
  esac; \
  has_opt=no; \
  sane_makeflags=$$MAKEFLAGS; \
  if $(am__is_gnu_make); then \
    sane_makeflags=$$MFLAGS; \
  else \
    case $$MAKEFLAGS in \
      *\\[\ \   ]*) \
        bs=\\; \
        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
          | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
    esac; \
  fi; \
  skip_next=no; \
  strip_trailopt () \
  { \
    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  }; \
  for flg in $$sane_makeflags; do \
    test $$skip_next = yes && { skip_next=no; continue; }; \
    case $$flg in \
      *=*|--*) continue;; \
        -*I) strip_trailopt 'I'; skip_next=yes;; \
      -*I?*) strip_trailopt 'I';; \
        -*O) strip_trailopt 'O'; skip_next=yes;; \
      -*O?*) strip_trailopt 'O';; \
        -*l) strip_trailopt 'l'; skip_next=yes;; \
      -*l?*) strip_trailopt 'l';; \
      -[dEDm]) skip_next=yes;; \
      -[JT]) skip_next=yes;; \
    esac; \
    case $$flg in \
      *$$target_option*) has_opt=yes; break;; \
    esac; \
  done; \
  test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
subdir = docbook
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_append_flag.m4 \
        $(top_srcdir)/m4/ax_compiler_vendor.m4 \
        $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \
        $(top_srcdir)/m4/ax_lib_socket_nsl.m4 \
        $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \
        $(top_srcdir)/m4/libgcrypt.m4 $(top_srcdir)/m4/libsmi.m4 \
        $(top_srcdir)/m4/pkg.m4 $(top_srcdir)/m4/ws_osx.m4 \
        $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo "  GEN     " $@;
am__v_GEN_1 = 
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 = 
SOURCES =
DIST_SOURCES =
am__can_run_installinfo = \
  case $$AM_UPDATE_INFO_DIR in \
    n|no|NO) false;; \
    *) (install-info --version) >/dev/null 2>&1;; \
  esac
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
am__DIST_COMMON = $(srcdir)/Makefile.in
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
A2X = @A2X@
A2X_LYNX = @A2X_LYNX@
ACLOCAL = @ACLOCAL@
AC_MIN_VERSION = @AC_MIN_VERSION@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
APPLICATIONSERVICES_FRAMEWORKS = @APPLICATIONSERVICES_FRAMEWORKS@
AR = @AR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BUILD_EXEEXT = @BUILD_EXEEXT@
BUILD_OBJEXT = @BUILD_OBJEXT@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CC_FOR_BUILD = @CC_FOR_BUILD@
CFLAGS = @CFLAGS@
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
CFLAGS_SSE42 = @CFLAGS_SSE42@
CONFIG_ARGS = @CONFIG_ARGS@
COREFOUNDATION_FRAMEWORKS = @COREFOUNDATION_FRAMEWORKS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
CPP_FOR_BUILD = @CPP_FOR_BUILD@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
C_ARES_LIBS = @C_ARES_LIBS@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DESKTOP_FILE_INSTALL = @DESKTOP_FILE_INSTALL@
DLLTOOL = @DLLTOOL@
DOXYGEN = @DOXYGEN@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
DUMPCAP_GROUP = @DUMPCAP_GROUP@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
ENABLE_STATIC = @ENABLE_STATIC@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FOP = @FOP@
GEOIP_LIBS = @GEOIP_LIBS@
GLIB_CFLAGS = @GLIB_CFLAGS@
GLIB_LIBS = @GLIB_LIBS@
GLIB_MIN_VERSION = @GLIB_MIN_VERSION@
GREP = @GREP@
GTK2_MIN_VERSION = @GTK2_MIN_VERSION@
GTK3_MIN_VERSION = @GTK3_MIN_VERSION@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
GUI_CONFIGURE_FLAGS = @GUI_CONFIGURE_FLAGS@
HAVE_BLESS = @HAVE_BLESS@
HAVE_CXX11 = @HAVE_CXX11@
HAVE_DOXYGEN = @HAVE_DOXYGEN@
HAVE_DPKG_BUILDPACKAGE = @HAVE_DPKG_BUILDPACKAGE@
HAVE_HDIUTIL = @HAVE_HDIUTIL@
HAVE_OSX_PACKAGING = @HAVE_OSX_PACKAGING@
HAVE_PKGMK = @HAVE_PKGMK@
HAVE_PKGPROTO = @HAVE_PKGPROTO@
HAVE_PKGTRANS = @HAVE_PKGTRANS@
HAVE_SVR4_PACKAGING = @HAVE_SVR4_PACKAGING@
HAVE_XCODEBUILD = @HAVE_XCODEBUILD@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
KRB5_CFLAGS = @KRB5_CFLAGS@
KRB5_CONFIG = @KRB5_CONFIG@
KRB5_LIBS = @KRB5_LIBS@
LD = @LD@
LDFLAGS = @LDFLAGS@
LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
LDFLAGS_SHAREDLIB = @LDFLAGS_SHAREDLIB@
LEX = @LEX@
LEXLIB = @LEXLIB@
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LIBCAP_LIBS = @LIBCAP_LIBS@
LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@
LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@
LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@
LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@
LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@
LIBNL_CFLAGS = @LIBNL_CFLAGS@
LIBNL_LIBS = @LIBNL_LIBS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBSMI_CFLAGS = @LIBSMI_CFLAGS@
LIBSMI_LDFLAGS = @LIBSMI_LDFLAGS@
LIBSMI_VERSION = @LIBSMI_VERSION@
LIBSSH_LIBS = @LIBSSH_LIBS@
LIBTOOL = @LIBTOOL@
LIBTOOL_DEPS = @LIBTOOL_DEPS@
LIPO = @LIPO@
LN_S = @LN_S@
LRELEASE = @LRELEASE@
LTLIBOBJS = @LTLIBOBJS@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
LUA_CFLAGS = @LUA_CFLAGS@
LUA_LIBS = @LUA_LIBS@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MOC = @MOC@
MOC_OPTIONS = @MOC_OPTIONS@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OSX_APP_FLAGS = @OSX_APP_FLAGS@
OSX_DMG_FLAGS = @OSX_DMG_FLAGS@
OSX_MIN_VERSION = @OSX_MIN_VERSION@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PCAP_CONFIG = @PCAP_CONFIG@
PCAP_LIBS = @PCAP_LIBS@
PERL = @PERL@
PIE_CFLAGS = @PIE_CFLAGS@
PIE_LDFLAGS = @PIE_LDFLAGS@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
PLUGIN_LIBS = @PLUGIN_LIBS@
POD2HTML = @POD2HTML@
POD2MAN = @POD2MAN@
PORTAUDIO_INCLUDES = @PORTAUDIO_INCLUDES@
PORTAUDIO_LIBS = @PORTAUDIO_LIBS@
PYTHON = @PYTHON@
QTCHOOSER = @QTCHOOSER@
QT_MIN_VERSION = @QT_MIN_VERSION@
Qt_CFLAGS = @Qt_CFLAGS@
Qt_LDFLAGS = @Qt_LDFLAGS@
Qt_LIBS = @Qt_LIBS@
RANLIB = @RANLIB@
RCC = @RCC@
RPMBUILD = @RPMBUILD@
RPMBUILD_WITH_ARGS = @RPMBUILD_WITH_ARGS@
RPM_VERSION = @RPM_VERSION@
SBC_CFLAGS = @SBC_CFLAGS@
SBC_LIBS = @SBC_LIBS@
SED = @SED@
SETCAP = @SETCAP@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
SPEEXDSP_CFLAGS = @SPEEXDSP_CFLAGS@
SPEEXDSP_LIBS = @SPEEXDSP_LIBS@
SSL_LIBS = @SSL_LIBS@
STRIP = @STRIP@
SYSTEMCONFIGURATION_FRAMEWORKS = @SYSTEMCONFIGURATION_FRAMEWORKS@
UIC = @UIC@
VERSION = @VERSION@
WERROR = @WERROR@
WS_CFLAGS = @WS_CFLAGS@
WS_CFLAGS_FOR_BUILD = @WS_CFLAGS_FOR_BUILD@
WS_CPPFLAGS = @WS_CPPFLAGS@
WS_CXXFLAGS = @WS_CXXFLAGS@
WS_LDFLAGS = @WS_LDFLAGS@
XSLTPROC = @XSLTPROC@
YACC = @YACC@
YFLAGS = @YFLAGS@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_CC_FOR_BUILD = @ac_ct_CC_FOR_BUILD@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
androiddump_bin = @androiddump_bin@
androiddump_man = @androiddump_man@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
capinfos_bin = @capinfos_bin@
capinfos_man = @capinfos_man@
captype_bin = @captype_bin@
captype_man = @captype_man@
ciscodump_bin = @ciscodump_bin@
ciscodump_man = @ciscodump_man@
datadir = @datadir@
datarootdir = @datarootdir@
dftest_bin = @dftest_bin@
dftest_man = @dftest_man@
docdir = @docdir@
dumpcap_bin = @dumpcap_bin@
dumpcap_man = @dumpcap_man@
dvidir = @dvidir@
echld_dir = @echld_dir@
echld_test_bin = @echld_test_bin@
editcap_bin = @editcap_bin@
editcap_man = @editcap_man@
exec_prefix = @exec_prefix@
extcap_man = @extcap_man@
extcap_subdir = @extcap_subdir@
extcapdir = @extcapdir@
have_sw_vers = @have_sw_vers@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mergecap_bin = @mergecap_bin@
mergecap_man = @mergecap_man@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
plugindir = @plugindir@
plugins_dir = @plugins_dir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
randpkt_bin = @randpkt_bin@
randpkt_man = @randpkt_man@
randpktdump_bin = @randpktdump_bin@
randpktdump_man = @randpktdump_man@
rawshark_bin = @rawshark_bin@
rawshark_man = @rawshark_man@
reordercap_bin = @reordercap_bin@
reordercap_man = @reordercap_man@
runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sshdump_bin = @sshdump_bin@
sshdump_man = @sshdump_man@
sysconfdir = @sysconfdir@
target = @target@
target_alias = @target_alias@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
text2pcap_bin = @text2pcap_bin@
text2pcap_man = @text2pcap_man@
tfshark_bin = @tfshark_bin@
tfshark_man = @tfshark_man@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
tshark_bin = @tshark_bin@
tshark_man = @tshark_man@
wireshark_SUBDIRS = @wireshark_SUBDIRS@
wireshark_bin = @wireshark_bin@
wireshark_man = @wireshark_man@
wiresharkfilter_man = @wiresharkfilter_man@

# formatting objects processor
# Additional options to fop.
# This needs to contain at least the argument '-Xmx256m'
# fop executable is found in configure.ac.
FOP_OPTS = -Xmx256m

# Asciidoc converter
A2X_HTML_OPTS = "--stylesheet=ws.css"
A2X_TEXT_OPTS = 

############### YOU SHOULDN'T HAVE TO EDIT ANYTHING BELOW THIS LINE! ################
WSUG_FILES = \
        wsug_src/WSUG_app_files.asciidoc                \
        wsug_src/WSUG_app_howitworks.asciidoc           \
        wsug_src/WSUG_app_messages.asciidoc             \
        wsug_src/WSUG_app_protocols.asciidoc            \
        wsug_src/WSUG_app_tools.asciidoc                \
        wsug_src/WSUG_chapter_advanced.asciidoc         \
        wsug_src/WSUG_chapter_build_install.asciidoc    \
        wsug_src/WSUG_chapter_capture.asciidoc          \
        wsug_src/WSUG_chapter_customize.asciidoc        \
        wsug_src/WSUG_chapter_introduction.asciidoc     \
        wsug_src/WSUG_chapter_io.asciidoc               \
        wsug_src/WSUG_chapter_statistics.asciidoc       \
        wsug_src/WSUG_chapter_telephony.asciidoc        \
        wsug_src/WSUG_chapter_troubleshoot.asciidoc     \
        wsug_src/WSUG_chapter_use.asciidoc              \
        wsug_src/WSUG_chapter_work.asciidoc             \
        wsug_src/WSUG_preface.asciidoc                  \
        ws.css

WSUG_GENERATED_SOURCE = \
        user-guide.xml

WSUG_GRAPHICS = \
        wsug_graphics/captureOptions.png                \
        wsug_graphics/related-ack.png                   \
        wsug_graphics/related-dup-ack.png               \
        wsug_graphics/related-last.png                  \
        wsug_graphics/related-request.png               \
        wsug_graphics/related-segment.png               \
        wsug_graphics/related-current.png               \
        wsug_graphics/related-first.png                 \
        wsug_graphics/related-other.png                 \
        wsug_graphics/related-response.png              \
        wsug_graphics/ws-analyze-menu.png               \
        wsug_graphics/ws-bytes-pane-tabs.png            \
        wsug_graphics/ws-bytes-pane.png                 \
        wsug_graphics/ws-capture-info.png               \
        wsug_graphics/ws-capture-interfaces.png         \
        wsug_graphics/ws-capture-interface-details.png          \
        wsug_graphics/ws-capture-interfaces-win32.png   \
        wsug_graphics/ws-capture-menu.png               \
        wsug_graphics/ws-capture-options.png            \
        wsug_graphics/ws-capture-options-compile-selected-bpfs.png      \
        wsug_graphics/ws-capture-options-manage-interfaces-local.png    \
        wsug_graphics/ws-capture-options-manage-interfaces-pipes.png    \
        wsug_graphics/ws-capture-options-manage-interfaces-remote-plus.png      \
        wsug_graphics/ws-capture-options-manage-interfaces-remote.png   \
        wsug_graphics/ws-capture-options-manage-interfaces.png  \
        wsug_graphics/ws-capture-options-remote-capture.png     \
        wsug_graphics/ws-capture-options-remote-interface.png   \
        wsug_graphics/ws-capture-options-remote-settings.png    \
        wsug_graphics/ws-capture-options-settings.png   \
        wsug_graphics/ws-capture-preferences.png        \
        wsug_graphics/ws-choose-color-rule.png          \
        wsug_graphics/ws-coloring-fields.png            \
        wsug_graphics/ws-coloring-rules-dialog.png      \
        wsug_graphics/ws-column-header-popup-menu.png   \
        wsug_graphics/ws-decode-as-show.png             \
        wsug_graphics/ws-decode-as.png                  \
        wsug_graphics/ws-details-pane-popup-menu.png    \
        wsug_graphics/ws-details-pane.png               \
        wsug_graphics/ws-display-filter-tcp.png         \
        wsug_graphics/ws-edit-menu.png                  \
        wsug_graphics/ws-enabled-protocols.png          \
        wsug_graphics/ws-expert-colored-tree.png        \
        wsug_graphics/ws-expert-column.png              \
        wsug_graphics/ws-expert-infos.png               \
        wsug_graphics/ws-export-objects.png             \
        wsug_graphics/ws-export-pdml.png                \
        wsug_graphics/ws-export-plain.png               \
        wsug_graphics/ws-export-ps.png                  \
        wsug_graphics/ws-export-psml.png                \
        wsug_graphics/ws-export-selected.png            \
        wsug_graphics/ws-file-import.png                        \
        wsug_graphics/ws-file-menu.png                  \
        wsug_graphics/ws-file-set-dialog.png            \
        wsug_graphics/ws-filter-add-expression.png      \
        wsug_graphics/ws-filter-toolbar.png             \
        wsug_graphics/ws-filters.png                    \
        wsug_graphics/ws-find-packet.png                \
        wsug_graphics/ws-follow-stream.png              \
        wsug_graphics/ws-go-menu.png                    \
        wsug_graphics/ws-goto-packet.png                \
        wsug_graphics/ws-gui-colors-preferences.png     \
        wsug_graphics/ws-gui-columns-preferences.png    \
        wsug_graphics/ws-gui-config-profiles.png        \
        wsug_graphics/ws-gui-font-preferences.png       \
        wsug_graphics/ws-gui-interface-options.png      \
        wsug_graphics/ws-gui-layout-preferences.png     \
        wsug_graphics/ws-gui-preferences.png            \
        wsug_graphics/ws-help-menu.png                  \
        wsug_graphics/ws-internals-menu.png                     \
        wsug_graphics/ws-list-pane.png                  \
        wsug_graphics/ws-logo.png                       \
        wsug_graphics/ws-main-toolbar.png               \
        wsug_graphics/ws-main.png                       \
        wsug_graphics/ws-menu.png                       \
        wsug_graphics/ws-merge-gtk24.png                \
        wsug_graphics/ws-merge-win32.png                \
        wsug_graphics/ws-nameresolution-preferences.png \
        wsug_graphics/ws-open-gtk24.png                 \
        wsug_graphics/ws-open-win32.png                 \
        wsug_graphics/ws-packet-format.png              \
        wsug_graphics/ws-packet-pane-popup-menu.png     \
        wsug_graphics/ws-packet-range.png               \
        wsug_graphics/ws-packet-selected.png            \
        wsug_graphics/ws-packet-sep-win.png             \
        wsug_graphics/ws-print.png                      \
        wsug_graphics/ws-printing-preferences.png       \
        wsug_graphics/ws-save-as-gtk24.png              \
        wsug_graphics/ws-save-as-win32.png              \
        wsug_graphics/ws-statistics-menu.png            \
        wsug_graphics/ws-stats-compare.png              \
        wsug_graphics/ws-stats-conversations.png        \
        wsug_graphics/ws-stats-endpoints.png            \
        wsug_graphics/ws-stats-hierarchy.png            \
        wsug_graphics/ws-stats-iographs.png             \
        wsug_graphics/ws-stats-srt-dcerpc-filter.png    \
        wsug_graphics/ws-stats-srt-dcerpc.png           \
        wsug_graphics/ws-stats-summary.png              \
        wsug_graphics/ws-stats-lte-mac-traffic.png              \
        wsug_graphics/ws-stats-lte-rlc-traffic.png              \
        wsug_graphics/ws-stats-wlan-traffic.png         \
        wsug_graphics/ws-statusbar-empty.png            \
        wsug_graphics/ws-statusbar-filter.png           \
        wsug_graphics/ws-statusbar-loaded.png           \
        wsug_graphics/ws-statusbar-profile.png          \
        wsug_graphics/ws-statusbar-selected.png         \
        wsug_graphics/ws-tel-rtpstream-analysis.png             \
        wsug_graphics/ws-telephony-menu.png             \
        wsug_graphics/ws-tools-menu.png \
        wsug_graphics/ws-time-reference.png             \
        wsug_graphics/ws-view-menu.png                  \
        wsug_graphics/toolbar/autoscroll_24.png                 \
        wsug_graphics/toolbar/capture_filter_24.png             \
        wsug_graphics/toolbar/capture_interfaces_24.png         \
        wsug_graphics/toolbar/capture_options_24.png            \
        wsug_graphics/toolbar/capture_restart_24.png            \
        wsug_graphics/toolbar/capture_start_24.png              \
        wsug_graphics/toolbar/capture_stop_24.png               \
        wsug_graphics/toolbar/colorize_24.png                   \
        wsug_graphics/toolbar/display_filter_24.png             \
        wsug_graphics/toolbar/resize_columns_24.png             \
        wsug_graphics/toolbar/stock_add_24.png                  \
        wsug_graphics/toolbar/stock_apply_20.png                \
        wsug_graphics/toolbar/stock_bottom_24.png               \
        wsug_graphics/toolbar/stock_clear_24.png                \
        wsug_graphics/toolbar/stock_close_24.png                \
        wsug_graphics/toolbar/stock_colorselector_24.png        \
        wsug_graphics/toolbar/stock_help_24.png                 \
        wsug_graphics/toolbar/stock_jump_to_24.png              \
        wsug_graphics/toolbar/stock_left_arrow_24.png           \
        wsug_graphics/toolbar/stock_open_24.png                 \
        wsug_graphics/toolbar/stock_preferences_24.png          \
        wsug_graphics/toolbar/stock_print_24.png                \
        wsug_graphics/toolbar/stock_properties_24.png           \
        wsug_graphics/toolbar/stock_refresh_24.png              \
        wsug_graphics/toolbar/stock_right_arrow_24.png          \
        wsug_graphics/toolbar/stock_save_24.png                 \
        wsug_graphics/toolbar/stock_save_as_24.png              \
        wsug_graphics/toolbar/stock_search_24.png               \
        wsug_graphics/toolbar/stock_stop_24.png                 \
        wsug_graphics/toolbar/stock_top_24.png                  \
        wsug_graphics/toolbar/stock_zoom_1_24.png               \
        wsug_graphics/toolbar/stock_zoom_in_24.png              \
        wsug_graphics/toolbar/stock_zoom_out_24.png

WSDG_FILES = \
        wsdg_src/WSDG_chapter_build_intro.asciidoc      \
        wsdg_src/WSDG_chapter_capture.asciidoc          \
        wsdg_src/WSDG_chapter_dissection.asciidoc       \
        wsdg_src/WSDG_chapter_env_intro.asciidoc        \
        wsdg_src/WSDG_chapter_libraries.asciidoc        \
        wsdg_src/WSDG_chapter_quick_setup.asciidoc      \
        wsdg_src/WSDG_chapter_sources.asciidoc          \
        wsdg_src/WSDG_chapter_tools.asciidoc            \
        wsdg_src/WSDG_chapter_userinterface.asciidoc    \
        wsdg_src/WSDG_chapter_works.asciidoc            \
        wsdg_src/WSDG_preface.asciidoc                  \
        wsluarm.asciidoc                                \
        ws.css

WSDG_GENERATED_SOURCE = \
        developer-guide.xml

WSDG_GRAPHICS = \
        wsdg_graphics/ws-capture-sync.dia       \
        wsdg_graphics/ws-capture-sync.png       \
        wsdg_graphics/ws-capture_internals.dia  \
        wsdg_graphics/ws-capture_internals.png  \
        wsdg_graphics/ws-function-blocks.dia    \
        wsdg_graphics/ws-function-blocks.png    \
        wsdg_graphics/ws-logo.png               \
        wsdg_graphics/toolbar/dummy.dummy

COMMON_GRAPHICS = \
        common_graphics/note.svg        \
        common_graphics/tip.svg         \
        common_graphics/warning.svg


# user-guide.xml must be first in the list (to match $<)
WSUG_DIST = \
        user-guide.asciidoc     \
        GPL_appendix.asciidoc   \
        custom_layer_chm.xsl    \
        custom_layer_pdf.xsl    \
        $(WSUG_FILES)           \
        $(WSUG_GRAPHICS)        \
        $(COMMON_GRAPHICS)

WSUG_SOURCE = $(WSUG_GENERATED_SOURCE) $(WSUG_DIST)

# developer-guide.asciidoc must be first in the list (to match $<)
WSDG_DIST = \
        developer-guide.asciidoc        \
        GPL_appendix.asciidoc   \
        custom_layer_chm.xsl    \
        custom_layer_pdf.xsl    \
        $(WSDG_FILES)           \
        $(WSDG_GRAPHICS)        \
        $(COMMON_GRAPHICS)

WSDG_SOURCE = $(WSDG_GENERATED_SOURCE) $(WSDG_DIST)
RELEASE_NOTES_SOURCE = \
        release-notes.asciidoc  \
        asciidoc.conf           \
        asciidoctor-asciidoc.conf

CLEANFILES = \
        *.chm                   \
        *.fo                    \
        *.hhc                   \
        *.hhp                   \
        *.pdf                   \
        $(WSDG_GENERATED_SOURCE) \
        $(WSUG_GENERATED_SOURCE) \
        wsdg_chm                \
        wsdg_html.zip           \
        wsdg_html_chunked.zip   \
        wsug_chm                \
        wsug_html.zip           \
        wsug_html_chunked.zip   \
        htmlhelp.*              \
        release_notes_chm       \
        release-notes.html      \
        release-notes.txt       \
        user-guide.zip          \
        wsluarm

CLEANDIRS = \
        wsdg_html               \
        wsdg_html_chunked       \
        wsug_html               \
        wsug_html_chunked       \
        wsluarm_src


# Note: file order here MATTERS!
# new WSLUA_MODULE files must come right before any WSLUA_CONTINUE_MODULE
# files for the same module
WSLUA_MODULES = \
        $(top_srcdir)/epan/wslua/wslua_dumper.c \
        $(top_srcdir)/epan/wslua/wslua_field.c \
        $(top_srcdir)/epan/wslua/wslua_gui.c \
        $(top_srcdir)/epan/wslua/wslua_listener.c \
        $(top_srcdir)/epan/wslua/wslua_pinfo.c \
        $(top_srcdir)/epan/wslua/wslua_address.c \
        $(top_srcdir)/epan/wslua/wslua_column.c \
        $(top_srcdir)/epan/wslua/wslua_nstime.c \
        $(top_srcdir)/epan/wslua/wslua_proto.c \
        $(top_srcdir)/epan/wslua/wslua_dissector.c \
        $(top_srcdir)/epan/wslua/wslua_pref.c \
        $(top_srcdir)/epan/wslua/wslua_proto_expert.c \
        $(top_srcdir)/epan/wslua/wslua_proto_field.c \
        $(top_srcdir)/epan/wslua/wslua_int64.c \
        $(top_srcdir)/epan/wslua/wslua_struct.c \
        $(top_srcdir)/epan/wslua/wslua_tree.c \
        $(top_srcdir)/epan/wslua/wslua_tvb.c \
        $(top_srcdir)/epan/wslua/wslua_byte_array.c \
        $(top_srcdir)/epan/wslua/wslua_file.c \
        $(top_srcdir)/epan/wslua/wslua_file_handler.c \
        $(top_srcdir)/epan/wslua/wslua_frame_info.c \
        $(top_srcdir)/epan/wslua/wslua_capture_info.c \
        $(top_srcdir)/epan/wslua/wslua_dir.c \
        $(top_srcdir)/epan/wslua/wslua_util.c

COMMON_XSLTPROC_ARGS = \
        --stringparam use.id.as.filename 1 \
        --stringparam admon.graphics 1 \
        --stringparam admon.graphics.extension .svg \
        --stringparam section.autolabel 1 \
        --stringparam section.label.includes.component.label 1 \
        --stringparam html.stylesheet ws.css

WSUG_XSLTPROC_ARGS = \
        --stringparam admon.graphics.path wsug_graphics/

WSUG_PDF_XSLTPROC_ARGS = \
                --stringparam img.src.path $(srcdir)/ \
                --stringparam admon.graphics.path $(srcdir)/common_graphics/

WSDG_XSLTPROC_ARGS = \
        --stringparam admon.graphics.path wsdg_graphics/

WSDG_PDF_XSLTPROC_ARGS = \
                --stringparam img.src.path $(srcdir)/ \
                --stringparam admon.graphics.path $(srcdir)/common_graphics/

SINGLE_XSLTPROC_ARGS = \
        --nonet http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl

CHUNKED_XSLTPROC_ARGS = \
        --nonet http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl

HTMLHELP_XSLTPROC_ARGS = \
        --nonet custom_layer_chm.xsl

EXTRA_DIST = \
        $(WSUG_DIST)            \
        $(WSDG_DIST)            \
        $(RELEASE_NOTES_SOURCE) \
        dfilter2xml.pl          \
        make-wsluarm.pl         \
        README.txt              \
        CMakeLists.txt

MAINTAINERCLEANFILES = \
        Makefile.in

all: all-am

.SUFFIXES:
.SUFFIXES: .fo .pdf
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
            *$$dep*) \
              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
                && { if test -f $@; then exit 0; else break; fi; }; \
              exit 1;; \
          esac; \
        done; \
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docbook/Makefile'; \
        $(am__cd) $(top_srcdir) && \
          $(AUTOMAKE) --gnu docbook/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
        @case '$?' in \
          *config.status*) \
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
          *) \
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
        esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure:  $(am__configure_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):

mostlyclean-libtool:
        -rm -f *.lo

clean-libtool:
        -rm -rf .libs _libs
tags TAGS:

ctags CTAGS:

cscope cscopelist:


distdir: $(DISTFILES)
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
        list='$(DISTFILES)'; \
          dist_files=`for file in $$list; do echo $$file; done | \
          sed -e "s|^$$srcdirstrip/||;t" \
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
        case $$dist_files in \
          */*) $(MKDIR_P) `echo "$$dist_files" | \
                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
                           sort -u` ;; \
        esac; \
        for file in $$dist_files; do \
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
          if test -d $$d/$$file; then \
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
            if test -d "$(distdir)/$$file"; then \
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
            fi; \
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
            fi; \
            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
          else \
            test -f "$(distdir)/$$file" \
            || cp -p $$d/$$file "$(distdir)/$$file" \
            || exit 1; \
          fi; \
        done
check-am: all-am
check: check-am
all-am: Makefile
installdirs:
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
        if test -z '$(STRIP)'; then \
          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
              install; \
        else \
          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
        fi
mostlyclean-generic:

clean-generic:
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)

maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
        @echo "it deletes files that may require special tools to rebuild."
        -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-am

clean-am: clean-generic clean-libtool clean-local mostlyclean-am

distclean: distclean-am
        -rm -f Makefile
distclean-am: clean-am distclean-generic

dvi: dvi-am

dvi-am:

html: html-am

html-am:

info: info-am

info-am:

install-data-am:

install-dvi: install-dvi-am

install-dvi-am:

install-exec-am:

install-html: install-html-am

install-html-am:

install-info: install-info-am

install-info-am:

install-man:

install-pdf: install-pdf-am

install-pdf-am:

install-ps: install-ps-am

install-ps-am:

installcheck-am:

maintainer-clean: maintainer-clean-am
        -rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-generic mostlyclean-libtool

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am:

.MAKE: install-am install-strip

.PHONY: all all-am check check-am clean clean-generic clean-libtool \
        clean-local cscopelist-am ctags-am distclean distclean-generic \
        distclean-libtool distdir dvi dvi-am html html-am info info-am \
        install install-am install-data install-data-am install-dvi \
        install-dvi-am install-exec install-exec-am install-html \
        install-html-am install-info install-info-am install-man \
        install-pdf install-pdf-am install-ps install-ps-am \
        install-strip installcheck installcheck-am installdirs \
        maintainer-clean maintainer-clean-generic mostlyclean \
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
        tags-am uninstall uninstall-am

.PRECIOUS: Makefile

#       --nonet http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl

# Automatically generate .pdf files from .fo files
# Suse needs FOP_OPTS, Debian needs JAVA_OPTS
.fo.pdf:
        FOP_OPTS=$(FOP_OPTS) JAVA_OPTS=$(FOP_OPTS) $(FOP) $< $@

all: wsug wsdg release-notes

all-pdf: wsug-pdf wsdg-pdf release-notes-pdf

# Wireshark User Guide
wsug: wsug_html_chunked wsug_html

wsug-pdf: wsug user-guide-a4.pdf user-guide-us.pdf

user-guide.xml: user-guide.asciidoc $(WSUG_FILES)
        $(A2X) --verbose \
                --attribute=docinfo \
                --asciidoc-opts="--conf-file=$(srcdir)/asciidoc.conf --conf-file=$(srcdir)/asciidoctor-asciidoc.conf" \
                --no-xmllint \
                --format=docbook \
                --destination-dir=$(builddir) \
                $<

# create html single page file
wsug_html: wsug_html/index.html

wsug_html/index.html: $(WSUG_SOURCE)
        @ echo --- WSUG - HTML SINGLE PAGE ---
        mkdir -p wsug_html/wsug_graphics/toolbar
        cp $(srcdir)/wsug_graphics/*.* wsug_html/wsug_graphics
        cp $(srcdir)/common_graphics/*.* wsug_html/wsug_graphics
        cp $(srcdir)/wsug_graphics/toolbar/* wsug_html/wsug_graphics/toolbar
        cp $(srcdir)/ws.css wsug_html
        $(XSLTPROC) --stringparam base.dir wsug_html/ $(COMMON_XSLTPROC_ARGS) \
                $(WSUG_XSLTPROC_ARGS) $(SINGLE_XSLTPROC_ARGS) $< > $@
        -chmod -R og+rX wsug_html

# create html chunked page files
wsug_html_chunked: wsug_html_chunked/index.html

wsug_html_chunked/index.html: $(WSUG_SOURCE)
        @ echo --- WSUG - HTML CHUNKED ---
        mkdir -p wsug_html_chunked/wsug_graphics/toolbar
        cp $(srcdir)/wsug_graphics/*.* wsug_html_chunked/wsug_graphics
        cp $(srcdir)/common_graphics/*.* wsug_html_chunked/wsug_graphics
        cp $(srcdir)/wsug_graphics/toolbar/* wsug_html_chunked/wsug_graphics/toolbar
        cp $(srcdir)/ws.css wsug_html_chunked
        $(XSLTPROC) --stringparam base.dir wsug_html_chunked/ $(COMMON_XSLTPROC_ARGS) \
                    $(WSUG_XSLTPROC_ARGS) $(CHUNKED_XSLTPROC_ARGS) $<
        -chmod -R og+rX wsug_html_chunked

# create pdf file (through XSL-FO), portrait pages on US letter paper
# you will get lot's of errors, but that's ok
user-guide-us.fo: $(WSUG_SOURCE) custom_layer_pdf.xsl
        @ echo --- WSUG - PDF US PAPER ---
        $(XSLTPROC) --stringparam paper.type letter \
                $(COMMON_XSLTPROC_ARGS) $(WSUG_PDF_XSLTPROC_ARGS) \
                --nonet $(srcdir)/custom_layer_pdf.xsl $< > $@

# create pdf file (through XSL-FO), portrait pages on A4 paper
# you will get lot's of errors, but that's ok
user-guide-a4.fo: $(WSUG_SOURCE) custom_layer_pdf.xsl
        @ echo --- WSUG - PDF A4 PAPER ---
        $(XSLTPROC) --stringparam paper.type A4 \
                $(COMMON_XSLTPROC_ARGS) $(WSUG_PDF_XSLTPROC_ARGS) \
                --nonet $(srcdir)/custom_layer_pdf.xsl $< > $@

wsluarm: make-wsluarm.pl $(WSLUA_MODULES)
        mkdir -p wsluarm_src
        $(PERL) $(srcdir)/make-wsluarm.pl $(WSLUA_MODULES)
        touch wsluarm

# Wireshark Developer Guide
wsdg: wsdg_html_chunked wsdg_html

wsdg-pdf: wsdg developer-guide-a4.pdf developer-guide-us.pdf

developer-guide.xml: developer-guide.asciidoc $(WSDG_FILES) wsluarm
        $(A2X) --verbose \
                --attribute=docinfo \
                --attribute=build_dir=$(abs_builddir) \
                --asciidoc-opts="--conf-file=$(srcdir)/asciidoc.conf --conf-file=$(srcdir)/asciidoctor-asciidoc.conf" \
                --no-xmllint \
                --format=docbook \
                --destination-dir=$(builddir) \
                $<

# create html single page file
wsdg_html: wsdg_html/index.html

wsdg_html/index.html: $(WSDG_SOURCE)
        @ echo --- WSDG - HTML SINGLE PAGE ---
        mkdir -p wsdg_html/wsdg_graphics/toolbar
        cp $(srcdir)/wsdg_graphics/*.* wsdg_html/wsdg_graphics
        cp $(srcdir)/common_graphics/*.* wsdg_html/wsdg_graphics
        cp $(srcdir)/wsdg_graphics/toolbar/* wsdg_html/wsdg_graphics/toolbar/
        cp $(srcdir)/ws.css wsdg_html
        $(XSLTPROC) --stringparam base.dir wsdg_html/ $(COMMON_XSLTPROC_ARGS) \
                --path .:wsluarm_src \
                $(WSDG_XSLTPROC_ARGS) $(SINGLE_XSLTPROC_ARGS) $< > $@
        -chmod -R og+rX wsdg_html

# create html chunked page files
wsdg_html_chunked: wsdg_html_chunked/index.html

wsdg_html_chunked/index.html: $(WSDG_SOURCE)
        @ echo --- WSDG - HTML CHUNKED ---
        mkdir -p wsdg_html_chunked/wsdg_graphics/toolbar
        cp $(srcdir)/wsdg_graphics/*.* wsdg_html_chunked/wsdg_graphics
        cp $(srcdir)/common_graphics/*.* wsdg_html_chunked/wsdg_graphics
        cp $(srcdir)/wsdg_graphics/toolbar/* wsdg_html_chunked/wsdg_graphics/toolbar/
        cp $(srcdir)/ws.css wsdg_html_chunked
        $(XSLTPROC) --stringparam base.dir wsdg_html_chunked/ $(COMMON_XSLTPROC_ARGS) \
                --path .:wsluarm_src \
                $(WSDG_XSLTPROC_ARGS) $(CHUNKED_XSLTPROC_ARGS) $<
        -chmod -R og+rX wsdg_html_chunked

# create pdf file (through XSL-FO), portrait pages on US letter paper
# you will get lot's of errors, but that's ok
developer-guide-us.fo: $(WSDG_SOURCE) custom_layer_pdf.xsl
        @ echo --- WSDG - PDF US PAPER ---
        $(XSLTPROC) --stringparam paper.type letter \
                    $(COMMON_XSLTPROC_ARGS) $(WSDG_PDF_XSLTPROC_ARGS) \
                    --path .:wsluarm_src:$(srcdir) \
                    --nonet $(srcdir)/custom_layer_pdf.xsl $< > $@

# create pdf file (through XSL-FO), portrait pages on A4 paper
# you will get lot's of errors, but that's ok
developer-guide-a4.fo: $(WSDG_SOURCE) custom_layer_pdf.xsl
        @ echo --- WSDG - PDF A4 PAPER ---
        $(XSLTPROC) --stringparam paper.type A4 \
                    $(COMMON_XSLTPROC_ARGS) $(WSDG_PDF_XSLTPROC_ARGS) \
                    --path .:wsluarm_src:$(srcdir) \
                    --nonet $(srcdir)/custom_layer_pdf.xsl $< > $@

# Release notes
@HAVE_A2X_TEXT_TRUE@release-notes: release-notes.html release-notes.txt
@HAVE_A2X_TEXT_FALSE@release-notes: release-notes.html

release-notes-pdf: release-notes release-notes-a4.pdf release-notes-us.pdf

# create html single page file
release-notes.html: $(RELEASE_NOTES_SOURCE)
        @ echo --- RELEASE NOTES - HTML ---
        $(A2X) --format=xhtml $(A2X_HTML_OPTS) \
                --destination-dir=$(builddir) \
                $(srcdir)/release-notes.asciidoc

# create txt single page file (through HTML)
release-notes.txt: $(RELEASE_NOTES_SOURCE)
        @ echo --- RELEASE NOTES - TXT ---
        TZ=UTC $(A2X) --format=text @A2X_LYNX@ $(A2X_TEXT_OPTS) \
                --xsltproc-opts "--stringparam generate.toc \"article nop\"" \
                --destination-dir=$(builddir) \
                $(srcdir)/release-notes.asciidoc && \
                mv release-notes.text $@

news: release-notes.txt
        cp release-notes.txt ../NEWS
        -cp release-notes.txt $(top_srcdir)/NEWS

# Apparently we can only run one instance of a2x at a time.
.NOTPARALLEL: release-notes-us.pdf release-notes-a4.pdf
# create pdf file, portrait pages on US letter paper
release-notes-us.pdf: $(RELEASE_NOTES_SOURCE) custom_layer_pdf.xsl
        @ echo --- RELEASE NOTES - PDF US LETTER PAPER ---
        $(A2X) --format=pdf $(A2X_HTML_OPTS) --fop \
                --xsltproc-opts "--stringparam paper.type letter --nonet" \
                --xsl-file=$(srcdir)/custom_layer_pdf.xsl \
                --destination-dir=$(builddir) \
                $(srcdir)/release-notes.asciidoc

# create pdf file, portrait pages on A4 paper
release-notes-a4.pdf: $(RELEASE_NOTES_SOURCE) custom_layer_pdf.xsl
        @ echo --- RELEASE NOTES - PDF A4 PAPER ---
        $(A2X) --format=pdf $(A2X_HTML_OPTS) --fop \
                --xsltproc-opts "--stringparam paper.type A4 --nonet" \
                --xsl-file=$(srcdir)/custom_layer_pdf.xsl \
                --destination-dir=$(builddir) \
                $(srcdir)/release-notes.asciidoc

clean-local:
        -rm -rf $(CLEANDIRS)

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: