/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to test/Makefile.in

  • Committer: edam
  • Date: 2012-04-23 18:41:32 UTC
  • Revision ID: tim@ed.am-20120423184132-uuicu56b79w0xxdp
updated autotools

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.11 from Makefile.am.
 
1
# Makefile.in generated by automake 1.11.3 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
 
# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6
 
# Inc.
 
5
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
6
# Foundation, Inc.
7
7
# This Makefile.in is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy and/or distribute it,
9
9
# with or without modifications, as long as this notice is preserved.
36
36
build_triplet = @build@
37
37
host_triplet = @host@
38
38
check_PROGRAMS = test-main$(EXEEXT)
 
39
TESTS = test-main$(EXEEXT)
39
40
subdir = test
40
41
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41
42
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
51
52
CONFIG_CLEAN_VPATH_FILES =
52
53
am_test_main_OBJECTS = test-main.$(OBJEXT)
53
54
test_main_OBJECTS = $(am_test_main_OBJECTS)
54
 
test_main_DEPENDENCIES =
 
55
test_main_DEPENDENCIES = ../src/libsqlite3cc.la
55
56
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
56
57
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
57
58
am__depfiles_maybe = depfiles
69
70
DIST_SOURCES = $(test_main_SOURCES)
70
71
ETAGS = etags
71
72
CTAGS = ctags
 
73
am__tty_colors = \
 
74
red=; grn=; lgn=; blu=; std=
72
75
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
73
76
ACLOCAL = @ACLOCAL@
74
77
AMTAR = @AMTAR@
81
84
CCDEPMODE = @CCDEPMODE@
82
85
CFLAGS = @CFLAGS@
83
86
CPP = @CPP@
84
 
CPPFLAGS = @CPPFLAGS@
 
87
CPPFLAGS = -I$(top_srcdir)/include
85
88
CXX = @CXX@
86
89
CXXCPP = @CXXCPP@
87
90
CXXDEPMODE = @CXXDEPMODE@
89
92
CYGPATH_W = @CYGPATH_W@
90
93
DEFS = @DEFS@
91
94
DEPDIR = @DEPDIR@
 
95
DLLTOOL = @DLLTOOL@
92
96
DSYMUTIL = @DSYMUTIL@
93
97
DUMPBIN = @DUMPBIN@
94
98
ECHO_C = @ECHO_C@
107
111
LDFLAGS = @LDFLAGS@
108
112
LIBOBJS = @LIBOBJS@
109
113
LIBS = @LIBS@
 
114
LIBSQLITE3CC_INTERFACE = @LIBSQLITE3CC_INTERFACE@
110
115
LIBTOOL = @LIBTOOL@
111
116
LIPO = @LIPO@
112
117
LN_S = @LN_S@
113
118
LTLIBOBJS = @LTLIBOBJS@
114
119
MAKEINFO = @MAKEINFO@
 
120
MANIFEST_TOOL = @MANIFEST_TOOL@
115
121
MKDIR_P = @MKDIR_P@
116
122
NM = @NM@
117
123
NMEDIT = @NMEDIT@
137
143
abs_srcdir = @abs_srcdir@
138
144
abs_top_builddir = @abs_top_builddir@
139
145
abs_top_srcdir = @abs_top_srcdir@
 
146
ac_ct_AR = @ac_ct_AR@
140
147
ac_ct_CC = @ac_ct_CC@
141
148
ac_ct_CXX = @ac_ct_CXX@
142
149
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
170
177
libexecdir = @libexecdir@
171
178
localedir = @localedir@
172
179
localstatedir = @localstatedir@
173
 
lt_ECHO = @lt_ECHO@
174
180
mandir = @mandir@
175
181
mkdir_p = @mkdir_p@
176
182
oldincludedir = @oldincludedir@
186
192
top_build_prefix = @top_build_prefix@
187
193
top_builddir = @top_builddir@
188
194
top_srcdir = @top_srcdir@
189
 
AM_CPPFLAGS = -I$(top_srcdir)/include
190
 
test_main_SOURCES = test-main.cc
191
 
test_main_LDADD = -L$(top_srcdir)/src -lsqlite3cc
 
195
test_main_SOURCES = \
 
196
        test-main.cc
 
197
 
 
198
test_main_LDADD = \
 
199
        ../src/libsqlite3cc.la \
 
200
        -lboost_filesystem-mt \
 
201
        -lboost_system-mt
 
202
 
192
203
all: all-am
193
204
 
194
205
.SUFFIXES:
232
243
        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
233
244
        echo " rm -f" $$list; \
234
245
        rm -f $$list
235
 
test-main$(EXEEXT): $(test_main_OBJECTS) $(test_main_DEPENDENCIES) 
 
246
test-main$(EXEEXT): $(test_main_OBJECTS) $(test_main_DEPENDENCIES) $(EXTRA_test_main_DEPENDENCIES) 
236
247
        @rm -f test-main$(EXEEXT)
237
248
        $(CXXLINK) $(test_main_OBJECTS) $(test_main_LDADD) $(LIBS)
238
249
 
323
334
distclean-tags:
324
335
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
325
336
 
 
337
check-TESTS: $(TESTS)
 
338
        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
 
339
        srcdir=$(srcdir); export srcdir; \
 
340
        list=' $(TESTS) '; \
 
341
        $(am__tty_colors); \
 
342
        if test -n "$$list"; then \
 
343
          for tst in $$list; do \
 
344
            if test -f ./$$tst; then dir=./; \
 
345
            elif test -f $$tst; then dir=; \
 
346
            else dir="$(srcdir)/"; fi; \
 
347
            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
 
348
              all=`expr $$all + 1`; \
 
349
              case " $(XFAIL_TESTS) " in \
 
350
              *[\ \     ]$$tst[\ \      ]*) \
 
351
                xpass=`expr $$xpass + 1`; \
 
352
                failed=`expr $$failed + 1`; \
 
353
                col=$$red; res=XPASS; \
 
354
              ;; \
 
355
              *) \
 
356
                col=$$grn; res=PASS; \
 
357
              ;; \
 
358
              esac; \
 
359
            elif test $$? -ne 77; then \
 
360
              all=`expr $$all + 1`; \
 
361
              case " $(XFAIL_TESTS) " in \
 
362
              *[\ \     ]$$tst[\ \      ]*) \
 
363
                xfail=`expr $$xfail + 1`; \
 
364
                col=$$lgn; res=XFAIL; \
 
365
              ;; \
 
366
              *) \
 
367
                failed=`expr $$failed + 1`; \
 
368
                col=$$red; res=FAIL; \
 
369
              ;; \
 
370
              esac; \
 
371
            else \
 
372
              skip=`expr $$skip + 1`; \
 
373
              col=$$blu; res=SKIP; \
 
374
            fi; \
 
375
            echo "$${col}$$res$${std}: $$tst"; \
 
376
          done; \
 
377
          if test "$$all" -eq 1; then \
 
378
            tests="test"; \
 
379
            All=""; \
 
380
          else \
 
381
            tests="tests"; \
 
382
            All="All "; \
 
383
          fi; \
 
384
          if test "$$failed" -eq 0; then \
 
385
            if test "$$xfail" -eq 0; then \
 
386
              banner="$$All$$all $$tests passed"; \
 
387
            else \
 
388
              if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
 
389
              banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
 
390
            fi; \
 
391
          else \
 
392
            if test "$$xpass" -eq 0; then \
 
393
              banner="$$failed of $$all $$tests failed"; \
 
394
            else \
 
395
              if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
 
396
              banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
 
397
            fi; \
 
398
          fi; \
 
399
          dashes="$$banner"; \
 
400
          skipped=""; \
 
401
          if test "$$skip" -ne 0; then \
 
402
            if test "$$skip" -eq 1; then \
 
403
              skipped="($$skip test was not run)"; \
 
404
            else \
 
405
              skipped="($$skip tests were not run)"; \
 
406
            fi; \
 
407
            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
 
408
              dashes="$$skipped"; \
 
409
          fi; \
 
410
          report=""; \
 
411
          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
 
412
            report="Please report to $(PACKAGE_BUGREPORT)"; \
 
413
            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
 
414
              dashes="$$report"; \
 
415
          fi; \
 
416
          dashes=`echo "$$dashes" | sed s/./=/g`; \
 
417
          if test "$$failed" -eq 0; then \
 
418
            col="$$grn"; \
 
419
          else \
 
420
            col="$$red"; \
 
421
          fi; \
 
422
          echo "$${col}$$dashes$${std}"; \
 
423
          echo "$${col}$$banner$${std}"; \
 
424
          test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
 
425
          test -z "$$report" || echo "$${col}$$report$${std}"; \
 
426
          echo "$${col}$$dashes$${std}"; \
 
427
          test "$$failed" -eq 0; \
 
428
        else :; fi
 
429
 
326
430
distdir: $(DISTFILES)
327
431
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
328
432
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
355
459
        done
356
460
check-am: all-am
357
461
        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
 
462
        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
358
463
check: check-am
359
464
all-am: Makefile
360
465
installdirs:
368
473
 
369
474
installcheck: installcheck-am
370
475
install-strip:
371
 
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
372
 
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
373
 
          `test -z '$(STRIP)' || \
374
 
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 
476
        if test -z '$(STRIP)'; then \
 
477
          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
478
            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
479
              install; \
 
480
        else \
 
481
          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
482
            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
483
            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
 
484
        fi
375
485
mostlyclean-generic:
376
486
 
377
487
clean-generic:
456
566
 
457
567
.MAKE: check-am install-am install-strip
458
568
 
459
 
.PHONY: CTAGS GTAGS all all-am check check-am clean \
 
569
.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
460
570
        clean-checkPROGRAMS clean-generic clean-libtool ctags \
461
571
        distclean distclean-compile distclean-generic \
462
572
        distclean-libtool distclean-tags distdir dvi dvi-am html \