70ebab2dfa1daabb3173a4320c2fdedede9c3446
[platform/upstream/syncevolution.git] / src / client-api / build / autotools / test / Makefile.in
1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005  Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 srcdir = @srcdir@
18 top_srcdir = @top_srcdir@
19 VPATH = @srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
23 top_builddir = ..
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
31 NORMAL_INSTALL = :
32 PRE_INSTALL = :
33 POST_INSTALL = :
34 NORMAL_UNINSTALL = :
35 PRE_UNINSTALL = :
36 POST_UNINSTALL = :
37 build_triplet = @build@
38 host_triplet = @host@
39 target_triplet = @target@
40 EXTRA_PROGRAMS = client-test$(EXEEXT)
41 check_PROGRAMS = @CPPUNIT_TESTS@
42 subdir = test
43 DIST_COMMON = $(nobase_pkginclude_HEADERS) $(srcdir)/Makefile.am \
44         $(srcdir)/Makefile.in
45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
47 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
48         $(ACLOCAL_M4)
49 mkinstalldirs = $(install_sh) -d
50 CONFIG_HEADER = $(top_builddir)/config.h
51 CONFIG_CLEAN_FILES =
52 am__objects_1 = client-test-main.$(OBJEXT) client-test.$(OBJEXT) \
53         ClientTest.$(OBJEXT)
54 am__objects_2 = ArrayListTest.$(OBJEXT) BasicTimeTest.$(OBJEXT) \
55         StringBufferTest.$(OBJEXT) ParserTest.$(OBJEXT) \
56         base64Test.$(OBJEXT)
57 am__objects_3 = $(am__objects_2)
58 am_client_test_OBJECTS = $(am__objects_1) $(am__objects_3)
59 client_test_OBJECTS = $(am_client_test_OBJECTS)
60 client_test_LDADD = $(LDADD)
61 client_test_DEPENDENCIES = ../src/libfunambol.la
62 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
63 depcomp = $(SHELL) $(top_srcdir)/depcomp
64 am__depfiles_maybe = depfiles
65 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
66         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
67 LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
68         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
69         $(AM_CXXFLAGS) $(CXXFLAGS)
70 CXXLD = $(CXX)
71 CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
72         $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
73 DIST_SOURCES = $(client_test_SOURCES)
74 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
75 am__vpath_adj = case $$p in \
76     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
77     *) f=$$p;; \
78   esac;
79 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
80 am__installdirs = "$(DESTDIR)$(pkgincludedir)"
81 nobase_pkgincludeHEADERS_INSTALL = $(install_sh_DATA)
82 HEADERS = $(nobase_pkginclude_HEADERS)
83 ETAGS = etags
84 CTAGS = ctags
85 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
86 ACLOCAL = @ACLOCAL@
87 AMDEP_FALSE = @AMDEP_FALSE@
88 AMDEP_TRUE = @AMDEP_TRUE@
89 AMTAR = @AMTAR@
90 AR = @AR@
91 AUTOCONF = @AUTOCONF@
92 AUTOHEADER = @AUTOHEADER@
93 AUTOMAKE = @AUTOMAKE@
94 AWK = @AWK@
95 CC = @CC@
96 CCDEPMODE = @CCDEPMODE@
97 CFLAGS = @CFLAGS@
98 CPP = @CPP@
99 CPPFLAGS = @CPPFLAGS@
100 CPPUNIT_CXXFLAGS = @CPPUNIT_CXXFLAGS@
101 CPPUNIT_LDFLAGS = @CPPUNIT_LDFLAGS@
102 CPPUNIT_TESTS = @CPPUNIT_TESTS@
103 CURL_CFLAGS = @CURL_CFLAGS@
104 CURL_LDFLAGS = @CURL_LDFLAGS@
105 CXX = @CXX@
106 CXXCPP = @CXXCPP@
107 CXXDEPMODE = @CXXDEPMODE@
108 CXXFLAGS = @CXXFLAGS@
109 CYGPATH_W = @CYGPATH_W@
110 DEFS = @DEFS@
111 DEPDIR = @DEPDIR@
112 ECHO = @ECHO@
113 ECHO_C = @ECHO_C@
114 ECHO_N = @ECHO_N@
115 ECHO_T = @ECHO_T@
116 EGREP = @EGREP@
117 EXEEXT = @EXEEXT@
118 F77 = @F77@
119 FFLAGS = @FFLAGS@
120 INSTALL_DATA = @INSTALL_DATA@
121 INSTALL_PROGRAM = @INSTALL_PROGRAM@
122 INSTALL_SCRIPT = @INSTALL_SCRIPT@
123 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
124 LDFLAGS = @LDFLAGS@
125 LIBOBJS = @LIBOBJS@
126 LIBS = @LIBS@
127 LIBTOOL = @LIBTOOL@
128 LN_S = @LN_S@
129 LTLIBOBJS = @LTLIBOBJS@
130 MAKEINFO = @MAKEINFO@
131 OBJEXT = @OBJEXT@
132 PACKAGE = @PACKAGE@
133 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
134 PACKAGE_NAME = @PACKAGE_NAME@
135 PACKAGE_STRING = @PACKAGE_STRING@
136 PACKAGE_TARNAME = @PACKAGE_TARNAME@
137 PACKAGE_VERSION = @PACKAGE_VERSION@
138 PATH_SEPARATOR = @PATH_SEPARATOR@
139 RANLIB = @RANLIB@
140 SET_MAKE = @SET_MAKE@
141 SHELL = @SHELL@
142 STRIP = @STRIP@
143 VERSION = @VERSION@
144 ac_ct_AR = @ac_ct_AR@
145 ac_ct_CC = @ac_ct_CC@
146 ac_ct_CXX = @ac_ct_CXX@
147 ac_ct_F77 = @ac_ct_F77@
148 ac_ct_RANLIB = @ac_ct_RANLIB@
149 ac_ct_STRIP = @ac_ct_STRIP@
150 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
151 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
152 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
153 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
154 am__include = @am__include@
155 am__leading_dot = @am__leading_dot@
156 am__quote = @am__quote@
157 am__tar = @am__tar@
158 am__untar = @am__untar@
159 bindir = @bindir@
160 build = @build@
161 build_alias = @build_alias@
162 build_cpu = @build_cpu@
163 build_os = @build_os@
164 build_vendor = @build_vendor@
165 datadir = @datadir@
166 exec_prefix = @exec_prefix@
167 host = @host@
168 host_alias = @host_alias@
169 host_cpu = @host_cpu@
170 host_os = @host_os@
171 host_vendor = @host_vendor@
172 includedir = @includedir@
173 infodir = @infodir@
174 install_sh = @install_sh@
175 libdir = @libdir@
176 libexecdir = @libexecdir@
177 localstatedir = @localstatedir@
178 mandir = @mandir@
179 mkdir_p = @mkdir_p@
180 oldincludedir = @oldincludedir@
181 prefix = @prefix@
182 program_transform_name = @program_transform_name@
183 sbindir = @sbindir@
184 sharedstatedir = @sharedstatedir@
185 sysconfdir = @sysconfdir@
186 target = @target@
187 target_alias = @target_alias@
188 target_cpu = @target_cpu@
189 target_os = @target_os@
190 target_vendor = @target_vendor@
191 TESTS = @CPPUNIT_TESTS@
192 CXXDIR = $(srcdir)/../../../src/c++
193 INCDIR = $(srcdir)/../../../src/include
194 TESTDIR = $(srcdir)/../../../test
195 LDADD = ../src/libfunambol.la 
196 AM_LDFLAGS = @CURL_LDFLAGS@ @CPPUNIT_LDFLAGS@
197 AM_CXXFLAGS = @CURL_CFLAGS@ @CPPUNIT_CXXFLAGS@
198 AM_CPPFLAGS = -I$(INCDIR)/posix -I$(INCDIR)/common -DFUNAMBOL_BUILD_API
199
200 # Test runner sources
201 SOURCES = client-test-main.cpp client-test.cpp ClientTest.cpp
202
203 # Testcase sources
204 TESTS_BASE = \
205     ArrayListTest.cpp \
206     BasicTimeTest.cpp \
207     StringBufferTest.cpp \
208     ParserTest.cpp \
209     base64Test.cpp
210
211 TESTCASES = $(TESTS_BASE)
212 client_test_SOURCES = $(SOURCES) $(TESTCASES)
213
214 # also install files in a test sub directory:
215 # in source files the API internal definitions need to
216 # be removed so that the files can be used externally
217 source_files = \
218         test/ClientTest.h \
219         test/ClientTest.cpp \
220         test/client-test-main.cpp
221
222 verbatim_files = \
223         test/Algorithm/Artistic \
224         test/Algorithm/copyright \
225         test/Algorithm/Diff.pm \
226         test/Algorithm/README \
227         test/testcases/ical20.ics \
228         test/testcases/itodo20.ics \
229         test/testcases/vcal10.ics \
230         test/testcases/vcard21.vcf \
231         test/testcases/vcard30.vcf \
232         test/testcases/imemo20.ics \
233         test/testcases/ex1.xml \
234         test/testcases/ex2.xml \
235         test/testcases/syncML1.xml \
236         test/testcases/syncML2.xml \
237         test/testcases/syncML3.xml \
238         test/testcases/syncML4.xml \
239         test/testcases/syncML5.xml \
240         test/testcases/syncML6.xml \
241         test/testcases/syncML7.xml \
242         test/testcases/syncML8.xml \
243         test/testcases/wrongex.xml \
244         test/README.txt \
245         test/synccompare.pl
246
247 nobase_pkginclude_HEADERS = \
248         $(source_files) \
249         $(verbatim_files)
250
251 CLEANFILES = $(nobase_pkginclude_HEADERS)
252 all: all-am
253
254 .SUFFIXES:
255 .SUFFIXES: .cpp .lo .o .obj
256 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
257         @for dep in $?; do \
258           case '$(am__configure_deps)' in \
259             *$$dep*) \
260               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
261                 && exit 0; \
262               exit 1;; \
263           esac; \
264         done; \
265         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  test/Makefile'; \
266         cd $(top_srcdir) && \
267           $(AUTOMAKE) --gnu  test/Makefile
268 .PRECIOUS: Makefile
269 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
270         @case '$?' in \
271           *config.status*) \
272             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
273           *) \
274             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
275             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
276         esac;
277
278 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
279         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
280
281 $(top_srcdir)/configure:  $(am__configure_deps)
282         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
283 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
284         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
285
286 clean-checkPROGRAMS:
287         @list='$(check_PROGRAMS)'; for p in $$list; do \
288           f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
289           echo " rm -f $$p $$f"; \
290           rm -f $$p $$f ; \
291         done
292 client-test$(EXEEXT): $(client_test_OBJECTS) $(client_test_DEPENDENCIES) 
293         @rm -f client-test$(EXEEXT)
294         $(CXXLINK) $(client_test_LDFLAGS) $(client_test_OBJECTS) $(client_test_LDADD) $(LIBS)
295
296 mostlyclean-compile:
297         -rm -f *.$(OBJEXT)
298
299 distclean-compile:
300         -rm -f *.tab.c
301
302 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ArrayListTest.Po@am__quote@
303 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/BasicTimeTest.Po@am__quote@
304 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ClientTest.Po@am__quote@
305 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ParserTest.Po@am__quote@
306 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/StringBufferTest.Po@am__quote@
307 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base64Test.Po@am__quote@
308 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client-test-main.Po@am__quote@
309 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client-test.Po@am__quote@
310
311 .cpp.o:
312 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
313 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
314 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
315 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
316 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
317
318 .cpp.obj:
319 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
320 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
321 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
322 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
323 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
324
325 .cpp.lo:
326 @am__fastdepCXX_TRUE@   if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
327 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
328 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
329 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
330 @am__fastdepCXX_FALSE@  $(LTCXXCOMPILE) -c -o $@ $<
331
332 mostlyclean-libtool:
333         -rm -f *.lo
334
335 clean-libtool:
336         -rm -rf .libs _libs
337
338 distclean-libtool:
339         -rm -f libtool
340 uninstall-info-am:
341 install-nobase_pkgincludeHEADERS: $(nobase_pkginclude_HEADERS)
342         @$(NORMAL_INSTALL)
343         test -z "$(pkgincludedir)" || $(mkdir_p) "$(DESTDIR)$(pkgincludedir)"
344         @$(am__vpath_adj_setup) \
345         list='$(nobase_pkginclude_HEADERS)'; for p in $$list; do \
346           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
347           $(am__vpath_adj) \
348           echo " $(nobase_pkgincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgincludedir)/$$f'"; \
349           $(nobase_pkgincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgincludedir)/$$f"; \
350         done
351
352 uninstall-nobase_pkgincludeHEADERS:
353         @$(NORMAL_UNINSTALL)
354         @$(am__vpath_adj_setup) \
355         list='$(nobase_pkginclude_HEADERS)'; for p in $$list; do \
356           $(am__vpath_adj) \
357           echo " rm -f '$(DESTDIR)$(pkgincludedir)/$$f'"; \
358           rm -f "$(DESTDIR)$(pkgincludedir)/$$f"; \
359         done
360
361 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
362         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
363         unique=`for i in $$list; do \
364             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
365           done | \
366           $(AWK) '    { files[$$0] = 1; } \
367                END { for (i in files) print i; }'`; \
368         mkid -fID $$unique
369 tags: TAGS
370
371 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
372                 $(TAGS_FILES) $(LISP)
373         tags=; \
374         here=`pwd`; \
375         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
376         unique=`for i in $$list; do \
377             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
378           done | \
379           $(AWK) '    { files[$$0] = 1; } \
380                END { for (i in files) print i; }'`; \
381         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
382           test -n "$$unique" || unique=$$empty_fix; \
383           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
384             $$tags $$unique; \
385         fi
386 ctags: CTAGS
387 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
388                 $(TAGS_FILES) $(LISP)
389         tags=; \
390         here=`pwd`; \
391         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
392         unique=`for i in $$list; do \
393             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
394           done | \
395           $(AWK) '    { files[$$0] = 1; } \
396                END { for (i in files) print i; }'`; \
397         test -z "$(CTAGS_ARGS)$$tags$$unique" \
398           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
399              $$tags $$unique
400
401 GTAGS:
402         here=`$(am__cd) $(top_builddir) && pwd` \
403           && cd $(top_srcdir) \
404           && gtags -i $(GTAGS_ARGS) $$here
405
406 distclean-tags:
407         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
408
409 check-TESTS: $(TESTS)
410         @failed=0; all=0; xfail=0; xpass=0; skip=0; \
411         srcdir=$(srcdir); export srcdir; \
412         list='$(TESTS)'; \
413         if test -n "$$list"; then \
414           for tst in $$list; do \
415             if test -f ./$$tst; then dir=./; \
416             elif test -f $$tst; then dir=; \
417             else dir="$(srcdir)/"; fi; \
418             if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
419               all=`expr $$all + 1`; \
420               case " $(XFAIL_TESTS) " in \
421               *" $$tst "*) \
422                 xpass=`expr $$xpass + 1`; \
423                 failed=`expr $$failed + 1`; \
424                 echo "XPASS: $$tst"; \
425               ;; \
426               *) \
427                 echo "PASS: $$tst"; \
428               ;; \
429               esac; \
430             elif test $$? -ne 77; then \
431               all=`expr $$all + 1`; \
432               case " $(XFAIL_TESTS) " in \
433               *" $$tst "*) \
434                 xfail=`expr $$xfail + 1`; \
435                 echo "XFAIL: $$tst"; \
436               ;; \
437               *) \
438                 failed=`expr $$failed + 1`; \
439                 echo "FAIL: $$tst"; \
440               ;; \
441               esac; \
442             else \
443               skip=`expr $$skip + 1`; \
444               echo "SKIP: $$tst"; \
445             fi; \
446           done; \
447           if test "$$failed" -eq 0; then \
448             if test "$$xfail" -eq 0; then \
449               banner="All $$all tests passed"; \
450             else \
451               banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
452             fi; \
453           else \
454             if test "$$xpass" -eq 0; then \
455               banner="$$failed of $$all tests failed"; \
456             else \
457               banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
458             fi; \
459           fi; \
460           dashes="$$banner"; \
461           skipped=""; \
462           if test "$$skip" -ne 0; then \
463             skipped="($$skip tests were not run)"; \
464             test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
465               dashes="$$skipped"; \
466           fi; \
467           report=""; \
468           if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
469             report="Please report to $(PACKAGE_BUGREPORT)"; \
470             test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
471               dashes="$$report"; \
472           fi; \
473           dashes=`echo "$$dashes" | sed s/./=/g`; \
474           echo "$$dashes"; \
475           echo "$$banner"; \
476           test -z "$$skipped" || echo "$$skipped"; \
477           test -z "$$report" || echo "$$report"; \
478           echo "$$dashes"; \
479           test "$$failed" -eq 0; \
480         else :; fi
481
482 distdir: $(DISTFILES)
483         $(mkdir_p) $(distdir)/test $(distdir)/test/Algorithm $(distdir)/test/testcases
484         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
485         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
486         list='$(DISTFILES)'; for file in $$list; do \
487           case $$file in \
488             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
489             $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
490           esac; \
491           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
492           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
493           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
494             dir="/$$dir"; \
495             $(mkdir_p) "$(distdir)$$dir"; \
496           else \
497             dir=''; \
498           fi; \
499           if test -d $$d/$$file; then \
500             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
501               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
502             fi; \
503             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
504           else \
505             test -f $(distdir)/$$file \
506             || cp -p $$d/$$file $(distdir)/$$file \
507             || exit 1; \
508           fi; \
509         done
510 check-am: all-am
511         $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
512         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
513 check: check-am
514 all-am: Makefile $(HEADERS)
515 installdirs:
516         for dir in "$(DESTDIR)$(pkgincludedir)"; do \
517           test -z "$$dir" || $(mkdir_p) "$$dir"; \
518         done
519 install: install-am
520 install-exec: install-exec-am
521 install-data: install-data-am
522 uninstall: uninstall-am
523
524 install-am: all-am
525         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
526
527 installcheck: installcheck-am
528 install-strip:
529         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
530           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
531           `test -z '$(STRIP)' || \
532             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
533 mostlyclean-generic:
534
535 clean-generic:
536         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
537
538 distclean-generic:
539         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
540
541 maintainer-clean-generic:
542         @echo "This command is intended for maintainers to use"
543         @echo "it deletes files that may require special tools to rebuild."
544 clean: clean-am
545
546 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
547         mostlyclean-am
548
549 distclean: distclean-am
550         -rm -rf ./$(DEPDIR)
551         -rm -f Makefile
552 distclean-am: clean-am distclean-compile distclean-generic \
553         distclean-libtool distclean-tags
554
555 dvi: dvi-am
556
557 dvi-am:
558
559 html: html-am
560
561 info: info-am
562
563 info-am:
564
565 install-data-am: install-nobase_pkgincludeHEADERS
566
567 install-exec-am:
568
569 install-info: install-info-am
570
571 install-man:
572
573 installcheck-am:
574
575 maintainer-clean: maintainer-clean-am
576         -rm -rf ./$(DEPDIR)
577         -rm -f Makefile
578 maintainer-clean-am: distclean-am maintainer-clean-generic
579
580 mostlyclean: mostlyclean-am
581
582 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
583         mostlyclean-libtool
584
585 pdf: pdf-am
586
587 pdf-am:
588
589 ps: ps-am
590
591 ps-am:
592
593 uninstall-am: uninstall-info-am uninstall-nobase_pkgincludeHEADERS
594
595 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
596         clean-checkPROGRAMS clean-generic clean-libtool ctags \
597         distclean distclean-compile distclean-generic \
598         distclean-libtool distclean-tags distdir dvi dvi-am html \
599         html-am info info-am install install-am install-data \
600         install-data-am install-exec install-exec-am install-info \
601         install-info-am install-man install-nobase_pkgincludeHEADERS \
602         install-strip installcheck installcheck-am installdirs \
603         maintainer-clean maintainer-clean-generic mostlyclean \
604         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
605         pdf pdf-am ps ps-am tags uninstall uninstall-am \
606         uninstall-info-am uninstall-nobase_pkgincludeHEADERS
607
608
609 vpath %.cpp     $(TESTDIR) \
610                 $(TESTDIR)/common/base/util \
611                 $(TESTDIR)/common/base \
612                 $(TESTDIR)/posix/spdm/ \
613                 $(TESTDIR)/common/syncml
614
615 # ensure that files are in the current directory before the check runs
616 check-am check: client-test-files
617 .PHONY: client-test-files
618 client-test-files:
619         @ [ -e synccompare.pl ] || ln -s $(TESTDIR)/synccompare.pl .
620         @ [ -d testcases ] || ln -s $(TESTDIR)/testcases .
621         @ [ -d Algorithm ] || ln -s $(TESTDIR)/Algorithm
622
623 # fix files for public distribution
624 $(source_files): %: ../../../%
625         mkdir -p ${@D}
626         cp  $< $@
627
628 # just copy for distribution
629 $(verbatim_files): %: ../../../%
630         mkdir -p ${@D}
631         cp $< $@
632 # Tell versions [3.59,3.63) of GNU make to not export all variables.
633 # Otherwise a system limit (for SysV at least) may be exceeded.
634 .NOEXPORT: