Makefile.in revision b2f5b1db
1# Makefile.in generated by automake 1.15 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17
18VPATH = @srcdir@
19am__is_gnu_make = { \
20  if test -z '$(MAKELEVEL)'; then \
21    false; \
22  elif test -n '$(MAKE_HOST)'; then \
23    true; \
24  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
25    true; \
26  else \
27    false; \
28  fi; \
29}
30am__make_running_with_option = \
31  case $${target_option-} in \
32      ?) ;; \
33      *) echo "am__make_running_with_option: internal error: invalid" \
34              "target option '$${target_option-}' specified" >&2; \
35         exit 1;; \
36  esac; \
37  has_opt=no; \
38  sane_makeflags=$$MAKEFLAGS; \
39  if $(am__is_gnu_make); then \
40    sane_makeflags=$$MFLAGS; \
41  else \
42    case $$MAKEFLAGS in \
43      *\\[\ \	]*) \
44        bs=\\; \
45        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
46          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
47    esac; \
48  fi; \
49  skip_next=no; \
50  strip_trailopt () \
51  { \
52    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
53  }; \
54  for flg in $$sane_makeflags; do \
55    test $$skip_next = yes && { skip_next=no; continue; }; \
56    case $$flg in \
57      *=*|--*) continue;; \
58        -*I) strip_trailopt 'I'; skip_next=yes;; \
59      -*I?*) strip_trailopt 'I';; \
60        -*O) strip_trailopt 'O'; skip_next=yes;; \
61      -*O?*) strip_trailopt 'O';; \
62        -*l) strip_trailopt 'l'; skip_next=yes;; \
63      -*l?*) strip_trailopt 'l';; \
64      -[dEDm]) skip_next=yes;; \
65      -[JT]) skip_next=yes;; \
66    esac; \
67    case $$flg in \
68      *$$target_option*) has_opt=yes; break;; \
69    esac; \
70  done; \
71  test $$has_opt = yes
72am__make_dryrun = (target_option=n; $(am__make_running_with_option))
73am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
74pkgdatadir = $(datadir)/@PACKAGE@
75pkgincludedir = $(includedir)/@PACKAGE@
76pkglibdir = $(libdir)/@PACKAGE@
77pkglibexecdir = $(libexecdir)/@PACKAGE@
78am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
79install_sh_DATA = $(install_sh) -c -m 644
80install_sh_PROGRAM = $(install_sh) -c
81install_sh_SCRIPT = $(install_sh) -c
82INSTALL_HEADER = $(INSTALL_DATA)
83transform = $(program_transform_name)
84NORMAL_INSTALL = :
85PRE_INSTALL = :
86POST_INSTALL = :
87NORMAL_UNINSTALL = :
88PRE_UNINSTALL = :
89POST_UNINSTALL = :
90build_triplet = @build@
91host_triplet = @host@
92bin_PROGRAMS = makedepend$(EXEEXT)
93subdir = .
94ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
95am__aclocal_m4_deps = $(top_srcdir)/configure.ac
96am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
97	$(ACLOCAL_M4)
98DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
99	$(am__configure_deps) $(am__DIST_COMMON)
100am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
101 configure.lineno config.status.lineno
102mkinstalldirs = $(install_sh) -d
103CONFIG_HEADER = makedepend-config.h
104CONFIG_CLEAN_FILES =
105CONFIG_CLEAN_VPATH_FILES =
106am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appmandir)"
107PROGRAMS = $(bin_PROGRAMS)
108am_makedepend_OBJECTS = include.$(OBJEXT) main.$(OBJEXT) \
109	parse.$(OBJEXT) pr.$(OBJEXT) cppsetup.$(OBJEXT) \
110	ifparser.$(OBJEXT)
111makedepend_OBJECTS = $(am_makedepend_OBJECTS)
112makedepend_LDADD = $(LDADD)
113AM_V_P = $(am__v_P_@AM_V@)
114am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
115am__v_P_0 = false
116am__v_P_1 = :
117AM_V_GEN = $(am__v_GEN_@AM_V@)
118am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
119am__v_GEN_0 = @echo "  GEN     " $@;
120am__v_GEN_1 = 
121AM_V_at = $(am__v_at_@AM_V@)
122am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
123am__v_at_0 = @
124am__v_at_1 = 
125DEFAULT_INCLUDES = -I.@am__isrc@
126depcomp = $(SHELL) $(top_srcdir)/depcomp
127am__depfiles_maybe = depfiles
128am__mv = mv -f
129COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
130	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
131AM_V_CC = $(am__v_CC_@AM_V@)
132am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
133am__v_CC_0 = @echo "  CC      " $@;
134am__v_CC_1 = 
135CCLD = $(CC)
136LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
137AM_V_CCLD = $(am__v_CCLD_@AM_V@)
138am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
139am__v_CCLD_0 = @echo "  CCLD    " $@;
140am__v_CCLD_1 = 
141SOURCES = $(makedepend_SOURCES)
142DIST_SOURCES = $(makedepend_SOURCES)
143am__can_run_installinfo = \
144  case $$AM_UPDATE_INFO_DIR in \
145    n|no|NO) false;; \
146    *) (install-info --version) >/dev/null 2>&1;; \
147  esac
148am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
149am__vpath_adj = case $$p in \
150    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
151    *) f=$$p;; \
152  esac;
153am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
154am__install_max = 40
155am__nobase_strip_setup = \
156  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
157am__nobase_strip = \
158  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
159am__nobase_list = $(am__nobase_strip_setup); \
160  for p in $$list; do echo "$$p $$p"; done | \
161  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
162  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
163    if (++n[$$2] == $(am__install_max)) \
164      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
165    END { for (dir in files) print dir, files[dir] }'
166am__base_list = \
167  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
168  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
169am__uninstall_files_from_dir = { \
170  test -z "$$files" \
171    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
172    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
173         $(am__cd) "$$dir" && rm -f $$files; }; \
174  }
175DATA = $(appman_DATA)
176am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
177	$(LISP)makedepend-config.h.in
178# Read a list of newline-separated strings from the standard input,
179# and print each of them once, without duplicates.  Input order is
180# *not* preserved.
181am__uniquify_input = $(AWK) '\
182  BEGIN { nonempty = 0; } \
183  { items[$$0] = 1; nonempty = 1; } \
184  END { if (nonempty) { for (i in items) print i; }; } \
185'
186# Make sure the list of sources is unique.  This is necessary because,
187# e.g., the same source file might be shared among _SOURCES variables
188# for different programs/libraries.
189am__define_uniq_tagged_files = \
190  list='$(am__tagged_files)'; \
191  unique=`for i in $$list; do \
192    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
193  done | $(am__uniquify_input)`
194ETAGS = etags
195CTAGS = ctags
196CSCOPE = cscope
197AM_RECURSIVE_TARGETS = cscope check recheck
198am__tty_colors_dummy = \
199  mgn= red= grn= lgn= blu= brg= std=; \
200  am__color_tests=no
201am__tty_colors = { \
202  $(am__tty_colors_dummy); \
203  if test "X$(AM_COLOR_TESTS)" = Xno; then \
204    am__color_tests=no; \
205  elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
206    am__color_tests=yes; \
207  elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
208    am__color_tests=yes; \
209  fi; \
210  if test $$am__color_tests = yes; then \
211    red='[0;31m'; \
212    grn='[0;32m'; \
213    lgn='[1;32m'; \
214    blu='[1;34m'; \
215    mgn='[0;35m'; \
216    brg='[1m'; \
217    std='[m'; \
218  fi; \
219}
220am__recheck_rx = ^[ 	]*:recheck:[ 	]*
221am__global_test_result_rx = ^[ 	]*:global-test-result:[ 	]*
222am__copy_in_global_log_rx = ^[ 	]*:copy-in-global-log:[ 	]*
223# A command that, given a newline-separated list of test names on the
224# standard input, print the name of the tests that are to be re-run
225# upon "make recheck".
226am__list_recheck_tests = $(AWK) '{ \
227  recheck = 1; \
228  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
229    { \
230      if (rc < 0) \
231        { \
232          if ((getline line2 < ($$0 ".log")) < 0) \
233	    recheck = 0; \
234          break; \
235        } \
236      else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
237        { \
238          recheck = 0; \
239          break; \
240        } \
241      else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
242        { \
243          break; \
244        } \
245    }; \
246  if (recheck) \
247    print $$0; \
248  close ($$0 ".trs"); \
249  close ($$0 ".log"); \
250}'
251# A command that, given a newline-separated list of test names on the
252# standard input, create the global log from their .trs and .log files.
253am__create_global_log = $(AWK) ' \
254function fatal(msg) \
255{ \
256  print "fatal: making $@: " msg | "cat >&2"; \
257  exit 1; \
258} \
259function rst_section(header) \
260{ \
261  print header; \
262  len = length(header); \
263  for (i = 1; i <= len; i = i + 1) \
264    printf "="; \
265  printf "\n\n"; \
266} \
267{ \
268  copy_in_global_log = 1; \
269  global_test_result = "RUN"; \
270  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
271    { \
272      if (rc < 0) \
273         fatal("failed to read from " $$0 ".trs"); \
274      if (line ~ /$(am__global_test_result_rx)/) \
275        { \
276          sub("$(am__global_test_result_rx)", "", line); \
277          sub("[ 	]*$$", "", line); \
278          global_test_result = line; \
279        } \
280      else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
281        copy_in_global_log = 0; \
282    }; \
283  if (copy_in_global_log) \
284    { \
285      rst_section(global_test_result ": " $$0); \
286      while ((rc = (getline line < ($$0 ".log"))) != 0) \
287      { \
288        if (rc < 0) \
289          fatal("failed to read from " $$0 ".log"); \
290        print line; \
291      }; \
292      printf "\n"; \
293    }; \
294  close ($$0 ".trs"); \
295  close ($$0 ".log"); \
296}'
297# Restructured Text title.
298am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
299# Solaris 10 'make', and several other traditional 'make' implementations,
300# pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
301# by disabling -e (using the XSI extension "set +e") if it's set.
302am__sh_e_setup = case $$- in *e*) set +e;; esac
303# Default flags passed to test drivers.
304am__common_driver_flags = \
305  --color-tests "$$am__color_tests" \
306  --enable-hard-errors "$$am__enable_hard_errors" \
307  --expect-failure "$$am__expect_failure"
308# To be inserted before the command running the test.  Creates the
309# directory for the log if needed.  Stores in $dir the directory
310# containing $f, in $tst the test, in $log the log.  Executes the
311# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
312# passes TESTS_ENVIRONMENT.  Set up options for the wrapper that
313# will run the test scripts (or their associated LOG_COMPILER, if
314# thy have one).
315am__check_pre = \
316$(am__sh_e_setup);					\
317$(am__vpath_adj_setup) $(am__vpath_adj)			\
318$(am__tty_colors);					\
319srcdir=$(srcdir); export srcdir;			\
320case "$@" in						\
321  */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;	\
322    *) am__odir=.;; 					\
323esac;							\
324test "x$$am__odir" = x"." || test -d "$$am__odir" 	\
325  || $(MKDIR_P) "$$am__odir" || exit $$?;		\
326if test -f "./$$f"; then dir=./;			\
327elif test -f "$$f"; then dir=;				\
328else dir="$(srcdir)/"; fi;				\
329tst=$$dir$$f; log='$@'; 				\
330if test -n '$(DISABLE_HARD_ERRORS)'; then		\
331  am__enable_hard_errors=no; 				\
332else							\
333  am__enable_hard_errors=yes; 				\
334fi; 							\
335case " $(XFAIL_TESTS) " in				\
336  *[\ \	]$$f[\ \	]* | *[\ \	]$$dir$$f[\ \	]*) \
337    am__expect_failure=yes;;				\
338  *)							\
339    am__expect_failure=no;;				\
340esac; 							\
341$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
342# A shell command to get the names of the tests scripts with any registered
343# extension removed (i.e., equivalently, the names of the test logs, with
344# the '.log' extension removed).  The result is saved in the shell variable
345# '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
346# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
347# since that might cause problem with VPATH rewrites for suffix-less tests.
348# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
349am__set_TESTS_bases = \
350  bases='$(TEST_LOGS)'; \
351  bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
352  bases=`echo $$bases`
353RECHECK_LOGS = $(TEST_LOGS)
354TEST_SUITE_LOG = test-suite.log
355TEST_EXTENSIONS = @EXEEXT@ .test
356LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
357LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
358am__set_b = \
359  case '$@' in \
360    */*) \
361      case '$*' in \
362        */*) b='$*';; \
363          *) b=`echo '$@' | sed 's/\.log$$//'`; \
364       esac;; \
365    *) \
366      b='$*';; \
367  esac
368am__test_logs1 = $(TESTS:=.log)
369am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
370TEST_LOGS = $(am__test_logs2:.test.log=.log)
371TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
372TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
373	$(TEST_LOG_FLAGS)
374am__DIST_COMMON = $(srcdir)/Makefile.in \
375	$(srcdir)/makedepend-config.h.in AUTHORS COPYING ChangeLog \
376	compile config.guess config.sub depcomp install-sh missing \
377	test-driver
378DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
379distdir = $(PACKAGE)-$(VERSION)
380top_distdir = $(distdir)
381am__remove_distdir = \
382  if test -d "$(distdir)"; then \
383    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
384      && rm -rf "$(distdir)" \
385      || { sleep 5 && rm -rf "$(distdir)"; }; \
386  else :; fi
387am__post_remove_distdir = $(am__remove_distdir)
388DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
389GZIP_ENV = --best
390DIST_TARGETS = dist-bzip2 dist-gzip
391distuninstallcheck_listfiles = find . -type f -print
392am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
393  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
394distcleancheck_listfiles = find . -type f -print
395ACLOCAL = @ACLOCAL@
396ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
397ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
398AMTAR = @AMTAR@
399AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
400APP_MAN_DIR = @APP_MAN_DIR@
401APP_MAN_SUFFIX = @APP_MAN_SUFFIX@
402AUTOCONF = @AUTOCONF@
403AUTOHEADER = @AUTOHEADER@
404AUTOMAKE = @AUTOMAKE@
405AWK = @AWK@
406BASE_CFLAGS = @BASE_CFLAGS@
407CC = @CC@
408CCDEPMODE = @CCDEPMODE@
409CFLAGS = @CFLAGS@
410CHANGELOG_CMD = @CHANGELOG_CMD@
411CPP = @CPP@
412CPPFLAGS = @CPPFLAGS@
413CWARNFLAGS = @CWARNFLAGS@
414CYGPATH_W = @CYGPATH_W@
415DEFS = @DEFS@
416DEPDIR = @DEPDIR@
417DRIVER_MAN_DIR = @DRIVER_MAN_DIR@
418DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@
419ECHO_C = @ECHO_C@
420ECHO_N = @ECHO_N@
421ECHO_T = @ECHO_T@
422EGREP = @EGREP@
423EXEEXT = @EXEEXT@
424FILE_MAN_DIR = @FILE_MAN_DIR@
425FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@
426GREP = @GREP@
427INSTALL = @INSTALL@
428INSTALL_CMD = @INSTALL_CMD@
429INSTALL_DATA = @INSTALL_DATA@
430INSTALL_PROGRAM = @INSTALL_PROGRAM@
431INSTALL_SCRIPT = @INSTALL_SCRIPT@
432INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
433LDFLAGS = @LDFLAGS@
434LIBOBJS = @LIBOBJS@
435LIBS = @LIBS@
436LIB_MAN_DIR = @LIB_MAN_DIR@
437LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
438LINT = @LINT@
439LINT_FLAGS = @LINT_FLAGS@
440LTLIBOBJS = @LTLIBOBJS@
441MAKEINFO = @MAKEINFO@
442
443# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
444MAN_SUBSTS = @MAN_SUBSTS@ -e 's|__cpp__|$(RAWCPP)|g'
445MISC_MAN_DIR = @MISC_MAN_DIR@
446MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@
447MKDIR_P = @MKDIR_P@
448OBJEXT = @OBJEXT@
449PACKAGE = @PACKAGE@
450PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
451PACKAGE_NAME = @PACKAGE_NAME@
452PACKAGE_STRING = @PACKAGE_STRING@
453PACKAGE_TARNAME = @PACKAGE_TARNAME@
454PACKAGE_URL = @PACKAGE_URL@
455PACKAGE_VERSION = @PACKAGE_VERSION@
456PATH_SEPARATOR = @PATH_SEPARATOR@
457PKG_CONFIG = @PKG_CONFIG@
458PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
459PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
460SED = @SED@
461SET_MAKE = @SET_MAKE@
462SHELL = @SHELL@
463STRICT_CFLAGS = @STRICT_CFLAGS@
464STRIP = @STRIP@
465VERSION = @VERSION@
466XORG_MAN_PAGE = @XORG_MAN_PAGE@
467X_CFLAGS = @X_CFLAGS@
468X_LIBS = @X_LIBS@
469abs_builddir = @abs_builddir@
470abs_srcdir = @abs_srcdir@
471abs_top_builddir = @abs_top_builddir@
472abs_top_srcdir = @abs_top_srcdir@
473ac_ct_CC = @ac_ct_CC@
474am__include = @am__include@
475am__leading_dot = @am__leading_dot@
476am__quote = @am__quote@
477am__tar = @am__tar@
478am__untar = @am__untar@
479bindir = @bindir@
480build = @build@
481build_alias = @build_alias@
482build_cpu = @build_cpu@
483build_os = @build_os@
484build_vendor = @build_vendor@
485builddir = @builddir@
486datadir = @datadir@
487datarootdir = @datarootdir@
488docdir = @docdir@
489dvidir = @dvidir@
490exec_prefix = @exec_prefix@
491host = @host@
492host_alias = @host_alias@
493host_cpu = @host_cpu@
494host_os = @host_os@
495host_vendor = @host_vendor@
496htmldir = @htmldir@
497includedir = @includedir@
498infodir = @infodir@
499install_sh = @install_sh@
500libdir = @libdir@
501libexecdir = @libexecdir@
502localedir = @localedir@
503localstatedir = @localstatedir@
504mandir = @mandir@
505mkdir_p = @mkdir_p@
506oldincludedir = @oldincludedir@
507pdfdir = @pdfdir@
508prefix = @prefix@
509program_transform_name = @program_transform_name@
510psdir = @psdir@
511sbindir = @sbindir@
512sharedstatedir = @sharedstatedir@
513srcdir = @srcdir@
514sysconfdir = @sysconfdir@
515target_alias = @target_alias@
516top_build_prefix = @top_build_prefix@
517top_builddir = @top_builddir@
518top_srcdir = @top_srcdir@
519makedepend_SOURCES = include.c \
520                     main.c \
521                     parse.c \
522                     pr.c \
523                     cppsetup.c \
524                     ifparser.c \
525                     ifparser.h \
526                     def.h \
527                     imakemdep.h
528
529AM_CPPFLAGS = -DOBJSUFFIX=\".${OBJEXT}\" -DINCLUDEDIR=\"/usr/include\" \
530	$(X_CFLAGS)
531AM_CFLAGS = $(CWARNFLAGS)
532EXTRA_DIST = autogen.sh makedepend.man README.md ChangeLog \
533	tests/28045/makedep.sh tests/28045/foo.cpp
534
535# Man page
536appmandir = $(APP_MAN_DIR)
537appman_PRE = makedepend.man
538appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
539CLEANFILES = $(appman_DATA)
540SUFFIXES = .$(APP_MAN_SUFFIX) .man
541MAINTAINERCLEANFILES = ChangeLog
542@LINT_TRUE@ALL_LINT_FLAGS = $(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
543@LINT_TRUE@		$(AM_CPPFLAGS) $(CPPFLAGS)
544
545
546### Test cases - mostly for bug fixes submitted with a test case so far
547
548# Test for https://bugs.freedesktop.org/show_bug.cgi?id=28045
549TESTS = tests/28045/makedep.sh
550
551# Absolute path to srcdir & builddir top that test scripts can reference
552TEST_BUILDDIR_PATH = `cd $(top_builddir) && pwd`
553TEST_SRCDIR_PATH = `cd $(top_srcdir) && pwd`
554
555# Path to makedepend command being tested that can be found from test subdirs
556
557# Path to writable testdirectory in build directory
558
559# Path to testcase files in source directory
560TESTS_ENVIRONMENT = MAKEDEPEND="$(TEST_BUILDDIR_PATH)/makedepend" \
561	test_builddir="$(TEST_BUILDDIR_PATH)/tests" \
562	test_srcdir="$(TEST_SRCDIR_PATH)/tests"
563all: makedepend-config.h
564	$(MAKE) $(AM_MAKEFLAGS) all-am
565
566.SUFFIXES:
567.SUFFIXES: .$(APP_MAN_SUFFIX) .man .c .log .o .obj .test .test$(EXEEXT) .trs
568am--refresh: Makefile
569	@:
570$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
571	@for dep in $?; do \
572	  case '$(am__configure_deps)' in \
573	    *$$dep*) \
574	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
575	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
576		&& exit 0; \
577	      exit 1;; \
578	  esac; \
579	done; \
580	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
581	$(am__cd) $(top_srcdir) && \
582	  $(AUTOMAKE) --foreign Makefile
583Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
584	@case '$?' in \
585	  *config.status*) \
586	    echo ' $(SHELL) ./config.status'; \
587	    $(SHELL) ./config.status;; \
588	  *) \
589	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
590	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
591	esac;
592
593$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
594	$(SHELL) ./config.status --recheck
595
596$(top_srcdir)/configure:  $(am__configure_deps)
597	$(am__cd) $(srcdir) && $(AUTOCONF)
598$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
599	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
600$(am__aclocal_m4_deps):
601
602makedepend-config.h: stamp-h1
603	@test -f $@ || rm -f stamp-h1
604	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
605
606stamp-h1: $(srcdir)/makedepend-config.h.in $(top_builddir)/config.status
607	@rm -f stamp-h1
608	cd $(top_builddir) && $(SHELL) ./config.status makedepend-config.h
609$(srcdir)/makedepend-config.h.in:  $(am__configure_deps) 
610	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
611	rm -f stamp-h1
612	touch $@
613
614distclean-hdr:
615	-rm -f makedepend-config.h stamp-h1
616install-binPROGRAMS: $(bin_PROGRAMS)
617	@$(NORMAL_INSTALL)
618	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
619	if test -n "$$list"; then \
620	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
621	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
622	fi; \
623	for p in $$list; do echo "$$p $$p"; done | \
624	sed 's/$(EXEEXT)$$//' | \
625	while read p p1; do if test -f $$p \
626	  ; then echo "$$p"; echo "$$p"; else :; fi; \
627	done | \
628	sed -e 'p;s,.*/,,;n;h' \
629	    -e 's|.*|.|' \
630	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
631	sed 'N;N;N;s,\n, ,g' | \
632	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
633	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
634	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
635	    else { print "f", $$3 "/" $$4, $$1; } } \
636	  END { for (d in files) print "f", d, files[d] }' | \
637	while read type dir files; do \
638	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
639	    test -z "$$files" || { \
640	      echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
641	      $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
642	    } \
643	; done
644
645uninstall-binPROGRAMS:
646	@$(NORMAL_UNINSTALL)
647	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
648	files=`for p in $$list; do echo "$$p"; done | \
649	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
650	      -e 's/$$/$(EXEEXT)/' \
651	`; \
652	test -n "$$list" || exit 0; \
653	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
654	cd "$(DESTDIR)$(bindir)" && rm -f $$files
655
656clean-binPROGRAMS:
657	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
658
659makedepend$(EXEEXT): $(makedepend_OBJECTS) $(makedepend_DEPENDENCIES) $(EXTRA_makedepend_DEPENDENCIES) 
660	@rm -f makedepend$(EXEEXT)
661	$(AM_V_CCLD)$(LINK) $(makedepend_OBJECTS) $(makedepend_LDADD) $(LIBS)
662
663mostlyclean-compile:
664	-rm -f *.$(OBJEXT)
665
666distclean-compile:
667	-rm -f *.tab.c
668
669@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cppsetup.Po@am__quote@
670@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ifparser.Po@am__quote@
671@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/include.Po@am__quote@
672@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
673@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parse.Po@am__quote@
674@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pr.Po@am__quote@
675
676.c.o:
677@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
678@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
679@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
680@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
681@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
682
683.c.obj:
684@am__fastdepCC_TRUE@	$(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
685@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
686@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
687@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
688@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
689install-appmanDATA: $(appman_DATA)
690	@$(NORMAL_INSTALL)
691	@list='$(appman_DATA)'; test -n "$(appmandir)" || list=; \
692	if test -n "$$list"; then \
693	  echo " $(MKDIR_P) '$(DESTDIR)$(appmandir)'"; \
694	  $(MKDIR_P) "$(DESTDIR)$(appmandir)" || exit 1; \
695	fi; \
696	for p in $$list; do \
697	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
698	  echo "$$d$$p"; \
699	done | $(am__base_list) | \
700	while read files; do \
701	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(appmandir)'"; \
702	  $(INSTALL_DATA) $$files "$(DESTDIR)$(appmandir)" || exit $$?; \
703	done
704
705uninstall-appmanDATA:
706	@$(NORMAL_UNINSTALL)
707	@list='$(appman_DATA)'; test -n "$(appmandir)" || list=; \
708	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
709	dir='$(DESTDIR)$(appmandir)'; $(am__uninstall_files_from_dir)
710
711ID: $(am__tagged_files)
712	$(am__define_uniq_tagged_files); mkid -fID $$unique
713tags: tags-am
714TAGS: tags
715
716tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
717	set x; \
718	here=`pwd`; \
719	$(am__define_uniq_tagged_files); \
720	shift; \
721	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
722	  test -n "$$unique" || unique=$$empty_fix; \
723	  if test $$# -gt 0; then \
724	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
725	      "$$@" $$unique; \
726	  else \
727	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
728	      $$unique; \
729	  fi; \
730	fi
731ctags: ctags-am
732
733CTAGS: ctags
734ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
735	$(am__define_uniq_tagged_files); \
736	test -z "$(CTAGS_ARGS)$$unique" \
737	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
738	     $$unique
739
740GTAGS:
741	here=`$(am__cd) $(top_builddir) && pwd` \
742	  && $(am__cd) $(top_srcdir) \
743	  && gtags -i $(GTAGS_ARGS) "$$here"
744cscope: cscope.files
745	test ! -s cscope.files \
746	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
747clean-cscope:
748	-rm -f cscope.files
749cscope.files: clean-cscope cscopelist
750cscopelist: cscopelist-am
751
752cscopelist-am: $(am__tagged_files)
753	list='$(am__tagged_files)'; \
754	case "$(srcdir)" in \
755	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
756	  *) sdir=$(subdir)/$(srcdir) ;; \
757	esac; \
758	for i in $$list; do \
759	  if test -f "$$i"; then \
760	    echo "$(subdir)/$$i"; \
761	  else \
762	    echo "$$sdir/$$i"; \
763	  fi; \
764	done >> $(top_builddir)/cscope.files
765
766distclean-tags:
767	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
768	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
769
770# Recover from deleted '.trs' file; this should ensure that
771# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
772# both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
773# to avoid problems with "make -n".
774.log.trs:
775	rm -f $< $@
776	$(MAKE) $(AM_MAKEFLAGS) $<
777
778# Leading 'am--fnord' is there to ensure the list of targets does not
779# expand to empty, as could happen e.g. with make check TESTS=''.
780am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
781am--force-recheck:
782	@:
783
784$(TEST_SUITE_LOG): $(TEST_LOGS)
785	@$(am__set_TESTS_bases); \
786	am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
787	redo_bases=`for i in $$bases; do \
788	              am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
789	            done`; \
790	if test -n "$$redo_bases"; then \
791	  redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
792	  redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
793	  if $(am__make_dryrun); then :; else \
794	    rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
795	  fi; \
796	fi; \
797	if test -n "$$am__remaking_logs"; then \
798	  echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
799	       "recursion detected" >&2; \
800	elif test -n "$$redo_logs"; then \
801	  am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
802	fi; \
803	if $(am__make_dryrun); then :; else \
804	  st=0;  \
805	  errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
806	  for i in $$redo_bases; do \
807	    test -f $$i.trs && test -r $$i.trs \
808	      || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
809	    test -f $$i.log && test -r $$i.log \
810	      || { echo "$$errmsg $$i.log" >&2; st=1; }; \
811	  done; \
812	  test $$st -eq 0 || exit 1; \
813	fi
814	@$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
815	ws='[ 	]'; \
816	results=`for b in $$bases; do echo $$b.trs; done`; \
817	test -n "$$results" || results=/dev/null; \
818	all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
819	pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
820	fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
821	skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
822	xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
823	xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
824	error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
825	if test `expr $$fail + $$xpass + $$error` -eq 0; then \
826	  success=true; \
827	else \
828	  success=false; \
829	fi; \
830	br='==================='; br=$$br$$br$$br$$br; \
831	result_count () \
832	{ \
833	    if test x"$$1" = x"--maybe-color"; then \
834	      maybe_colorize=yes; \
835	    elif test x"$$1" = x"--no-color"; then \
836	      maybe_colorize=no; \
837	    else \
838	      echo "$@: invalid 'result_count' usage" >&2; exit 4; \
839	    fi; \
840	    shift; \
841	    desc=$$1 count=$$2; \
842	    if test $$maybe_colorize = yes && test $$count -gt 0; then \
843	      color_start=$$3 color_end=$$std; \
844	    else \
845	      color_start= color_end=; \
846	    fi; \
847	    echo "$${color_start}# $$desc $$count$${color_end}"; \
848	}; \
849	create_testsuite_report () \
850	{ \
851	  result_count $$1 "TOTAL:" $$all   "$$brg"; \
852	  result_count $$1 "PASS: " $$pass  "$$grn"; \
853	  result_count $$1 "SKIP: " $$skip  "$$blu"; \
854	  result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
855	  result_count $$1 "FAIL: " $$fail  "$$red"; \
856	  result_count $$1 "XPASS:" $$xpass "$$red"; \
857	  result_count $$1 "ERROR:" $$error "$$mgn"; \
858	}; \
859	{								\
860	  echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |	\
861	    $(am__rst_title);						\
862	  create_testsuite_report --no-color;				\
863	  echo;								\
864	  echo ".. contents:: :depth: 2";				\
865	  echo;								\
866	  for b in $$bases; do echo $$b; done				\
867	    | $(am__create_global_log);					\
868	} >$(TEST_SUITE_LOG).tmp || exit 1;				\
869	mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);			\
870	if $$success; then						\
871	  col="$$grn";							\
872	 else								\
873	  col="$$red";							\
874	  test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);		\
875	fi;								\
876	echo "$${col}$$br$${std}"; 					\
877	echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";	\
878	echo "$${col}$$br$${std}"; 					\
879	create_testsuite_report --maybe-color;				\
880	echo "$$col$$br$$std";						\
881	if $$success; then :; else					\
882	  echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";		\
883	  if test -n "$(PACKAGE_BUGREPORT)"; then			\
884	    echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}";	\
885	  fi;								\
886	  echo "$$col$$br$$std";					\
887	fi;								\
888	$$success || exit 1
889
890check-TESTS:
891	@list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
892	@list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
893	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
894	@set +e; $(am__set_TESTS_bases); \
895	log_list=`for i in $$bases; do echo $$i.log; done`; \
896	trs_list=`for i in $$bases; do echo $$i.trs; done`; \
897	log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
898	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
899	exit $$?;
900recheck: all 
901	@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
902	@set +e; $(am__set_TESTS_bases); \
903	bases=`for i in $$bases; do echo $$i; done \
904	         | $(am__list_recheck_tests)` || exit 1; \
905	log_list=`for i in $$bases; do echo $$i.log; done`; \
906	log_list=`echo $$log_list`; \
907	$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
908	        am__force_recheck=am--force-recheck \
909	        TEST_LOGS="$$log_list"; \
910	exit $$?
911tests/28045/makedep.sh.log: tests/28045/makedep.sh
912	@p='tests/28045/makedep.sh'; \
913	b='tests/28045/makedep.sh'; \
914	$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
915	--log-file $$b.log --trs-file $$b.trs \
916	$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
917	"$$tst" $(AM_TESTS_FD_REDIRECT)
918.test.log:
919	@p='$<'; \
920	$(am__set_b); \
921	$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
922	--log-file $$b.log --trs-file $$b.trs \
923	$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
924	"$$tst" $(AM_TESTS_FD_REDIRECT)
925@am__EXEEXT_TRUE@.test$(EXEEXT).log:
926@am__EXEEXT_TRUE@	@p='$<'; \
927@am__EXEEXT_TRUE@	$(am__set_b); \
928@am__EXEEXT_TRUE@	$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
929@am__EXEEXT_TRUE@	--log-file $$b.log --trs-file $$b.trs \
930@am__EXEEXT_TRUE@	$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
931@am__EXEEXT_TRUE@	"$$tst" $(AM_TESTS_FD_REDIRECT)
932
933distdir: $(DISTFILES)
934	$(am__remove_distdir)
935	test -d "$(distdir)" || mkdir "$(distdir)"
936	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
937	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
938	list='$(DISTFILES)'; \
939	  dist_files=`for file in $$list; do echo $$file; done | \
940	  sed -e "s|^$$srcdirstrip/||;t" \
941	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
942	case $$dist_files in \
943	  */*) $(MKDIR_P) `echo "$$dist_files" | \
944			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
945			   sort -u` ;; \
946	esac; \
947	for file in $$dist_files; do \
948	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
949	  if test -d $$d/$$file; then \
950	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
951	    if test -d "$(distdir)/$$file"; then \
952	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
953	    fi; \
954	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
955	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
956	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
957	    fi; \
958	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
959	  else \
960	    test -f "$(distdir)/$$file" \
961	    || cp -p $$d/$$file "$(distdir)/$$file" \
962	    || exit 1; \
963	  fi; \
964	done
965	$(MAKE) $(AM_MAKEFLAGS) \
966	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
967	  dist-hook
968	-test -n "$(am__skip_mode_fix)" \
969	|| find "$(distdir)" -type d ! -perm -755 \
970		-exec chmod u+rwx,go+rx {} \; -o \
971	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
972	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
973	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
974	|| chmod -R a+r "$(distdir)"
975dist-gzip: distdir
976	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
977	$(am__post_remove_distdir)
978dist-bzip2: distdir
979	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
980	$(am__post_remove_distdir)
981
982dist-lzip: distdir
983	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
984	$(am__post_remove_distdir)
985
986dist-xz: distdir
987	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
988	$(am__post_remove_distdir)
989
990dist-tarZ: distdir
991	@echo WARNING: "Support for distribution archives compressed with" \
992		       "legacy program 'compress' is deprecated." >&2
993	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
994	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
995	$(am__post_remove_distdir)
996
997dist-shar: distdir
998	@echo WARNING: "Support for shar distribution archives is" \
999	               "deprecated." >&2
1000	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1001	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1002	$(am__post_remove_distdir)
1003
1004dist-zip: distdir
1005	-rm -f $(distdir).zip
1006	zip -rq $(distdir).zip $(distdir)
1007	$(am__post_remove_distdir)
1008
1009dist dist-all:
1010	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1011	$(am__post_remove_distdir)
1012
1013# This target untars the dist file and tries a VPATH configuration.  Then
1014# it guarantees that the distribution is self-contained by making another
1015# tarfile.
1016distcheck: dist
1017	case '$(DIST_ARCHIVES)' in \
1018	*.tar.gz*) \
1019	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1020	*.tar.bz2*) \
1021	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1022	*.tar.lz*) \
1023	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1024	*.tar.xz*) \
1025	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1026	*.tar.Z*) \
1027	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1028	*.shar.gz*) \
1029	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1030	*.zip*) \
1031	  unzip $(distdir).zip ;;\
1032	esac
1033	chmod -R a-w $(distdir)
1034	chmod u+w $(distdir)
1035	mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1036	chmod a-w $(distdir)
1037	test -d $(distdir)/_build || exit 0; \
1038	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1039	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1040	  && am__cwd=`pwd` \
1041	  && $(am__cd) $(distdir)/_build/sub \
1042	  && ../../configure \
1043	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1044	    $(DISTCHECK_CONFIGURE_FLAGS) \
1045	    --srcdir=../.. --prefix="$$dc_install_base" \
1046	  && $(MAKE) $(AM_MAKEFLAGS) \
1047	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
1048	  && $(MAKE) $(AM_MAKEFLAGS) check \
1049	  && $(MAKE) $(AM_MAKEFLAGS) install \
1050	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1051	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1052	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1053	        distuninstallcheck \
1054	  && chmod -R a-w "$$dc_install_base" \
1055	  && ({ \
1056	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1057	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1058	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1059	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1060	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1061	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
1062	  && rm -rf "$$dc_destdir" \
1063	  && $(MAKE) $(AM_MAKEFLAGS) dist \
1064	  && rm -rf $(DIST_ARCHIVES) \
1065	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1066	  && cd "$$am__cwd" \
1067	  || exit 1
1068	$(am__post_remove_distdir)
1069	@(echo "$(distdir) archives ready for distribution: "; \
1070	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1071	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1072distuninstallcheck:
1073	@test -n '$(distuninstallcheck_dir)' || { \
1074	  echo 'ERROR: trying to run $@ with an empty' \
1075	       '$$(distuninstallcheck_dir)' >&2; \
1076	  exit 1; \
1077	}; \
1078	$(am__cd) '$(distuninstallcheck_dir)' || { \
1079	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1080	  exit 1; \
1081	}; \
1082	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1083	   || { echo "ERROR: files left after uninstall:" ; \
1084	        if test -n "$(DESTDIR)"; then \
1085	          echo "  (check DESTDIR support)"; \
1086	        fi ; \
1087	        $(distuninstallcheck_listfiles) ; \
1088	        exit 1; } >&2
1089distcleancheck: distclean
1090	@if test '$(srcdir)' = . ; then \
1091	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1092	  exit 1 ; \
1093	fi
1094	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1095	  || { echo "ERROR: files left in build directory after distclean:" ; \
1096	       $(distcleancheck_listfiles) ; \
1097	       exit 1; } >&2
1098check-am: all-am
1099	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
1100check: check-am
1101all-am: Makefile $(PROGRAMS) $(DATA) makedepend-config.h
1102installdirs:
1103	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appmandir)"; do \
1104	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1105	done
1106install: install-am
1107install-exec: install-exec-am
1108install-data: install-data-am
1109uninstall: uninstall-am
1110
1111install-am: all-am
1112	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1113
1114installcheck: installcheck-am
1115install-strip:
1116	if test -z '$(STRIP)'; then \
1117	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1118	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1119	      install; \
1120	else \
1121	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1122	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1123	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1124	fi
1125mostlyclean-generic:
1126	-test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
1127	-test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
1128	-test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1129
1130clean-generic:
1131	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1132
1133distclean-generic:
1134	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1135	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1136
1137maintainer-clean-generic:
1138	@echo "This command is intended for maintainers to use"
1139	@echo "it deletes files that may require special tools to rebuild."
1140	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1141clean: clean-am
1142
1143clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
1144
1145distclean: distclean-am
1146	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
1147	-rm -rf ./$(DEPDIR)
1148	-rm -f Makefile
1149distclean-am: clean-am distclean-compile distclean-generic \
1150	distclean-hdr distclean-tags
1151
1152dvi: dvi-am
1153
1154dvi-am:
1155
1156html: html-am
1157
1158html-am:
1159
1160info: info-am
1161
1162info-am:
1163
1164install-data-am: install-appmanDATA
1165
1166install-dvi: install-dvi-am
1167
1168install-dvi-am:
1169
1170install-exec-am: install-binPROGRAMS
1171
1172install-html: install-html-am
1173
1174install-html-am:
1175
1176install-info: install-info-am
1177
1178install-info-am:
1179
1180install-man:
1181
1182install-pdf: install-pdf-am
1183
1184install-pdf-am:
1185
1186install-ps: install-ps-am
1187
1188install-ps-am:
1189
1190installcheck-am:
1191
1192maintainer-clean: maintainer-clean-am
1193	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
1194	-rm -rf $(top_srcdir)/autom4te.cache
1195	-rm -rf ./$(DEPDIR)
1196	-rm -f Makefile
1197maintainer-clean-am: distclean-am maintainer-clean-generic
1198
1199mostlyclean: mostlyclean-am
1200
1201mostlyclean-am: mostlyclean-compile mostlyclean-generic
1202
1203pdf: pdf-am
1204
1205pdf-am:
1206
1207ps: ps-am
1208
1209ps-am:
1210
1211uninstall-am: uninstall-appmanDATA uninstall-binPROGRAMS
1212
1213.MAKE: all check-am install-am install-strip
1214
1215.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \
1216	check-am clean clean-binPROGRAMS clean-cscope clean-generic \
1217	cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
1218	dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
1219	dist-zip distcheck distclean distclean-compile \
1220	distclean-generic distclean-hdr distclean-tags distcleancheck \
1221	distdir distuninstallcheck dvi dvi-am html html-am info \
1222	info-am install install-am install-appmanDATA \
1223	install-binPROGRAMS install-data install-data-am install-dvi \
1224	install-dvi-am install-exec install-exec-am install-html \
1225	install-html-am install-info install-info-am install-man \
1226	install-pdf install-pdf-am install-ps install-ps-am \
1227	install-strip installcheck installcheck-am installdirs \
1228	maintainer-clean maintainer-clean-generic mostlyclean \
1229	mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
1230	recheck tags tags-am uninstall uninstall-am \
1231	uninstall-appmanDATA uninstall-binPROGRAMS
1232
1233.PRECIOUS: Makefile
1234
1235
1236.man.$(APP_MAN_SUFFIX):
1237	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
1238
1239.PHONY: ChangeLog
1240
1241ChangeLog:
1242	$(CHANGELOG_CMD)
1243
1244dist-hook: ChangeLog
1245
1246@LINT_TRUE@lint:
1247@LINT_TRUE@	$(LINT) $(ALL_LINT_FLAGS) $(makedepend_SOURCES)
1248
1249# Tell versions [3.59,3.63) of GNU make to not export all variables.
1250# Otherwise a system limit (for SysV at least) may be exceeded.
1251.NOEXPORT:
1252