/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: 2010-02-07 15:28:23 UTC
  • Revision ID: edam@waxworlds.org-20100207152823-42k206h6gwy7vla4
- fixed .am files so the library gets built!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.11.3 from Makefile.am.
 
1
# Makefile.in generated by automake 1.11 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, 2010, 2011 Free Software
6
 
# Foundation, Inc.
 
5
# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
 
6
# 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)
40
39
subdir = test
41
40
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
42
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
52
51
CONFIG_CLEAN_VPATH_FILES =
53
52
am_test_main_OBJECTS = test-main.$(OBJEXT)
54
53
test_main_OBJECTS = $(am_test_main_OBJECTS)
55
 
test_main_DEPENDENCIES = ../src/libsqlite3cc.la
 
54
test_main_DEPENDENCIES =
56
55
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
57
56
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
58
57
am__depfiles_maybe = depfiles
70
69
DIST_SOURCES = $(test_main_SOURCES)
71
70
ETAGS = etags
72
71
CTAGS = ctags
73
 
am__tty_colors = \
74
 
red=; grn=; lgn=; blu=; std=
75
72
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
76
73
ACLOCAL = @ACLOCAL@
77
74
AMTAR = @AMTAR@
84
81
CCDEPMODE = @CCDEPMODE@
85
82
CFLAGS = @CFLAGS@
86
83
CPP = @CPP@
87
 
CPPFLAGS = -I$(top_srcdir)/include
 
84
CPPFLAGS = @CPPFLAGS@
88
85
CXX = @CXX@
89
86
CXXCPP = @CXXCPP@
90
87
CXXDEPMODE = @CXXDEPMODE@
92
89
CYGPATH_W = @CYGPATH_W@
93
90
DEFS = @DEFS@
94
91
DEPDIR = @DEPDIR@
95
 
DLLTOOL = @DLLTOOL@
96
92
DSYMUTIL = @DSYMUTIL@
97
93
DUMPBIN = @DUMPBIN@
98
94
ECHO_C = @ECHO_C@
111
107
LDFLAGS = @LDFLAGS@
112
108
LIBOBJS = @LIBOBJS@
113
109
LIBS = @LIBS@
114
 
LIBSQLITE3CC_INTERFACE = @LIBSQLITE3CC_INTERFACE@
115
110
LIBTOOL = @LIBTOOL@
116
111
LIPO = @LIPO@
117
112
LN_S = @LN_S@
118
113
LTLIBOBJS = @LTLIBOBJS@
119
114
MAKEINFO = @MAKEINFO@
120
 
MANIFEST_TOOL = @MANIFEST_TOOL@
121
115
MKDIR_P = @MKDIR_P@
122
116
NM = @NM@
123
117
NMEDIT = @NMEDIT@
143
137
abs_srcdir = @abs_srcdir@
144
138
abs_top_builddir = @abs_top_builddir@
145
139
abs_top_srcdir = @abs_top_srcdir@
146
 
ac_ct_AR = @ac_ct_AR@
147
140
ac_ct_CC = @ac_ct_CC@
148
141
ac_ct_CXX = @ac_ct_CXX@
149
142
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
177
170
libexecdir = @libexecdir@
178
171
localedir = @localedir@
179
172
localstatedir = @localstatedir@
 
173
lt_ECHO = @lt_ECHO@
180
174
mandir = @mandir@
181
175
mkdir_p = @mkdir_p@
182
176
oldincludedir = @oldincludedir@
192
186
top_build_prefix = @top_build_prefix@
193
187
top_builddir = @top_builddir@
194
188
top_srcdir = @top_srcdir@
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
 
 
 
189
AM_CPPFLAGS = -I$(top_srcdir)/include
 
190
test_main_SOURCES = test-main.cc
 
191
test_main_LDADD = -L$(top_srcdir)/src -lsqlite3cc
203
192
all: all-am
204
193
 
205
194
.SUFFIXES:
243
232
        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
244
233
        echo " rm -f" $$list; \
245
234
        rm -f $$list
246
 
test-main$(EXEEXT): $(test_main_OBJECTS) $(test_main_DEPENDENCIES) $(EXTRA_test_main_DEPENDENCIES) 
 
235
test-main$(EXEEXT): $(test_main_OBJECTS) $(test_main_DEPENDENCIES) 
247
236
        @rm -f test-main$(EXEEXT)
248
237
        $(CXXLINK) $(test_main_OBJECTS) $(test_main_LDADD) $(LIBS)
249
238
 
334
323
distclean-tags:
335
324
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
336
325
 
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
 
 
430
326
distdir: $(DISTFILES)
431
327
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
432
328
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
459
355
        done
460
356
check-am: all-am
461
357
        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
462
 
        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
463
358
check: check-am
464
359
all-am: Makefile
465
360
installdirs:
473
368
 
474
369
installcheck: installcheck-am
475
370
install-strip:
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
 
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
485
375
mostlyclean-generic:
486
376
 
487
377
clean-generic:
566
456
 
567
457
.MAKE: check-am install-am install-strip
568
458
 
569
 
.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
 
459
.PHONY: CTAGS GTAGS all all-am check check-am clean \
570
460
        clean-checkPROGRAMS clean-generic clean-libtool ctags \
571
461
        distclean distclean-compile distclean-generic \
572
462
        distclean-libtool distclean-tags distdir dvi dvi-am html \