~ubuntu-branches/ubuntu/utopic/telepathy-mission-control-5/utopic-proposed

« back to all changes in this revision

Viewing changes to tests/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-11-13 23:23:05 UTC
  • mfrom: (0.13.7) (0.2.27 sid)
  • Revision ID: package-import@ubuntu.com-20131113232305-sev3nx1lps1xgya6
Tags: 1:5.16.0-1ubuntu1
* Resynchronize on Debian, remaining changes:
* debian/apparmor-profile, debian/control:
  - build-depends on dh-apparmor, suggests apparmor
* debian/rules: 
  - install apparmor and apport files
* debian/telepathy-mission-control-5.apport: 
  - include extra debug informations
* debian/telepathy-mission-control-5.dirs:
  - create apparmor and apport directories

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.11.6 from Makefile.am.
 
1
# Makefile.in generated by automake 1.14 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
 
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
 
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6
 
# Foundation, Inc.
 
4
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
 
5
 
7
6
# This Makefile.in is free software; the Free Software Foundation
8
7
# gives unlimited permission to copy and/or distribute it,
9
8
# with or without modifications, as long as this notice is preserved.
16
15
@SET_MAKE@
17
16
 
18
17
VPATH = @srcdir@
19
 
am__make_dryrun = \
20
 
  { \
21
 
    am__dry=no; \
 
18
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
 
19
am__make_running_with_option = \
 
20
  case $${target_option-} in \
 
21
      ?) ;; \
 
22
      *) echo "am__make_running_with_option: internal error: invalid" \
 
23
              "target option '$${target_option-}' specified" >&2; \
 
24
         exit 1;; \
 
25
  esac; \
 
26
  has_opt=no; \
 
27
  sane_makeflags=$$MAKEFLAGS; \
 
28
  if $(am__is_gnu_make); then \
 
29
    sane_makeflags=$$MFLAGS; \
 
30
  else \
22
31
    case $$MAKEFLAGS in \
23
32
      *\\[\ \   ]*) \
24
 
        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
25
 
          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
26
 
      *) \
27
 
        for am__flg in $$MAKEFLAGS; do \
28
 
          case $$am__flg in \
29
 
            *=*|--*) ;; \
30
 
            *n*) am__dry=yes; break;; \
31
 
          esac; \
32
 
        done;; \
33
 
    esac; \
34
 
    test $$am__dry = yes; \
35
 
  }
 
33
        bs=\\; \
 
34
        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
 
35
          | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
 
36
    esac; \
 
37
  fi; \
 
38
  skip_next=no; \
 
39
  strip_trailopt () \
 
40
  { \
 
41
    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
 
42
  }; \
 
43
  for flg in $$sane_makeflags; do \
 
44
    test $$skip_next = yes && { skip_next=no; continue; }; \
 
45
    case $$flg in \
 
46
      *=*|--*) continue;; \
 
47
        -*I) strip_trailopt 'I'; skip_next=yes;; \
 
48
      -*I?*) strip_trailopt 'I';; \
 
49
        -*O) strip_trailopt 'O'; skip_next=yes;; \
 
50
      -*O?*) strip_trailopt 'O';; \
 
51
        -*l) strip_trailopt 'l'; skip_next=yes;; \
 
52
      -*l?*) strip_trailopt 'l';; \
 
53
      -[dEDm]) skip_next=yes;; \
 
54
      -[JT]) skip_next=yes;; \
 
55
    esac; \
 
56
    case $$flg in \
 
57
      *$$target_option*) has_opt=yes; break;; \
 
58
    esac; \
 
59
  done; \
 
60
  test $$has_opt = yes
 
61
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
 
62
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
36
63
pkgdatadir = $(datadir)/@PACKAGE@
37
64
pkgincludedir = $(includedir)/@PACKAGE@
38
65
pkglibdir = $(libdir)/@PACKAGE@
51
78
POST_UNINSTALL = :
52
79
build_triplet = @build@
53
80
host_triplet = @host@
54
 
@ENABLE_GNOME_KEYRING_TRUE@am__append_1 = $(GNOME_KEYRING_CFLAGS)
55
 
@ENABLE_GNOME_KEYRING_TRUE@am__append_2 = keyring-command
56
 
noinst_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_3)
 
81
noinst_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2)
57
82
TESTS = $(am__EXEEXT_1)
58
 
@ENABLE_GNOME_KEYRING_TRUE@am__append_3 = $(GNOME_KEYRING_LIBS)
59
 
@ENABLE_LIBACCOUNTS_SSO_TRUE@am__append_4 = account-store-libaccounts.c account-store-libaccounts.h
60
 
@ENABLE_LIBACCOUNTS_SSO_TRUE@am__append_5 = $(LIBACCOUNTS_SSO_LIBS)
61
 
@ENABLE_LIBACCOUNTS_SSO_TRUE@am__append_6 = $(LIBACCOUNTS_SSO_CFLAGS)
 
83
@ENABLE_LIBACCOUNTS_SSO_TRUE@am__append_1 = account-store-libaccounts.c account-store-libaccounts.h
 
84
@ENABLE_LIBACCOUNTS_SSO_TRUE@am__append_2 = $(LIBACCOUNTS_SSO_LIBS)
 
85
@ENABLE_LIBACCOUNTS_SSO_TRUE@am__append_3 = $(LIBACCOUNTS_SSO_CFLAGS)
62
86
subdir = tests
63
 
DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
87
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
 
88
        $(top_srcdir)/build-aux/depcomp \
 
89
        $(top_srcdir)/build-aux/test-driver README
64
90
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
65
91
am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
66
92
        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
75
101
CONFIG_HEADER = $(top_builddir)/config.h
76
102
CONFIG_CLEAN_FILES =
77
103
CONFIG_CLEAN_VPATH_FILES =
78
 
am__EXEEXT_1 = test-value-is-same$(EXEEXT)
79
 
@ENABLE_GNOME_KEYRING_TRUE@am__EXEEXT_2 = keyring-command$(EXEEXT)
80
 
am__EXEEXT_3 = account-store$(EXEEXT) tease-the-minotaur$(EXEEXT) \
81
 
        $(am__EXEEXT_2)
 
104
am__EXEEXT_1 = test-keyfile$(EXEEXT) test-value-is-same$(EXEEXT)
 
105
am__EXEEXT_2 = account-store$(EXEEXT) tease-the-minotaur$(EXEEXT)
82
106
PROGRAMS = $(noinst_PROGRAMS)
83
107
am__account_store_SOURCES_DIST = account-store.c \
84
108
        account-store-default.c account-store-default.h \
88
112
        account-store-default.$(OBJEXT) $(am__objects_1)
89
113
account_store_OBJECTS = $(am_account_store_OBJECTS)
90
114
am__DEPENDENCIES_1 =
91
 
@ENABLE_GNOME_KEYRING_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
92
 
@ENABLE_LIBACCOUNTS_SSO_TRUE@am__DEPENDENCIES_3 =  \
 
115
@ENABLE_LIBACCOUNTS_SSO_TRUE@am__DEPENDENCIES_2 =  \
93
116
@ENABLE_LIBACCOUNTS_SSO_TRUE@   $(am__DEPENDENCIES_1)
94
117
account_store_DEPENDENCIES = $(am__DEPENDENCIES_1) \
95
 
        $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3)
 
118
        $(am__DEPENDENCIES_2)
96
119
AM_V_lt = $(am__v_lt_@AM_V@)
97
120
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
98
121
am__v_lt_0 = --silent
99
 
am__keyring_command_SOURCES_DIST = keyring-command.c
100
 
@ENABLE_GNOME_KEYRING_TRUE@am_keyring_command_OBJECTS =  \
101
 
@ENABLE_GNOME_KEYRING_TRUE@     keyring-command.$(OBJEXT)
102
 
keyring_command_OBJECTS = $(am_keyring_command_OBJECTS)
103
 
@ENABLE_GNOME_KEYRING_TRUE@keyring_command_DEPENDENCIES =  \
104
 
@ENABLE_GNOME_KEYRING_TRUE@     $(am__DEPENDENCIES_1) \
105
 
@ENABLE_GNOME_KEYRING_TRUE@     $(am__DEPENDENCIES_1)
 
122
am__v_lt_1 = 
106
123
am_tease_the_minotaur_OBJECTS = tease-the-minotaur.$(OBJEXT)
107
124
tease_the_minotaur_OBJECTS = $(am_tease_the_minotaur_OBJECTS)
108
125
tease_the_minotaur_DEPENDENCIES =  \
109
126
        $(top_builddir)/src/libmcd-convenience.la
 
127
am_test_keyfile_OBJECTS = keyfile.$(OBJEXT)
 
128
test_keyfile_OBJECTS = $(am_test_keyfile_OBJECTS)
 
129
test_keyfile_DEPENDENCIES = $(top_builddir)/src/libmcd-convenience.la
110
130
am_test_value_is_same_OBJECTS = value-is-same.$(OBJEXT)
111
131
test_value_is_same_OBJECTS = $(am_test_value_is_same_OBJECTS)
112
132
test_value_is_same_DEPENDENCIES =  \
113
133
        $(top_builddir)/src/libmcd-convenience.la
 
134
AM_V_P = $(am__v_P_@AM_V@)
 
135
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
 
136
am__v_P_0 = false
 
137
am__v_P_1 = :
 
138
AM_V_GEN = $(am__v_GEN_@AM_V@)
 
139
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
 
140
am__v_GEN_0 = @echo "  GEN     " $@;
 
141
am__v_GEN_1 = 
 
142
AM_V_at = $(am__v_at_@AM_V@)
 
143
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
 
144
am__v_at_0 = @
 
145
am__v_at_1 = 
114
146
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
115
 
depcomp = $(SHELL) $(top_srcdir)/depcomp
 
147
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
116
148
am__depfiles_maybe = depfiles
117
149
am__mv = mv -f
118
150
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
123
155
        $(AM_CFLAGS) $(CFLAGS)
124
156
AM_V_CC = $(am__v_CC_@AM_V@)
125
157
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
126
 
am__v_CC_0 = @echo "  CC    " $@;
127
 
AM_V_at = $(am__v_at_@AM_V@)
128
 
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
129
 
am__v_at_0 = @
 
158
am__v_CC_0 = @echo "  CC      " $@;
 
159
am__v_CC_1 = 
130
160
CCLD = $(CC)
131
161
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
132
162
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
133
163
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
134
164
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
135
165
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
136
 
am__v_CCLD_0 = @echo "  CCLD  " $@;
137
 
AM_V_GEN = $(am__v_GEN_@AM_V@)
138
 
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
139
 
am__v_GEN_0 = @echo "  GEN   " $@;
140
 
SOURCES = $(account_store_SOURCES) $(keyring_command_SOURCES) \
141
 
        $(tease_the_minotaur_SOURCES) $(test_value_is_same_SOURCES)
 
166
am__v_CCLD_0 = @echo "  CCLD    " $@;
 
167
am__v_CCLD_1 = 
 
168
SOURCES = $(account_store_SOURCES) $(tease_the_minotaur_SOURCES) \
 
169
        $(test_keyfile_SOURCES) $(test_value_is_same_SOURCES)
142
170
DIST_SOURCES = $(am__account_store_SOURCES_DIST) \
143
 
        $(am__keyring_command_SOURCES_DIST) \
144
 
        $(tease_the_minotaur_SOURCES) $(test_value_is_same_SOURCES)
145
 
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
146
 
        html-recursive info-recursive install-data-recursive \
147
 
        install-dvi-recursive install-exec-recursive \
148
 
        install-html-recursive install-info-recursive \
149
 
        install-pdf-recursive install-ps-recursive install-recursive \
150
 
        installcheck-recursive installdirs-recursive pdf-recursive \
151
 
        ps-recursive uninstall-recursive
 
171
        $(tease_the_minotaur_SOURCES) $(test_keyfile_SOURCES) \
 
172
        $(test_value_is_same_SOURCES)
 
173
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
 
174
        ctags-recursive dvi-recursive html-recursive info-recursive \
 
175
        install-data-recursive install-dvi-recursive \
 
176
        install-exec-recursive install-html-recursive \
 
177
        install-info-recursive install-pdf-recursive \
 
178
        install-ps-recursive install-recursive installcheck-recursive \
 
179
        installdirs-recursive pdf-recursive ps-recursive \
 
180
        tags-recursive uninstall-recursive
152
181
am__can_run_installinfo = \
153
182
  case $$AM_UPDATE_INFO_DIR in \
154
183
    n|no|NO) false;; \
156
185
  esac
157
186
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
158
187
  distclean-recursive maintainer-clean-recursive
159
 
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
160
 
        $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
161
 
        distdir
 
188
am__recursive_targets = \
 
189
  $(RECURSIVE_TARGETS) \
 
190
  $(RECURSIVE_CLEAN_TARGETS) \
 
191
  $(am__extra_recursive_targets)
 
192
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
 
193
        check recheck distdir
 
194
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 
195
# Read a list of newline-separated strings from the standard input,
 
196
# and print each of them once, without duplicates.  Input order is
 
197
# *not* preserved.
 
198
am__uniquify_input = $(AWK) '\
 
199
  BEGIN { nonempty = 0; } \
 
200
  { items[$$0] = 1; nonempty = 1; } \
 
201
  END { if (nonempty) { for (i in items) print i; }; } \
 
202
'
 
203
# Make sure the list of sources is unique.  This is necessary because,
 
204
# e.g., the same source file might be shared among _SOURCES variables
 
205
# for different programs/libraries.
 
206
am__define_uniq_tagged_files = \
 
207
  list='$(am__tagged_files)'; \
 
208
  unique=`for i in $$list; do \
 
209
    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
210
  done | $(am__uniquify_input)`
162
211
ETAGS = etags
163
212
CTAGS = ctags
164
 
am__tty_colors = \
165
 
red=; grn=; lgn=; blu=; std=
 
213
am__tty_colors_dummy = \
 
214
  mgn= red= grn= lgn= blu= brg= std=; \
 
215
  am__color_tests=no
 
216
am__tty_colors = { \
 
217
  $(am__tty_colors_dummy); \
 
218
  if test "X$(AM_COLOR_TESTS)" = Xno; then \
 
219
    am__color_tests=no; \
 
220
  elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
 
221
    am__color_tests=yes; \
 
222
  elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
 
223
    am__color_tests=yes; \
 
224
  fi; \
 
225
  if test $$am__color_tests = yes; then \
 
226
    red=''; \
 
227
    grn=''; \
 
228
    lgn=''; \
 
229
    blu=''; \
 
230
    mgn=''; \
 
231
    brg=''; \
 
232
    std=''; \
 
233
  fi; \
 
234
}
 
235
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 
236
am__vpath_adj = case $$p in \
 
237
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
 
238
    *) f=$$p;; \
 
239
  esac;
 
240
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
 
241
am__install_max = 40
 
242
am__nobase_strip_setup = \
 
243
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
 
244
am__nobase_strip = \
 
245
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
 
246
am__nobase_list = $(am__nobase_strip_setup); \
 
247
  for p in $$list; do echo "$$p $$p"; done | \
 
248
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
 
249
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
 
250
    if (++n[$$2] == $(am__install_max)) \
 
251
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
 
252
    END { for (dir in files) print dir, files[dir] }'
 
253
am__base_list = \
 
254
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
 
255
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
 
256
am__uninstall_files_from_dir = { \
 
257
  test -z "$$files" \
 
258
    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
 
259
    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
 
260
         $(am__cd) "$$dir" && rm -f $$files; }; \
 
261
  }
 
262
am__recheck_rx = ^[     ]*:recheck:[    ]*
 
263
am__global_test_result_rx = ^[  ]*:global-test-result:[         ]*
 
264
am__copy_in_global_log_rx = ^[  ]*:copy-in-global-log:[         ]*
 
265
# A command that, given a newline-separated list of test names on the
 
266
# standard input, print the name of the tests that are to be re-run
 
267
# upon "make recheck".
 
268
am__list_recheck_tests = $(AWK) '{ \
 
269
  recheck = 1; \
 
270
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
 
271
    { \
 
272
      if (rc < 0) \
 
273
        { \
 
274
          if ((getline line2 < ($$0 ".log")) < 0) \
 
275
            recheck = 0; \
 
276
          break; \
 
277
        } \
 
278
      else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
 
279
        { \
 
280
          recheck = 0; \
 
281
          break; \
 
282
        } \
 
283
      else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
 
284
        { \
 
285
          break; \
 
286
        } \
 
287
    }; \
 
288
  if (recheck) \
 
289
    print $$0; \
 
290
  close ($$0 ".trs"); \
 
291
  close ($$0 ".log"); \
 
292
}'
 
293
# A command that, given a newline-separated list of test names on the
 
294
# standard input, create the global log from their .trs and .log files.
 
295
am__create_global_log = $(AWK) ' \
 
296
function fatal(msg) \
 
297
{ \
 
298
  print "fatal: making $@: " msg | "cat >&2"; \
 
299
  exit 1; \
 
300
} \
 
301
function rst_section(header) \
 
302
{ \
 
303
  print header; \
 
304
  len = length(header); \
 
305
  for (i = 1; i <= len; i = i + 1) \
 
306
    printf "="; \
 
307
  printf "\n\n"; \
 
308
} \
 
309
{ \
 
310
  copy_in_global_log = 1; \
 
311
  global_test_result = "RUN"; \
 
312
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
 
313
    { \
 
314
      if (rc < 0) \
 
315
         fatal("failed to read from " $$0 ".trs"); \
 
316
      if (line ~ /$(am__global_test_result_rx)/) \
 
317
        { \
 
318
          sub("$(am__global_test_result_rx)", "", line); \
 
319
          sub("[        ]*$$", "", line); \
 
320
          global_test_result = line; \
 
321
        } \
 
322
      else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
 
323
        copy_in_global_log = 0; \
 
324
    }; \
 
325
  if (copy_in_global_log) \
 
326
    { \
 
327
      rst_section(global_test_result ": " $$0); \
 
328
      while ((rc = (getline line < ($$0 ".log"))) != 0) \
 
329
      { \
 
330
        if (rc < 0) \
 
331
          fatal("failed to read from " $$0 ".log"); \
 
332
        print line; \
 
333
      }; \
 
334
      printf "\n"; \
 
335
    }; \
 
336
  close ($$0 ".trs"); \
 
337
  close ($$0 ".log"); \
 
338
}'
 
339
# Restructured Text title.
 
340
am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
 
341
# Solaris 10 'make', and several other traditional 'make' implementations,
 
342
# pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
 
343
# by disabling -e (using the XSI extension "set +e") if it's set.
 
344
am__sh_e_setup = case $$- in *e*) set +e;; esac
 
345
# Default flags passed to test drivers.
 
346
am__common_driver_flags = \
 
347
  --color-tests "$$am__color_tests" \
 
348
  --enable-hard-errors "$$am__enable_hard_errors" \
 
349
  --expect-failure "$$am__expect_failure"
 
350
# To be inserted before the command running the test.  Creates the
 
351
# directory for the log if needed.  Stores in $dir the directory
 
352
# containing $f, in $tst the test, in $log the log.  Executes the
 
353
# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
 
354
# passes TESTS_ENVIRONMENT.  Set up options for the wrapper that
 
355
# will run the test scripts (or their associated LOG_COMPILER, if
 
356
# thy have one).
 
357
am__check_pre = \
 
358
$(am__sh_e_setup);                                      \
 
359
$(am__vpath_adj_setup) $(am__vpath_adj)                 \
 
360
$(am__tty_colors);                                      \
 
361
srcdir=$(srcdir); export srcdir;                        \
 
362
case "$@" in                                            \
 
363
  */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;    \
 
364
    *) am__odir=.;;                                     \
 
365
esac;                                                   \
 
366
test "x$$am__odir" = x"." || test -d "$$am__odir"       \
 
367
  || $(MKDIR_P) "$$am__odir" || exit $$?;               \
 
368
if test -f "./$$f"; then dir=./;                        \
 
369
elif test -f "$$f"; then dir=;                          \
 
370
else dir="$(srcdir)/"; fi;                              \
 
371
tst=$$dir$$f; log='$@';                                 \
 
372
if test -n '$(DISABLE_HARD_ERRORS)'; then               \
 
373
  am__enable_hard_errors=no;                            \
 
374
else                                                    \
 
375
  am__enable_hard_errors=yes;                           \
 
376
fi;                                                     \
 
377
case " $(XFAIL_TESTS) " in                              \
 
378
  *[\ \ ]$$f[\ \        ]* | *[\ \      ]$$dir$$f[\ \   ]*) \
 
379
    am__expect_failure=yes;;                            \
 
380
  *)                                                    \
 
381
    am__expect_failure=no;;                             \
 
382
esac;                                                   \
 
383
$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
 
384
# A shell command to get the names of the tests scripts with any registered
 
385
# extension removed (i.e., equivalently, the names of the test logs, with
 
386
# the '.log' extension removed).  The result is saved in the shell variable
 
387
# '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
 
388
# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
 
389
# since that might cause problem with VPATH rewrites for suffix-less tests.
 
390
# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
 
391
am__set_TESTS_bases = \
 
392
  bases='$(TEST_LOGS)'; \
 
393
  bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
 
394
  bases=`echo $$bases`
 
395
RECHECK_LOGS = $(TEST_LOGS)
 
396
TEST_SUITE_LOG = test-suite.log
 
397
TEST_EXTENSIONS = @EXEEXT@ .test
 
398
LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
 
399
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
 
400
am__set_b = \
 
401
  case '$@' in \
 
402
    */*) \
 
403
      case '$*' in \
 
404
        */*) b='$*';; \
 
405
          *) b=`echo '$@' | sed 's/\.log$$//'`; \
 
406
       esac;; \
 
407
    *) \
 
408
      b='$*';; \
 
409
  esac
 
410
am__test_logs1 = $(TESTS:=.log)
 
411
am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
 
412
TEST_LOGS = $(am__test_logs2:.test.log=.log)
 
413
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
 
414
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
 
415
        $(TEST_LOG_FLAGS)
166
416
DIST_SUBDIRS = $(SUBDIRS)
167
417
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
168
418
am__relativize = \
204
454
CC = @CC@
205
455
CCDEPMODE = @CCDEPMODE@
206
456
CFLAGS = @CFLAGS@
207
 
CONNMAN_CFLAGS = @CONNMAN_CFLAGS@
208
 
CONNMAN_LIBS = @CONNMAN_LIBS@
209
457
CPP = @CPP@
210
458
CPPFLAGS = @CPPFLAGS@
211
459
CXX = @CXX@
227
475
ERROR_CFLAGS = @ERROR_CFLAGS@
228
476
EXEEXT = @EXEEXT@
229
477
FGREP = @FGREP@
 
478
GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@
 
479
GIO_UNIX_LIBS = @GIO_UNIX_LIBS@
230
480
GLIB_CFLAGS = @GLIB_CFLAGS@
231
481
GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
232
482
GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
233
483
GLIB_LIBS = @GLIB_LIBS@
234
484
GLIB_MKENUMS = @GLIB_MKENUMS@
235
 
GNOME_KEYRING_CFLAGS = @GNOME_KEYRING_CFLAGS@
236
 
GNOME_KEYRING_LIBS = @GNOME_KEYRING_LIBS@
237
485
GREP = @GREP@
238
486
GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
239
487
GTKDOC_CHECK = @GTKDOC_CHECK@
365
613
INCLUDES = $(DBUS_CFLAGS) $(TELEPATHY_CFLAGS) -I$(top_srcdir) \
366
614
        -I$(top_builddir) -I$(top_srcdir)/src -I$(top_builddir)/src \
367
615
        -DMC_DISABLE_DEPRECATED -DLIBDIR="@libdir@" -DLIBVERSION="0" \
368
 
        $(am__append_1) $(am__append_6)
 
616
        $(am__append_3)
369
617
AM_CFLAGS = $(ERROR_CFLAGS)
370
618
SUBDIRS = . twisted
371
 
TEST_EXECUTABLES = test-value-is-same
372
 
NON_TEST_EXECUTABLES = account-store tease-the-minotaur \
373
 
        $(am__append_2)
 
619
TEST_EXECUTABLES = \
 
620
        test-keyfile \
 
621
        test-value-is-same \
 
622
        $(NULL)
 
623
 
 
624
NON_TEST_EXECUTABLES = account-store tease-the-minotaur
374
625
 
375
626
# This test needs linking against the convenience library, so it can use
376
627
# MC internals.
377
628
test_value_is_same_SOURCES = value-is-same.c
378
629
test_value_is_same_LDADD = $(top_builddir)/src/libmcd-convenience.la
 
630
test_keyfile_SOURCES = keyfile.c
 
631
test_keyfile_LDADD = $(top_builddir)/src/libmcd-convenience.la
379
632
tease_the_minotaur_SOURCES = tease-the-minotaur.c
380
633
tease_the_minotaur_LDADD = $(top_builddir)/src/libmcd-convenience.la
381
 
account_store_LDADD = $(GLIB_LIBS) $(am__append_3) $(am__append_5)
 
634
account_store_LDADD = $(GLIB_LIBS) $(am__append_2)
382
635
account_store_SOURCES = account-store.c account-store-default.c \
383
 
        account-store-default.h $(am__append_4)
384
 
@ENABLE_GNOME_KEYRING_TRUE@keyring_command_LDADD = $(GLIB_LIBS) $(GNOME_KEYRING_LIBS)
385
 
@ENABLE_GNOME_KEYRING_TRUE@keyring_command_SOURCES = keyring-command.c
 
636
        account-store-default.h $(am__append_1)
386
637
all: all-recursive
387
638
 
388
639
.SUFFIXES:
389
 
.SUFFIXES: .c .lo .o .obj
 
640
.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
390
641
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
391
642
        @for dep in $?; do \
392
643
          case '$(am__configure_deps)' in \
426
677
        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
427
678
        echo " rm -f" $$list; \
428
679
        rm -f $$list
 
680
 
429
681
account-store$(EXEEXT): $(account_store_OBJECTS) $(account_store_DEPENDENCIES) $(EXTRA_account_store_DEPENDENCIES) 
430
682
        @rm -f account-store$(EXEEXT)
431
683
        $(AM_V_CCLD)$(LINK) $(account_store_OBJECTS) $(account_store_LDADD) $(LIBS)
432
 
keyring-command$(EXEEXT): $(keyring_command_OBJECTS) $(keyring_command_DEPENDENCIES) $(EXTRA_keyring_command_DEPENDENCIES) 
433
 
        @rm -f keyring-command$(EXEEXT)
434
 
        $(AM_V_CCLD)$(LINK) $(keyring_command_OBJECTS) $(keyring_command_LDADD) $(LIBS)
 
684
 
435
685
tease-the-minotaur$(EXEEXT): $(tease_the_minotaur_OBJECTS) $(tease_the_minotaur_DEPENDENCIES) $(EXTRA_tease_the_minotaur_DEPENDENCIES) 
436
686
        @rm -f tease-the-minotaur$(EXEEXT)
437
687
        $(AM_V_CCLD)$(LINK) $(tease_the_minotaur_OBJECTS) $(tease_the_minotaur_LDADD) $(LIBS)
 
688
 
 
689
test-keyfile$(EXEEXT): $(test_keyfile_OBJECTS) $(test_keyfile_DEPENDENCIES) $(EXTRA_test_keyfile_DEPENDENCIES) 
 
690
        @rm -f test-keyfile$(EXEEXT)
 
691
        $(AM_V_CCLD)$(LINK) $(test_keyfile_OBJECTS) $(test_keyfile_LDADD) $(LIBS)
 
692
 
438
693
test-value-is-same$(EXEEXT): $(test_value_is_same_OBJECTS) $(test_value_is_same_DEPENDENCIES) $(EXTRA_test_value_is_same_DEPENDENCIES) 
439
694
        @rm -f test-value-is-same$(EXEEXT)
440
695
        $(AM_V_CCLD)$(LINK) $(test_value_is_same_OBJECTS) $(test_value_is_same_LDADD) $(LIBS)
448
703
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/account-store-default.Po@am__quote@
449
704
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/account-store-libaccounts.Po@am__quote@
450
705
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/account-store.Po@am__quote@
451
 
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keyring-command.Po@am__quote@
 
706
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keyfile.Po@am__quote@
452
707
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tease-the-minotaur.Po@am__quote@
453
708
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/value-is-same.Po@am__quote@
454
709
 
457
712
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
458
713
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
459
714
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
460
 
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
 
715
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
461
716
 
462
717
.c.obj:
463
718
@am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
464
719
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
465
720
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
466
721
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
467
 
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
 
722
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
468
723
 
469
724
.c.lo:
470
725
@am__fastdepCC_TRUE@    $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
480
735
        -rm -rf .libs _libs
481
736
 
482
737
# This directory's subdirectories are mostly independent; you can cd
483
 
# into them and run `make' without going through this Makefile.
484
 
# To change the values of `make' variables: instead of editing Makefiles,
485
 
# (1) if the variable is set in `config.status', edit `config.status'
486
 
#     (which will cause the Makefiles to be regenerated when you run `make');
487
 
# (2) otherwise, pass the desired values on the `make' command line.
488
 
$(RECURSIVE_TARGETS):
489
 
        @fail= failcom='exit 1'; \
490
 
        for f in x $$MAKEFLAGS; do \
491
 
          case $$f in \
492
 
            *=* | --[!k]*);; \
493
 
            *k*) failcom='fail=yes';; \
494
 
          esac; \
495
 
        done; \
 
738
# into them and run 'make' without going through this Makefile.
 
739
# To change the values of 'make' variables: instead of editing Makefiles,
 
740
# (1) if the variable is set in 'config.status', edit 'config.status'
 
741
#     (which will cause the Makefiles to be regenerated when you run 'make');
 
742
# (2) otherwise, pass the desired values on the 'make' command line.
 
743
$(am__recursive_targets):
 
744
        @fail=; \
 
745
        if $(am__make_keepgoing); then \
 
746
          failcom='fail=yes'; \
 
747
        else \
 
748
          failcom='exit 1'; \
 
749
        fi; \
496
750
        dot_seen=no; \
497
751
        target=`echo $@ | sed s/-recursive//`; \
498
 
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
752
        case "$@" in \
 
753
          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
 
754
          *) list='$(SUBDIRS)' ;; \
 
755
        esac; \
 
756
        for subdir in $$list; do \
499
757
          echo "Making $$target in $$subdir"; \
500
758
          if test "$$subdir" = "."; then \
501
759
            dot_seen=yes; \
510
768
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
511
769
        fi; test -z "$$fail"
512
770
 
513
 
$(RECURSIVE_CLEAN_TARGETS):
514
 
        @fail= failcom='exit 1'; \
515
 
        for f in x $$MAKEFLAGS; do \
516
 
          case $$f in \
517
 
            *=* | --[!k]*);; \
518
 
            *k*) failcom='fail=yes';; \
519
 
          esac; \
520
 
        done; \
521
 
        dot_seen=no; \
522
 
        case "$@" in \
523
 
          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
524
 
          *) list='$(SUBDIRS)' ;; \
525
 
        esac; \
526
 
        rev=''; for subdir in $$list; do \
527
 
          if test "$$subdir" = "."; then :; else \
528
 
            rev="$$subdir $$rev"; \
529
 
          fi; \
530
 
        done; \
531
 
        rev="$$rev ."; \
532
 
        target=`echo $@ | sed s/-recursive//`; \
533
 
        for subdir in $$rev; do \
534
 
          echo "Making $$target in $$subdir"; \
535
 
          if test "$$subdir" = "."; then \
536
 
            local_target="$$target-am"; \
537
 
          else \
538
 
            local_target="$$target"; \
539
 
          fi; \
540
 
          ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
541
 
          || eval $$failcom; \
542
 
        done && test -z "$$fail"
543
 
tags-recursive:
544
 
        list='$(SUBDIRS)'; for subdir in $$list; do \
545
 
          test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
546
 
        done
547
 
ctags-recursive:
548
 
        list='$(SUBDIRS)'; for subdir in $$list; do \
549
 
          test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
550
 
        done
551
 
 
552
 
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
553
 
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
554
 
        unique=`for i in $$list; do \
555
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
556
 
          done | \
557
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
558
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
559
 
        mkid -fID $$unique
560
 
tags: TAGS
561
 
 
562
 
TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
563
 
                $(TAGS_FILES) $(LISP)
 
771
ID: $(am__tagged_files)
 
772
        $(am__define_uniq_tagged_files); mkid -fID $$unique
 
773
tags: tags-recursive
 
774
TAGS: tags
 
775
 
 
776
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
564
777
        set x; \
565
778
        here=`pwd`; \
566
779
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
576
789
              set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
577
790
          fi; \
578
791
        done; \
579
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
580
 
        unique=`for i in $$list; do \
581
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
582
 
          done | \
583
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
584
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
792
        $(am__define_uniq_tagged_files); \
585
793
        shift; \
586
794
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
587
795
          test -n "$$unique" || unique=$$empty_fix; \
593
801
              $$unique; \
594
802
          fi; \
595
803
        fi
596
 
ctags: CTAGS
597
 
CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
598
 
                $(TAGS_FILES) $(LISP)
599
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
600
 
        unique=`for i in $$list; do \
601
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
602
 
          done | \
603
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
604
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
804
ctags: ctags-recursive
 
805
 
 
806
CTAGS: ctags
 
807
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
 
808
        $(am__define_uniq_tagged_files); \
605
809
        test -z "$(CTAGS_ARGS)$$unique" \
606
810
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
607
811
             $$unique
610
814
        here=`$(am__cd) $(top_builddir) && pwd` \
611
815
          && $(am__cd) $(top_srcdir) \
612
816
          && gtags -i $(GTAGS_ARGS) "$$here"
 
817
cscopelist: cscopelist-recursive
 
818
 
 
819
cscopelist-am: $(am__tagged_files)
 
820
        list='$(am__tagged_files)'; \
 
821
        case "$(srcdir)" in \
 
822
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
 
823
          *) sdir=$(subdir)/$(srcdir) ;; \
 
824
        esac; \
 
825
        for i in $$list; do \
 
826
          if test -f "$$i"; then \
 
827
            echo "$(subdir)/$$i"; \
 
828
          else \
 
829
            echo "$$sdir/$$i"; \
 
830
          fi; \
 
831
        done >> $(top_builddir)/cscope.files
613
832
 
614
833
distclean-tags:
615
834
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
616
835
 
617
 
check-TESTS: $(TESTS)
618
 
        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
619
 
        srcdir=$(srcdir); export srcdir; \
620
 
        list=' $(TESTS) '; \
621
 
        $(am__tty_colors); \
622
 
        if test -n "$$list"; then \
623
 
          for tst in $$list; do \
624
 
            if test -f ./$$tst; then dir=./; \
625
 
            elif test -f $$tst; then dir=; \
626
 
            else dir="$(srcdir)/"; fi; \
627
 
            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
628
 
              all=`expr $$all + 1`; \
629
 
              case " $(XFAIL_TESTS) " in \
630
 
              *[\ \     ]$$tst[\ \      ]*) \
631
 
                xpass=`expr $$xpass + 1`; \
632
 
                failed=`expr $$failed + 1`; \
633
 
                col=$$red; res=XPASS; \
634
 
              ;; \
635
 
              *) \
636
 
                col=$$grn; res=PASS; \
637
 
              ;; \
638
 
              esac; \
639
 
            elif test $$? -ne 77; then \
640
 
              all=`expr $$all + 1`; \
641
 
              case " $(XFAIL_TESTS) " in \
642
 
              *[\ \     ]$$tst[\ \      ]*) \
643
 
                xfail=`expr $$xfail + 1`; \
644
 
                col=$$lgn; res=XFAIL; \
645
 
              ;; \
646
 
              *) \
647
 
                failed=`expr $$failed + 1`; \
648
 
                col=$$red; res=FAIL; \
649
 
              ;; \
650
 
              esac; \
651
 
            else \
652
 
              skip=`expr $$skip + 1`; \
653
 
              col=$$blu; res=SKIP; \
654
 
            fi; \
655
 
            echo "$${col}$$res$${std}: $$tst"; \
 
836
# Recover from deleted '.trs' file; this should ensure that
 
837
# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
 
838
# both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
 
839
# to avoid problems with "make -n".
 
840
.log.trs:
 
841
        rm -f $< $@
 
842
        $(MAKE) $(AM_MAKEFLAGS) $<
 
843
 
 
844
# Leading 'am--fnord' is there to ensure the list of targets does not
 
845
# expand to empty, as could happen e.g. with make check TESTS=''.
 
846
am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
 
847
am--force-recheck:
 
848
        @:
 
849
 
 
850
$(TEST_SUITE_LOG): $(TEST_LOGS)
 
851
        @$(am__set_TESTS_bases); \
 
852
        am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
 
853
        redo_bases=`for i in $$bases; do \
 
854
                      am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
 
855
                    done`; \
 
856
        if test -n "$$redo_bases"; then \
 
857
          redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
 
858
          redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
 
859
          if $(am__make_dryrun); then :; else \
 
860
            rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
 
861
          fi; \
 
862
        fi; \
 
863
        if test -n "$$am__remaking_logs"; then \
 
864
          echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
 
865
               "recursion detected" >&2; \
 
866
        else \
 
867
          am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
 
868
        fi; \
 
869
        if $(am__make_dryrun); then :; else \
 
870
          st=0;  \
 
871
          errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
 
872
          for i in $$redo_bases; do \
 
873
            test -f $$i.trs && test -r $$i.trs \
 
874
              || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
 
875
            test -f $$i.log && test -r $$i.log \
 
876
              || { echo "$$errmsg $$i.log" >&2; st=1; }; \
656
877
          done; \
657
 
          if test "$$all" -eq 1; then \
658
 
            tests="test"; \
659
 
            All=""; \
660
 
          else \
661
 
            tests="tests"; \
662
 
            All="All "; \
663
 
          fi; \
664
 
          if test "$$failed" -eq 0; then \
665
 
            if test "$$xfail" -eq 0; then \
666
 
              banner="$$All$$all $$tests passed"; \
667
 
            else \
668
 
              if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
669
 
              banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
670
 
            fi; \
671
 
          else \
672
 
            if test "$$xpass" -eq 0; then \
673
 
              banner="$$failed of $$all $$tests failed"; \
674
 
            else \
675
 
              if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
676
 
              banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
677
 
            fi; \
678
 
          fi; \
679
 
          dashes="$$banner"; \
680
 
          skipped=""; \
681
 
          if test "$$skip" -ne 0; then \
682
 
            if test "$$skip" -eq 1; then \
683
 
              skipped="($$skip test was not run)"; \
684
 
            else \
685
 
              skipped="($$skip tests were not run)"; \
686
 
            fi; \
687
 
            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
688
 
              dashes="$$skipped"; \
689
 
          fi; \
690
 
          report=""; \
691
 
          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
692
 
            report="Please report to $(PACKAGE_BUGREPORT)"; \
693
 
            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
694
 
              dashes="$$report"; \
695
 
          fi; \
696
 
          dashes=`echo "$$dashes" | sed s/./=/g`; \
697
 
          if test "$$failed" -eq 0; then \
698
 
            col="$$grn"; \
699
 
          else \
700
 
            col="$$red"; \
701
 
          fi; \
702
 
          echo "$${col}$$dashes$${std}"; \
703
 
          echo "$${col}$$banner$${std}"; \
704
 
          test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
705
 
          test -z "$$report" || echo "$${col}$$report$${std}"; \
706
 
          echo "$${col}$$dashes$${std}"; \
707
 
          test "$$failed" -eq 0; \
708
 
        else :; fi
 
878
          test $$st -eq 0 || exit 1; \
 
879
        fi
 
880
        @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
 
881
        ws='[   ]'; \
 
882
        results=`for b in $$bases; do echo $$b.trs; done`; \
 
883
        test -n "$$results" || results=/dev/null; \
 
884
        all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
 
885
        pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
 
886
        fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
 
887
        skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
 
888
        xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
 
889
        xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
 
890
        error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
 
891
        if test `expr $$fail + $$xpass + $$error` -eq 0; then \
 
892
          success=true; \
 
893
        else \
 
894
          success=false; \
 
895
        fi; \
 
896
        br='==================='; br=$$br$$br$$br$$br; \
 
897
        result_count () \
 
898
        { \
 
899
            if test x"$$1" = x"--maybe-color"; then \
 
900
              maybe_colorize=yes; \
 
901
            elif test x"$$1" = x"--no-color"; then \
 
902
              maybe_colorize=no; \
 
903
            else \
 
904
              echo "$@: invalid 'result_count' usage" >&2; exit 4; \
 
905
            fi; \
 
906
            shift; \
 
907
            desc=$$1 count=$$2; \
 
908
            if test $$maybe_colorize = yes && test $$count -gt 0; then \
 
909
              color_start=$$3 color_end=$$std; \
 
910
            else \
 
911
              color_start= color_end=; \
 
912
            fi; \
 
913
            echo "$${color_start}# $$desc $$count$${color_end}"; \
 
914
        }; \
 
915
        create_testsuite_report () \
 
916
        { \
 
917
          result_count $$1 "TOTAL:" $$all   "$$brg"; \
 
918
          result_count $$1 "PASS: " $$pass  "$$grn"; \
 
919
          result_count $$1 "SKIP: " $$skip  "$$blu"; \
 
920
          result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
 
921
          result_count $$1 "FAIL: " $$fail  "$$red"; \
 
922
          result_count $$1 "XPASS:" $$xpass "$$red"; \
 
923
          result_count $$1 "ERROR:" $$error "$$mgn"; \
 
924
        }; \
 
925
        {                                                               \
 
926
          echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |       \
 
927
            $(am__rst_title);                                           \
 
928
          create_testsuite_report --no-color;                           \
 
929
          echo;                                                         \
 
930
          echo ".. contents:: :depth: 2";                               \
 
931
          echo;                                                         \
 
932
          for b in $$bases; do echo $$b; done                           \
 
933
            | $(am__create_global_log);                                 \
 
934
        } >$(TEST_SUITE_LOG).tmp || exit 1;                             \
 
935
        mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);                     \
 
936
        if $$success; then                                              \
 
937
          col="$$grn";                                                  \
 
938
         else                                                           \
 
939
          col="$$red";                                                  \
 
940
          test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);               \
 
941
        fi;                                                             \
 
942
        echo "$${col}$$br$${std}";                                      \
 
943
        echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";   \
 
944
        echo "$${col}$$br$${std}";                                      \
 
945
        create_testsuite_report --maybe-color;                          \
 
946
        echo "$$col$$br$$std";                                          \
 
947
        if $$success; then :; else                                      \
 
948
          echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";         \
 
949
          if test -n "$(PACKAGE_BUGREPORT)"; then                       \
 
950
            echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
 
951
          fi;                                                           \
 
952
          echo "$$col$$br$$std";                                        \
 
953
        fi;                                                             \
 
954
        $$success || exit 1
 
955
 
 
956
check-TESTS:
 
957
        @list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
 
958
        @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
 
959
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
 
960
        @set +e; $(am__set_TESTS_bases); \
 
961
        log_list=`for i in $$bases; do echo $$i.log; done`; \
 
962
        trs_list=`for i in $$bases; do echo $$i.trs; done`; \
 
963
        log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
 
964
        $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
 
965
        exit $$?;
 
966
recheck: all 
 
967
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
 
968
        @set +e; $(am__set_TESTS_bases); \
 
969
        bases=`for i in $$bases; do echo $$i; done \
 
970
                 | $(am__list_recheck_tests)` || exit 1; \
 
971
        log_list=`for i in $$bases; do echo $$i.log; done`; \
 
972
        log_list=`echo $$log_list`; \
 
973
        $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
 
974
                am__force_recheck=am--force-recheck \
 
975
                TEST_LOGS="$$log_list"; \
 
976
        exit $$?
 
977
test-keyfile.log: test-keyfile$(EXEEXT)
 
978
        @p='test-keyfile$(EXEEXT)'; \
 
979
        b='test-keyfile'; \
 
980
        $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
 
981
        --log-file $$b.log --trs-file $$b.trs \
 
982
        $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
 
983
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
984
test-value-is-same.log: test-value-is-same$(EXEEXT)
 
985
        @p='test-value-is-same$(EXEEXT)'; \
 
986
        b='test-value-is-same'; \
 
987
        $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
 
988
        --log-file $$b.log --trs-file $$b.trs \
 
989
        $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
 
990
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
991
.test.log:
 
992
        @p='$<'; \
 
993
        $(am__set_b); \
 
994
        $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
 
995
        --log-file $$b.log --trs-file $$b.trs \
 
996
        $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
 
997
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
998
@am__EXEEXT_TRUE@.test$(EXEEXT).log:
 
999
@am__EXEEXT_TRUE@       @p='$<'; \
 
1000
@am__EXEEXT_TRUE@       $(am__set_b); \
 
1001
@am__EXEEXT_TRUE@       $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
 
1002
@am__EXEEXT_TRUE@       --log-file $$b.log --trs-file $$b.trs \
 
1003
@am__EXEEXT_TRUE@       $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
 
1004
@am__EXEEXT_TRUE@       "$$tst" $(AM_TESTS_FD_REDIRECT)
709
1005
 
710
1006
distdir: $(DISTFILES)
711
1007
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
788
1084
            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
789
1085
        fi
790
1086
mostlyclean-generic:
 
1087
        -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
 
1088
        -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
 
1089
        -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
791
1090
 
792
1091
clean-generic:
793
1092
 
869
1168
 
870
1169
uninstall-am:
871
1170
 
872
 
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
873
 
        ctags-recursive install-am install-strip tags-recursive
 
1171
.MAKE: $(am__recursive_targets) check-am install-am install-strip
874
1172
 
875
 
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
876
 
        all all-am check check-TESTS check-am clean clean-generic \
877
 
        clean-libtool clean-noinstPROGRAMS ctags ctags-recursive \
878
 
        distclean distclean-compile distclean-generic \
879
 
        distclean-libtool distclean-tags distdir dvi dvi-am html \
880
 
        html-am info info-am install install-am install-data \
881
 
        install-data-am install-dvi install-dvi-am install-exec \
882
 
        install-exec-am install-html install-html-am install-info \
883
 
        install-info-am install-man install-pdf install-pdf-am \
884
 
        install-ps install-ps-am install-strip installcheck \
885
 
        installcheck-am installdirs installdirs-am maintainer-clean \
886
 
        maintainer-clean-generic mostlyclean mostlyclean-compile \
887
 
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
888
 
        tags tags-recursive uninstall uninstall-am
 
1173
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
 
1174
        check-TESTS check-am clean clean-generic clean-libtool \
 
1175
        clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \
 
1176
        distclean-compile distclean-generic distclean-libtool \
 
1177
        distclean-tags distdir dvi dvi-am html html-am info info-am \
 
1178
        install install-am install-data install-data-am install-dvi \
 
1179
        install-dvi-am install-exec install-exec-am install-html \
 
1180
        install-html-am install-info install-info-am install-man \
 
1181
        install-pdf install-pdf-am install-ps install-ps-am \
 
1182
        install-strip installcheck installcheck-am installdirs \
 
1183
        installdirs-am maintainer-clean maintainer-clean-generic \
 
1184
        mostlyclean mostlyclean-compile mostlyclean-generic \
 
1185
        mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
 
1186
        uninstall uninstall-am
889
1187
 
890
1188
 
891
1189
# Tell versions [3.59,3.63) of GNU make to not export all variables.