~ubuntu-branches/ubuntu/vivid/mpich/vivid-proposed

« back to all changes in this revision

Viewing changes to src/pm/hydra/mpl/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2014-04-01 20:24:20 UTC
  • mfrom: (5.2.4 sid)
  • Revision ID: package-import@ubuntu.com-20140401202420-t5ey1ia2klt5dkq3
Tags: 3.1-4
* [c3e3398] Disable test_primitives, which is unreliable on some platforms.
            (Closes: #743047)
* [265a699] Add minimal autotest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.12.4 from Makefile.am.
 
1
# Makefile.in generated by automake 1.14 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
 
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
 
4
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
5
 
6
6
# This Makefile.in is free software; the Free Software Foundation
7
7
# gives unlimited permission to copy and/or distribute it,
22
22
 
23
23
 
24
24
VPATH = @srcdir@
25
 
am__make_dryrun = \
26
 
  { \
27
 
    am__dry=no; \
 
25
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
 
26
am__make_running_with_option = \
 
27
  case $${target_option-} in \
 
28
      ?) ;; \
 
29
      *) echo "am__make_running_with_option: internal error: invalid" \
 
30
              "target option '$${target_option-}' specified" >&2; \
 
31
         exit 1;; \
 
32
  esac; \
 
33
  has_opt=no; \
 
34
  sane_makeflags=$$MAKEFLAGS; \
 
35
  if $(am__is_gnu_make); then \
 
36
    sane_makeflags=$$MFLAGS; \
 
37
  else \
28
38
    case $$MAKEFLAGS in \
29
39
      *\\[\ \   ]*) \
30
 
        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
31
 
          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
32
 
      *) \
33
 
        for am__flg in $$MAKEFLAGS; do \
34
 
          case $$am__flg in \
35
 
            *=*|--*) ;; \
36
 
            *n*) am__dry=yes; break;; \
37
 
          esac; \
38
 
        done;; \
39
 
    esac; \
40
 
    test $$am__dry = yes; \
41
 
  }
 
40
        bs=\\; \
 
41
        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
 
42
          | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
 
43
    esac; \
 
44
  fi; \
 
45
  skip_next=no; \
 
46
  strip_trailopt () \
 
47
  { \
 
48
    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
 
49
  }; \
 
50
  for flg in $$sane_makeflags; do \
 
51
    test $$skip_next = yes && { skip_next=no; continue; }; \
 
52
    case $$flg in \
 
53
      *=*|--*) continue;; \
 
54
        -*I) strip_trailopt 'I'; skip_next=yes;; \
 
55
      -*I?*) strip_trailopt 'I';; \
 
56
        -*O) strip_trailopt 'O'; skip_next=yes;; \
 
57
      -*O?*) strip_trailopt 'O';; \
 
58
        -*l) strip_trailopt 'l'; skip_next=yes;; \
 
59
      -*l?*) strip_trailopt 'l';; \
 
60
      -[dEDm]) skip_next=yes;; \
 
61
      -[JT]) skip_next=yes;; \
 
62
    esac; \
 
63
    case $$flg in \
 
64
      *$$target_option*) has_opt=yes; break;; \
 
65
    esac; \
 
66
  done; \
 
67
  test $$has_opt = yes
 
68
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
 
69
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
42
70
pkgdatadir = $(datadir)/@PACKAGE@
43
71
pkgincludedir = $(includedir)/@PACKAGE@
44
72
pkglibdir = $(libdir)/@PACKAGE@
60
88
TESTS = $(am__EXEEXT_1)
61
89
check_PROGRAMS = $(am__EXEEXT_1)
62
90
subdir = .
63
 
DIST_COMMON = $(am__configure_deps) $(am__include_HEADERS_DIST) \
64
 
        $(am__noinst_HEADERS_DIST) $(srcdir)/Makefile.am \
65
 
        $(srcdir)/Makefile.in $(srcdir)/localdefs.in \
66
 
        $(top_srcdir)/confdb/ar-lib $(top_srcdir)/confdb/config.guess \
67
 
        $(top_srcdir)/confdb/config.sub $(top_srcdir)/confdb/depcomp \
 
91
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
 
92
        $(top_srcdir)/configure $(am__configure_deps) \
 
93
        $(top_srcdir)/include/config.h.in $(srcdir)/localdefs.in \
 
94
        $(top_srcdir)/confdb/depcomp $(am__include_HEADERS_DIST) \
 
95
        $(am__noinst_HEADERS_DIST) $(top_srcdir)/confdb/test-driver \
 
96
        confdb/ar-lib confdb/compile confdb/config.guess \
 
97
        confdb/config.rpath confdb/config.sub confdb/depcomp \
 
98
        confdb/install-sh confdb/missing confdb/ltmain.sh \
 
99
        $(top_srcdir)/confdb/ar-lib $(top_srcdir)/confdb/compile \
 
100
        $(top_srcdir)/confdb/config.guess \
 
101
        $(top_srcdir)/confdb/config.sub \
68
102
        $(top_srcdir)/confdb/install-sh $(top_srcdir)/confdb/ltmain.sh \
69
 
        $(top_srcdir)/confdb/missing $(top_srcdir)/configure \
70
 
        $(top_srcdir)/include/config.h.in confdb/ar-lib \
71
 
        confdb/config.guess confdb/config.rpath confdb/config.sub \
72
 
        confdb/depcomp confdb/install-sh confdb/ltmain.sh \
73
 
        confdb/missing
 
103
        $(top_srcdir)/confdb/missing
74
104
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
75
105
am__aclocal_m4_deps = $(top_srcdir)/confdb/aclocal_cc.m4 \
76
106
        $(top_srcdir)/confdb/aclocal_coverage.m4 \
 
107
        $(top_srcdir)/confdb/aclocal_runlog.m4 \
77
108
        $(top_srcdir)/confdb/aclocal_util.m4 \
78
109
        $(top_srcdir)/confdb/ax_prefix_config_h.m4 \
79
110
        $(top_srcdir)/confdb/libtool.m4 \
118
149
  }
119
150
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"
120
151
LTLIBRARIES = $(lib_LTLIBRARIES)
121
 
libmpl_la_LIBADD =
122
 
am_libmpl_la_OBJECTS = mplstr.lo mpltrmem.lo mplenv.lo
123
 
libmpl_la_OBJECTS = $(am_libmpl_la_OBJECTS)
 
152
lib@MPLLIBNAME@_la_LIBADD =
 
153
am__dirstamp = $(am__leading_dot)dirstamp
 
154
am_lib@MPLLIBNAME@_la_OBJECTS = src/mplstr.lo src/mpltrmem.lo \
 
155
        src/mplenv.lo src/mplsock.lo
 
156
lib@MPLLIBNAME@_la_OBJECTS = $(am_lib@MPLLIBNAME@_la_OBJECTS)
124
157
AM_V_lt = $(am__v_lt_@AM_V@)
125
158
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
126
159
am__v_lt_0 = --silent
127
160
am__v_lt_1 = 
128
 
libmpl_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
129
 
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
130
 
        $(libmpl_la_LDFLAGS) $(LDFLAGS) -o $@
 
161
lib@MPLLIBNAME@_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
 
162
        $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
 
163
        $(lib@MPLLIBNAME@_la_LDFLAGS) $(LDFLAGS) -o $@
131
164
am__EXEEXT_1 = strsep$(EXEEXT)
132
 
am_strsep_OBJECTS = strsep.$(OBJEXT)
 
165
am_strsep_OBJECTS = test/strsep.$(OBJEXT)
133
166
strsep_OBJECTS = $(am_strsep_OBJECTS)
134
 
strsep_DEPENDENCIES = libmpl.la
 
167
strsep_DEPENDENCIES = lib@MPLLIBNAME@.la
135
168
AM_V_P = $(am__v_P_@AM_V@)
136
169
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
137
170
am__v_P_0 = false
160
193
am__v_CC_1 = 
161
194
CCLD = $(CC)
162
195
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
163
 
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
164
 
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
 
196
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_LDFLAGS) $(LDFLAGS) \
 
197
        -o $@
165
198
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
166
199
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
167
200
am__v_CCLD_0 = @echo "  CCLD    " $@;
168
201
am__v_CCLD_1 = 
169
 
SOURCES = $(libmpl_la_SOURCES) $(strsep_SOURCES)
170
 
DIST_SOURCES = $(libmpl_la_SOURCES) $(strsep_SOURCES)
 
202
SOURCES = $(lib@MPLLIBNAME@_la_SOURCES) $(strsep_SOURCES)
 
203
DIST_SOURCES = $(lib@MPLLIBNAME@_la_SOURCES) $(strsep_SOURCES)
171
204
am__can_run_installinfo = \
172
205
  case $$AM_UPDATE_INFO_DIR in \
173
206
    n|no|NO) false;; \
175
208
  esac
176
209
am__include_HEADERS_DIST = include/mpl.h include/mpl_utlist.h \
177
210
        include/mpl_valgrind.h include/mplconfig.h include/mplenv.h \
178
 
        include/mplstr.h include/mpltrmem.h
 
211
        include/mplstr.h include/mpltrmem.h include/mplsock.h
179
212
am__noinst_HEADERS_DIST = include/mpl.h include/mpl_utlist.h \
180
213
        include/mpl_valgrind.h include/mplconfig.h include/mplenv.h \
181
 
        include/mplstr.h include/mpltrmem.h
 
214
        include/mplstr.h include/mpltrmem.h include/mplsock.h
182
215
HEADERS = $(include_HEADERS) $(noinst_HEADERS)
 
216
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 
217
# Read a list of newline-separated strings from the standard input,
 
218
# and print each of them once, without duplicates.  Input order is
 
219
# *not* preserved.
 
220
am__uniquify_input = $(AWK) '\
 
221
  BEGIN { nonempty = 0; } \
 
222
  { items[$$0] = 1; nonempty = 1; } \
 
223
  END { if (nonempty) { for (i in items) print i; }; } \
 
224
'
 
225
# Make sure the list of sources is unique.  This is necessary because,
 
226
# e.g., the same source file might be shared among _SOURCES variables
 
227
# for different programs/libraries.
 
228
am__define_uniq_tagged_files = \
 
229
  list='$(am__tagged_files)'; \
 
230
  unique=`for i in $$list; do \
 
231
    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
232
  done | $(am__uniquify_input)`
183
233
ETAGS = etags
184
234
CTAGS = ctags
185
235
CSCOPE = cscope
186
 
AM_RECURSIVE_TARGETS = cscope
 
236
AM_RECURSIVE_TARGETS = cscope check recheck
187
237
am__tty_colors_dummy = \
188
238
  mgn= red= grn= lgn= blu= brg= std=; \
189
239
  am__color_tests=no
190
 
am__tty_colors = $(am__tty_colors_dummy)
 
240
am__tty_colors = { \
 
241
  $(am__tty_colors_dummy); \
 
242
  if test "X$(AM_COLOR_TESTS)" = Xno; then \
 
243
    am__color_tests=no; \
 
244
  elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
 
245
    am__color_tests=yes; \
 
246
  elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
 
247
    am__color_tests=yes; \
 
248
  fi; \
 
249
  if test $$am__color_tests = yes; then \
 
250
    red=''; \
 
251
    grn=''; \
 
252
    lgn=''; \
 
253
    blu=''; \
 
254
    mgn=''; \
 
255
    brg=''; \
 
256
    std=''; \
 
257
  fi; \
 
258
}
 
259
am__recheck_rx = ^[     ]*:recheck:[    ]*
 
260
am__global_test_result_rx = ^[  ]*:global-test-result:[         ]*
 
261
am__copy_in_global_log_rx = ^[  ]*:copy-in-global-log:[         ]*
 
262
# A command that, given a newline-separated list of test names on the
 
263
# standard input, print the name of the tests that are to be re-run
 
264
# upon "make recheck".
 
265
am__list_recheck_tests = $(AWK) '{ \
 
266
  recheck = 1; \
 
267
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
 
268
    { \
 
269
      if (rc < 0) \
 
270
        { \
 
271
          if ((getline line2 < ($$0 ".log")) < 0) \
 
272
            recheck = 0; \
 
273
          break; \
 
274
        } \
 
275
      else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
 
276
        { \
 
277
          recheck = 0; \
 
278
          break; \
 
279
        } \
 
280
      else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
 
281
        { \
 
282
          break; \
 
283
        } \
 
284
    }; \
 
285
  if (recheck) \
 
286
    print $$0; \
 
287
  close ($$0 ".trs"); \
 
288
  close ($$0 ".log"); \
 
289
}'
 
290
# A command that, given a newline-separated list of test names on the
 
291
# standard input, create the global log from their .trs and .log files.
 
292
am__create_global_log = $(AWK) ' \
 
293
function fatal(msg) \
 
294
{ \
 
295
  print "fatal: making $@: " msg | "cat >&2"; \
 
296
  exit 1; \
 
297
} \
 
298
function rst_section(header) \
 
299
{ \
 
300
  print header; \
 
301
  len = length(header); \
 
302
  for (i = 1; i <= len; i = i + 1) \
 
303
    printf "="; \
 
304
  printf "\n\n"; \
 
305
} \
 
306
{ \
 
307
  copy_in_global_log = 1; \
 
308
  global_test_result = "RUN"; \
 
309
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
 
310
    { \
 
311
      if (rc < 0) \
 
312
         fatal("failed to read from " $$0 ".trs"); \
 
313
      if (line ~ /$(am__global_test_result_rx)/) \
 
314
        { \
 
315
          sub("$(am__global_test_result_rx)", "", line); \
 
316
          sub("[        ]*$$", "", line); \
 
317
          global_test_result = line; \
 
318
        } \
 
319
      else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
 
320
        copy_in_global_log = 0; \
 
321
    }; \
 
322
  if (copy_in_global_log) \
 
323
    { \
 
324
      rst_section(global_test_result ": " $$0); \
 
325
      while ((rc = (getline line < ($$0 ".log"))) != 0) \
 
326
      { \
 
327
        if (rc < 0) \
 
328
          fatal("failed to read from " $$0 ".log"); \
 
329
        print line; \
 
330
      }; \
 
331
      printf "\n"; \
 
332
    }; \
 
333
  close ($$0 ".trs"); \
 
334
  close ($$0 ".log"); \
 
335
}'
 
336
# Restructured Text title.
 
337
am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
 
338
# Solaris 10 'make', and several other traditional 'make' implementations,
 
339
# pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
 
340
# by disabling -e (using the XSI extension "set +e") if it's set.
 
341
am__sh_e_setup = case $$- in *e*) set +e;; esac
 
342
# Default flags passed to test drivers.
 
343
am__common_driver_flags = \
 
344
  --color-tests "$$am__color_tests" \
 
345
  --enable-hard-errors "$$am__enable_hard_errors" \
 
346
  --expect-failure "$$am__expect_failure"
 
347
# To be inserted before the command running the test.  Creates the
 
348
# directory for the log if needed.  Stores in $dir the directory
 
349
# containing $f, in $tst the test, in $log the log.  Executes the
 
350
# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
 
351
# passes TESTS_ENVIRONMENT.  Set up options for the wrapper that
 
352
# will run the test scripts (or their associated LOG_COMPILER, if
 
353
# thy have one).
 
354
am__check_pre = \
 
355
$(am__sh_e_setup);                                      \
 
356
$(am__vpath_adj_setup) $(am__vpath_adj)                 \
 
357
$(am__tty_colors);                                      \
 
358
srcdir=$(srcdir); export srcdir;                        \
 
359
case "$@" in                                            \
 
360
  */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;    \
 
361
    *) am__odir=.;;                                     \
 
362
esac;                                                   \
 
363
test "x$$am__odir" = x"." || test -d "$$am__odir"       \
 
364
  || $(MKDIR_P) "$$am__odir" || exit $$?;               \
 
365
if test -f "./$$f"; then dir=./;                        \
 
366
elif test -f "$$f"; then dir=;                          \
 
367
else dir="$(srcdir)/"; fi;                              \
 
368
tst=$$dir$$f; log='$@';                                 \
 
369
if test -n '$(DISABLE_HARD_ERRORS)'; then               \
 
370
  am__enable_hard_errors=no;                            \
 
371
else                                                    \
 
372
  am__enable_hard_errors=yes;                           \
 
373
fi;                                                     \
 
374
case " $(XFAIL_TESTS) " in                              \
 
375
  *[\ \ ]$$f[\ \        ]* | *[\ \      ]$$dir$$f[\ \   ]*) \
 
376
    am__expect_failure=yes;;                            \
 
377
  *)                                                    \
 
378
    am__expect_failure=no;;                             \
 
379
esac;                                                   \
 
380
$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
 
381
# A shell command to get the names of the tests scripts with any registered
 
382
# extension removed (i.e., equivalently, the names of the test logs, with
 
383
# the '.log' extension removed).  The result is saved in the shell variable
 
384
# '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
 
385
# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
 
386
# since that might cause problem with VPATH rewrites for suffix-less tests.
 
387
# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
 
388
am__set_TESTS_bases = \
 
389
  bases='$(TEST_LOGS)'; \
 
390
  bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
 
391
  bases=`echo $$bases`
 
392
RECHECK_LOGS = $(TEST_LOGS)
 
393
TEST_SUITE_LOG = test-suite.log
 
394
TEST_EXTENSIONS = @EXEEXT@ .test
 
395
LOG_DRIVER = $(SHELL) $(top_srcdir)/confdb/test-driver
 
396
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
 
397
am__set_b = \
 
398
  case '$@' in \
 
399
    */*) \
 
400
      case '$*' in \
 
401
        */*) b='$*';; \
 
402
          *) b=`echo '$@' | sed 's/\.log$$//'`; \
 
403
       esac;; \
 
404
    *) \
 
405
      b='$*';; \
 
406
  esac
 
407
am__test_logs1 = $(TESTS:=.log)
 
408
am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
 
409
TEST_LOGS = $(am__test_logs2:.test.log=.log)
 
410
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/confdb/test-driver
 
411
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
 
412
        $(TEST_LOG_FLAGS)
191
413
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
192
414
distdir = $(PACKAGE)-$(VERSION)
193
415
top_distdir = $(distdir)
249
471
MAKEINFO = @MAKEINFO@
250
472
MANIFEST_TOOL = @MANIFEST_TOOL@
251
473
MKDIR_P = @MKDIR_P@
 
474
MPLLIBNAME = @MPLLIBNAME@
252
475
NM = @NM@
253
476
NMEDIT = @NMEDIT@
254
477
OBJDUMP = @OBJDUMP@
325
548
top_srcdir = @top_srcdir@
326
549
ACLOCAL_AMFLAGS = -I confdb
327
550
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
328
 
lib_LTLIBRARIES = libmpl.la
329
 
libmpl_la_SOURCES = src/mplstr.c src/mpltrmem.c src/mplenv.c
330
 
libmpl_la_LDFLAGS = ${libmpl_so_versionflags}
 
551
lib_LTLIBRARIES = lib@MPLLIBNAME@.la
 
552
lib@MPLLIBNAME@_la_SOURCES = src/mplstr.c src/mpltrmem.c src/mplenv.c src/mplsock.c
 
553
lib@MPLLIBNAME@_la_LDFLAGS = ${lib@MPLLIBNAME@_so_versionflags}
331
554
MPL_TESTS = strsep
332
555
strsep_SOURCES = test/strsep.c
333
 
strsep_LDADD = libmpl.la
 
556
strsep_LDADD = lib@MPLLIBNAME@.la
334
557
mpl_headers = \
335
558
    include/mpl.h          \
336
559
    include/mpl_utlist.h   \
338
561
    include/mplconfig.h    \
339
562
    include/mplenv.h       \
340
563
    include/mplstr.h       \
341
 
    include/mpltrmem.h
 
564
    include/mpltrmem.h     \
 
565
    include/mplsock.h
342
566
 
343
567
@MPL_EMBEDDED_MODE_TRUE@noinst_HEADERS = $(mpl_headers)
344
568
@MPL_EMBEDDED_MODE_FALSE@include_HEADERS = $(mpl_headers)
352
576
all: all-am
353
577
 
354
578
.SUFFIXES:
355
 
.SUFFIXES: .c .lo .o .obj
 
579
.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
356
580
am--refresh: Makefile
357
581
        @:
358
582
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
389
613
$(am__aclocal_m4_deps):
390
614
 
391
615
include/config.h: include/stamp-h1
392
 
        @if test ! -f $@; then rm -f include/stamp-h1; else :; fi
393
 
        @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) include/stamp-h1; else :; fi
 
616
        @test -f $@ || rm -f include/stamp-h1
 
617
        @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) include/stamp-h1
394
618
 
395
619
include/stamp-h1: $(top_srcdir)/include/config.h.in $(top_builddir)/config.status
396
620
        @rm -f include/stamp-h1
404
628
        -rm -f include/config.h include/stamp-h1
405
629
localdefs: $(top_builddir)/config.status $(srcdir)/localdefs.in
406
630
        cd $(top_builddir) && $(SHELL) ./config.status $@
 
631
 
407
632
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
408
633
        @$(NORMAL_INSTALL)
409
634
        @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
438
663
          echo rm -f $${locs}; \
439
664
          rm -f $${locs}; \
440
665
        }
441
 
libmpl.la: $(libmpl_la_OBJECTS) $(libmpl_la_DEPENDENCIES) $(EXTRA_libmpl_la_DEPENDENCIES) 
442
 
        $(AM_V_CCLD)$(libmpl_la_LINK) -rpath $(libdir) $(libmpl_la_OBJECTS) $(libmpl_la_LIBADD) $(LIBS)
 
666
src/$(am__dirstamp):
 
667
        @$(MKDIR_P) src
 
668
        @: > src/$(am__dirstamp)
 
669
src/$(DEPDIR)/$(am__dirstamp):
 
670
        @$(MKDIR_P) src/$(DEPDIR)
 
671
        @: > src/$(DEPDIR)/$(am__dirstamp)
 
672
src/mplstr.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
 
673
src/mpltrmem.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
 
674
src/mplenv.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
 
675
src/mplsock.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
 
676
 
 
677
lib@MPLLIBNAME@.la: $(lib@MPLLIBNAME@_la_OBJECTS) $(lib@MPLLIBNAME@_la_DEPENDENCIES) $(EXTRA_lib@MPLLIBNAME@_la_DEPENDENCIES) 
 
678
        $(AM_V_CCLD)$(lib@MPLLIBNAME@_la_LINK) -rpath $(libdir) $(lib@MPLLIBNAME@_la_OBJECTS) $(lib@MPLLIBNAME@_la_LIBADD) $(LIBS)
443
679
 
444
680
clean-checkPROGRAMS:
445
681
        @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
449
685
        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
450
686
        echo " rm -f" $$list; \
451
687
        rm -f $$list
 
688
test/$(am__dirstamp):
 
689
        @$(MKDIR_P) test
 
690
        @: > test/$(am__dirstamp)
 
691
test/$(DEPDIR)/$(am__dirstamp):
 
692
        @$(MKDIR_P) test/$(DEPDIR)
 
693
        @: > test/$(DEPDIR)/$(am__dirstamp)
 
694
test/strsep.$(OBJEXT): test/$(am__dirstamp) \
 
695
        test/$(DEPDIR)/$(am__dirstamp)
 
696
 
452
697
strsep$(EXEEXT): $(strsep_OBJECTS) $(strsep_DEPENDENCIES) $(EXTRA_strsep_DEPENDENCIES) 
453
698
        @rm -f strsep$(EXEEXT)
454
699
        $(AM_V_CCLD)$(LINK) $(strsep_OBJECTS) $(strsep_LDADD) $(LIBS)
455
700
 
456
701
mostlyclean-compile:
457
702
        -rm -f *.$(OBJEXT)
 
703
        -rm -f src/*.$(OBJEXT)
 
704
        -rm -f src/*.lo
 
705
        -rm -f test/*.$(OBJEXT)
458
706
 
459
707
distclean-compile:
460
708
        -rm -f *.tab.c
461
709
 
462
 
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mplenv.Plo@am__quote@
463
 
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mplstr.Plo@am__quote@
464
 
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mpltrmem.Plo@am__quote@
465
 
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strsep.Po@am__quote@
 
710
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/mplenv.Plo@am__quote@
 
711
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/mplsock.Plo@am__quote@
 
712
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/mplstr.Plo@am__quote@
 
713
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/mpltrmem.Plo@am__quote@
 
714
@AMDEP_TRUE@@am__include@ @am__quote@test/$(DEPDIR)/strsep.Po@am__quote@
466
715
 
467
716
.c.o:
468
 
@am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
469
 
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
 
717
@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
 
718
@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
 
719
@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
470
720
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
471
721
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
472
 
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
 
722
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
473
723
 
474
724
.c.obj:
475
 
@am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
476
 
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
 
725
@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
 
726
@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
 
727
@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
477
728
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
478
729
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
479
 
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
 
730
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
480
731
 
481
732
.c.lo:
482
 
@am__fastdepCC_TRUE@    $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
483
 
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
 
733
@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
 
734
@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
 
735
@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Plo
484
736
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
485
737
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
486
738
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
487
739
 
488
 
mplstr.lo: src/mplstr.c
489
 
@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mplstr.lo -MD -MP -MF $(DEPDIR)/mplstr.Tpo -c -o mplstr.lo `test -f 'src/mplstr.c' || echo '$(srcdir)/'`src/mplstr.c
490
 
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/mplstr.Tpo $(DEPDIR)/mplstr.Plo
491
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='src/mplstr.c' object='mplstr.lo' libtool=yes @AMDEPBACKSLASH@
492
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
493
 
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mplstr.lo `test -f 'src/mplstr.c' || echo '$(srcdir)/'`src/mplstr.c
494
 
 
495
 
mpltrmem.lo: src/mpltrmem.c
496
 
@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mpltrmem.lo -MD -MP -MF $(DEPDIR)/mpltrmem.Tpo -c -o mpltrmem.lo `test -f 'src/mpltrmem.c' || echo '$(srcdir)/'`src/mpltrmem.c
497
 
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/mpltrmem.Tpo $(DEPDIR)/mpltrmem.Plo
498
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='src/mpltrmem.c' object='mpltrmem.lo' libtool=yes @AMDEPBACKSLASH@
499
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
500
 
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mpltrmem.lo `test -f 'src/mpltrmem.c' || echo '$(srcdir)/'`src/mpltrmem.c
501
 
 
502
 
mplenv.lo: src/mplenv.c
503
 
@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mplenv.lo -MD -MP -MF $(DEPDIR)/mplenv.Tpo -c -o mplenv.lo `test -f 'src/mplenv.c' || echo '$(srcdir)/'`src/mplenv.c
504
 
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/mplenv.Tpo $(DEPDIR)/mplenv.Plo
505
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='src/mplenv.c' object='mplenv.lo' libtool=yes @AMDEPBACKSLASH@
506
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
507
 
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mplenv.lo `test -f 'src/mplenv.c' || echo '$(srcdir)/'`src/mplenv.c
508
 
 
509
 
strsep.o: test/strsep.c
510
 
@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT strsep.o -MD -MP -MF $(DEPDIR)/strsep.Tpo -c -o strsep.o `test -f 'test/strsep.c' || echo '$(srcdir)/'`test/strsep.c
511
 
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/strsep.Tpo $(DEPDIR)/strsep.Po
512
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='test/strsep.c' object='strsep.o' libtool=no @AMDEPBACKSLASH@
513
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
514
 
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o strsep.o `test -f 'test/strsep.c' || echo '$(srcdir)/'`test/strsep.c
515
 
 
516
 
strsep.obj: test/strsep.c
517
 
@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT strsep.obj -MD -MP -MF $(DEPDIR)/strsep.Tpo -c -o strsep.obj `if test -f 'test/strsep.c'; then $(CYGPATH_W) 'test/strsep.c'; else $(CYGPATH_W) '$(srcdir)/test/strsep.c'; fi`
518
 
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/strsep.Tpo $(DEPDIR)/strsep.Po
519
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='test/strsep.c' object='strsep.obj' libtool=no @AMDEPBACKSLASH@
520
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
521
 
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o strsep.obj `if test -f 'test/strsep.c'; then $(CYGPATH_W) 'test/strsep.c'; else $(CYGPATH_W) '$(srcdir)/test/strsep.c'; fi`
522
 
 
523
740
mostlyclean-libtool:
524
741
        -rm -f *.lo
525
742
 
526
743
clean-libtool:
527
744
        -rm -rf .libs _libs
 
745
        -rm -rf src/.libs src/_libs
528
746
 
529
747
distclean-libtool:
530
748
        -rm -f libtool config.lt
550
768
        files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
551
769
        dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
552
770
 
553
 
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
554
 
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
555
 
        unique=`for i in $$list; do \
556
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
557
 
          done | \
558
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
559
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
560
 
        mkid -fID $$unique
561
 
tags: TAGS
 
771
ID: $(am__tagged_files)
 
772
        $(am__define_uniq_tagged_files); mkid -fID $$unique
 
773
tags: tags-am
 
774
TAGS: tags
562
775
 
563
 
TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
564
 
                $(TAGS_FILES) $(LISP)
 
776
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
565
777
        set x; \
566
778
        here=`pwd`; \
567
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
568
 
        unique=`for i in $$list; do \
569
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
570
 
          done | \
571
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
572
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
779
        $(am__define_uniq_tagged_files); \
573
780
        shift; \
574
781
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
575
782
          test -n "$$unique" || unique=$$empty_fix; \
581
788
              $$unique; \
582
789
          fi; \
583
790
        fi
584
 
ctags: CTAGS
585
 
CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
586
 
                $(TAGS_FILES) $(LISP)
587
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
588
 
        unique=`for i in $$list; do \
589
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
590
 
          done | \
591
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
592
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
791
ctags: ctags-am
 
792
 
 
793
CTAGS: ctags
 
794
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
 
795
        $(am__define_uniq_tagged_files); \
593
796
        test -z "$(CTAGS_ARGS)$$unique" \
594
797
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
595
798
             $$unique
598
801
        here=`$(am__cd) $(top_builddir) && pwd` \
599
802
          && $(am__cd) $(top_srcdir) \
600
803
          && gtags -i $(GTAGS_ARGS) "$$here"
601
 
 
602
804
cscope: cscope.files
603
805
        test ! -s cscope.files \
604
806
          || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
605
 
 
606
807
clean-cscope:
607
808
        -rm -f cscope.files
608
 
 
609
 
cscope.files: clean-cscope  cscopelist
610
 
 
611
 
cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
612
 
        list='$(SOURCES) $(HEADERS) $(LISP)'; \
 
809
cscope.files: clean-cscope cscopelist
 
810
cscopelist: cscopelist-am
 
811
 
 
812
cscopelist-am: $(am__tagged_files)
 
813
        list='$(am__tagged_files)'; \
613
814
        case "$(srcdir)" in \
614
815
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
615
816
          *) sdir=$(subdir)/$(srcdir) ;; \
626
827
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
627
828
        -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
628
829
 
629
 
check-TESTS: $(TESTS)
630
 
        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
631
 
        srcdir=$(srcdir); export srcdir; \
632
 
        list=' $(TESTS) '; \
633
 
        $(am__tty_colors); \
634
 
        if test -n "$$list"; then \
635
 
          for tst in $$list; do \
636
 
            if test -f ./$$tst; then dir=./; \
637
 
            elif test -f $$tst; then dir=; \
638
 
            else dir="$(srcdir)/"; fi; \
639
 
            if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then \
640
 
              all=`expr $$all + 1`; \
641
 
              case " $(XFAIL_TESTS) " in \
642
 
              *[\ \     ]$$tst[\ \      ]*) \
643
 
                xpass=`expr $$xpass + 1`; \
644
 
                failed=`expr $$failed + 1`; \
645
 
                col=$$red; res=XPASS; \
646
 
              ;; \
647
 
              *) \
648
 
                col=$$grn; res=PASS; \
649
 
              ;; \
650
 
              esac; \
651
 
            elif test $$? -ne 77; then \
652
 
              all=`expr $$all + 1`; \
653
 
              case " $(XFAIL_TESTS) " in \
654
 
              *[\ \     ]$$tst[\ \      ]*) \
655
 
                xfail=`expr $$xfail + 1`; \
656
 
                col=$$lgn; res=XFAIL; \
657
 
              ;; \
658
 
              *) \
659
 
                failed=`expr $$failed + 1`; \
660
 
                col=$$red; res=FAIL; \
661
 
              ;; \
662
 
              esac; \
663
 
            else \
664
 
              skip=`expr $$skip + 1`; \
665
 
              col=$$blu; res=SKIP; \
666
 
            fi; \
667
 
            echo "$${col}$$res$${std}: $$tst"; \
 
830
# Recover from deleted '.trs' file; this should ensure that
 
831
# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
 
832
# both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
 
833
# to avoid problems with "make -n".
 
834
.log.trs:
 
835
        rm -f $< $@
 
836
        $(MAKE) $(AM_MAKEFLAGS) $<
 
837
 
 
838
# Leading 'am--fnord' is there to ensure the list of targets does not
 
839
# expand to empty, as could happen e.g. with make check TESTS=''.
 
840
am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
 
841
am--force-recheck:
 
842
        @:
 
843
 
 
844
$(TEST_SUITE_LOG): $(TEST_LOGS)
 
845
        @$(am__set_TESTS_bases); \
 
846
        am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
 
847
        redo_bases=`for i in $$bases; do \
 
848
                      am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
 
849
                    done`; \
 
850
        if test -n "$$redo_bases"; then \
 
851
          redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
 
852
          redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
 
853
          if $(am__make_dryrun); then :; else \
 
854
            rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
 
855
          fi; \
 
856
        fi; \
 
857
        if test -n "$$am__remaking_logs"; then \
 
858
          echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
 
859
               "recursion detected" >&2; \
 
860
        else \
 
861
          am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
 
862
        fi; \
 
863
        if $(am__make_dryrun); then :; else \
 
864
          st=0;  \
 
865
          errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
 
866
          for i in $$redo_bases; do \
 
867
            test -f $$i.trs && test -r $$i.trs \
 
868
              || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
 
869
            test -f $$i.log && test -r $$i.log \
 
870
              || { echo "$$errmsg $$i.log" >&2; st=1; }; \
668
871
          done; \
669
 
          if test "$$all" -eq 1; then \
670
 
            tests="test"; \
671
 
            All=""; \
672
 
          else \
673
 
            tests="tests"; \
674
 
            All="All "; \
675
 
          fi; \
676
 
          if test "$$failed" -eq 0; then \
677
 
            if test "$$xfail" -eq 0; then \
678
 
              banner="$$All$$all $$tests passed"; \
679
 
            else \
680
 
              if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
681
 
              banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
682
 
            fi; \
683
 
          else \
684
 
            if test "$$xpass" -eq 0; then \
685
 
              banner="$$failed of $$all $$tests failed"; \
686
 
            else \
687
 
              if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
688
 
              banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
689
 
            fi; \
690
 
          fi; \
691
 
          dashes="$$banner"; \
692
 
          skipped=""; \
693
 
          if test "$$skip" -ne 0; then \
694
 
            if test "$$skip" -eq 1; then \
695
 
              skipped="($$skip test was not run)"; \
696
 
            else \
697
 
              skipped="($$skip tests were not run)"; \
698
 
            fi; \
699
 
            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
700
 
              dashes="$$skipped"; \
701
 
          fi; \
702
 
          report=""; \
703
 
          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
704
 
            report="Please report to $(PACKAGE_BUGREPORT)"; \
705
 
            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
706
 
              dashes="$$report"; \
707
 
          fi; \
708
 
          dashes=`echo "$$dashes" | sed s/./=/g`; \
709
 
          if test "$$failed" -eq 0; then \
710
 
            col="$$grn"; \
711
 
          else \
712
 
            col="$$red"; \
713
 
          fi; \
714
 
          echo "$${col}$$dashes$${std}"; \
715
 
          echo "$${col}$$banner$${std}"; \
716
 
          test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
717
 
          test -z "$$report" || echo "$${col}$$report$${std}"; \
718
 
          echo "$${col}$$dashes$${std}"; \
719
 
          test "$$failed" -eq 0; \
720
 
        else :; fi
 
872
          test $$st -eq 0 || exit 1; \
 
873
        fi
 
874
        @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
 
875
        ws='[   ]'; \
 
876
        results=`for b in $$bases; do echo $$b.trs; done`; \
 
877
        test -n "$$results" || results=/dev/null; \
 
878
        all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
 
879
        pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
 
880
        fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
 
881
        skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
 
882
        xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
 
883
        xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
 
884
        error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
 
885
        if test `expr $$fail + $$xpass + $$error` -eq 0; then \
 
886
          success=true; \
 
887
        else \
 
888
          success=false; \
 
889
        fi; \
 
890
        br='==================='; br=$$br$$br$$br$$br; \
 
891
        result_count () \
 
892
        { \
 
893
            if test x"$$1" = x"--maybe-color"; then \
 
894
              maybe_colorize=yes; \
 
895
            elif test x"$$1" = x"--no-color"; then \
 
896
              maybe_colorize=no; \
 
897
            else \
 
898
              echo "$@: invalid 'result_count' usage" >&2; exit 4; \
 
899
            fi; \
 
900
            shift; \
 
901
            desc=$$1 count=$$2; \
 
902
            if test $$maybe_colorize = yes && test $$count -gt 0; then \
 
903
              color_start=$$3 color_end=$$std; \
 
904
            else \
 
905
              color_start= color_end=; \
 
906
            fi; \
 
907
            echo "$${color_start}# $$desc $$count$${color_end}"; \
 
908
        }; \
 
909
        create_testsuite_report () \
 
910
        { \
 
911
          result_count $$1 "TOTAL:" $$all   "$$brg"; \
 
912
          result_count $$1 "PASS: " $$pass  "$$grn"; \
 
913
          result_count $$1 "SKIP: " $$skip  "$$blu"; \
 
914
          result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
 
915
          result_count $$1 "FAIL: " $$fail  "$$red"; \
 
916
          result_count $$1 "XPASS:" $$xpass "$$red"; \
 
917
          result_count $$1 "ERROR:" $$error "$$mgn"; \
 
918
        }; \
 
919
        {                                                               \
 
920
          echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |       \
 
921
            $(am__rst_title);                                           \
 
922
          create_testsuite_report --no-color;                           \
 
923
          echo;                                                         \
 
924
          echo ".. contents:: :depth: 2";                               \
 
925
          echo;                                                         \
 
926
          for b in $$bases; do echo $$b; done                           \
 
927
            | $(am__create_global_log);                                 \
 
928
        } >$(TEST_SUITE_LOG).tmp || exit 1;                             \
 
929
        mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);                     \
 
930
        if $$success; then                                              \
 
931
          col="$$grn";                                                  \
 
932
         else                                                           \
 
933
          col="$$red";                                                  \
 
934
          test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);               \
 
935
        fi;                                                             \
 
936
        echo "$${col}$$br$${std}";                                      \
 
937
        echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";   \
 
938
        echo "$${col}$$br$${std}";                                      \
 
939
        create_testsuite_report --maybe-color;                          \
 
940
        echo "$$col$$br$$std";                                          \
 
941
        if $$success; then :; else                                      \
 
942
          echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";         \
 
943
          if test -n "$(PACKAGE_BUGREPORT)"; then                       \
 
944
            echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
 
945
          fi;                                                           \
 
946
          echo "$$col$$br$$std";                                        \
 
947
        fi;                                                             \
 
948
        $$success || exit 1
 
949
 
 
950
check-TESTS:
 
951
        @list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
 
952
        @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
 
953
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
 
954
        @set +e; $(am__set_TESTS_bases); \
 
955
        log_list=`for i in $$bases; do echo $$i.log; done`; \
 
956
        trs_list=`for i in $$bases; do echo $$i.trs; done`; \
 
957
        log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
 
958
        $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
 
959
        exit $$?;
 
960
recheck: all $(check_PROGRAMS)
 
961
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
 
962
        @set +e; $(am__set_TESTS_bases); \
 
963
        bases=`for i in $$bases; do echo $$i; done \
 
964
                 | $(am__list_recheck_tests)` || exit 1; \
 
965
        log_list=`for i in $$bases; do echo $$i.log; done`; \
 
966
        log_list=`echo $$log_list`; \
 
967
        $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
 
968
                am__force_recheck=am--force-recheck \
 
969
                TEST_LOGS="$$log_list"; \
 
970
        exit $$?
 
971
strsep.log: strsep$(EXEEXT)
 
972
        @p='strsep$(EXEEXT)'; \
 
973
        b='strsep'; \
 
974
        $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
 
975
        --log-file $$b.log --trs-file $$b.trs \
 
976
        $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
 
977
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
978
.test.log:
 
979
        @p='$<'; \
 
980
        $(am__set_b); \
 
981
        $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
 
982
        --log-file $$b.log --trs-file $$b.trs \
 
983
        $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
 
984
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
985
@am__EXEEXT_TRUE@.test$(EXEEXT).log:
 
986
@am__EXEEXT_TRUE@       @p='$<'; \
 
987
@am__EXEEXT_TRUE@       $(am__set_b); \
 
988
@am__EXEEXT_TRUE@       $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
 
989
@am__EXEEXT_TRUE@       --log-file $$b.log --trs-file $$b.trs \
 
990
@am__EXEEXT_TRUE@       $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
 
991
@am__EXEEXT_TRUE@       "$$tst" $(AM_TESTS_FD_REDIRECT)
721
992
 
722
993
distdir: $(DISTFILES)
723
994
        $(am__remove_distdir)
775
1046
        $(am__post_remove_distdir)
776
1047
 
777
1048
dist-tarZ: distdir
 
1049
        @echo WARNING: "Support for shar distribution archives is" \
 
1050
                       "deprecated." >&2
 
1051
        @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
778
1052
        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
779
1053
        $(am__post_remove_distdir)
780
1054
 
781
1055
dist-shar: distdir
 
1056
        @echo WARNING: "Support for distribution archives compressed with" \
 
1057
                       "legacy program 'compress' is deprecated." >&2
 
1058
        @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
782
1059
        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
783
1060
        $(am__post_remove_distdir)
784
1061
 
904
1181
            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
905
1182
        fi
906
1183
mostlyclean-generic:
 
1184
        -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
 
1185
        -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
 
1186
        -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
907
1187
 
908
1188
clean-generic:
909
1189
 
910
1190
distclean-generic:
911
1191
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
912
1192
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
 
1193
        -rm -f src/$(DEPDIR)/$(am__dirstamp)
 
1194
        -rm -f src/$(am__dirstamp)
 
1195
        -rm -f test/$(DEPDIR)/$(am__dirstamp)
 
1196
        -rm -f test/$(am__dirstamp)
913
1197
        -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
914
1198
 
915
1199
maintainer-clean-generic:
922
1206
 
923
1207
distclean: distclean-am
924
1208
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
925
 
        -rm -rf ./$(DEPDIR)
 
1209
        -rm -rf src/$(DEPDIR) test/$(DEPDIR)
926
1210
        -rm -f Makefile
927
1211
distclean-am: clean-am distclean-compile distclean-generic \
928
1212
        distclean-hdr distclean-libtool distclean-tags
970
1254
maintainer-clean: maintainer-clean-am
971
1255
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
972
1256
        -rm -rf $(top_srcdir)/autom4te.cache
973
 
        -rm -rf ./$(DEPDIR)
 
1257
        -rm -rf src/$(DEPDIR) test/$(DEPDIR)
974
1258
        -rm -f Makefile
975
1259
maintainer-clean-am: distclean-am maintainer-clean-generic
976
1260
 
991
1275
 
992
1276
.MAKE: check-am install-am install-strip
993
1277
 
994
 
.PHONY: CTAGS GTAGS all all-am am--refresh check check-TESTS check-am \
995
 
        clean clean-checkPROGRAMS clean-cscope clean-generic \
996
 
        clean-libLTLIBRARIES clean-libtool cscope cscopelist ctags \
997
 
        dist dist-all dist-bzip2 dist-gzip dist-lzip dist-shar \
998
 
        dist-tarZ dist-xz dist-zip distcheck distclean \
 
1278
.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \
 
1279
        check-am clean clean-checkPROGRAMS clean-cscope clean-generic \
 
1280
        clean-libLTLIBRARIES clean-libtool cscope cscopelist-am ctags \
 
1281
        ctags-am dist dist-all dist-bzip2 dist-gzip dist-lzip \
 
1282
        dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
999
1283
        distclean-compile distclean-generic distclean-hdr \
1000
1284
        distclean-libtool distclean-tags distcleancheck distdir \
1001
1285
        distuninstallcheck dvi dvi-am html html-am info info-am \
1007
1291
        installcheck installcheck-am installdirs maintainer-clean \
1008
1292
        maintainer-clean-generic mostlyclean mostlyclean-compile \
1009
1293
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1010
 
        tags uninstall uninstall-am uninstall-includeHEADERS \
1011
 
        uninstall-libLTLIBRARIES
 
1294
        recheck tags tags-am uninstall uninstall-am \
 
1295
        uninstall-includeHEADERS uninstall-libLTLIBRARIES
1012
1296
 
1013
1297
 
1014
1298
# --------------------------------------------------------------------------