check target call cppcheck if it is installed
[psensor.git] / tests / Makefile.in
1 # Makefile.in generated by automake 1.11.3 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, 2010, 2011 Free Software
6 # Foundation, 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 VPATH = @srcdir@
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 install_sh_DATA = $(install_sh) -c -m 644
24 install_sh_PROGRAM = $(install_sh) -c
25 install_sh_SCRIPT = $(install_sh) -c
26 INSTALL_HEADER = $(INSTALL_DATA)
27 transform = $(program_transform_name)
28 NORMAL_INSTALL = :
29 PRE_INSTALL = :
30 POST_INSTALL = :
31 NORMAL_UNINSTALL = :
32 PRE_UNINSTALL = :
33 POST_UNINSTALL = :
34 build_triplet = @build@
35 host_triplet = @host@
36 check_PROGRAMS = test-io-dir-list$(EXEEXT) \
37         test-psensor-type-to-unit-str$(EXEEXT) \
38         test-psensor-value-to-str$(EXEEXT) test-url-encode$(EXEEXT) \
39         test-url-normalize$(EXEEXT)
40 @ATASMART_TRUE@am__append_1 = $(ATASMART_LIBS)
41 @GTOP_TRUE@am__append_2 = $(GTOP_LIBS)
42 TESTS = test-io-dir-list.sh test-psensor-type-to-unit-str$(EXEEXT) \
43         test-psensor-value-to-str$(EXEEXT) test-url-encode$(EXEEXT) \
44         test-url-normalize$(EXEEXT) $(am__append_3)
45 @CPPCHECK_TRUE@am__append_3 = test-cppcheck.sh
46 subdir = tests
47 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
48 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
50 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
51         $(ACLOCAL_M4)
52 mkinstalldirs = $(install_sh) -d
53 CONFIG_HEADER = $(top_builddir)/config.h
54 CONFIG_CLEAN_FILES =
55 CONFIG_CLEAN_VPATH_FILES =
56 am_test_io_dir_list_OBJECTS = test_io_dir_list.$(OBJEXT)
57 test_io_dir_list_OBJECTS = $(am_test_io_dir_list_OBJECTS)
58 test_io_dir_list_LDADD = $(LDADD)
59 am_test_psensor_type_to_unit_str_OBJECTS =  \
60         test_psensor_type_to_unit_str.$(OBJEXT)
61 test_psensor_type_to_unit_str_OBJECTS =  \
62         $(am_test_psensor_type_to_unit_str_OBJECTS)
63 test_psensor_type_to_unit_str_LDADD = $(LDADD)
64 am_test_psensor_value_to_str_OBJECTS =  \
65         test_psensor_value_to_str.$(OBJEXT)
66 test_psensor_value_to_str_OBJECTS =  \
67         $(am_test_psensor_value_to_str_OBJECTS)
68 test_psensor_value_to_str_LDADD = $(LDADD)
69 am_test_url_encode_OBJECTS = test_url_encode.$(OBJEXT)
70 test_url_encode_OBJECTS = $(am_test_url_encode_OBJECTS)
71 test_url_encode_LDADD = $(LDADD)
72 am_test_url_normalize_OBJECTS = test_url_normalize.$(OBJEXT)
73 test_url_normalize_OBJECTS = $(am_test_url_normalize_OBJECTS)
74 test_url_normalize_LDADD = $(LDADD)
75 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
76 depcomp = $(SHELL) $(top_srcdir)/depcomp
77 am__depfiles_maybe = depfiles
78 am__mv = mv -f
79 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
80         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
81 CCLD = $(CC)
82 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
83 SOURCES = $(test_io_dir_list_SOURCES) \
84         $(test_psensor_type_to_unit_str_SOURCES) \
85         $(test_psensor_value_to_str_SOURCES) \
86         $(test_url_encode_SOURCES) $(test_url_normalize_SOURCES)
87 DIST_SOURCES = $(test_io_dir_list_SOURCES) \
88         $(test_psensor_type_to_unit_str_SOURCES) \
89         $(test_psensor_value_to_str_SOURCES) \
90         $(test_url_encode_SOURCES) $(test_url_normalize_SOURCES)
91 ETAGS = etags
92 CTAGS = ctags
93 am__tty_colors = \
94 red=; grn=; lgn=; blu=; std=
95 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
96 ACLOCAL = @ACLOCAL@
97 AMTAR = @AMTAR@
98 APPINDICATOR_CFLAGS = @APPINDICATOR_CFLAGS@
99 APPINDICATOR_LIBS = @APPINDICATOR_LIBS@
100 ATASMART_CFLAGS = @ATASMART_CFLAGS@
101 ATASMART_LIBS = @ATASMART_LIBS@
102 AUTOCONF = @AUTOCONF@
103 AUTOHEADER = @AUTOHEADER@
104 AUTOMAKE = @AUTOMAKE@
105 AWK = @AWK@
106 CC = @CC@
107 CCDEPMODE = @CCDEPMODE@
108 CFLAGS = @CFLAGS@
109 CPP = @CPP@
110 CPPFLAGS = @CPPFLAGS@
111 CURL_CFLAGS = @CURL_CFLAGS@
112 CURL_LIBS = @CURL_LIBS@
113 CYGPATH_W = @CYGPATH_W@
114 DEFS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@
115 DEPDIR = @DEPDIR@
116 ECHO_C = @ECHO_C@
117 ECHO_N = @ECHO_N@
118 ECHO_T = @ECHO_T@
119 EGREP = @EGREP@
120 EXEEXT = @EXEEXT@
121 GCONFTOOL = @GCONFTOOL@
122 GCONF_CFLAGS = @GCONF_CFLAGS@
123 GCONF_LIBS = @GCONF_LIBS@
124 GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
125 GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@
126 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
127 GMSGFMT = @GMSGFMT@
128 GMSGFMT_015 = @GMSGFMT_015@
129 GREP = @GREP@
130 GTK_CFLAGS = @GTK_CFLAGS@
131 GTK_LIBS = @GTK_LIBS@
132 GTOP_CFLAGS = @GTOP_CFLAGS@
133 GTOP_LIBS = @GTOP_LIBS@
134 HAVE_CPPCHECK = @HAVE_CPPCHECK@
135 HELP2MAN = @HELP2MAN@
136 INSTALL = @INSTALL@
137 INSTALL_DATA = @INSTALL_DATA@
138 INSTALL_PROGRAM = @INSTALL_PROGRAM@
139 INSTALL_SCRIPT = @INSTALL_SCRIPT@
140 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
141 INTLLIBS = @INTLLIBS@
142 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
143 JSON_CFLAGS = @JSON_CFLAGS@
144 JSON_LIBS = @JSON_LIBS@
145 LDFLAGS = @LDFLAGS@
146 LIBATIADL_CFLAGS = @LIBATIADL_CFLAGS@
147 LIBATIADL_LIBS = @LIBATIADL_LIBS@
148 LIBICONV = @LIBICONV@
149 LIBINTL = @LIBINTL@
150 LIBMICROHTTPD_CFLAGS = @LIBMICROHTTPD_CFLAGS@
151 LIBMICROHTTPD_LIBS = @LIBMICROHTTPD_LIBS@
152 LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@
153 LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@
154 LIBOBJS = @LIBOBJS@
155 LIBS = @LIBS@ ../src/lib/libpsensor.a $(SENSORS_LIBS) $(am__append_1) \
156         $(am__append_2)
157 LTLIBICONV = @LTLIBICONV@
158 LTLIBINTL = @LTLIBINTL@
159 LTLIBOBJS = @LTLIBOBJS@
160 MAKEINFO = @MAKEINFO@
161 MKDIR_P = @MKDIR_P@
162 MSGFMT = @MSGFMT@
163 MSGFMT_015 = @MSGFMT_015@
164 MSGMERGE = @MSGMERGE@
165 NVIDIA_CFLAGS = @NVIDIA_CFLAGS@
166 NVIDIA_LIBS = @NVIDIA_LIBS@
167 OBJEXT = @OBJEXT@
168 PACKAGE = @PACKAGE@
169 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
170 PACKAGE_NAME = @PACKAGE_NAME@
171 PACKAGE_STRING = @PACKAGE_STRING@
172 PACKAGE_TARNAME = @PACKAGE_TARNAME@
173 PACKAGE_URL = @PACKAGE_URL@
174 PACKAGE_VERSION = @PACKAGE_VERSION@
175 PATH_SEPARATOR = @PATH_SEPARATOR@
176 PKG_CONFIG = @PKG_CONFIG@
177 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
178 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
179 POSUB = @POSUB@
180 PTHREAD_LIBS = @PTHREAD_LIBS@
181 RANLIB = @RANLIB@
182 SENSORS_LIBS = @SENSORS_LIBS@
183 SET_MAKE = @SET_MAKE@
184 SHELL = @SHELL@
185 STRIP = @STRIP@
186 UNITY_CFLAGS = @UNITY_CFLAGS@
187 UNITY_LIBS = @UNITY_LIBS@
188 USE_NLS = @USE_NLS@
189 VERSION = @VERSION@
190 X11_CFLAGS = @X11_CFLAGS@
191 X11_LIBS = @X11_LIBS@
192 XEXT_CFLAGS = @XEXT_CFLAGS@
193 XEXT_LIBS = @XEXT_LIBS@
194 XGETTEXT = @XGETTEXT@
195 XGETTEXT_015 = @XGETTEXT_015@
196 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
197 XMKMF = @XMKMF@
198 abs_builddir = @abs_builddir@
199 abs_srcdir = @abs_srcdir@
200 abs_top_builddir = @abs_top_builddir@
201 abs_top_srcdir = @abs_top_srcdir@
202 ac_ct_CC = @ac_ct_CC@
203 am__include = @am__include@
204 am__leading_dot = @am__leading_dot@
205 am__quote = @am__quote@
206 am__tar = @am__tar@
207 am__untar = @am__untar@
208 bindir = @bindir@
209 build = @build@
210 build_alias = @build_alias@
211 build_cpu = @build_cpu@
212 build_os = @build_os@
213 build_vendor = @build_vendor@
214 builddir = @builddir@
215 datadir = @datadir@
216 datarootdir = @datarootdir@
217 docdir = @docdir@
218 dvidir = @dvidir@
219 exec_prefix = @exec_prefix@
220 host = @host@
221 host_alias = @host_alias@
222 host_cpu = @host_cpu@
223 host_os = @host_os@
224 host_vendor = @host_vendor@
225 htmldir = @htmldir@
226 includedir = @includedir@
227 infodir = @infodir@
228 install_sh = @install_sh@
229 libdir = @libdir@
230 libexecdir = @libexecdir@
231 localedir = @localedir@
232 localstatedir = @localstatedir@
233 mandir = @mandir@
234 mkdir_p = @mkdir_p@
235 oldincludedir = @oldincludedir@
236 pdfdir = @pdfdir@
237 prefix = @prefix@
238 program_transform_name = @program_transform_name@
239 psdir = @psdir@
240 sbindir = @sbindir@
241 sharedstatedir = @sharedstatedir@
242 srcdir = @srcdir@
243 sysconfdir = @sysconfdir@
244 target_alias = @target_alias@
245 top_build_prefix = @top_build_prefix@
246 top_builddir = @top_builddir@
247 top_srcdir = @top_srcdir@
248 EXTRA_DIST = checkpatch.pl data test-io-dir-list.sh
249 AM_CPPFLAGS = -pedantic -Werror
250 test_io_dir_list_SOURCES = test_io_dir_list.c
251 test_psensor_type_to_unit_str_SOURCES = test_psensor_type_to_unit_str.c
252 test_psensor_value_to_str_SOURCES = test_psensor_value_to_str.c
253 test_url_encode_SOURCES = test_url_encode.c
254 test_url_normalize_SOURCES = test_url_normalize.c
255 all: all-am
256
257 .SUFFIXES:
258 .SUFFIXES: .c .o .obj
259 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
260         @for dep in $?; do \
261           case '$(am__configure_deps)' in \
262             *$$dep*) \
263               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
264                 && { if test -f $@; then exit 0; else break; fi; }; \
265               exit 1;; \
266           esac; \
267         done; \
268         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
269         $(am__cd) $(top_srcdir) && \
270           $(AUTOMAKE) --gnu tests/Makefile
271 .PRECIOUS: Makefile
272 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
273         @case '$?' in \
274           *config.status*) \
275             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
276           *) \
277             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
278             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
279         esac;
280
281 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
282         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
283
284 $(top_srcdir)/configure:  $(am__configure_deps)
285         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
286 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
287         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
288 $(am__aclocal_m4_deps):
289
290 clean-checkPROGRAMS:
291         -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
292 test-io-dir-list$(EXEEXT): $(test_io_dir_list_OBJECTS) $(test_io_dir_list_DEPENDENCIES) $(EXTRA_test_io_dir_list_DEPENDENCIES) 
293         @rm -f test-io-dir-list$(EXEEXT)
294         $(LINK) $(test_io_dir_list_OBJECTS) $(test_io_dir_list_LDADD) $(LIBS)
295 test-psensor-type-to-unit-str$(EXEEXT): $(test_psensor_type_to_unit_str_OBJECTS) $(test_psensor_type_to_unit_str_DEPENDENCIES) $(EXTRA_test_psensor_type_to_unit_str_DEPENDENCIES) 
296         @rm -f test-psensor-type-to-unit-str$(EXEEXT)
297         $(LINK) $(test_psensor_type_to_unit_str_OBJECTS) $(test_psensor_type_to_unit_str_LDADD) $(LIBS)
298 test-psensor-value-to-str$(EXEEXT): $(test_psensor_value_to_str_OBJECTS) $(test_psensor_value_to_str_DEPENDENCIES) $(EXTRA_test_psensor_value_to_str_DEPENDENCIES) 
299         @rm -f test-psensor-value-to-str$(EXEEXT)
300         $(LINK) $(test_psensor_value_to_str_OBJECTS) $(test_psensor_value_to_str_LDADD) $(LIBS)
301 test-url-encode$(EXEEXT): $(test_url_encode_OBJECTS) $(test_url_encode_DEPENDENCIES) $(EXTRA_test_url_encode_DEPENDENCIES) 
302         @rm -f test-url-encode$(EXEEXT)
303         $(LINK) $(test_url_encode_OBJECTS) $(test_url_encode_LDADD) $(LIBS)
304 test-url-normalize$(EXEEXT): $(test_url_normalize_OBJECTS) $(test_url_normalize_DEPENDENCIES) $(EXTRA_test_url_normalize_DEPENDENCIES) 
305         @rm -f test-url-normalize$(EXEEXT)
306         $(LINK) $(test_url_normalize_OBJECTS) $(test_url_normalize_LDADD) $(LIBS)
307
308 mostlyclean-compile:
309         -rm -f *.$(OBJEXT)
310
311 distclean-compile:
312         -rm -f *.tab.c
313
314 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_io_dir_list.Po@am__quote@
315 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_psensor_type_to_unit_str.Po@am__quote@
316 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_psensor_value_to_str.Po@am__quote@
317 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_url_encode.Po@am__quote@
318 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_url_normalize.Po@am__quote@
319
320 .c.o:
321 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
322 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
323 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
324 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
325 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
326
327 .c.obj:
328 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
329 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
330 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
331 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
332 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
333
334 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
335         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
336         unique=`for i in $$list; do \
337             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
338           done | \
339           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
340               END { if (nonempty) { for (i in files) print i; }; }'`; \
341         mkid -fID $$unique
342 tags: TAGS
343
344 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
345                 $(TAGS_FILES) $(LISP)
346         set x; \
347         here=`pwd`; \
348         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
349         unique=`for i in $$list; do \
350             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
351           done | \
352           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
353               END { if (nonempty) { for (i in files) print i; }; }'`; \
354         shift; \
355         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
356           test -n "$$unique" || unique=$$empty_fix; \
357           if test $$# -gt 0; then \
358             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
359               "$$@" $$unique; \
360           else \
361             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
362               $$unique; \
363           fi; \
364         fi
365 ctags: CTAGS
366 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
367                 $(TAGS_FILES) $(LISP)
368         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
369         unique=`for i in $$list; do \
370             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
371           done | \
372           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
373               END { if (nonempty) { for (i in files) print i; }; }'`; \
374         test -z "$(CTAGS_ARGS)$$unique" \
375           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
376              $$unique
377
378 GTAGS:
379         here=`$(am__cd) $(top_builddir) && pwd` \
380           && $(am__cd) $(top_srcdir) \
381           && gtags -i $(GTAGS_ARGS) "$$here"
382
383 distclean-tags:
384         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
385
386 check-TESTS: $(TESTS)
387         @failed=0; all=0; xfail=0; xpass=0; skip=0; \
388         srcdir=$(srcdir); export srcdir; \
389         list=' $(TESTS) '; \
390         $(am__tty_colors); \
391         if test -n "$$list"; then \
392           for tst in $$list; do \
393             if test -f ./$$tst; then dir=./; \
394             elif test -f $$tst; then dir=; \
395             else dir="$(srcdir)/"; fi; \
396             if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
397               all=`expr $$all + 1`; \
398               case " $(XFAIL_TESTS) " in \
399               *[\ \     ]$$tst[\ \      ]*) \
400                 xpass=`expr $$xpass + 1`; \
401                 failed=`expr $$failed + 1`; \
402                 col=$$red; res=XPASS; \
403               ;; \
404               *) \
405                 col=$$grn; res=PASS; \
406               ;; \
407               esac; \
408             elif test $$? -ne 77; then \
409               all=`expr $$all + 1`; \
410               case " $(XFAIL_TESTS) " in \
411               *[\ \     ]$$tst[\ \      ]*) \
412                 xfail=`expr $$xfail + 1`; \
413                 col=$$lgn; res=XFAIL; \
414               ;; \
415               *) \
416                 failed=`expr $$failed + 1`; \
417                 col=$$red; res=FAIL; \
418               ;; \
419               esac; \
420             else \
421               skip=`expr $$skip + 1`; \
422               col=$$blu; res=SKIP; \
423             fi; \
424             echo "$${col}$$res$${std}: $$tst"; \
425           done; \
426           if test "$$all" -eq 1; then \
427             tests="test"; \
428             All=""; \
429           else \
430             tests="tests"; \
431             All="All "; \
432           fi; \
433           if test "$$failed" -eq 0; then \
434             if test "$$xfail" -eq 0; then \
435               banner="$$All$$all $$tests passed"; \
436             else \
437               if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
438               banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
439             fi; \
440           else \
441             if test "$$xpass" -eq 0; then \
442               banner="$$failed of $$all $$tests failed"; \
443             else \
444               if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
445               banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
446             fi; \
447           fi; \
448           dashes="$$banner"; \
449           skipped=""; \
450           if test "$$skip" -ne 0; then \
451             if test "$$skip" -eq 1; then \
452               skipped="($$skip test was not run)"; \
453             else \
454               skipped="($$skip tests were not run)"; \
455             fi; \
456             test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
457               dashes="$$skipped"; \
458           fi; \
459           report=""; \
460           if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
461             report="Please report to $(PACKAGE_BUGREPORT)"; \
462             test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
463               dashes="$$report"; \
464           fi; \
465           dashes=`echo "$$dashes" | sed s/./=/g`; \
466           if test "$$failed" -eq 0; then \
467             col="$$grn"; \
468           else \
469             col="$$red"; \
470           fi; \
471           echo "$${col}$$dashes$${std}"; \
472           echo "$${col}$$banner$${std}"; \
473           test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
474           test -z "$$report" || echo "$${col}$$report$${std}"; \
475           echo "$${col}$$dashes$${std}"; \
476           test "$$failed" -eq 0; \
477         else :; fi
478
479 distdir: $(DISTFILES)
480         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
481         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
482         list='$(DISTFILES)'; \
483           dist_files=`for file in $$list; do echo $$file; done | \
484           sed -e "s|^$$srcdirstrip/||;t" \
485               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
486         case $$dist_files in \
487           */*) $(MKDIR_P) `echo "$$dist_files" | \
488                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
489                            sort -u` ;; \
490         esac; \
491         for file in $$dist_files; do \
492           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
493           if test -d $$d/$$file; then \
494             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
495             if test -d "$(distdir)/$$file"; then \
496               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
497             fi; \
498             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
499               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
500               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
501             fi; \
502             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
503           else \
504             test -f "$(distdir)/$$file" \
505             || cp -p $$d/$$file "$(distdir)/$$file" \
506             || exit 1; \
507           fi; \
508         done
509 check-am: all-am
510         $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
511         $(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
512 check: check-am
513 all-am: Makefile
514 installdirs:
515 install: install-am
516 install-exec: install-exec-am
517 install-data: install-data-am
518 uninstall: uninstall-am
519
520 install-am: all-am
521         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
522
523 installcheck: installcheck-am
524 install-strip:
525         if test -z '$(STRIP)'; then \
526           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
527             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
528               install; \
529         else \
530           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
531             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
532             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
533         fi
534 mostlyclean-generic:
535
536 clean-generic:
537
538 distclean-generic:
539         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
540         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
541
542 maintainer-clean-generic:
543         @echo "This command is intended for maintainers to use"
544         @echo "it deletes files that may require special tools to rebuild."
545 clean: clean-am
546
547 clean-am: clean-checkPROGRAMS clean-generic 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-tags
554
555 dvi: dvi-am
556
557 dvi-am:
558
559 html: html-am
560
561 html-am:
562
563 info: info-am
564
565 info-am:
566
567 install-data-am:
568
569 install-dvi: install-dvi-am
570
571 install-dvi-am:
572
573 install-exec-am:
574
575 install-html: install-html-am
576
577 install-html-am:
578
579 install-info: install-info-am
580
581 install-info-am:
582
583 install-man:
584
585 install-pdf: install-pdf-am
586
587 install-pdf-am:
588
589 install-ps: install-ps-am
590
591 install-ps-am:
592
593 installcheck-am:
594
595 maintainer-clean: maintainer-clean-am
596         -rm -rf ./$(DEPDIR)
597         -rm -f Makefile
598 maintainer-clean-am: distclean-am maintainer-clean-generic
599
600 mostlyclean: mostlyclean-am
601
602 mostlyclean-am: mostlyclean-compile mostlyclean-generic
603
604 pdf: pdf-am
605
606 pdf-am:
607
608 ps: ps-am
609
610 ps-am:
611
612 uninstall-am:
613
614 .MAKE: check-am install-am install-strip
615
616 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am check-local \
617         clean clean-checkPROGRAMS clean-generic ctags distclean \
618         distclean-compile distclean-generic distclean-tags distdir dvi \
619         dvi-am html html-am info info-am install install-am \
620         install-data install-data-am install-dvi install-dvi-am \
621         install-exec install-exec-am install-html install-html-am \
622         install-info install-info-am install-man install-pdf \
623         install-pdf-am install-ps install-ps-am install-strip \
624         installcheck installcheck-am installdirs maintainer-clean \
625         maintainer-clean-generic mostlyclean mostlyclean-compile \
626         mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
627         uninstall-am
628
629 check-local: checkpatch.pl
630         find $(top_srcdir)/src -name \*.c -exec $(srcdir)/checkpatch.pl --ignore SPLIT_STRING --show-types -q --no-tree  -emacs -f {} \;
631         find $(top_srcdir)/src -name \*.h -exec $(srcdir)/checkpatch.pl --ignore SPLIT_STRING --show-types -q --no-tree  -emacs -f {} \;
632
633 # Tell versions [3.59,3.63) of GNU make to not export all variables.
634 # Otherwise a system limit (for SysV at least) may be exceeded.
635 .NOEXPORT: