# Makefile.in generated by automake 1.15.1 from Makefile.am.
# tests/Makefile.  Generated from Makefile.in by configure.

# Copyright (C) 1994-2017 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.



# Copyright (C) 1999-2008 Lorenzo Bettini <http://www.lorenzobettini.it>
#  
# This file is free software; as a special exception the author 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.


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)/source-highlight
pkgincludedir = $(includedir)/source-highlight
pkglibdir = $(libdir)/source-highlight
pkglibexecdir = $(libexecdir)/source-highlight
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 = i686-pc-mingw32
host_triplet = i686-pc-mingw32
subdir = tests
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/gl/m4/00gnulib.m4 \
	$(top_srcdir)/gl/m4/ac_prog_doxygen.m4 \
	$(top_srcdir)/gl/m4/dirent_h.m4 $(top_srcdir)/gl/m4/dirname.m4 \
	$(top_srcdir)/gl/m4/double-slash-root.m4 \
	$(top_srcdir)/gl/m4/extensions.m4 \
	$(top_srcdir)/gl/m4/getopt.m4 \
	$(top_srcdir)/gl/m4/gnulib-common.m4 \
	$(top_srcdir)/gl/m4/gnulib-comp.m4 \
	$(top_srcdir)/gl/m4/include_next.m4 \
	$(top_srcdir)/gl/m4/malloc.m4 $(top_srcdir)/gl/m4/memset.m4 \
	$(top_srcdir)/gl/m4/mkdir.m4 $(top_srcdir)/gl/m4/nocrash.m4 \
	$(top_srcdir)/gl/m4/ssize_t.m4 $(top_srcdir)/gl/m4/stdbool.m4 \
	$(top_srcdir)/gl/m4/stddef_h.m4 \
	$(top_srcdir)/gl/m4/stdlib_h.m4 $(top_srcdir)/gl/m4/strdup.m4 \
	$(top_srcdir)/gl/m4/string_h.m4 \
	$(top_srcdir)/gl/m4/sys_stat_h.m4 \
	$(top_srcdir)/gl/m4/time_h.m4 $(top_srcdir)/gl/m4/unistd_h.m4 \
	$(top_srcdir)/gl/m4/warn-on-use.m4 \
	$(top_srcdir)/gl/m4/wchar_t.m4 \
	$(top_srcdir)/m4/ax_boost_base.m4 \
	$(top_srcdir)/m4/ax_boost_regex.m4 $(top_srcdir)/m4/libtool.m4 \
	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.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 = valgrind_tests.sh valgrind_suppressions.sh \
	valgrind_test.sh
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $(am__v_P_$(V))
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo "  GEN     " $@;
am__v_GEN_1 = 
AM_V_at = $(am__v_at_$(V))
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
am__v_at_0 = @
am__v_at_1 = 
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
	ctags-recursive dvi-recursive html-recursive info-recursive \
	install-data-recursive install-dvi-recursive \
	install-exec-recursive install-html-recursive \
	install-info-recursive install-pdf-recursive \
	install-ps-recursive install-recursive installcheck-recursive \
	installdirs-recursive pdf-recursive ps-recursive \
	tags-recursive uninstall-recursive
am__can_run_installinfo = \
  case $$AM_UPDATE_INFO_DIR in \
    n|no|NO) false;; \
    *) (install-info --version) >/dev/null 2>&1;; \
  esac
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    *) f=$$p;; \
  esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
  for p in $$list; do echo "$$p $$p"; done | \
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
    if (++n[$$2] == $(am__install_max)) \
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
    END { for (dir in files) print dir, files[dir] }'
am__base_list = \
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
  test -z "$$files" \
    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
         $(am__cd) "$$dir" && rm -f $$files; }; \
  }
am__installdirs = "$(DESTDIR)$(source_highlightdocdir)"
DATA = $(source_highlightdoc_DATA)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
  distclean-recursive maintainer-clean-recursive
am__recursive_targets = \
  $(RECURSIVE_TARGETS) \
  $(RECURSIVE_CLEAN_TARGETS) \
  $(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
	distdir
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates.  Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
  BEGIN { nonempty = 0; } \
  { items[$$0] = 1; nonempty = 1; } \
  END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique.  This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
  list='$(am__tagged_files)'; \
  unique=`for i in $$list; do \
    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  done | $(am__uniquify_input)`
ETAGS = etags
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in \
	$(srcdir)/valgrind_suppressions.sh.in \
	$(srcdir)/valgrind_test.sh.in $(srcdir)/valgrind_tests.sh.in
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
am__relativize = \
  dir0=`pwd`; \
  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  sed_rest='s,^[^/]*/*,,'; \
  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  sed_butlast='s,/*[^/]*$$,,'; \
  while test -n "$$dir1"; do \
    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
    if test "$$first" != "."; then \
      if test "$$first" = ".."; then \
        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
      else \
        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
        if test "$$first2" = "$$first"; then \
          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
        else \
          dir2="../$$dir2"; \
        fi; \
        dir0="$$dir0"/"$$first"; \
      fi; \
    fi; \
    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  done; \
  reldir="$$dir2"
ABSOLUTEDATADIR = d:/usr/share/source-highlight
ACLOCAL = ${SHELL} /d/gnu/source-highlight-3.1.9/build-aux/missing aclocal-1.15
AMTAR = $${TAR-tar}
AM_DEFAULT_VERBOSITY = 1
AR = ar
ARFLAGS = cru
AUTOCONF = ${SHELL} /d/gnu/source-highlight-3.1.9/build-aux/missing autoconf
AUTOHEADER = ${SHELL} /d/gnu/source-highlight-3.1.9/build-aux/missing autoheader
AUTOMAKE = ${SHELL} /d/gnu/source-highlight-3.1.9/build-aux/missing automake-1.15
AWK = gawk
BASH_COMPLETION_DIR = ${prefix}/etc/bash_completion.d
BASH_SHELL = /bin/bash
BOOST_CPPFLAGS = 
BOOST_LDFLAGS = 
BOOST_REGEX_LIB = -lboost_regex-mt-x32
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -O2 -gdwarf-4 -g3
CHROOT_INPUT_DIR = 
CPP = gcc -E
CPPFLAGS = 
CTAGS = /d/usr/bin/ctags
CXX = g++ -Wno-deprecated
CXXCPP = g++ -Wno-deprecated -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -O2 -gdwarf-4 -g3
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
DLLTOOL = dlltool
DOUBLECPP = 
DOXYGEN = 
DSYMUTIL = 
DUMPBIN = 
ECHO_C = 
ECHO_N = -n
ECHO_T = 
EGREP = /bin/grep -E
EXEEXT = .exe
FGREP = /bin/grep -F
GENGETOPT = 
GETOPT_H = getopt.h
GNULIB_ALPHASORT = 0
GNULIB_ATOLL = 0
GNULIB_CALLOC_POSIX = 0
GNULIB_CANONICALIZE_FILE_NAME = 0
GNULIB_CHDIR = 0
GNULIB_CHOWN = 0
GNULIB_CLOSE = 0
GNULIB_CLOSEDIR = 0
GNULIB_DIRFD = 0
GNULIB_DUP = 0
GNULIB_DUP2 = 0
GNULIB_DUP3 = 0
GNULIB_ENVIRON = 0
GNULIB_EUIDACCESS = 0
GNULIB_FACCESSAT = 0
GNULIB_FCHDIR = 0
GNULIB_FCHMODAT = 0
GNULIB_FCHOWNAT = 0
GNULIB_FDATASYNC = 0
GNULIB_FDOPENDIR = 0
GNULIB_FFSL = 0
GNULIB_FFSLL = 0
GNULIB_FSTAT = 0
GNULIB_FSTATAT = 0
GNULIB_FSYNC = 0
GNULIB_FTRUNCATE = 0
GNULIB_FUTIMENS = 0
GNULIB_GETCWD = 0
GNULIB_GETDOMAINNAME = 0
GNULIB_GETDTABLESIZE = 0
GNULIB_GETGROUPS = 0
GNULIB_GETHOSTNAME = 0
GNULIB_GETLOADAVG = 0
GNULIB_GETLOGIN = 0
GNULIB_GETLOGIN_R = 0
GNULIB_GETPAGESIZE = 0
GNULIB_GETSUBOPT = 0
GNULIB_GETUSERSHELL = 0
GNULIB_GL_UNISTD_H_GETOPT = 1
GNULIB_GRANTPT = 0
GNULIB_GROUP_MEMBER = 0
GNULIB_LCHMOD = 0
GNULIB_LCHOWN = 0
GNULIB_LINK = 0
GNULIB_LINKAT = 0
GNULIB_LSEEK = 0
GNULIB_LSTAT = 0
GNULIB_MALLOC_POSIX = 1
GNULIB_MBSCASECMP = 0
GNULIB_MBSCASESTR = 0
GNULIB_MBSCHR = 0
GNULIB_MBSCSPN = 0
GNULIB_MBSLEN = 0
GNULIB_MBSNCASECMP = 0
GNULIB_MBSNLEN = 0
GNULIB_MBSPBRK = 0
GNULIB_MBSPCASECMP = 0
GNULIB_MBSRCHR = 0
GNULIB_MBSSEP = 0
GNULIB_MBSSPN = 0
GNULIB_MBSSTR = 0
GNULIB_MBSTOK_R = 0
GNULIB_MBTOWC = 0
GNULIB_MEMCHR = 0
GNULIB_MEMMEM = 0
GNULIB_MEMPCPY = 0
GNULIB_MEMRCHR = 0
GNULIB_MKDIRAT = 0
GNULIB_MKDTEMP = 0
GNULIB_MKFIFO = 0
GNULIB_MKFIFOAT = 0
GNULIB_MKNOD = 0
GNULIB_MKNODAT = 0
GNULIB_MKOSTEMP = 0
GNULIB_MKOSTEMPS = 0
GNULIB_MKSTEMP = 0
GNULIB_MKSTEMPS = 0
GNULIB_MKTIME = 0
GNULIB_NANOSLEEP = 0
GNULIB_OPENDIR = 0
GNULIB_PIPE = 0
GNULIB_PIPE2 = 0
GNULIB_POSIX_OPENPT = 0
GNULIB_PREAD = 0
GNULIB_PTSNAME = 0
GNULIB_PTSNAME_R = 0
GNULIB_PUTENV = 0
GNULIB_PWRITE = 0
GNULIB_RANDOM_R = 0
GNULIB_RAWMEMCHR = 0
GNULIB_READ = 0
GNULIB_READDIR = 0
GNULIB_READLINK = 0
GNULIB_READLINKAT = 0
GNULIB_REALLOC_POSIX = 0
GNULIB_REALPATH = 0
GNULIB_REWINDDIR = 0
GNULIB_RMDIR = 0
GNULIB_RPMATCH = 0
GNULIB_SCANDIR = 0
GNULIB_SETENV = 0
GNULIB_SETHOSTNAME = 0
GNULIB_SLEEP = 0
GNULIB_STAT = 0
GNULIB_STPCPY = 0
GNULIB_STPNCPY = 0
GNULIB_STRCASESTR = 0
GNULIB_STRCHRNUL = 0
GNULIB_STRDUP = 1
GNULIB_STRERROR = 0
GNULIB_STRERROR_R = 0
GNULIB_STRNCAT = 0
GNULIB_STRNDUP = 0
GNULIB_STRNLEN = 0
GNULIB_STRPBRK = 0
GNULIB_STRPTIME = 0
GNULIB_STRSEP = 0
GNULIB_STRSIGNAL = 0
GNULIB_STRSTR = 0
GNULIB_STRTOD = 0
GNULIB_STRTOK_R = 0
GNULIB_STRTOLL = 0
GNULIB_STRTOULL = 0
GNULIB_STRVERSCMP = 0
GNULIB_SYMLINK = 0
GNULIB_SYMLINKAT = 0
GNULIB_SYSTEM_POSIX = 0
GNULIB_TIMEGM = 0
GNULIB_TIME_R = 0
GNULIB_TTYNAME_R = 0
GNULIB_UNISTD_H_NONBLOCKING = 0
GNULIB_UNISTD_H_SIGPIPE = 0
GNULIB_UNLINK = 0
GNULIB_UNLINKAT = 0
GNULIB_UNLOCKPT = 0
GNULIB_UNSETENV = 0
GNULIB_USLEEP = 0
GNULIB_UTIMENSAT = 0
GNULIB_WCTOMB = 0
GNULIB_WRITE = 0
GNULIB__EXIT = 0
GREP = /bin/grep
HAVE_ALPHASORT = 1
HAVE_ATOLL = 1
HAVE_CANONICALIZE_FILE_NAME = 1
HAVE_CHOWN = 1
HAVE_CLOSEDIR = 1
HAVE_DECL_DIRFD = 1
HAVE_DECL_ENVIRON = 1
HAVE_DECL_FCHDIR = 1
HAVE_DECL_FDATASYNC = 1
HAVE_DECL_FDOPENDIR = 1
HAVE_DECL_GETDOMAINNAME = 1
HAVE_DECL_GETLOADAVG = 1
HAVE_DECL_GETLOGIN_R = 1
HAVE_DECL_GETPAGESIZE = 1
HAVE_DECL_GETUSERSHELL = 1
HAVE_DECL_LOCALTIME_R = 1
HAVE_DECL_MEMMEM = 1
HAVE_DECL_MEMRCHR = 1
HAVE_DECL_SETENV = 1
HAVE_DECL_SETHOSTNAME = 1
HAVE_DECL_STRDUP = 1
HAVE_DECL_STRERROR_R = 1
HAVE_DECL_STRNDUP = 1
HAVE_DECL_STRNLEN = 1
HAVE_DECL_STRSIGNAL = 1
HAVE_DECL_STRTOK_R = 1
HAVE_DECL_TTYNAME_R = 1
HAVE_DECL_UNSETENV = 1
HAVE_DIRENT_H = 1
HAVE_DUP2 = 1
HAVE_DUP3 = 1
HAVE_EUIDACCESS = 1
HAVE_FACCESSAT = 1
HAVE_FCHDIR = 1
HAVE_FCHMODAT = 1
HAVE_FCHOWNAT = 1
HAVE_FDATASYNC = 1
HAVE_FDOPENDIR = 1
HAVE_FFSL = 1
HAVE_FFSLL = 1
HAVE_FSTATAT = 1
HAVE_FSYNC = 1
HAVE_FTRUNCATE = 1
HAVE_FUTIMENS = 1
HAVE_GETDTABLESIZE = 1
HAVE_GETGROUPS = 1
HAVE_GETHOSTNAME = 1
HAVE_GETLOGIN = 1
HAVE_GETOPT_H = 1
HAVE_GETPAGESIZE = 1
HAVE_GETSUBOPT = 1
HAVE_GRANTPT = 1
HAVE_GROUP_MEMBER = 1
HAVE_LCHMOD = 1
HAVE_LCHOWN = 1
HAVE_LINK = 1
HAVE_LINKAT = 1
HAVE_LSTAT = 1
HAVE_MBSLEN = 0
HAVE_MEMCHR = 1
HAVE_MEMPCPY = 1
HAVE_MKDIRAT = 1
HAVE_MKDTEMP = 1
HAVE_MKFIFO = 1
HAVE_MKFIFOAT = 1
HAVE_MKNOD = 1
HAVE_MKNODAT = 1
HAVE_MKOSTEMP = 1
HAVE_MKOSTEMPS = 1
HAVE_MKSTEMP = 1
HAVE_MKSTEMPS = 1
HAVE_NANOSLEEP = 1
HAVE_OPENDIR = 1
HAVE_OS_H = 0
HAVE_PIPE = 1
HAVE_PIPE2 = 1
HAVE_POSIX_OPENPT = 1
HAVE_PREAD = 1
HAVE_PTSNAME = 1
HAVE_PTSNAME_R = 1
HAVE_PWRITE = 1
HAVE_RANDOM_H = 1
HAVE_RANDOM_R = 1
HAVE_RAWMEMCHR = 1
HAVE_READDIR = 1
HAVE_READLINK = 1
HAVE_READLINKAT = 1
HAVE_REALPATH = 1
HAVE_REWINDDIR = 1
HAVE_RPMATCH = 1
HAVE_SCANDIR = 1
HAVE_SETENV = 1
HAVE_SETHOSTNAME = 1
HAVE_SLEEP = 1
HAVE_STPCPY = 1
HAVE_STPNCPY = 1
HAVE_STRCASESTR = 1
HAVE_STRCHRNUL = 1
HAVE_STRPBRK = 1
HAVE_STRPTIME = 1
HAVE_STRSEP = 1
HAVE_STRTOD = 1
HAVE_STRTOLL = 1
HAVE_STRTOULL = 1
HAVE_STRUCT_RANDOM_DATA = 1
HAVE_STRVERSCMP = 1
HAVE_SYMLINK = 1
HAVE_SYMLINKAT = 1
HAVE_SYS_LOADAVG_H = 0
HAVE_SYS_PARAM_H = 0
HAVE_TIMEGM = 1
HAVE_UNISTD_H = 1
HAVE_UNLINKAT = 1
HAVE_UNLOCKPT = 1
HAVE_USLEEP = 1
HAVE_UTIMENSAT = 1
HAVE_WCHAR_T = 1
HAVE__BOOL = 1
HAVE__EXIT = 1
HELP2MAN = /bin/help2man
INCLUDE_NEXT = include_next
INCLUDE_NEXT_AS_FIRST_DIRECTIVE = include_next
INSTALL = /bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
LD = d:/usr/mingw32/bin/ld.exe
LDFLAGS = 
LEX = flex
LEXLIB = 
LEX_OUTPUT_ROOT = lex.yy
LIBINTL = 
LIBOBJS =  ${LIBOBJDIR}yywrap$U.o
LIBRARY_NAMESPACE = srchilite
LIBRARY_VERSION = 4:1:0
LIBS = 
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIPO = 
LN_S = cp -pR
LTLIBINTL = 
LTLIBOBJS =  ${LIBOBJDIR}yywrap$U.lo
LT_SYS_LIBRARY_PATH = 
MAINT = #
MAKEINFO = ${SHELL} /d/gnu/source-highlight-3.1.9/build-aux/missing makeinfo
MANIFEST_TOOL = :
MKDIR_P = /bin/mkdir -p
NEXT_AS_FIRST_DIRECTIVE_DIRENT_H = <dirent.h>
NEXT_AS_FIRST_DIRECTIVE_GETOPT_H = <getopt.h>
NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = 
NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = <stdlib.h>
NEXT_AS_FIRST_DIRECTIVE_STRING_H = <string.h>
NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = <sys/stat.h>
NEXT_AS_FIRST_DIRECTIVE_TIME_H = <time.h>
NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = <unistd.h>
NEXT_DIRENT_H = <dirent.h>
NEXT_GETOPT_H = <getopt.h>
NEXT_STDDEF_H = 
NEXT_STDLIB_H = <stdlib.h>
NEXT_STRING_H = <string.h>
NEXT_SYS_STAT_H = <sys/stat.h>
NEXT_TIME_H = <time.h>
NEXT_UNISTD_H = <unistd.h>
NM = /d/usr/bin/nm -B
NMEDIT = 
OBJDUMP = objdump
OBJEXT = o
OTOOL = 
OTOOL64 = 
PACKAGE = source-highlight
PACKAGE_BUGREPORT = 
PACKAGE_NAME = GNU source-highlight
PACKAGE_STRING = GNU source-highlight 3.1.9
PACKAGE_TARNAME = source-highlight
PACKAGE_URL = http://www.gnu.org/software/source-highlight/
PACKAGE_VERSION = 3.1.9
PATH_SEPARATOR = :
PRAGMA_COLUMNS = 
PRAGMA_SYSTEM_HEADER = #pragma GCC system_header
PTHREAD_H_DEFINES_STRUCT_TIMESPEC = 0
RANLIB = ranlib
REPLACE_CALLOC = 0
REPLACE_CANONICALIZE_FILE_NAME = 0
REPLACE_CHOWN = 0
REPLACE_CLOSE = 0
REPLACE_CLOSEDIR = 0
REPLACE_DIRFD = 0
REPLACE_DUP = 0
REPLACE_DUP2 = 0
REPLACE_FCHOWNAT = 0
REPLACE_FDOPENDIR = 0
REPLACE_FSTAT = 0
REPLACE_FSTATAT = 0
REPLACE_FUTIMENS = 0
REPLACE_GETCWD = 0
REPLACE_GETDOMAINNAME = 0
REPLACE_GETGROUPS = 0
REPLACE_GETLOGIN_R = 0
REPLACE_GETPAGESIZE = 0
REPLACE_LCHOWN = 0
REPLACE_LINK = 0
REPLACE_LINKAT = 0
REPLACE_LOCALTIME_R = GNULIB_PORTCHECK
REPLACE_LSEEK = 0
REPLACE_LSTAT = 0
REPLACE_MALLOC = 1
REPLACE_MBTOWC = 0
REPLACE_MEMCHR = 0
REPLACE_MEMMEM = 0
REPLACE_MKDIR = 1
REPLACE_MKFIFO = 0
REPLACE_MKNOD = 0
REPLACE_MKSTEMP = 0
REPLACE_MKTIME = GNULIB_PORTCHECK
REPLACE_NANOSLEEP = GNULIB_PORTCHECK
REPLACE_NULL = 0
REPLACE_OPENDIR = 0
REPLACE_PREAD = 0
REPLACE_PTSNAME_R = 0
REPLACE_PUTENV = 0
REPLACE_PWRITE = 0
REPLACE_READ = 0
REPLACE_READLINK = 0
REPLACE_REALLOC = 0
REPLACE_REALPATH = 0
REPLACE_RMDIR = 0
REPLACE_SETENV = 0
REPLACE_SLEEP = 0
REPLACE_STAT = 0
REPLACE_STPNCPY = 0
REPLACE_STRCASESTR = 0
REPLACE_STRCHRNUL = 0
REPLACE_STRDUP = 0
REPLACE_STRERROR = 0
REPLACE_STRERROR_R = 0
REPLACE_STRNCAT = 0
REPLACE_STRNDUP = 0
REPLACE_STRNLEN = 0
REPLACE_STRSIGNAL = 0
REPLACE_STRSTR = 0
REPLACE_STRTOD = 0
REPLACE_STRTOK_R = 0
REPLACE_SYMLINK = 0
REPLACE_TIMEGM = GNULIB_PORTCHECK
REPLACE_TTYNAME_R = 0
REPLACE_UNLINK = 0
REPLACE_UNLINKAT = 0
REPLACE_UNSETENV = 0
REPLACE_USLEEP = 0
REPLACE_UTIMENSAT = 0
REPLACE_WCTOMB = 0
REPLACE_WRITE = 0
SED = /bin/sed
SET_MAKE = 
SHELL = /bin/sh
STDBOOL_H = 
STDDEF_H = 
STRIP = strip
SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = 0
TAR = /bin/tar
TEXI2HTML = 
TIME_H_DEFINES_STRUCT_TIMESPEC = 1
UNDEFINE_STRTOK_R = 0
UNISTD_H_HAVE_WINSOCK2_H = 0
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = 0
VALGRIND = 
VERSION = 3.1.9
YACC = bison -y
YFLAGS =  -d -o y.tab.c -l
abs_builddir = /d/gnu/source-highlight-3.1.9/tests
abs_srcdir = /d/gnu/source-highlight-3.1.9/tests
abs_top_builddir = /d/gnu/source-highlight-3.1.9
abs_top_srcdir = /d/gnu/source-highlight-3.1.9
ac_ct_AR = ar
ac_ct_CC = gcc
ac_ct_CXX = 
ac_ct_DUMPBIN = 
am__include = include
am__leading_dot = .
am__quote = 
am__tar = $${TAR-tar} chof - "$$tardir"
am__untar = $${TAR-tar} xf -
bash_completiondir = ${prefix}/etc/bash_completion.d
bindir = ${exec_prefix}/bin
build = i686-pc-mingw32
build_alias = 
build_cpu = i686
build_os = mingw32
build_vendor = pc
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
exec_prefix = ${prefix}
gl_LIBOBJS =  getopt.o getopt1.o malloc.o mkdir.o
gl_LTLIBOBJS =  getopt.lo getopt1.lo malloc.lo mkdir.lo
gltests_LIBOBJS = 
gltests_LTLIBOBJS = 
gltests_WITNESS = IN_SOURCE_HIGHLIGHT_GNULIB_TESTS
host = i686-pc-mingw32
host_alias = 
host_cpu = i686
host_os = mingw32
host_vendor = pc
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /d/gnu/source-highlight-3.1.9/build-aux/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
mandir = ${datarootdir}/man
mkdir_p = $(MKDIR_P)
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = d:/usr
program_transform_name = s,x,x,
psdir = ${docdir}
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
source_highlightdatadir = ${datarootdir}/source-highlight
source_highlightdocdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
source_highlightlibdocdir = ${datarootdir}/doc/${PACKAGE_TARNAME}/api
source_highlightlibexampledir = ${datarootdir}/doc/${PACKAGE_TARNAME}/examples
srcdir = .
sysconfdir = ${prefix}/etc
target_alias = 
top_build_prefix = ../
top_builddir = ..
top_srcdir = ..
SUBDIRS = output_dir
SUFFIXES = .lang .err_out .outlang .style .css .css.java.html .nf_css.java.html .css_doc.java.html .css_xhtml.java.html
STD_STYLE = --style-file $(top_srcdir)/src/default.style
STD_CSS_STYLE = --style-css-file $(top_srcdir)/src/default.css
STD_STYLE_HTML = -f html $(STD_STYLE)
STD_STYLE_DEFAULTS = --style-defaults $(top_srcdir)/src/style.defaults
DATADIROPTION = --data-dir $(top_srcdir)/src/

# use --binary-output so that output test files are always generated
# with \n only also on other operating systems.
PROGEXE = $(top_builddir)/src/$(PACKAGE)$(EXEEXT) --binary-output

# use --strip-trailing-cr since if run on windows, it may
# add \r to output files, while the reference files distributed
# are built on linux
DIFF = diff

# we disable the generation of the version of source-highlight
# so that the version does not interfere with the diffing
PROGNAME = $(PROGEXE) --gen-version $(DATADIROPTION)
PROGNAME_CSSSTYLE = $(PROGEXE) --gen-version $(DATADIROPTION) $(STD_CSS_STYLE)
PROGNAME_DOCBOOK = $(PROGEXE) --gen-version $(DATADIROPTION) -f docbook --doc --title="listing in docbook" --tab=8
PROGNAME_STD = $(PROGNAME) $(STD_STYLE_HTML) 
CHECKLANG = $(top_builddir)/src/$(PACKAGE)$(EXEEXT) --check-lang
CHECKOUTLANG = $(top_builddir)/src/$(PACKAGE)$(EXEEXT) --check-outlang
JAVA2HTML = $(PROGNAME) -s java $(STD_STYLE_HTML) 
JAVA2HTMLDOC = $(JAVA2HTML) --title="This is the title"
JAVA2ODF = $(PROGNAME) -s java -f odf
JAVA2GROFF_MAN = $(PROGNAME) -s java -f groff_man
JAVA2ODFDOC = $(JAVA2ODF) --title="This is the title"
JAVA2MEDIAWIKI = $(PROGNAME) -s java -f mediawiki
JS2HTML = $(PROGNAME) -s javascript $(STD_STYLE_HTML) 
URL2HTML = $(PROGNAME) --lang-def=url.lang $(STD_STYLE_HTML) 
JAVA2XHTML = $(PROGNAME) -s java -f xhtml $(STD_STYLE) --lang-def=$(srcdir)/../src/java.lang
JAVA2XHTMLDOC = $(JAVA2XHTML) --doc

# note that we don't use $(srcdir), since we're only interested in
# the output of source-highlight to test it
JAVA2XHTMLCSS = $(JAVA2XHTML) --css ../doc/mono.css --no-doc
JAVA2XHTMLCSSDOC = $(JAVA2XHTML) --css ../doc/mono.css
JAVA2HTMLNOTFIXED = $(PROGNAME) -s java --outlang-def=$(srcdir)/../src/html_notfixed.outlang $(STD_STYLE) --doc --lang-def=$(srcdir)/../src/java.lang
JAVA2XHTMLNOTFIXED = $(PROGNAME) -s java --outlang-def=$(srcdir)/../src/xhtml_notfixed.outlang $(STD_STYLE) --doc --lang-def=$(srcdir)/../src/java.lang
JAVA2ESC = $(PROGNAME) -s java -f esc --style-file=$(top_srcdir)/src/esc.style --doc --lang-def=$(srcdir)/../src/java.lang
JAVA2TEX = $(PROGNAME) --doc -s java -f latexcolor $(STD_STYLE) --title="formatted with source-highlight"
CPP2TEX = $(PROGNAME) --doc -s cpp -f latexcolor $(STD_STYLE) 
JAVA2TEXINFO = $(PROGNAME) -s java -f texinfo --style-file $(top_srcdir)/src/texinfo.style
CPP2TEXINFO_WREFS = $(PROGNAME) -s cpp -f texinfo --style-file $(top_srcdir)/src/texinfo.style --gen-references=postline --line-number

# this refers to an "absolute" path (../doc/) without using the automake
# variables.  However this way the generated files will always be the
# same so tests won't fail.  You may have some problems if you want to
# view the generated file, test_css.html, and you are building in a
# different directory.  However this is not the spirit of the test :-)
# the important thing is that the generated file is always the same.
JAVA2HTMLCSS = $(PROGNAME) -s java -f html --css ../doc/mono.css --lang-def=$(srcdir)/../src/java.lang
JAVA2HTMLCSSNODOC = $(PROGNAME) -s java -f html --css ../doc/mono.css --no-doc --lang-def=$(srcdir)/../src/java.lang
CPP2HTML = $(PROGNAME) -s cpp $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/cpp.lang
C2HTML = $(PROGNAME) -s c $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/c.lang
CSHARP2HTML = $(PROGNAME) -s csharp $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/csharp.lang
PROLOG2HTML = $(PROGNAME) -s prolog $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/prolog.lang
PERL2HTML = $(PROGNAME) -s perl $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/perl.lang
PHP2HTML = $(PROGNAME) -s php3 $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/php.lang
PYTHON2HTML = $(PROGNAME) -s python $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/python.lang
FLEX2HTML = $(PROGNAME) -s flex $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/flex.lang
BISON2HTML = $(PROGNAME) -s bison $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/bison.lang
CHANGELOG2HTML = $(PROGNAME) -s changelog $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/changelog.lang
CHANGELOG2HTMLCSS = $(PROGNAME) -s changelog -f html --css ./changelog.css  --title="ChangeLog with css" --lang-def=$(srcdir)/../src/changelog.lang
RUBY2HTML = $(PROGNAME) -s ruby $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/ruby.lang
LUA2HTML = $(PROGNAME) -s lua $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/lua.lang
CAML2HTML = $(PROGNAME) -s caml $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/caml.lang
SML2HTML = $(PROGNAME) -s sml $(STD_STYLE_HTML) --lang-def=$(srcdir)/../src/sml.lang
LOG2HTML = $(PROGNAME) -s log -f html --style-file=$(srcdir)/syslog.style --lang-def=$(srcdir)/../src/log.lang
LATEX2HTML = $(PROGNAME) -s latex $(STD_STYLE_HTML)
LOGTALK2HTML = $(PROGNAME) -s logtalk $(STD_STYLE_HTML)
DIFF2HTML = $(PROGNAME) -s diff $(STD_STYLE_HTML)
LANG2HTML = $(PROGNAME) -s langdef $(STD_STYLE_HTML)
STYLE2HTML = $(PROGNAME) -s style $(STD_STYLE_HTML)
PROPERTIES2HTML = $(PROGNAME) $(STD_STYLE_HTML)
DESKTOP2HTML = $(PROGNAME) $(STD_STYLE_HTML)
LSM2HTML = $(PROGNAME) $(STD_STYLE_HTML)
HAXE2HTML = $(PROGNAME) $(STD_STYLE_HTML)
FORTRAN2HTML = $(PROGNAME) $(STD_STYLE_HTML)
SPEC2HTML = $(PROGNAME) $(STD_STYLE_HTML)
TXT2HTML = $(PROGNAME) -s style $(STD_STYLE_HTML) --lang-def=default.lang
FAILSAFE = $(PROGNAME) --failsafe
INFER = $(PROGNAME) --infer-lang

# language inference is performed implicitly if everything else failed
INFERIMPLICIT = $(PROGNAME)
SIMPLE = $(PROGEXE) --gen-version --outlang-def=$(srcdir)/simple.outlang --lang-def=$(srcdir)/simple.lang $(STD_STYLE) --style-defaults=$(srcdir)/../src/style.defaults

# test with a defaults file
TESTWDEFAULTS = $(PROGNAME) --lang-def=$(srcdir)/lang4defaults.lang $(STD_STYLE) --style-defaults=$(srcdir)/test.defaults

# test without a defaults file
TESTWODEFAULTS = $(PROGNAME) --lang-def=$(srcdir)/lang4defaults.lang $(STD_STYLE)
TESTISOLATE = $(PROGNAME) --lang-def=$(srcdir)/test_isolate.lang
TESTBACKREF = $(PROGNAME) --lang-def=$(srcdir)/test_backref.lang

# for testing named groups
NAMEDGROUPS = $(PROGEXE) --gen-version --lang-def=$(srcdir)/namedgroups.lang $(STD_STYLE) $(DATADIROPTION)
NAMEDGROUPS_STATE = $(PROGEXE) --gen-version --lang-def=$(srcdir)/namedgroups_state.lang $(STD_STYLE) $(DATADIROPTION)
DEBUGLANG = $(PROGNAME) -s java $(STD_STYLE_HTML) --debug-lang=dump
WRONGFILES = wrong_exp.lang wrong_var.lang wrong_trans.outlang wrong_syntax_simple.lang wrong_syntax.lang wrong_syntax_include.lang wrong_namedgroups.lang wrong_namedgroups_subexps.lang wrong_namedgroups_subexps2.lang wrong_backref.lang wrong_backref2.lang wrong_dyn_backref.lang wrong_dyn_backref2.lang wrong_include.lang wrong_outlang_include.outlang
WRONGFILESOUT = wrong_exp.err wrong_var.err wrong_trans.err missing_langmap.err missing_extension.err wrong_syntax_simple.err wrong_syntax.err wrong_syntax_include.err wrong_namedgroups.err wrong_namedgroups_subexps.err wrong_namedgroups_subexps2.err wrong_backref.err wrong_backref2.err wrong_dyn_backref.err wrong_dyn_backref2.err wrong_include.err wrong_outlang_include.err
WRONGSTYLES = wrong_dircolor.style wrong_already_defined.style wrong_already_defined_css.css
WRONGSTYLESOUT = wrong_dircolor.err wrong_already_defined.err wrong_already_defined_css.err
WRONGCMDLINEPARAMS = wrong_line_range.err \
 wrong_syntax_mode.err

# missing_langmap2.err
OUTPUTWREFS = test_ref.html test_refs.h.html test_refs.cpp.html test_ref.tex test_ref_post.tex test_ref.texinfo test_ref.docbook test_ref.xhtml
TAGFILES = test_ref.tags test_ref_multi.tags
EXTRA_DIST = test.java test.java.html test.java.doc.html \
test.js test.js.html test.h test.h.html test_c.c test_c.c.html \
test_no_line_at_the_end.c test_no_line_at_the_end.c.html \
test_line_at_the_end.c test_line_at_the_end.c.html \
test_no_line_at_the_end.java test_no_line_at_the_end.java.html \
test_comments.cc test_comments.cc.html test_comments.java \
test_comments.java.html test_template.cc test_template.cc.html \
test.pl test.pl.html header.html footer.html test_header.html \
test_java_lines.html test_cpp_lines.html test_pl_lines.html \
test.pm test_comments.pm test.pm.html test_comments.pm.html \
test_perl_lines.html \
test.php3 test.php3.html test_php3_lines.html \
test_with_html.php.html test_with_html.php \
test.py test.py.html test_python_lines.html \
test_comments.py test_comments.py.html test_py_comments_lines.html \
test_xhtml.html test_xhtml_notfixed.html test_xhtml_doc.html \
test_xhtml_css.html test_xhtml_css_doc.html \
test_css.html test_css_nodoc.html test_notfixed.html \
test.chlog test.chlog.html test.chlog_css.html \
test.l test.l.html \
test.y test.y.html \
test.rb test_comments.rb test.rb.html test_comments.rb.html \
test.java.txt \
test.java.tex test.java.tex.html \
test.java.fodt test.java.doc.fodt \
test.java.groff \
test.java.mediawiki \
test.java.texinfo \
test.lua test.lua.html \
test.ml test.ml.html \
test.sml test.sml.html \
test.log test.log.html \
access.log access.log.html \
auth.log auth.log.html \
error.log error.log.html \
syslog.log syslog.log.html \
test.pas test.pas.html \
test.htm test.htm.html \
test_with_embed.htm test_with_embed.htm.html \
test_html5.htm test_html5.htm.html \
test2.htm test2.htm.html \
test.diff test.diff.html \
test2.diff test2.diff.html \
test3.diff test3.diff.html \
test.simple test.simple.html \
test.unknown test.unknown.html \
syslog.style syslog.style.html \
test.tex test.tex.html \
test.lgt test.lgt.html \
$(OUTPUTWREFS) \
test_refs.h test_refs.cpp \
changelog.css \
simple.lang simple.outlang \
test_isolate.lang \
test.isolate test.isolate.html \
test_backref.lang \
test.backref test.backref.html \
test2.backref test2.backref.html \
log.lang.html c.lang.html \
default.style.html \
lang.map \
debug.debug debug.java debug.java.html \
test_extreme_comment.cpp test_extreme_comment2.cpp test_extreme_comment3.cpp \
test.cs test.cs.html \
test.xml test.xml.html \
test.sh test.sh.html \
test2.sh test2.sh.html \
test.url test.url.html \
test.txt test.txt.html \
test2.pl test2.pl.html \
test.tcl test.tcl.html \
test.sql test.sql.html \
test.bib test.bib.html \
test.makefile test.makefile.html \
test.css test.css.html \
test.ps test.ps.html \
test.go test.go.html \
test.groovy test.groovy.html \
test.json test.json.html \
test.feature test.feature.html \
test.ipxe test.ipxe.html \
test.zsh test.zsh.txt \
$(WRONGFILES) \
$(WRONGFILESOUT) \
$(WRONGSTYLES) $(WRONGSTYLESOUT) \
$(WRONGCMDLINEPARAMS) \
valgrind_tests.sh.in valgrind_suppressions.sh.in \
valgrind_test.sh.in suppressions.supp \
erasedir.sed erasedir2.sed erasedir3.sed \
erasedir_inputlang.sed \
namedgroups.lang namedgroups_state.lang \
test.ngroups test.ngroups.html \
test_state.ngroups test_state.ngroups.html \
c_comment.show namedgroups_state.show \
cpp.langelems \
lang.list outlang.list \
test.h.docbook \
test.sl test.sl.html \
lang4defaults.lang test.defaults test.wdefault test.wodefault \
test.wdefault.html test.wodefault.html \
test.properties test.properties.html \
test.desktop test.desktop.html \
test.lsm test.lsm.html \
test.hx test.hx.html \
test.fortran test.fortran.html test.fixed-fortran.html \
test.spec test.spec.html \
test.ldap test.ldap.html \
test.m4 test.m4.html \
test.glsl test.glsl.html \
test.xorg test.xorg.html \
test.conf test.conf.html \
test.scala test.scala.html \
test.adb test.adb.html \
test.pc test.pc.html \
test_string_stop.java test_string_stop.java.html \
test_java_stop.java test_java_stop.java.html \
test_string_stop.lang \
test_vardecl.java test_vardecl.java.html \
test_vardecl.cc test_vardecl.cc.html \
test_newlines.lang test_nonewlines.lang \
test_linerange1.html test_linerange2.html \
test_linerange_sep.html \
test_regexrange1.html test_regexrange2.html \
test_regexrange3.html test_regexrange4.html \
test_nobgcolor.cpp test_nobgcolor.html \
test_tabs.java.html \
test.texinfo test.texinfo.html \
test.hs test.hs.html \
test.lhs test.lhs.html \
test.ecore test.ecore.html \
test.MF test.MF.html \
test.asm test.asm.html \
test.scpt test.scpt.html \
test.vbs test.vbs.html \
test.awk test.awk.html \
test.bat test.bat.html \
test.clipper test.clipper.html \
test.cobol test.cobol.html \
test.d test.d.html \
test.errors test.errors.html \
test.erl test.erl.html \
test.proto test.proto.html \
test.vala test.vala.html \
test.lisp test.lisp.html \
test.scm test.scm.html \
test.po test.po.html \
test.opa test.opa.html \
test.javalog test.javalog.html \
test.upc test.upc.html \
test.tml test.tml.html \
test.ly test.ly.html \
test.coffee test.coffee.html

LINERANGE1EXE = $(JAVA2HTML) --line-range="12-18","29-34" --line-number
LINERANGE2EXE = $(JAVA2HTML) --line-range="12-18","29-34" --line-number --range-context=3
LINERANGESEPEXE = $(JAVA2HTML) --line-range="12-18","29-34" --line-number --range-context=3 --range-separator="<...>"
REGEXRANGE1EXE = $(JAVA2HTML) --regex-range="/// [[:alpha:]]+" --line-number
REGEXRANGE2EXE = $(JAVA2HTML) --regex-range="/\\* main \\*/" --line-number
REGEXRANGE3EXE = $(JAVA2HTML) --regex-range="/\\* main \\*/","/\\* mymethod \\*/" --line-number
REGEXRANGE4EXE = $(JAVA2HTML) --regex-range="/\\* [[:alpha:]]+ \\*/" --line-number
WRONGLINERANGEEXE = $(PROGEXE) --line-range="a-b"  --data-dir=$(top_srcdir)/src < $(srcdir)/test.java > /dev/null

# this is not wrong anymore
# https://savannah.gnu.org/bugs/index.php?41786
#WRONGREGEXRANGEEXE=$(PROGEXE) --regex-range="ab","foobar","{wrong"  --data-dir=$(top_srcdir)/src < $(srcdir)/test.java > /dev/null
WRONGSYNTAXMODEEXE = $(PROGEXE) --data-dir=$(top_srcdir)/src -o /dev/null $(srcdir)/test.java
PROG_NOLANGDEF = $(PROGEXE) --outlang-def=$(srcdir)/simple.outlang $(STD_STYLE) --data-dir=$(srcdir)/ $(STD_STYLE_DEFAULTS)
PROG_NOOUTLANGDEF = $(PROGEXE) --lang-def=$(srcdir)/simple.lang $(STD_STYLE) $(STD_STYLE_DEFAULTS) --quiet
CPP2HTML_WHEADERS = $(CPP2HTML) --header=$(srcdir)/header.html --footer=$(srcdir)/footer.html
CTAGS_COMMAND = --ctags="$(CTAGS) --excmd=number --tag-relative=yes -o test_ref.tags" --ctags-file="test_ref.tags"
# for more than one file: test.h test.cpp
CTAGS_COMMAND_MULTI = --ctags="$(CTAGS) --excmd=number --tag-relative=yes -o test_ref_multi.tags" --ctags-file="test_ref_multi.tags"
CTAGS_COMMAND_TEST = --ctags="$(CTAGS) --excmd=number --tag-relative=yes -o my_test_ref_tmp.tags" --ctags-file="my_test_ref_tmp"
CPP2HTML_WREFS = $(CPP2HTML) --title="Contains references to tags" --gen-references=inline
CPP2LATEX_WREFS = $(CPP2TEX) --title="Contains references to tags" --gen-references=postline --line-number
CPP2LATEX_WREFSPOST = $(CPP2TEX) --title="Contains references to tags" --gen-references=postdoc --line-number
CPP2DOCBOOK_WREFS = $(PROGNAME_DOCBOOK) --gen-references=postline --line-number 
CPP2XHTML_WREFS = $(PROGNAME) -s cpp -f xhtml --css ../src/default.css --gen-references=inline --line-number-ref --title="XHTML with refs"
CTAGS_CMD = $(CTAGS) --excmd=number --tag-relative=yes 
TEMP_TAGFILE = temp_test_refs.tags
OUTPUTDIR = $(top_builddir)/tests/output_dir
OUTPUTTODIR = --output-dir=$(OUTPUTDIR)
source_highlightdoc_DATA = test.php3.html test.pl.html test.pm.html \
test.py.html test.rb.html test.js.html test.lua.html test.ml.html \
test.sml.html test.log.html access.log.html auth.log.html error.log.html syslog.log.html test.htm.html test.java.tex.html \
syslog.style.html \
log.lang.html c.lang.html default.style.html \
test_linerange_sep.html \
test.java.html \
test_regexrange4.html \
test_refs.h.html test_refs.cpp.html

VALGRINDTESTS = $(top_builddir)/tests/valgrind_tests.sh
VALGRINDTEST = $(top_builddir)/tests/valgrind_test.sh
CLEANFILES = *.out.html *.out.txt *.out.tex *.err_out *.unknown_out *.out.debug *.out.texinfo *_tmp.* *.out.show myscript* myimplicitxml* myimplicitphp* *.css.java.html *.nf_css.java.html *.css_xhtml.java.html *.css_doc.java.html *.out.docbook *.out.xhtml *.out.langelems *.out.list test_newlines.out test_nonewlines.out temp.output *.out.fodt *.out.doc.fodt *.out.mediawiki *.out.groff
DISTCLEANFILES = my_test_ref_tmp.tags $(TEMP_TAGFILE) *testtmp
all: all-recursive

.SUFFIXES:
.SUFFIXES: .lang .err_out .outlang .style .css .css.java.html .nf_css.java.html .css_doc.java.html .css_xhtml.java.html .java
$(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 tests/Makefile'; \
	$(am__cd) $(top_srcdir) && \
	  $(AUTOMAKE) --gnu tests/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):
valgrind_tests.sh: $(top_builddir)/config.status $(srcdir)/valgrind_tests.sh.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
valgrind_suppressions.sh: $(top_builddir)/config.status $(srcdir)/valgrind_suppressions.sh.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
valgrind_test.sh: $(top_builddir)/config.status $(srcdir)/valgrind_test.sh.in
	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs
install-source_highlightdocDATA: $(source_highlightdoc_DATA)
	@$(NORMAL_INSTALL)
	@list='$(source_highlightdoc_DATA)'; test -n "$(source_highlightdocdir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(source_highlightdocdir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(source_highlightdocdir)" || exit 1; \
	fi; \
	for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  echo "$$d$$p"; \
	done | $(am__base_list) | \
	while read files; do \
	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(source_highlightdocdir)'"; \
	  $(INSTALL_DATA) $$files "$(DESTDIR)$(source_highlightdocdir)" || exit $$?; \
	done

uninstall-source_highlightdocDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(source_highlightdoc_DATA)'; test -n "$(source_highlightdocdir)" || list=; \
	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
	dir='$(DESTDIR)$(source_highlightdocdir)'; $(am__uninstall_files_from_dir)

# This directory's subdirectories are mostly independent; you can cd
# into them and run 'make' without going through this Makefile.
# To change the values of 'make' variables: instead of editing Makefiles,
# (1) if the variable is set in 'config.status', edit 'config.status'
#     (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
$(am__recursive_targets):
	@fail=; \
	if $(am__make_keepgoing); then \
	  failcom='fail=yes'; \
	else \
	  failcom='exit 1'; \
	fi; \
	dot_seen=no; \
	target=`echo $@ | sed s/-recursive//`; \
	case "$@" in \
	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
	  *) list='$(SUBDIRS)' ;; \
	esac; \
	for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    dot_seen=yes; \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	  || eval $$failcom; \
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
	fi; test -z "$$fail"

ID: $(am__tagged_files)
	$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-recursive
TAGS: tags

tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
	set x; \
	here=`pwd`; \
	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
	  include_option=--etags-include; \
	  empty_fix=.; \
	else \
	  include_option=--include; \
	  empty_fix=; \
	fi; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    test ! -f $$subdir/TAGS || \
	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
	  fi; \
	done; \
	$(am__define_uniq_tagged_files); \
	shift; \
	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  if test $$# -gt 0; then \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      "$$@" $$unique; \
	  else \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      $$unique; \
	  fi; \
	fi
ctags: ctags-recursive

CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
	$(am__define_uniq_tagged_files); \
	test -z "$(CTAGS_ARGS)$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && $(am__cd) $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) "$$here"
cscopelist: cscopelist-recursive

cscopelist-am: $(am__tagged_files)
	list='$(am__tagged_files)'; \
	case "$(srcdir)" in \
	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
	  *) sdir=$(subdir)/$(srcdir) ;; \
	esac; \
	for i in $$list; do \
	  if test -f "$$i"; then \
	    echo "$(subdir)/$$i"; \
	  else \
	    echo "$$sdir/$$i"; \
	  fi; \
	done >> $(top_builddir)/cscope.files

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

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
	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    $(am__make_dryrun) \
	      || test -d "$(distdir)/$$subdir" \
	      || $(MKDIR_P) "$(distdir)/$$subdir" \
	      || exit 1; \
	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
	    $(am__relativize); \
	    new_distdir=$$reldir; \
	    dir1=$$subdir; dir2="$(top_distdir)"; \
	    $(am__relativize); \
	    new_top_distdir=$$reldir; \
	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
	    ($(am__cd) $$subdir && \
	      $(MAKE) $(AM_MAKEFLAGS) \
	        top_distdir="$$new_top_distdir" \
	        distdir="$$new_distdir" \
		am__remove_distdir=: \
		am__skip_length_check=: \
		am__skip_mode_fix=: \
	        distdir) \
	      || exit 1; \
	  fi; \
	done
check-am: all-am
check: check-recursive
all-am: Makefile $(DATA)
installdirs: installdirs-recursive
installdirs-am:
	for dir in "$(DESTDIR)$(source_highlightdocdir)"; do \
	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
	done
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

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

installcheck: installcheck-recursive
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)
	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive

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

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

dvi: dvi-recursive

dvi-am:

html: html-recursive

html-am:

info: info-recursive

info-am:

install-data-am: install-source_highlightdocDATA

install-dvi: install-dvi-recursive

install-dvi-am:

install-exec-am:

install-html: install-html-recursive

install-html-am:

install-info: install-info-recursive

install-info-am:

install-man:

install-pdf: install-pdf-recursive

install-pdf-am:

install-ps: install-ps-recursive

install-ps-am:

installcheck-am:

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

mostlyclean: mostlyclean-recursive

mostlyclean-am: mostlyclean-generic mostlyclean-libtool

pdf: pdf-recursive

pdf-am:

ps: ps-recursive

ps-am:

uninstall-am: uninstall-source_highlightdocDATA

.MAKE: $(am__recursive_targets) install-am install-strip

.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
	check-am clean clean-generic clean-libtool cscopelist-am ctags \
	ctags-am distclean distclean-generic distclean-libtool \
	distclean-tags 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-source_highlightdocDATA install-strip installcheck \
	installcheck-am installdirs installdirs-am maintainer-clean \
	maintainer-clean-generic mostlyclean mostlyclean-generic \
	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
	uninstall-am uninstall-source_highlightdocDATA

.PRECIOUS: Makefile


# these are files processed using a css as the style file
.java.css.java.html:
	$(PROGNAME_CSSSTYLE) -i $< -o $@

# these are files processed using a css as the style file
.java.css_doc.java.html:
	$(PROGNAME_CSSSTYLE) -i $< -o $@ --title="This is the title"

# these are files processed using a css as the style file and a non fixed html
.java.nf_css.java.html:
	$(PROGNAME_CSSSTYLE) -i $< -o $@ --outlang-def=$(srcdir)/../src/html_notfixed.outlang

# these are files processed using a css as the style file
.java.css_xhtml.java.html:
	$(PROGNAME_CSSSTYLE) -i $< -o $@ -f xhtml

#check: check-produced-output \
#check_wrong check_missing \
#check_wrong_lineranges \
#check_wrong_regexranges \
#check_wrong_syntaxmode
check: check-produced-output

check-produced-output: \
check_java2html check_javascript \
check_java2xhtml check_cpp2html check_csharp2html \
check_prolog2html check_logtalk2html \
check_perl2html \
check_php32html check_python2html check_changelog check_flex check_bison \
check_ruby check_lua check_ml check_sml check_log check_pascal check_html \
check_xml \
check_sh \
check_url \
check_latex \
check_diff \
check_simple \
check_isolate \
check_backref \
check_lang \
check_langelems \
check_list \
check_txt \
check_sql \
check_bib \
check_infer \
check_debug \
check_ref \
check_show \
check_makefile \
check_asm \
check_css \
check_ps \
check_go \
check_groovy \
check_json \
check_feature \
check_ipxe \
check_docbook \
check_namedgroups \
check_slang \
check_defaults \
check_properties \
check_desktop \
check_lsm \
check_spec \
check_haxe \
check_fortran \
check_ldap \
check_m4 \
check_glsl \
check_xorg \
check_conf \
check_scala \
check_ada \
check_pkgconfig \
check_texinfo \
check_haskell \
check_manifest \
check_applescript \
check_vbscript \
check_awk \
check_bat \
check_clipper \
check_cobol \
check_d \
check_errors \
check_erlang \
check_proto \
check_vala \
check_lisp \
check_scheme \
check_po \
check_opa \
check_javalog \
check_upc \
check_lilypond \
check_tml \
check_coffeescript \
check-output-dir \
check_stop \
check_vardecl \
check_newlines \
check_lineranges \
check_regexranges \
check_nobgcolor \
check_tabs \
check_failsafe \
check_zsh

remove_css_html_files:
	rm -f *.css.java.html *.nf_css.java.html

remove_css_xhtml_files:
	rm -f *.css_xhtml.java.html

remove_css_doc_files:
	rm -f *.css_doc.java.html

check_java2html: remove_css_html_files remove_css_doc_files test.css.java.html test.nf_css.java.html test.css_doc.java.html
	$(JAVA2HTML) -i $(srcdir)/test.java -o test.java.out.html
	$(JAVA2HTMLDOC) -i $(srcdir)/test.java -o test.java.doc.out.html
	$(JAVA2HTMLNOTFIXED) < $(srcdir)/test.java > test_notfixed.out.html
	tr -d '\r' < test_notfixed.out.html > temp.output && cp -f temp.output test_notfixed.out.html
	$(JAVA2HTMLCSS) < $(srcdir)/test.java > test_css.out.html
	tr -d '\r' < test_css.out.html > temp.output && cp -f temp.output test_css.out.html
	$(JAVA2HTMLCSSNODOC) < $(srcdir)/test.java > test_css_nodoc.out.html
	tr -d '\r' < test_css_nodoc.out.html > temp.output && cp -f temp.output test_css_nodoc.out.html
	$(JAVA2HTML) -i $(srcdir)/test_comments.java -o test_comments.java.out.html
	$(JAVA2HTML) -n --line-number-ref -i $(srcdir)/test.java -o test_java_lines.out.html
	$(JAVA2HTML) -n -i $(srcdir)/test_no_line_at_the_end.java -o test_no_line_at_the_end.java.out.html
	$(JAVA2ESC) -n -i $(srcdir)/test.java -o test.java.out.txt
	$(JAVA2TEX) --line-number=" " -i $(srcdir)/test.java -o test.java.out.tex
	$(JAVA2TEXINFO) -n -i $(srcdir)/test.java -o test.java.out.texinfo
	$(JAVA2ODF) --line-number=" " -i $(srcdir)/test.java -o test.java.out.fodt
	$(JAVA2ODFDOC) --line-number=" " -i $(srcdir)/test.java -o test.java.out.doc.fodt
	$(JAVA2GROFF_MAN) --line-number=" " -i $(srcdir)/test.java -o test.java.out.groff
	$(JAVA2MEDIAWIKI) -i $(srcdir)/test.java -o test.java.out.mediawiki
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.java.html test.java.out.html
	$(DIFF) $(srcdir)/test.java.doc.html test.java.doc.out.html
	$(DIFF) $(srcdir)/test_notfixed.html test_notfixed.out.html
	$(DIFF) $(srcdir)/test_css.html test_css.out.html
	$(DIFF) $(srcdir)/test_css_nodoc.html test_css_nodoc.out.html
	$(DIFF) $(srcdir)/test_comments.java.html test_comments.java.out.html
	$(DIFF) $(srcdir)/test_java_lines.html test_java_lines.out.html
	$(DIFF) $(srcdir)/test_no_line_at_the_end.java.html test_no_line_at_the_end.java.out.html
	$(DIFF) $(srcdir)/test.java.txt test.java.out.txt
	$(DIFF) $(srcdir)/test.java.tex test.java.out.tex
	$(DIFF) $(srcdir)/test.java.texinfo test.java.out.texinfo
	$(DIFF) $(srcdir)/test.java.fodt test.java.out.fodt
	$(DIFF) $(srcdir)/test.java.doc.fodt test.java.out.doc.fodt
	$(DIFF) $(srcdir)/test.java.groff test.java.out.groff
	$(DIFF) $(srcdir)/test.java.mediawiki test.java.out.mediawiki
	$(DIFF) $(srcdir)/test.java.html test.css.java.html
	$(DIFF) $(srcdir)/test_notfixed.html test.nf_css.java.html
	$(DIFF) $(srcdir)/test.java.doc.html test.css_doc.java.html

check_javascript: 
	$(JS2HTML) < $(srcdir)/test.js -o test.js.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.js.html test.js.out.html

check_java2xhtml: remove_css_xhtml_files test.css_xhtml.java.html
	$(JAVA2XHTML) < $(srcdir)/test.java -o test_xhtml.out.html
	$(JAVA2XHTMLNOTFIXED) < $(srcdir)/test.java -o test_xhtml_notfixed.out.html
	$(JAVA2XHTMLDOC) < $(srcdir)/test.java -o test_xhtml_doc.out.html
	sed -itesttmp -f $(srcdir)/erasedir_inputlang.sed test_xhtml_doc.out.html
	$(JAVA2XHTMLCSS) < $(srcdir)/test.java -o test_xhtml_css.out.html
	$(JAVA2XHTMLCSSDOC) < $(srcdir)/test.java -o test_xhtml_css_doc.out.html
	sed -itesttmp -f $(srcdir)/erasedir_inputlang.sed test_xhtml_css_doc.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test_xhtml.html test_xhtml.out.html
	$(DIFF) $(srcdir)/test_xhtml_notfixed.html test_xhtml_notfixed.out.html
	$(DIFF) $(srcdir)/test_xhtml_doc.html test_xhtml_doc.out.html
	$(DIFF) $(srcdir)/test_xhtml_css.html test_xhtml_css.out.html
	$(DIFF) $(srcdir)/test_xhtml_css_doc.html test_xhtml_css_doc.out.html
	$(DIFF) $(srcdir)/test_xhtml.html test.css_xhtml.java.html

check_cpp2html: 
	$(CPP2HTML) -i $(srcdir)/test.h -o test.h.out.html
	$(CPP2HTML) -i $(srcdir)/test_comments.cc -o test_comments.cc.out.html
	$(CPP2HTML) -i $(srcdir)/test_template.cc -o test_template.cc.out.html
	$(CPP2HTML_WHEADERS) -i $(srcdir)/test.h -o test_header.out.html
	$(CPP2HTML) -n -i $(srcdir)/test.h -o test_cpp_lines.out.html
	$(CPP2HTML) -n -i $(srcdir)/test_no_line_at_the_end.c -o test_no_line_at_the_end.c.out.html
	$(CPP2HTML) -n -i $(srcdir)/test_line_at_the_end.c -o test_line_at_the_end.c.out.html
	$(C2HTML) -i $(srcdir)/test_c.c -o test_c.c.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.h.html test.h.out.html
	$(DIFF) $(srcdir)/test_comments.cc.html test_comments.cc.out.html
	$(DIFF) $(srcdir)/test_template.cc.html test_template.cc.out.html
	$(DIFF) $(srcdir)/test_header.html test_header.out.html
	$(DIFF) $(srcdir)/test_cpp_lines.html test_cpp_lines.out.html
	$(DIFF) $(srcdir)/test_no_line_at_the_end.c.html test_no_line_at_the_end.c.out.html
	$(DIFF) $(srcdir)/test_line_at_the_end.c.html test_line_at_the_end.c.out.html
	$(DIFF) $(srcdir)/test_c.c.html test_c.c.out.html

check_csharp2html: 
	$(CSHARP2HTML) -i $(srcdir)/test.cs -o test.cs.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.cs.html test.cs.out.html

check_prolog2html: 
	$(PROLOG2HTML) < $(srcdir)/test.pl -o test.pl.out.html
	$(PROLOG2HTML) -n -i $(srcdir)/test.pl -o test_pl_lines.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.pl.html test.pl.out.html
	$(DIFF) $(srcdir)/test_pl_lines.html test_pl_lines.out.html

check_logtalk2html:
	$(LOGTALK2HTML) < $(srcdir)/test.lgt -o test.lgt.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.lgt.html test.lgt.out.html

check_perl2html:
	$(PERL2HTML) < $(srcdir)/test.pm -o test.pm.out.html
	$(PERL2HTML) < $(srcdir)/test_comments.pm -o test_comments.pm.out.html
	$(PERL2HTML) -n -i $(srcdir)/test.pm -o test_perl_lines.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.pm.html test.pm.out.html
	$(DIFF) $(srcdir)/test_comments.pm.html test_comments.pm.out.html 
	$(DIFF) $(srcdir)/test_perl_lines.html test_perl_lines.out.html

check_php32html:
	$(PHP2HTML) < $(srcdir)/test.php3 -o test.php3.out.html
	$(PHP2HTML) < $(srcdir)/test_with_html.php -o test_with_html.php.out.html
	$(PHP2HTML) -n -i $(srcdir)/test.php3 -o test_php3_lines.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.php3.html test.php3.out.html
	$(DIFF) $(srcdir)/test_with_html.php.html test_with_html.php.out.html
	$(DIFF) $(srcdir)/test_php3_lines.html test_php3_lines.out.html

check_python2html:
	$(PYTHON2HTML) < $(srcdir)/test.py -o test.py.out.html
	$(PYTHON2HTML) < $(srcdir)/test_comments.py -o test_comments.py.out.html
	$(PYTHON2HTML) -n -i $(srcdir)/test.py -o test_python_lines.out.html
	$(PYTHON2HTML) -n -i $(srcdir)/test_comments.py -o test_py_comments_lines.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.py.html test.py.out.html
	$(DIFF) $(srcdir)/test_comments.py.html test_comments.py.out.html
	$(DIFF) $(srcdir)/test_python_lines.html test_python_lines.out.html
	$(DIFF) $(srcdir)/test_py_comments_lines.html test_py_comments_lines.out.html

check_changelog:
	$(CHANGELOG2HTML) < $(srcdir)/test.chlog -o test.chlog.out.html
	$(CHANGELOG2HTMLCSS) -i $(srcdir)/test.chlog -o test.chlog_css.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.chlog.html test.chlog.out.html
	$(DIFF) $(srcdir)/test.chlog_css.html test.chlog_css.out.html

check_flex:
	$(FLEX2HTML) < $(srcdir)/test.l -o test.l.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.l.html test.l.out.html

check_bison:
	$(BISON2HTML) < $(srcdir)/test.y -o test.y.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.y.html test.y.out.html

check_ruby:
	$(RUBY2HTML) < $(srcdir)/test.rb -o test.rb.out.html
	$(RUBY2HTML) < $(srcdir)/test_comments.rb -o test_comments.rb.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.rb.html test.rb.out.html
	$(DIFF) $(srcdir)/test_comments.rb.html test_comments.rb.out.html

check_lua:
	$(LUA2HTML) < $(srcdir)/test.lua -o test.lua.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.lua.html test.lua.out.html

check_ml:
	$(CAML2HTML) < $(srcdir)/test.ml -o test.ml.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.ml.html test.ml.out.html

check_sml:
	$(SML2HTML) < $(srcdir)/test.sml -o test.sml.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.sml.html test.sml.out.html

check_log:
	$(LOG2HTML) < $(srcdir)/test.log -o test.log.out.html
	$(LOG2HTML) < $(srcdir)/access.log -o access.log.out.html
	$(LOG2HTML) < $(srcdir)/auth.log -o auth.log.out.html
	$(LOG2HTML) < $(srcdir)/error.log -o error.log.out.html
	$(LOG2HTML) < $(srcdir)/syslog.log -o syslog.log.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.log.html test.log.out.html
	$(DIFF) $(srcdir)/access.log.html access.log.out.html
	$(DIFF) $(srcdir)/auth.log.html auth.log.out.html
	$(DIFF) $(srcdir)/error.log.html error.log.out.html
	$(DIFF) $(srcdir)/syslog.log.html syslog.log.out.html

check_diff:
	$(DIFF2HTML) < $(srcdir)/test.diff -o test.diff.out.html
	$(DIFF2HTML) < $(srcdir)/test2.diff -o test2.diff.out.html
	$(DIFF2HTML) < $(srcdir)/test3.diff -o test3.diff.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.diff.html test.diff.out.html
	$(DIFF) $(srcdir)/test2.diff.html test2.diff.out.html
	$(DIFF) $(srcdir)/test3.diff.html test3.diff.out.html

check_pascal:
	$(PROGNAME) -i $(srcdir)/test.pas -o test.pas.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.pas.html test.pas.out.html

check_html:
	$(PROGNAME) -i $(srcdir)/test.htm --title="html output formatted in html" -o test.htm.out.html
	$(PROGNAME) -i $(srcdir)/test2.htm --title="html output formatted in html" -o test2.htm.out.html
	$(PROGNAME) -i $(srcdir)/test_html5.htm --title="html output formatted in html" -o test_html5.htm.out.html
	$(PROGNAME) -i $(srcdir)/test_with_embed.htm --title="html output formatted in html" -o test_with_embed.htm.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.htm.html test.htm.out.html
	$(DIFF) $(srcdir)/test2.htm.html test2.htm.out.html
	$(DIFF) $(srcdir)/test_html5.htm.html test_html5.htm.out.html
	$(DIFF) $(srcdir)/test_with_embed.htm.html test_with_embed.htm.out.html

check_xml:
	$(PROGNAME) -i $(srcdir)/test.xml --title="xml formatted in html" -o test.xml.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.xml.html test.xml.out.html

check_sh:
	$(PROGNAME) -i $(srcdir)/test.sh -o test.sh.out.html
	$(PROGNAME) -i $(srcdir)/test2.sh -o test2.sh.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.sh.html test.sh.out.html
	$(DIFF) $(srcdir)/test2.sh.html test2.sh.out.html

check_slang:
	$(PROGNAME) -i $(srcdir)/test.sl -o test.sl.out.html --title="S-LANG test"
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.sl.html test.sl.out.html

check_url:
	$(URL2HTML) -i $(srcdir)/test.url -o test.url.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.url.html test.url.out.html

check_properties:
	$(PROPERTIES2HTML) -i $(srcdir)/test.properties -o test.properties.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.properties.html test.properties.out.html

check_desktop:
	$(DESKTOP2HTML) -i $(srcdir)/test.desktop -o test.desktop.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.desktop.html test.desktop.out.html

check_lsm:
	$(LSM2HTML) -i $(srcdir)/test.lsm -o test.lsm.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.lsm.html test.lsm.out.html

check_haxe:
	$(HAXE2HTML) -i $(srcdir)/test.hx -o test.hx.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.hx.html test.hx.out.html

check_ldap:
	$(PROGNAME_STD) -i $(srcdir)/test.ldap -o test.ldap.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.ldap.html test.ldap.out.html

check_m4:
	$(PROGNAME_STD) -i $(srcdir)/test.m4 -o test.m4.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.m4.html test.m4.out.html

check_glsl:
	$(PROGNAME_STD) -i $(srcdir)/test.glsl -o test.glsl.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.glsl.html test.glsl.out.html

check_xorg:
	$(PROGNAME_STD) -i $(srcdir)/test.xorg -s xorg  -o test.xorg.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.xorg.html test.xorg.out.html

check_conf:
	$(PROGNAME_STD) -i $(srcdir)/test.conf -s conf  -o test.conf.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.conf.html test.conf.out.html

check_scala:
	$(PROGNAME_STD) -i $(srcdir)/test.scala -s scala  -o test.scala.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.scala.html test.scala.out.html

check_ada:
	$(PROGNAME_STD) -i $(srcdir)/test.adb -s ada  -o test.adb.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.adb.html test.adb.out.html

check_pkgconfig:
	$(PROGNAME_STD) -i $(srcdir)/test.pc -s pc  -o test.pc.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.pc.html test.pc.out.html

check_texinfo:
	$(PROGNAME_STD) -i $(srcdir)/test.texinfo -o test.texinfo.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.texinfo.html test.texinfo.out.html

check_haskell:
	$(PROGNAME_STD) -i $(srcdir)/test.hs -o test.hs.out.html
	$(PROGNAME) $(STD_STYLE) -f xhtml  -i $(srcdir)/test.lhs -o test.lhs.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.hs.html test.hs.out.html
	$(DIFF) $(srcdir)/test.lhs.html test.lhs.out.html

check_manifest:
	$(PROGNAME_STD) -i $(srcdir)/test.MF -o test.MF.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.MF.html test.MF.out.html

check_asm:
	$(PROGNAME_STD) -i $(srcdir)/test.asm -o test.asm.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.asm.html test.asm.out.html

check_applescript:
	$(PROGNAME_STD) -i $(srcdir)/test.scpt -o test.scpt.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.scpt.html test.scpt.out.html

check_vbscript:
	$(PROGNAME_STD) -i $(srcdir)/test.vbs -o test.vbs.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.vbs.html test.vbs.out.html

check_awk:
	$(PROGNAME_STD) -i $(srcdir)/test.awk -o test.awk.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.awk.html test.awk.out.html

check_bat:
	$(PROGNAME_STD) -i $(srcdir)/test.bat -o test.bat.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.bat.html test.bat.out.html

check_clipper:
	$(PROGNAME_STD) -i $(srcdir)/test.clipper -o test.clipper.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.clipper.html test.clipper.out.html

check_cobol:
	$(PROGNAME_STD) -i $(srcdir)/test.cobol -o test.cobol.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.cobol.html test.cobol.out.html

check_d:
	$(PROGNAME_STD) -i $(srcdir)/test.d -o test.d.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.d.html test.d.out.html

check_errors:
	$(PROGNAME_STD) -i $(srcdir)/test.errors -o test.errors.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.errors.html test.errors.out.html

check_erlang:
	$(PROGNAME_STD) -i $(srcdir)/test.erl -o test.erl.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.erl.html test.erl.out.html

check_fortran:
	$(FORTRAN2HTML) -i $(srcdir)/test.fortran -o test.fortran.out.html
	$(FORTRAN2HTML) -i $(srcdir)/test.fortran -s fixed-fortran -o test.fixed-fortran.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.fortran.html test.fortran.out.html
	$(DIFF) $(srcdir)/test.fixed-fortran.html test.fixed-fortran.out.html

check_proto:
	$(PROGNAME_STD) -i $(srcdir)/test.proto -o test.proto.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.proto.html test.proto.out.html

check_vala:
	$(PROGNAME_STD) -i $(srcdir)/test.vala -o test.vala.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.vala.html test.vala.out.html

check_lisp:
	$(PROGNAME_STD) -i $(srcdir)/test.lisp -o test.lisp.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.lisp.html test.lisp.out.html

check_scheme:
	$(PROGNAME_STD) -i $(srcdir)/test.scm -o test.scm.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.scm.html test.scm.out.html

check_po:
	$(PROGNAME_STD) -i $(srcdir)/test.po -o test.po.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.po.html test.po.out.html

check_opa:
	$(PROGNAME_STD) -i $(srcdir)/test.opa -o test.opa.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.opa.html test.opa.out.html

check_javalog:
	$(PROGNAME) --style-file $(top_srcdir)/src/javalog.style -i $(srcdir)/test.javalog -o test.javalog.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.javalog.html test.javalog.out.html

check_upc:
	$(PROGNAME_STD) -i $(srcdir)/test.upc -o test.upc.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.upc.html test.upc.out.html

check_lilypond:
	$(PROGNAME) --style-file $(top_srcdir)/src/lilypond.style -i $(srcdir)/test.ly -o test.ly.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.ly.html test.ly.out.html

check_coffeescript:
	$(PROGNAME_STD) -i $(srcdir)/test.coffee -o test.coffee.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.coffee.html test.coffee.out.html

check_tml:
	$(PROGNAME_STD) -i $(srcdir)/test.tml -o test.tml.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.tml.html test.tml.out.html

check_spec:
	$(SPEC2HTML) -i $(srcdir)/test.spec -o test.spec.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.spec.html test.spec.out.html

check_txt:
	$(TXT2HTML) -i $(srcdir)/test.txt -o test.txt.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.txt.html test.txt.out.html

myscript: test.sh
	cp $(srcdir)/test.sh $@

myimplicitxml.foo: test.xml
	cp $(srcdir)/test.xml $@

myimplicitphp.foo: test.php3
	cp $(srcdir)/test.php3 $@

check_infer: myscript myimplicitxml.foo myimplicitphp.foo
	rm -f myscript.html
	rm -f myimplicitxml.foo.html
	$(INFER) -i $(srcdir)/test2.pl -o test2.pl.out.html
	$(INFER) -i $(srcdir)/test.tcl -o test.tcl.out.html
	$(INFERIMPLICIT) -i myscript -o myscript.html
	$(INFERIMPLICIT) -i $(srcdir)/test.ecore -o test.ecore.out.html
	$(INFERIMPLICIT) --title="xml formatted in html" -i myimplicitxml.foo -o myimplicitxml.foo.html
	$(INFERIMPLICIT) -i myimplicitphp.foo -o myimplicitphp.foo.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test2.pl.html test2.pl.out.html
	$(DIFF) $(srcdir)/test.tcl.html test.tcl.out.html
	$(DIFF) $(srcdir)/test.sh.html myscript.html
	$(DIFF) $(srcdir)/test.ecore.html test.ecore.out.html
	$(DIFF) $(srcdir)/test.xml.html myimplicitxml.foo.html
	$(DIFF) $(srcdir)/test.php3.html myimplicitphp.foo.html

check_latex:
	$(PROGNAME) -i $(srcdir)/test.tex  -o test.tex.out.html
	$(PROGNAME) -i $(srcdir)/test.java.tex  -o test.java.tex.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.tex.html test.tex.out.html
	$(DIFF) $(srcdir)/test.java.tex.html test.java.tex.out.html

check_docbook:
	$(PROGNAME_DOCBOOK) -i $(srcdir)/test.h --line-number -o test.h.out.docbook
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.h.docbook test.h.out.docbook

check_sql:
	$(PROGNAME) -i $(srcdir)/test.sql -o test.sql.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.sql.html test.sql.out.html

check_bib:
	$(PROGNAME) -i $(srcdir)/test.bib -o test.bib.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.bib.html test.bib.out.html

check_makefile:
	$(PROGNAME) -i $(srcdir)/test.makefile -o test.makefile.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.makefile.html test.makefile.out.html

check_css:
	$(PROGNAME) -i $(srcdir)/test.css -o test.css.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.css.html test.css.out.html

check_ps:
	$(PROGNAME) -i $(srcdir)/test.ps -o test.ps.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.ps.html test.ps.out.html

check_go:
	$(PROGNAME) -i $(srcdir)/test.go -o test.go.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.go.html test.go.out.html

check_groovy:
	$(PROGNAME) -i $(srcdir)/test.groovy -o test.groovy.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.groovy.html test.groovy.out.html

check_json:
	$(PROGNAME) --style-file=json.style -i $(srcdir)/test.json -o test.json.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.json.html test.json.out.html

check_feature:
	$(PROGNAME) -i $(srcdir)/test.feature -o test.feature.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.feature.html test.feature.out.html

check_ipxe:
	$(PROGNAME) -i $(srcdir)/test.ipxe -o test.ipxe.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.ipxe.html test.ipxe.out.html

check_lang:
	$(LANG2HTML) -i $(top_srcdir)/src/log.lang -o log.lang.out.html
	$(LANG2HTML) -i $(top_srcdir)/src/c.lang -o c.lang.out.html
	$(STYLE2HTML) -i $(top_srcdir)/src/default.style -o default.style.out.html
	$(STYLE2HTML) -i $(srcdir)/syslog.style -o syslog.style.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/log.lang.html log.lang.out.html
	$(DIFF) $(srcdir)/c.lang.html c.lang.out.html
	$(DIFF) $(srcdir)/default.style.html default.style.out.html
	$(DIFF) $(srcdir)/syslog.style.html syslog.style.out.html

check_simple:
	$(SIMPLE) -i $(srcdir)/test.simple -o test.simple.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.simple.html test.simple.out.html

check_isolate:
	$(TESTISOLATE) -i $(srcdir)/test.isolate -o test.isolate.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.isolate.html test.isolate.out.html

check_backref:
	$(TESTBACKREF) -i $(srcdir)/test.backref -o test.backref.out.html
	$(TESTBACKREF) -i $(srcdir)/test2.backref -o test2.backref.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.backref.html test.backref.out.html
	$(DIFF) $(srcdir)/test2.backref.html test2.backref.out.html

check_namedgroups:
	$(NAMEDGROUPS) -i $(srcdir)/test.ngroups -o test.ngroups.out.html
	$(NAMEDGROUPS_STATE) -i $(srcdir)/test_state.ngroups -o test_state.ngroups.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.ngroups.html test.ngroups.out.html
	$(DIFF) $(srcdir)/test_state.ngroups.html test_state.ngroups.out.html

check_zsh:
	$(PROGNAME) -s zsh -f esc --style-file=$(top_srcdir)/src/esc.style --doc --lang-def=$(srcdir)/../src/zsh.lang -n -i $(srcdir)/test.zsh -o test.zsh.out.txt
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.zsh.txt test.zsh.out.txt

.lang.err_out:
	$(CHECKLANG) ./$< 2> $@ || true; 
	sed -itesttmp -f $(srcdir)/erasedir.sed $@ && rm -f *testtmp

.outlang.err_out:
	$(CHECKOUTLANG) ./$< 2> $@ || true; 
	sed -itesttmp -f $(srcdir)/erasedir.sed $@ && rm -f *testtmp

.style.err_out:
	$(PROGEXE) --lang-def=$(srcdir)/simple.lang --style-file=./$< --data-dir=$(top_srcdir)/src < $(srcdir)/test.java > /dev/null 2> $@ || true;
	sed -itesttmp -f $(srcdir)/erasedir.sed $@ && rm -f *testtmp

.css.err_out:
	$(PROGEXE) --lang-def=$(srcdir)/simple.lang --style-css=./$< --data-dir=$(top_srcdir)/src < $(srcdir)/test.java > /dev/null 2> $@ || true;
	sed -itesttmp -f $(srcdir)/erasedir.sed $@ && rm -f *testtmp

check_wrong:
	rm -f *.err_out
	$(MAKE) wrong_exp.err_out
	$(MAKE) wrong_syntax.err_out
	$(MAKE) wrong_syntax_include.err_out
	$(MAKE) wrong_var.err_out
	$(MAKE) wrong_trans.err_out
	$(MAKE) wrong_dircolor.err_out
	$(MAKE) wrong_already_defined.err_out
	$(MAKE) wrong_already_defined_css.err_out
	$(MAKE) wrong_namedgroups.err_out
	$(MAKE) wrong_namedgroups_subexps.err_out
	$(MAKE) wrong_namedgroups_subexps2.err_out
	$(MAKE) wrong_backref.err_out
	$(MAKE) wrong_backref2.err_out
	$(MAKE) wrong_dyn_backref.err_out
	$(MAKE) wrong_dyn_backref2.err_out
	$(MAKE) wrong_include.err_out
	$(MAKE) wrong_outlang_include.err_out
	@echo expect no output from diff
	$(DIFF) $(srcdir)/wrong_exp.err wrong_exp.err_out
	$(DIFF) $(srcdir)/wrong_syntax.err wrong_syntax.err_out
	$(DIFF) $(srcdir)/wrong_syntax_include.err wrong_syntax_include.err_out
	$(DIFF) $(srcdir)/wrong_var.err wrong_var.err_out
	$(DIFF) $(srcdir)/wrong_trans.err wrong_trans.err_out
	$(DIFF) $(srcdir)/wrong_dircolor.err wrong_dircolor.err_out
	$(DIFF) $(srcdir)/wrong_already_defined.err wrong_already_defined.err_out
	$(DIFF) $(srcdir)/wrong_already_defined_css.err wrong_already_defined_css.err_out
	$(DIFF) $(srcdir)/wrong_namedgroups.err wrong_namedgroups.err_out
	$(DIFF) $(srcdir)/wrong_namedgroups_subexps.err wrong_namedgroups_subexps.err_out
	$(DIFF) $(srcdir)/wrong_namedgroups_subexps2.err wrong_namedgroups_subexps2.err_out
	$(DIFF) $(srcdir)/wrong_backref.err wrong_backref.err_out
	$(DIFF) $(srcdir)/wrong_backref2.err wrong_backref2.err_out
	$(DIFF) $(srcdir)/wrong_dyn_backref.err wrong_dyn_backref.err_out
	$(DIFF) $(srcdir)/wrong_dyn_backref2.err wrong_dyn_backref2.err_out
	$(DIFF) $(srcdir)/wrong_include.err wrong_include.err_out
	$(DIFF) $(srcdir)/wrong_outlang_include.err wrong_outlang_include.err_out

check_wrong_lineranges:
	rm -f *.err_out
	$(WRONGLINERANGEEXE) 2> wrong_line_range.err_out || true
	@echo expect no output from diff
	$(DIFF) $(srcdir)/wrong_line_range.err wrong_line_range.err_out

# this is not wrong anymore
# https://savannah.gnu.org/bugs/index.php?41786
check_wrong_regexranges:
#	rm -f *.err_out
#	$(WRONGREGEXRANGEEXE) 2> wrong_regex_range.err_out || true
#	@echo expect no output from diff
#	$(DIFF) $(srcdir)/wrong_regex_range.err wrong_regex_range.err_out

check_wrong_syntaxmode:
	rm -f *.err_out
	$(WRONGSYNTAXMODEEXE) 2> wrong_syntax_mode.err_out || true
	@echo expect no output from diff
	$(DIFF) $(srcdir)/wrong_syntax_mode.err wrong_syntax_mode.err_out

check_lineranges:
	$(LINERANGE1EXE) < $(srcdir)/test.java -o test_linerange1.out.html
	$(LINERANGE2EXE) < $(srcdir)/test.java -o test_linerange2.out.html
	$(LINERANGESEPEXE) < $(srcdir)/test.java -o test_linerange_sep.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test_linerange1.html test_linerange1.out.html
	$(DIFF) $(srcdir)/test_linerange2.html test_linerange2.out.html
	$(DIFF) $(srcdir)/test_linerange_sep.html test_linerange_sep.out.html

check_regexranges:
	$(REGEXRANGE1EXE) < $(srcdir)/test.java -o test_regexrange1.out.html
	$(REGEXRANGE2EXE) < $(srcdir)/test.java -o test_regexrange2.out.html
	$(REGEXRANGE3EXE) < $(srcdir)/test.java -o test_regexrange3.out.html
	$(REGEXRANGE4EXE) < $(srcdir)/test.java -o test_regexrange4.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test_regexrange1.html test_regexrange1.out.html
	$(DIFF) $(srcdir)/test_regexrange2.html test_regexrange2.out.html
	$(DIFF) $(srcdir)/test_regexrange3.html test_regexrange3.out.html
	$(DIFF) $(srcdir)/test_regexrange4.html test_regexrange4.out.html

check_nobgcolor:
	$(PROGNAME) --style-file=texinfo.style --doc --title="source file" -i $(srcdir)/test_nobgcolor.cpp -o test_nobgcolor.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test_nobgcolor.html test_nobgcolor.out.html

check_tabs:
	$(JAVA2HTML) --tab=4 -i $(srcdir)/test.java -o test_tabs.java.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test_tabs.java.html test_tabs.java.out.html

#$(PROG_NOOUTLANGDEF) -i $(srcdir)/test.simple -o test.err_out --data-dir=/tmp 2-o missing_langmap2.err_out || true
#sed -r -i -f $(srcdir)/erasedir2.sed missing_langmap2.err_out
#diff $(srcdir)/missing_langmap2.err missing_langmap2.err_out

check_missing:
	rm -f *.err_out
	$(PROG_NOLANGDEF) -i $(srcdir)/test.simple -o test.err_out 2> missing_langmap.err_out || true
	$(PROG_NOOUTLANGDEF) --outlang-def=$(srcdir)/simple.outlang $(srcdir)/test.simple 2> missing_extension.err_out || true
	@echo expect no output from diff
	sed -itesttmp -f $(srcdir)/erasedir2.sed missing_langmap.err_out
	sed -itesttmp -f $(srcdir)/erasedir2.sed missing_extension.err_out
	$(DIFF) $(srcdir)/missing_langmap.err missing_langmap.err_out
	$(DIFF) $(srcdir)/missing_extension.err missing_extension.err_out
	rm -f *testtmp

check_failsafe:
	$(FAILSAFE) -i $(srcdir)/test.unknown -o test.unknown.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.unknown.html test.unknown.out.html

check_debug:
	rm -f *.out.debug
	$(DEBUGLANG) -i $(srcdir)/debug.java -o debug.java.out.html > debug.out.debug
	tr -d '\r' < debug.out.debug > temp.output && cp -f temp.output debug.out.debug
	@echo expect no output from diff
	$(DIFF) $(srcdir)/debug.debug debug.out.debug
	$(DIFF) $(srcdir)/debug.java.html debug.java.out.html

check_defaults:
	$(TESTWDEFAULTS) -i $(srcdir)/test.wdefault -o test.wdefault.out.html
	$(TESTWODEFAULTS) -i $(srcdir)/test.wodefault -o test.wodefault.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test.wdefault.html test.wdefault.out.html
	$(DIFF) $(srcdir)/test.wodefault.html test.wodefault.out.html

# disable reference tests
check_ref:
	@echo warning: tests with references are disabled
	@echo because we could not find a usable ctags program
# sed -i -r 's/([.\/[:alnum:]]+)\/(test\.h\:[[:alnum:]\._]+)/\2/g' test_ref.out.html # eliminate leading paths
#check_ref:
#	$(CPP2HTML_WREFS) -i $(srcdir)/test.h -o test_ref.out.html $(CTAGS_COMMAND_TMP)
#	sed -itesttmp -e 's/test\_ref\.out\.html/test\_ref\.html/g' test_ref.out.html
#	sed -itesttmp -f $(srcdir)/erasedir3.sed test_ref.out.html # eliminate leading paths
#	rm -f test_refs_tmp.* *testtmp
#	cp -f $(srcdir)/test_refs.h test_refs_tmp.h
#	cp -f $(srcdir)/test_refs.cpp test_refs_tmp.cpp
#	$(CTAGS_CMD) -o $(TEMP_TAGFILE) test_refs_tmp.h test_refs_tmp.cpp
#	$(CPP2HTML_WREFS) --ctags-file=$(TEMP_TAGFILE) --line-number test_refs_tmp.h test_refs_tmp.cpp --verbose
#	sed -itesttmp -e 's/\_tmp\.h/\.h/g' test_refs_tmp.h.html test_refs_tmp.cpp.html
#	sed -itesttmp -e 's/\_tmp\.cpp/\.cpp/g' test_refs_tmp.h.html test_refs_tmp.cpp.html
#	$(CPP2LATEX_WREFS) -i $(srcdir)/test.h -o test_ref.out.tex $(CTAGS_COMMAND_TMP)
#	sed -itesttmp -r 's/([.\/[:alnum:]]+)\/(test\.h\:[[:alnum:]\._]+)/\2/g' test_ref.out.tex # eliminate leading paths
#	$(CPP2LATEX_WREFSPOST) -i $(srcdir)/test.h -o test_ref_post.out.tex $(CTAGS_COMMAND_TMP)
#	sed -itesttmp -f $(srcdir)/erasedir3.sed test_ref_post.out.tex # eliminate leading paths
#	$(CPP2TEXINFO_WREFS) -i $(srcdir)/test.h -o test_ref.out.texinfo $(CTAGS_COMMAND_TMP)
#	sed -itesttmp -f $(srcdir)/erasedir3.sed test_ref.out.texinfo # eliminate leading paths
#	$(CPP2DOCBOOK_WREFS) -i $(srcdir)/test.h -o test_ref.out.docbook $(CTAGS_COMMAND_TMP)
#	$(CPP2XHTML_WREFS) -i $(srcdir)/test.h -o test_ref.out.xhtml $(CTAGS_COMMAND_TMP)
#	sed -itesttmp -e 's/test\_ref\.out\.xhtml/test\_ref\.xhtml/g' test_ref.out.xhtml
#	sed -itesttmp -f $(srcdir)/erasedir3.sed test_ref.out.xhtml # eliminate leading paths
#	@echo expect no output from diff
#	$(DIFF) $(srcdir)/test_ref.html test_ref.out.html
#	$(DIFF) $(srcdir)/test_refs.h.html test_refs_tmp.h.html
#	$(DIFF) $(srcdir)/test_refs.cpp.html test_refs_tmp.cpp.html
#	$(DIFF) $(srcdir)/test_ref.tex test_ref.out.tex
#	$(DIFF) $(srcdir)/test_ref.texinfo test_ref.out.texinfo
#	$(DIFF) $(srcdir)/test_ref_post.tex test_ref_post.out.tex
#	$(DIFF) $(srcdir)/test_ref.docbook test_ref.out.docbook
#	$(DIFF) $(srcdir)/test_ref.xhtml test_ref.out.xhtml
#	rm -f test_refs_tmp.* *testtmp $(TEMP_TAGFILE)

check_show:
	$(PROGEXE) --show-regex=$(top_srcdir)/src/c_comment.lang > c_comment.out.show
	tr -d '\r' < c_comment.out.show > temp.output && cp -f temp.output c_comment.out.show
	$(PROGEXE) --show-regex=$(srcdir)/namedgroups_state.lang > namedgroups_state.out.show
	tr -d '\r' < namedgroups_state.out.show > temp.output && cp -f temp.output namedgroups_state.out.show
	@echo expect no output from diff
	$(DIFF) $(srcdir)/c_comment.show c_comment.out.show
	$(DIFF) $(srcdir)/namedgroups_state.show namedgroups_state.out.show

check_langelems:
	$(PROGEXE) $(DATADIROPTION) --show-lang-elements=$(top_srcdir)/src/cpp.lang > cpp.out.langelems
	tr -d '\r' < cpp.out.langelems > temp.output && cp -f temp.output cpp.out.langelems
	@echo expect no output from diff
	$(DIFF) $(srcdir)/cpp.langelems cpp.out.langelems

check_list:
	$(PROGEXE) $(DATADIROPTION) --lang-list > lang.out.list
	tr -d '\r' < lang.out.list > temp.output && cp -f temp.output lang.out.list
	$(PROGEXE) $(DATADIROPTION) --outlang-list > outlang.out.list
	tr -d '\r' < outlang.out.list > temp.output && cp -f temp.output outlang.out.list
	@echo expect no output from diff
	$(DIFF) $(srcdir)/lang.list lang.out.list
	$(DIFF) $(srcdir)/outlang.list outlang.out.list

check_stop:
	$(PROGNAME) --lang-def=$(srcdir)/test_string_stop.lang -i $(srcdir)/test_string_stop.java -o test_string_stop.java.out.html
	$(JAVA2HTML) -i $(srcdir)/test_java_stop.java -o test_java_stop.java.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test_string_stop.java.html test_string_stop.java.out.html
	$(DIFF) $(srcdir)/test_java_stop.java.html test_java_stop.java.out.html

check_vardecl:
	$(JAVA2HTML) -i $(srcdir)/test_vardecl.java -o test_vardecl.java.out.html
	$(CPP2HTML) -i $(srcdir)/test_vardecl.cc -o test_vardecl.cc.out.html
	@echo expect no output from diff
	$(DIFF) $(srcdir)/test_vardecl.java.html test_vardecl.java.out.html
	$(DIFF) $(srcdir)/test_vardecl.cc.html test_vardecl.cc.out.html

check_newlines: 
	$(PROGEXE) --show-regex=$(srcdir)/test_newlines.lang > test_newlines.out
	$(PROGEXE) --show-regex=$(srcdir)/test_nonewlines.lang > test_nonewlines.out
	@echo expect no output from diff
	$(DIFF) test_newlines.out test_nonewlines.out

clean_ref: 
	rm -f $(OUTPUTWREFS)

check-output-dir:
	rm -f $(OUTPUTDIR)/test.java.html $(OUTPUTDIR)/test.h.html
	$(PROGEXE) $(DATADIROPTION) $(OUTPUTTODIR) $(srcdir)/test.java $(srcdir)/test.h
	test -f $(OUTPUTDIR)/test.java.html
	test -f $(OUTPUTDIR)/test.h.html

check-valgrind:
	$(VALGRINDTEST) $(PROGEXE) --help
	$(VALGRINDTEST) $(PROGEXE) --version
	$(VALGRINDTEST) $(JAVA2HTML) -i $(srcdir)/test.java -o test.java.out.html
# lua uses @{1} so we want to test it
	$(VALGRINDTEST) $(LUA2HTML) -i $(srcdir)/test.lua -o test.lua.out.html
	$(VALGRINDTEST) $(PROGNAME_CSSSTYLE) -i $(srcdir)/test.java -o test.css.java.html
	$(VALGRINDTEST) $(CPP2HTML) --gen-references=inline -i $(srcdir)/test.h -o test_ref.out.html
	$(VALGRINDTEST) $(FAILSAFE) -i $(srcdir)/test.unknown -s cpp -o test.unknown_out
	$(VALGRINDTEST) $(NAMEDGROUPS) -i $(srcdir)/test.ngroups -o test.ngroups.out.html
	$(VALGRINDTEST) $(FAILSAFE) -i $(srcdir)/test.unknown -o test.unknown_out
	cp -f $(srcdir)/test_refs.h test_refs_tmp.h
	cp -f $(srcdir)/test_refs.cpp test_refs_tmp.cpp
	$(CTAGS_CMD) -o test_refs_tmp.tags test_refs_tmp.h test_refs_tmp.cpp
	$(VALGRINDTEST) $(CPP2HTML) --gen-references=inline --ctags-file=my_test_ref.tags --line-number test_refs_tmp.h test_refs_tmp.cpp
	rm -f test_refs_tmp.*

clean_html:
	rm -f *.h.html *.java.html *.cc.html *.pas.html *.pl.html *.pm.html *.php3.html *.py.html *.chlog.html *.chlog_css.html *.l.html test_xhtml*.html test_notfixed.html test_css.html test_css_nodoc.html test_header.html *.rb.html *.js.html *.java.txt *.java.tex *.h.docbook *.java.texinfo *.lua.html *.ml.html *.sml.html test_*_lines.html *.log.html *.y.html *.simple.html *.ngroups.html *.tex.html *.lgt.html *.diff.html *.lang.html *.htm.html *.style.html *.cs.html *.xml.html *.sh.html *.url.html *.txt.html *.unknown.html *.tcl.html *.bib.html *.makefile.html *.css.html *.ps.html *.sl.html *.isolate.html *.backref.html *.c.html *.wdefault.html *.wodefault.html *.properties.html *.desktop.html *.lsm.html *.spec.html *.hx.html *.fortran.html *.fixed-fortran.html *.hx.html *.m4.html *.scala.html *.adb.html *.conf.html *.xorg.html

#DISTCLEANFILES=test_ref.xhtml test_ref.tags test_ref.tags tags test_ref.tex test_ref_post.tex test_ref.texinfo syslog.style.html test_ref.docbook

# 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:
