~ubuntu-branches/ubuntu/vivid/gtk2-engines/vivid

« back to all changes in this revision

Viewing changes to .pc/90_autoreconf.patch/test/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Loïc Minier
  • Date: 2011-12-01 15:44:02 UTC
  • Revision ID: package-import@ubuntu.com-20111201154402-xyv9lqrl8jxnz1er
Tags: 1:2.20.2-0ubuntu2
* Update watch file to only track GNOME 2.20 as gtk-engines was then ported
  to gtk3 and finally abandoned.
* Fix FTBFS due to missing -lm.
  - New patch 20_link-with-libm, adds AC_CHECK_LIBM and AC_SUBST(LIBM) to
    configure.ac and $(LIBM) to Makefile.am files for engines which need it
    in LIBADD.
  - New patch 90_autoreconf, generated with autoreconf -fi %% rm -rf
    autom4te.cache engines/support/*~; needed for 20_link-with-libm.
  - Drop patch 99_ltmain_as-needed, doesn't apply anymore since the addition
    of 90_autoreconf, but is probably obsoleted by it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in generated by automake 1.11.1 from Makefile.am.
 
2
# @configure_input@
 
3
 
 
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.
 
7
# This Makefile.in is free software; the Free Software Foundation
 
8
# gives unlimited permission to copy and/or distribute it,
 
9
# with or without modifications, as long as this notice is preserved.
 
10
 
 
11
# This program is distributed in the hope that it will be useful,
 
12
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 
13
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 
14
# PARTICULAR PURPOSE.
 
15
 
 
16
@SET_MAKE@
 
17
 
 
18
# gtk-engines - a collection of drawing engines for GTK+ 
 
19
# Copyright (C) 2007 Benjamin Berg <benjamin@sipsolutions.net>
 
20
#
 
21
# This library is free software; you can redistribute it and/or
 
22
# modify it under the terms of the GNU Lesser General Public
 
23
# License as published by the Free Software Foundation; either
 
24
# version 2.1 of the License, or (at your option) any later version.
 
25
 
26
# This library is distributed in the hope that it will be useful,
 
27
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
28
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
29
# Lesser General Public License for more details.
 
30
 
31
# You should have received a copy of the GNU Lesser General Public
 
32
# License along with this library; if not, write to the Free Software
 
33
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
34
#
 
35
# Project contact: <gnome-themes-list@gnome.org>
 
36
#
 
37
VPATH = @srcdir@
 
38
pkgdatadir = $(datadir)/@PACKAGE@
 
39
pkgincludedir = $(includedir)/@PACKAGE@
 
40
pkglibdir = $(libdir)/@PACKAGE@
 
41
pkglibexecdir = $(libexecdir)/@PACKAGE@
 
42
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
43
install_sh_DATA = $(install_sh) -c -m 644
 
44
install_sh_PROGRAM = $(install_sh) -c
 
45
install_sh_SCRIPT = $(install_sh) -c
 
46
INSTALL_HEADER = $(INSTALL_DATA)
 
47
transform = $(program_transform_name)
 
48
NORMAL_INSTALL = :
 
49
PRE_INSTALL = :
 
50
POST_INSTALL = :
 
51
NORMAL_UNINSTALL = :
 
52
PRE_UNINSTALL = :
 
53
POST_UNINSTALL = :
 
54
build_triplet = @build@
 
55
host_triplet = @host@
 
56
XFAIL_TESTS =
 
57
EXTRA_PROGRAMS = torturetest$(EXEEXT)
 
58
subdir = test
 
59
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
60
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
61
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
 
62
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
63
        $(ACLOCAL_M4)
 
64
mkinstalldirs = $(install_sh) -d
 
65
CONFIG_HEADER = $(top_builddir)/engines/support/config.h
 
66
CONFIG_CLEAN_FILES =
 
67
CONFIG_CLEAN_VPATH_FILES =
 
68
torturetest_SOURCES = torturetest.c
 
69
torturetest_OBJECTS = torturetest-torturetest.$(OBJEXT)
 
70
torturetest_LDADD = $(LDADD)
 
71
AM_V_lt = $(am__v_lt_$(V))
 
72
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
 
73
am__v_lt_0 = --silent
 
74
torturetest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 
75
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(torturetest_CFLAGS) \
 
76
        $(CFLAGS) $(torturetest_LDFLAGS) $(LDFLAGS) -o $@
 
77
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/engines/support
 
78
depcomp = $(SHELL) $(top_srcdir)/depcomp
 
79
am__depfiles_maybe = depfiles
 
80
am__mv = mv -f
 
81
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 
82
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
83
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 
84
        $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
 
85
        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
 
86
        $(AM_CFLAGS) $(CFLAGS)
 
87
AM_V_CC = $(am__v_CC_$(V))
 
88
am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
 
89
am__v_CC_0 = @echo "  CC    " $@;
 
90
AM_V_at = $(am__v_at_$(V))
 
91
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
 
92
am__v_at_0 = @
 
93
CCLD = $(CC)
 
94
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 
95
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
 
96
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
 
97
AM_V_CCLD = $(am__v_CCLD_$(V))
 
98
am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
 
99
am__v_CCLD_0 = @echo "  CCLD  " $@;
 
100
AM_V_GEN = $(am__v_GEN_$(V))
 
101
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
 
102
am__v_GEN_0 = @echo "  GEN   " $@;
 
103
SOURCES = torturetest.c
 
104
DIST_SOURCES = torturetest.c
 
105
ETAGS = etags
 
106
CTAGS = ctags
 
107
am__tty_colors = \
 
108
red=; grn=; lgn=; blu=; std=
 
109
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
110
ACLOCAL = @ACLOCAL@
 
111
ALL_LINGUAS = @ALL_LINGUAS@
 
112
AMTAR = @AMTAR@
 
113
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
 
114
AR = @AR@
 
115
AS = @AS@
 
116
AUTOCONF = @AUTOCONF@
 
117
AUTOHEADER = @AUTOHEADER@
 
118
AUTOMAKE = @AUTOMAKE@
 
119
AWK = @AWK@
 
120
BUILD_ENGINES = @BUILD_ENGINES@
 
121
BUILD_SCHEMAS = @BUILD_SCHEMAS@
 
122
BUILD_THEMES = @BUILD_THEMES@
 
123
CATALOGS = @CATALOGS@
 
124
CATOBJEXT = @CATOBJEXT@
 
125
CC = @CC@
 
126
CCDEPMODE = @CCDEPMODE@
 
127
CFLAGS = @CFLAGS@
 
128
CPP = @CPP@
 
129
CPPFLAGS = @CPPFLAGS@
 
130
CYGPATH_W = @CYGPATH_W@
 
131
DATADIRNAME = @DATADIRNAME@
 
132
DEFS = @DEFS@
 
133
DEPDIR = @DEPDIR@
 
134
DEVELOPMENT_CFLAGS = @DEVELOPMENT_CFLAGS@
 
135
DLLTOOL = @DLLTOOL@
 
136
DSYMUTIL = @DSYMUTIL@
 
137
DUMPBIN = @DUMPBIN@
 
138
ECHO_C = @ECHO_C@
 
139
ECHO_N = @ECHO_N@
 
140
ECHO_T = @ECHO_T@
 
141
EGREP = @EGREP@
 
142
EXEEXT = @EXEEXT@
 
143
FGREP = @FGREP@
 
144
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
 
145
GMOFILES = @GMOFILES@
 
146
GMSGFMT = @GMSGFMT@
 
147
GREP = @GREP@
 
148
GTK_CFLAGS = @GTK_CFLAGS@
 
149
GTK_LIBS = @GTK_LIBS@
 
150
GTK_VERSION = @GTK_VERSION@
 
151
INSTALL = @INSTALL@
 
152
INSTALL_DATA = @INSTALL_DATA@
 
153
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
154
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
155
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
156
INSTOBJEXT = @INSTOBJEXT@
 
157
INTLLIBS = @INTLLIBS@
 
158
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
 
159
INTLTOOL_MERGE = @INTLTOOL_MERGE@
 
160
INTLTOOL_PERL = @INTLTOOL_PERL@
 
161
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
 
162
LD = @LD@
 
163
LDFLAGS = @LDFLAGS@
 
164
LIBOBJS = @LIBOBJS@
 
165
LIBS = @LIBS@
 
166
LIBTOOL = @LIBTOOL@
 
167
LIPO = @LIPO@
 
168
LN_S = @LN_S@
 
169
LTLIBOBJS = @LTLIBOBJS@
 
170
LUA_CFLAGS = @LUA_CFLAGS@
 
171
LUA_LIBS = @LUA_LIBS@
 
172
MAINT = @MAINT@
 
173
MAKEINFO = @MAKEINFO@
 
174
MKDIR_P = @MKDIR_P@
 
175
MKINSTALLDIRS = @MKINSTALLDIRS@
 
176
MSGFMT = @MSGFMT@
 
177
MSGFMT_OPTS = @MSGFMT_OPTS@
 
178
MSGMERGE = @MSGMERGE@
 
179
NM = @NM@
 
180
NMEDIT = @NMEDIT@
 
181
OBJDUMP = @OBJDUMP@
 
182
OBJEXT = @OBJEXT@
 
183
OTOOL = @OTOOL@
 
184
OTOOL64 = @OTOOL64@
 
185
PACKAGE = @PACKAGE@
 
186
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
187
PACKAGE_NAME = @PACKAGE_NAME@
 
188
PACKAGE_STRING = @PACKAGE_STRING@
 
189
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
190
PACKAGE_URL = @PACKAGE_URL@
 
191
PACKAGE_VERSION = @PACKAGE_VERSION@
 
192
PATH_SEPARATOR = @PATH_SEPARATOR@
 
193
PKG_CONFIG = @PKG_CONFIG@
 
194
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
 
195
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
 
196
POFILES = @POFILES@
 
197
POSUB = @POSUB@
 
198
PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
 
199
PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
 
200
RANLIB = @RANLIB@
 
201
SED = @SED@
 
202
SET_MAKE = @SET_MAKE@
 
203
SHELL = @SHELL@
 
204
STRIP = @STRIP@
 
205
USE_NLS = @USE_NLS@
 
206
VERSION = @VERSION@
 
207
XGETTEXT = @XGETTEXT@
 
208
abs_builddir = @abs_builddir@
 
209
abs_srcdir = @abs_srcdir@
 
210
abs_top_builddir = @abs_top_builddir@
 
211
abs_top_srcdir = @abs_top_srcdir@
 
212
ac_ct_CC = @ac_ct_CC@
 
213
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
 
214
am__include = @am__include@
 
215
am__leading_dot = @am__leading_dot@
 
216
am__quote = @am__quote@
 
217
am__tar = @am__tar@
 
218
am__untar = @am__untar@
 
219
bindir = @bindir@
 
220
build = @build@
 
221
build_alias = @build_alias@
 
222
build_cpu = @build_cpu@
 
223
build_os = @build_os@
 
224
build_vendor = @build_vendor@
 
225
builddir = @builddir@
 
226
datadir = @datadir@
 
227
datarootdir = @datarootdir@
 
228
docdir = @docdir@
 
229
dvidir = @dvidir@
 
230
exec_prefix = @exec_prefix@
 
231
host = @host@
 
232
host_alias = @host_alias@
 
233
host_cpu = @host_cpu@
 
234
host_os = @host_os@
 
235
host_vendor = @host_vendor@
 
236
htmldir = @htmldir@
 
237
includedir = @includedir@
 
238
infodir = @infodir@
 
239
install_sh = @install_sh@
 
240
libdir = @libdir@
 
241
libexecdir = @libexecdir@
 
242
localedir = @localedir@
 
243
localstatedir = @localstatedir@
 
244
lt_ECHO = @lt_ECHO@
 
245
mandir = @mandir@
 
246
mkdir_p = @mkdir_p@
 
247
oldincludedir = @oldincludedir@
 
248
pdfdir = @pdfdir@
 
249
prefix = @prefix@
 
250
program_transform_name = @program_transform_name@
 
251
psdir = @psdir@
 
252
sbindir = @sbindir@
 
253
sharedstatedir = @sharedstatedir@
 
254
srcdir = @srcdir@
 
255
sysconfdir = @sysconfdir@
 
256
target_alias = @target_alias@
 
257
top_build_prefix = @top_build_prefix@
 
258
top_builddir = @top_builddir@
 
259
top_srcdir = @top_srcdir@
 
260
 
 
261
# Initilize TESTS and XFAIL_TESTS
 
262
 
 
263
# Add TORTURE_TEST_ENGINES to list of tests
 
264
TESTS = $(EXPORTED_SYMBOLS_TESTS) $(TORTURE_TEST_TESTS)
 
265
GTKRCS = \
 
266
        gtkrcs/buildin                  \
 
267
        gtkrcs/clearlooks               \
 
268
        gtkrcs/clearlooks-glossy        \
 
269
        gtkrcs/clearlooks-inverted      \
 
270
        gtkrcs/clearlooks-gummy         \
 
271
        gtkrcs/crux                     \
 
272
        gtkrcs/glide                    \
 
273
        gtkrcs/hc                       \
 
274
        gtkrcs/industrial               \
 
275
        gtkrcs/mist                     \
 
276
        gtkrcs/redmond                  \
 
277
        gtkrcs/thinice
 
278
 
 
279
EXTRA_DIST = exported torture runinx valgrind-suppressions $(GTKRCS)
 
280
torturetest_CFLAGS = $(GTK_CFLAGS)
 
281
torturetest_LDFLAGS = $(GTK_LIBS)
 
282
 
 
283
# Setup enviroment variables for GTK+
 
284
# ie. add $(top_builddir)/tests to the module searchpath, so that GTK+ finds
 
285
# the engines in tests/engines
 
286
# Also set the debug-blocks debugging of g_slice, will be overridden during the valgrind test.
 
287
# Unset GTK_MODULES to not load a11y stuff or similar.
 
288
TESTS_ENVIRONMENT = GTK_PATH="." G_SLICE=debug-blocks GTK_MODULES=""
 
289
VALGRIND_COMMAND = valgrind --leak-resolution=high --leak-check=full --suppressions=$(srcdir)/valgrind-suppressions --num-callers=20 --log-file=valgrind-logs/THEME
 
290
# set some flags to make glib more valgrind friendly
 
291
VALGRIND_ENV = G_SLICE=always-malloc G_DEBUG=gc-friendly,resident-modules
 
292
 
 
293
#################################################################
 
294
#################################################################
 
295
 
 
296
#############################################################
 
297
# Exported Symbols Test - Tests all engines unconditionally
 
298
#############################################################
 
299
# Prefix with exported_
 
300
EXPORTED_SYMBOLS_TESTS = $(patsubst %,exported_%,$(BUILD_ENGINES))
 
301
 
 
302
#############################################################
 
303
# Torture Test
 
304
#############################################################
 
305
SUPPORTED_TORTURE_TEST_ENGINES = \
 
306
        clearlooks      \
 
307
        crux            \
 
308
        glide           \
 
309
        hc              \
 
310
        industrial      \
 
311
        mist            \
 
312
        redmond         \
 
313
        thinice
 
314
 
 
315
 
 
316
# Filter engines that are not build from the set of engines
 
317
TORTURE_TEST_ENGINES = $(filter $(SUPPORTED_TORTURE_TEST_ENGINES),$(BUILD_ENGINES))
 
318
# Prefix with torture_
 
319
TORTURE_TEST_TESTS = torture_buildin $(patsubst %,torture_%,$(TORTURE_TEST_ENGINES))
 
320
CLEANFILES = \
 
321
        torture_buildin-failed \
 
322
        $(EXTRA_PROGRAMS)
 
323
 
 
324
all: all-am
 
325
 
 
326
.SUFFIXES:
 
327
.SUFFIXES: .c .lo .o .obj
 
328
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
 
329
        @for dep in $?; do \
 
330
          case '$(am__configure_deps)' in \
 
331
            *$$dep*) \
 
332
              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
 
333
                && { if test -f $@; then exit 0; else break; fi; }; \
 
334
              exit 1;; \
 
335
          esac; \
 
336
        done; \
 
337
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/Makefile'; \
 
338
        $(am__cd) $(top_srcdir) && \
 
339
          $(AUTOMAKE) --gnu test/Makefile
 
340
.PRECIOUS: Makefile
 
341
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
342
        @case '$?' in \
 
343
          *config.status*) \
 
344
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 
345
          *) \
 
346
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 
347
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 
348
        esac;
 
349
 
 
350
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
351
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
352
 
 
353
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 
354
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
355
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
 
356
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
357
$(am__aclocal_m4_deps):
 
358
torturetest$(EXEEXT): $(torturetest_OBJECTS) $(torturetest_DEPENDENCIES) 
 
359
        @rm -f torturetest$(EXEEXT)
 
360
        $(AM_V_CCLD)$(torturetest_LINK) $(torturetest_OBJECTS) $(torturetest_LDADD) $(LIBS)
 
361
 
 
362
mostlyclean-compile:
 
363
        -rm -f *.$(OBJEXT)
 
364
 
 
365
distclean-compile:
 
366
        -rm -f *.tab.c
 
367
 
 
368
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/torturetest-torturetest.Po@am__quote@
 
369
 
 
370
.c.o:
 
371
@am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
 
372
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
 
373
@am__fastdepCC_FALSE@   $(AM_V_CC) @AM_BACKSLASH@
 
374
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 
375
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 
376
@am__fastdepCC_FALSE@   $(COMPILE) -c $<
 
377
 
 
378
.c.obj:
 
379
@am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
 
380
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
 
381
@am__fastdepCC_FALSE@   $(AM_V_CC) @AM_BACKSLASH@
 
382
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 
383
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 
384
@am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
 
385
 
 
386
.c.lo:
 
387
@am__fastdepCC_TRUE@    $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
 
388
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
 
389
@am__fastdepCC_FALSE@   $(AM_V_CC) @AM_BACKSLASH@
 
390
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
 
391
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 
392
@am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
 
393
 
 
394
torturetest-torturetest.o: torturetest.c
 
395
@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(torturetest_CFLAGS) $(CFLAGS) -MT torturetest-torturetest.o -MD -MP -MF $(DEPDIR)/torturetest-torturetest.Tpo -c -o torturetest-torturetest.o `test -f 'torturetest.c' || echo '$(srcdir)/'`torturetest.c
 
396
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/torturetest-torturetest.Tpo $(DEPDIR)/torturetest-torturetest.Po
 
397
@am__fastdepCC_FALSE@   $(AM_V_CC) @AM_BACKSLASH@
 
398
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='torturetest.c' object='torturetest-torturetest.o' libtool=no @AMDEPBACKSLASH@
 
399
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 
400
@am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(torturetest_CFLAGS) $(CFLAGS) -c -o torturetest-torturetest.o `test -f 'torturetest.c' || echo '$(srcdir)/'`torturetest.c
 
401
 
 
402
torturetest-torturetest.obj: torturetest.c
 
403
@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(torturetest_CFLAGS) $(CFLAGS) -MT torturetest-torturetest.obj -MD -MP -MF $(DEPDIR)/torturetest-torturetest.Tpo -c -o torturetest-torturetest.obj `if test -f 'torturetest.c'; then $(CYGPATH_W) 'torturetest.c'; else $(CYGPATH_W) '$(srcdir)/torturetest.c'; fi`
 
404
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/torturetest-torturetest.Tpo $(DEPDIR)/torturetest-torturetest.Po
 
405
@am__fastdepCC_FALSE@   $(AM_V_CC) @AM_BACKSLASH@
 
406
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='torturetest.c' object='torturetest-torturetest.obj' libtool=no @AMDEPBACKSLASH@
 
407
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 
408
@am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(torturetest_CFLAGS) $(CFLAGS) -c -o torturetest-torturetest.obj `if test -f 'torturetest.c'; then $(CYGPATH_W) 'torturetest.c'; else $(CYGPATH_W) '$(srcdir)/torturetest.c'; fi`
 
409
 
 
410
mostlyclean-libtool:
 
411
        -rm -f *.lo
 
412
 
 
413
clean-libtool:
 
414
        -rm -rf .libs _libs
 
415
 
 
416
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
 
417
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
 
418
        unique=`for i in $$list; do \
 
419
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
420
          done | \
 
421
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
422
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
423
        mkid -fID $$unique
 
424
tags: TAGS
 
425
 
 
426
TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
427
                $(TAGS_FILES) $(LISP)
 
428
        set x; \
 
429
        here=`pwd`; \
 
430
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
 
431
        unique=`for i in $$list; do \
 
432
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
433
          done | \
 
434
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
435
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
436
        shift; \
 
437
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
 
438
          test -n "$$unique" || unique=$$empty_fix; \
 
439
          if test $$# -gt 0; then \
 
440
            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
 
441
              "$$@" $$unique; \
 
442
          else \
 
443
            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
 
444
              $$unique; \
 
445
          fi; \
 
446
        fi
 
447
ctags: CTAGS
 
448
CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
449
                $(TAGS_FILES) $(LISP)
 
450
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
 
451
        unique=`for i in $$list; do \
 
452
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
453
          done | \
 
454
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
455
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
456
        test -z "$(CTAGS_ARGS)$$unique" \
 
457
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
 
458
             $$unique
 
459
 
 
460
GTAGS:
 
461
        here=`$(am__cd) $(top_builddir) && pwd` \
 
462
          && $(am__cd) $(top_srcdir) \
 
463
          && gtags -i $(GTAGS_ARGS) "$$here"
 
464
 
 
465
distclean-tags:
 
466
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 
467
 
 
468
check-TESTS: $(TESTS)
 
469
        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
 
470
        srcdir=$(srcdir); export srcdir; \
 
471
        list=' $(TESTS) '; \
 
472
        $(am__tty_colors); \
 
473
        if test -n "$$list"; then \
 
474
          for tst in $$list; do \
 
475
            if test -f ./$$tst; then dir=./; \
 
476
            elif test -f $$tst; then dir=; \
 
477
            else dir="$(srcdir)/"; fi; \
 
478
            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
 
479
              all=`expr $$all + 1`; \
 
480
              case " $(XFAIL_TESTS) " in \
 
481
              *[\ \     ]$$tst[\ \      ]*) \
 
482
                xpass=`expr $$xpass + 1`; \
 
483
                failed=`expr $$failed + 1`; \
 
484
                col=$$red; res=XPASS; \
 
485
              ;; \
 
486
              *) \
 
487
                col=$$grn; res=PASS; \
 
488
              ;; \
 
489
              esac; \
 
490
            elif test $$? -ne 77; then \
 
491
              all=`expr $$all + 1`; \
 
492
              case " $(XFAIL_TESTS) " in \
 
493
              *[\ \     ]$$tst[\ \      ]*) \
 
494
                xfail=`expr $$xfail + 1`; \
 
495
                col=$$lgn; res=XFAIL; \
 
496
              ;; \
 
497
              *) \
 
498
                failed=`expr $$failed + 1`; \
 
499
                col=$$red; res=FAIL; \
 
500
              ;; \
 
501
              esac; \
 
502
            else \
 
503
              skip=`expr $$skip + 1`; \
 
504
              col=$$blu; res=SKIP; \
 
505
            fi; \
 
506
            echo "$${col}$$res$${std}: $$tst"; \
 
507
          done; \
 
508
          if test "$$all" -eq 1; then \
 
509
            tests="test"; \
 
510
            All=""; \
 
511
          else \
 
512
            tests="tests"; \
 
513
            All="All "; \
 
514
          fi; \
 
515
          if test "$$failed" -eq 0; then \
 
516
            if test "$$xfail" -eq 0; then \
 
517
              banner="$$All$$all $$tests passed"; \
 
518
            else \
 
519
              if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
 
520
              banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
 
521
            fi; \
 
522
          else \
 
523
            if test "$$xpass" -eq 0; then \
 
524
              banner="$$failed of $$all $$tests failed"; \
 
525
            else \
 
526
              if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
 
527
              banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
 
528
            fi; \
 
529
          fi; \
 
530
          dashes="$$banner"; \
 
531
          skipped=""; \
 
532
          if test "$$skip" -ne 0; then \
 
533
            if test "$$skip" -eq 1; then \
 
534
              skipped="($$skip test was not run)"; \
 
535
            else \
 
536
              skipped="($$skip tests were not run)"; \
 
537
            fi; \
 
538
            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
 
539
              dashes="$$skipped"; \
 
540
          fi; \
 
541
          report=""; \
 
542
          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
 
543
            report="Please report to $(PACKAGE_BUGREPORT)"; \
 
544
            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
 
545
              dashes="$$report"; \
 
546
          fi; \
 
547
          dashes=`echo "$$dashes" | sed s/./=/g`; \
 
548
          if test "$$failed" -eq 0; then \
 
549
            echo "$$grn$$dashes"; \
 
550
          else \
 
551
            echo "$$red$$dashes"; \
 
552
          fi; \
 
553
          echo "$$banner"; \
 
554
          test -z "$$skipped" || echo "$$skipped"; \
 
555
          test -z "$$report" || echo "$$report"; \
 
556
          echo "$$dashes$$std"; \
 
557
          test "$$failed" -eq 0; \
 
558
        else :; fi
 
559
 
 
560
distdir: $(DISTFILES)
 
561
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
562
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 
563
        list='$(DISTFILES)'; \
 
564
          dist_files=`for file in $$list; do echo $$file; done | \
 
565
          sed -e "s|^$$srcdirstrip/||;t" \
 
566
              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
 
567
        case $$dist_files in \
 
568
          */*) $(MKDIR_P) `echo "$$dist_files" | \
 
569
                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
 
570
                           sort -u` ;; \
 
571
        esac; \
 
572
        for file in $$dist_files; do \
 
573
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 
574
          if test -d $$d/$$file; then \
 
575
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
 
576
            if test -d "$(distdir)/$$file"; then \
 
577
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 
578
            fi; \
 
579
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
 
580
              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
 
581
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 
582
            fi; \
 
583
            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
 
584
          else \
 
585
            test -f "$(distdir)/$$file" \
 
586
            || cp -p $$d/$$file "$(distdir)/$$file" \
 
587
            || exit 1; \
 
588
          fi; \
 
589
        done
 
590
check-am: all-am
 
591
        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
 
592
check: check-am
 
593
all-am: Makefile
 
594
installdirs:
 
595
install: install-am
 
596
install-exec: install-exec-am
 
597
install-data: install-data-am
 
598
uninstall: uninstall-am
 
599
 
 
600
install-am: all-am
 
601
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
602
 
 
603
installcheck: installcheck-am
 
604
install-strip:
 
605
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
606
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
607
          `test -z '$(STRIP)' || \
 
608
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 
609
mostlyclean-generic:
 
610
 
 
611
clean-generic:
 
612
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
613
 
 
614
distclean-generic:
 
615
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
616
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
 
617
 
 
618
maintainer-clean-generic:
 
619
        @echo "This command is intended for maintainers to use"
 
620
        @echo "it deletes files that may require special tools to rebuild."
 
621
clean: clean-am
 
622
 
 
623
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
 
624
 
 
625
distclean: distclean-am
 
626
        -rm -rf ./$(DEPDIR)
 
627
        -rm -f Makefile
 
628
distclean-am: clean-am distclean-compile distclean-generic \
 
629
        distclean-tags
 
630
 
 
631
dvi: dvi-am
 
632
 
 
633
dvi-am:
 
634
 
 
635
html: html-am
 
636
 
 
637
html-am:
 
638
 
 
639
info: info-am
 
640
 
 
641
info-am:
 
642
 
 
643
install-data-am:
 
644
 
 
645
install-dvi: install-dvi-am
 
646
 
 
647
install-dvi-am:
 
648
 
 
649
install-exec-am:
 
650
 
 
651
install-html: install-html-am
 
652
 
 
653
install-html-am:
 
654
 
 
655
install-info: install-info-am
 
656
 
 
657
install-info-am:
 
658
 
 
659
install-man:
 
660
 
 
661
install-pdf: install-pdf-am
 
662
 
 
663
install-pdf-am:
 
664
 
 
665
install-ps: install-ps-am
 
666
 
 
667
install-ps-am:
 
668
 
 
669
installcheck-am:
 
670
 
 
671
maintainer-clean: maintainer-clean-am
 
672
        -rm -rf ./$(DEPDIR)
 
673
        -rm -f Makefile
 
674
maintainer-clean-am: distclean-am maintainer-clean-generic
 
675
 
 
676
mostlyclean: mostlyclean-am
 
677
 
 
678
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
 
679
        mostlyclean-libtool
 
680
 
 
681
pdf: pdf-am
 
682
 
 
683
pdf-am:
 
684
 
 
685
ps: ps-am
 
686
 
 
687
ps-am:
 
688
 
 
689
uninstall-am:
 
690
 
 
691
.MAKE: check-am install-am install-strip
 
692
 
 
693
.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
 
694
        clean-generic clean-libtool clean-local ctags distclean \
 
695
        distclean-compile distclean-generic distclean-libtool \
 
696
        distclean-tags distdir dvi dvi-am html html-am info info-am \
 
697
        install install-am install-data install-data-am install-dvi \
 
698
        install-dvi-am install-exec install-exec-am install-html \
 
699
        install-html-am install-info install-info-am install-man \
 
700
        install-pdf install-pdf-am install-ps install-ps-am \
 
701
        install-strip installcheck installcheck-am installdirs \
 
702
        maintainer-clean maintainer-clean-generic mostlyclean \
 
703
        mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
 
704
        pdf pdf-am ps ps-am tags uninstall uninstall-am
 
705
 
 
706
 
 
707
# Possible other tests:
 
708
#  - An extensive theme switch tests that loads/unloads the engine
 
709
#    multiple times. A requirement here is that multiple rc styles need
 
710
#    to be merged.
 
711
#  - RC style merging? Don't think there is a way to do that.
 
712
#  - Maybe a visual test that looks for visible changes? That way one can
 
713
#    check that a modification does not break anything. (eg. when doing
 
714
#    code cleanups)
 
715
#  - I would love to have some coverage statistics for the torture test
 
716
#    anyone knows how to do that?
 
717
 
 
718
#################################################################
 
719
#################################################################
 
720
 
 
721
engines:
 
722
        -rm -rf engines
 
723
        mkdir engines
 
724
        cd engines; \
 
725
        for engine in $(BUILD_ENGINES); do \
 
726
                # Fail if the engine does not exist. \
 
727
                # Maybe we should force a build or something? \
 
728
                if [ ! -f ../$(top_builddir)/engines/$$engine/.libs/*.so ]; then \
 
729
                        exit 1; \
 
730
                fi; \
 
731
                ln -s ../$(top_builddir)/engines/$$engine/.libs/*.so lib$$engine.so ; \
 
732
        done;
 
733
 
 
734
clean-local:
 
735
        -$(RM) torture_*
 
736
        -$(RM) exported_*
 
737
        -$(RM) -r engines
 
738
        -$(RM) -r valgrind-logs
 
739
        -$(RM) -r symbols
 
740
 
 
741
valgrind-logs:
 
742
        -$(RM) -r valgrind-logs
 
743
        mkdir valgrind-logs
 
744
 
 
745
symbols:
 
746
        mkdir symbols
 
747
 
 
748
torture_%: torture torturetest engines
 
749
        cp $(srcdir)/torture $@
 
750
 
 
751
exported_%: exported engines symbols
 
752
        cp $(srcdir)/exported $@
 
753
 
 
754
check-valgrind: valgrind-logs
 
755
        $(MAKE) $(AM_MAKEFLAGS) check TESTS_ENVIRONMENT="$(TESTS_ENVIRONMENT) $(VALGRIND_ENV) EXEC_WRAPPER=\"$(VALGRIND_COMMAND)\""
 
756
 
 
757
test:
 
758
        @$(MAKE) $(AM_MAKEFLAGS) check
 
759
 
 
760
.PHONY: engines valgrind-logs
 
761
 
 
762
-include $(top_srcdir)/git.mk
 
763
 
 
764
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
765
# Otherwise a system limit (for SysV at least) may be exceeded.
 
766
.NOEXPORT: