Makefile 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598
  1. # Makefile.in generated by automake 1.11.3 from Makefile.am.
  2. # tests/Makefile. Generated from Makefile.in by configure.
  3. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  4. # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  5. # 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. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  11. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  12. # PARTICULAR PURPOSE.
  13. VPATH = /home/opcua/git/opcUaStack/OPCUAServer/tests
  14. pkgdatadir = $(datadir)/opcuaserver
  15. pkgincludedir = $(includedir)/opcuaserver
  16. pkglibdir = $(libdir)/opcuaserver
  17. pkglibexecdir = $(libexecdir)/opcuaserver
  18. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  19. install_sh_DATA = $(install_sh) -c -m 644
  20. install_sh_PROGRAM = $(install_sh) -c
  21. install_sh_SCRIPT = $(install_sh) -c
  22. INSTALL_HEADER = $(INSTALL_DATA)
  23. transform = $(program_transform_name)
  24. NORMAL_INSTALL = :
  25. PRE_INSTALL = :
  26. POST_INSTALL = :
  27. NORMAL_UNINSTALL = :
  28. PRE_UNINSTALL = :
  29. POST_UNINSTALL = :
  30. build_triplet = i686-pc-linux-gnu
  31. host_triplet = i686-pc-linux-gnu
  32. target_triplet = i686-pc-linux-gnu
  33. TESTS = check_stack$(EXEEXT)
  34. check_PROGRAMS = check_stack$(EXEEXT)
  35. subdir = tests
  36. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  37. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  38. am__aclocal_m4_deps = $(top_srcdir)/configure.ac
  39. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  40. $(ACLOCAL_M4)
  41. mkinstalldirs = $(install_sh) -d
  42. CONFIG_CLEAN_FILES =
  43. CONFIG_CLEAN_VPATH_FILES =
  44. am_check_stack_OBJECTS = check_stack-check_stack.$(OBJEXT)
  45. check_stack_OBJECTS = $(am_check_stack_OBJECTS)
  46. check_stack_DEPENDENCIES = $(top_builddir)/src/libopen62541.la
  47. check_stack_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  48. $(LIBTOOLFLAGS) --mode=link $(CCLD) $(check_stack_CFLAGS) \
  49. $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
  50. DEFAULT_INCLUDES = -I. -I$(srcdir)
  51. depcomp = $(SHELL) $(top_srcdir)/depcomp
  52. am__depfiles_maybe = depfiles
  53. am__mv = mv -f
  54. COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  55. $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  56. LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  57. --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  58. $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  59. CCLD = $(CC)
  60. LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  61. --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  62. $(LDFLAGS) -o $@
  63. SOURCES = $(check_stack_SOURCES)
  64. DIST_SOURCES = $(check_stack_SOURCES)
  65. ETAGS = etags
  66. CTAGS = ctags
  67. am__tty_colors = \
  68. red=; grn=; lgn=; blu=; std=
  69. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  70. ACLOCAL = ${SHELL} /home/opcua/git/opcUaStack/OPCUAServer/missing --run aclocal-1.11
  71. AMTAR = $${TAR-tar}
  72. AR = ar
  73. AS = as
  74. AUTOCONF = ${SHELL} /home/opcua/git/opcUaStack/OPCUAServer/missing --run autoconf
  75. AUTOHEADER = ${SHELL} /home/opcua/git/opcUaStack/OPCUAServer/missing --run autoheader
  76. AUTOMAKE = ${SHELL} /home/opcua/git/opcUaStack/OPCUAServer/missing --run automake-1.11
  77. AWK = mawk
  78. CC = gcc
  79. CCDEPMODE = depmode=gcc3
  80. CFLAGS = -O2
  81. CHECK_CFLAGS = -pthread -I/usr/local/include
  82. CHECK_LIBS = -L/usr/local/lib -lcheck
  83. CPP = gcc -E
  84. CPPFLAGS =
  85. CYGPATH_W = echo
  86. DEFS = -DPACKAGE_NAME=\"OPCUAServer\" -DPACKAGE_TARNAME=\"opcuaserver\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"OPCUAServer\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"opcuaserver\" -DVERSION=\"1.0\" -DHAVE_LIBM=1 -DLINUX=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
  87. DEPDIR = .deps
  88. DLLTOOL = dlltool
  89. DSYMUTIL =
  90. DUMPBIN =
  91. ECHO_C =
  92. ECHO_N = -n
  93. ECHO_T =
  94. EGREP = /bin/grep -E
  95. EXEEXT =
  96. FGREP = /bin/grep -F
  97. GREP = /bin/grep
  98. INSTALL = /usr/bin/install -c
  99. INSTALL_DATA = ${INSTALL} -m 644
  100. INSTALL_PROGRAM = ${INSTALL}
  101. INSTALL_SCRIPT = ${INSTALL}
  102. INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
  103. LD = /usr/bin/ld
  104. LDFLAGS =
  105. LIBOBJS =
  106. LIBS = -lm
  107. LIBTOOL = $(SHELL) $(top_builddir)/libtool
  108. LIPO =
  109. LN_S = ln -s
  110. LTLIBOBJS =
  111. MAKEINFO = ${SHELL} /home/opcua/git/opcUaStack/OPCUAServer/missing --run makeinfo
  112. MANIFEST_TOOL = :
  113. MKDIR_P = /bin/mkdir -p
  114. NM = /usr/bin/nm -B
  115. NMEDIT =
  116. OBJDUMP = objdump
  117. OBJEXT = o
  118. OTOOL =
  119. OTOOL64 =
  120. PACKAGE = opcuaserver
  121. PACKAGE_BUGREPORT =
  122. PACKAGE_NAME = OPCUAServer
  123. PACKAGE_STRING = OPCUAServer 1.0
  124. PACKAGE_TARNAME = opcuaserver
  125. PACKAGE_URL =
  126. PACKAGE_VERSION = 1.0
  127. PATH_SEPARATOR = :
  128. PKG_CONFIG = /usr/bin/pkg-config
  129. PKG_CONFIG_LIBDIR =
  130. PKG_CONFIG_PATH =
  131. RANLIB = ranlib
  132. SED = /bin/sed
  133. SET_MAKE =
  134. SHELL = /bin/bash
  135. STRIP = strip
  136. VERSION = 1.0
  137. abs_builddir = /home/opcua/git/opcUaStack/OPCUAServer/build-test/tests
  138. abs_srcdir = /home/opcua/git/opcUaStack/OPCUAServer/tests
  139. abs_top_builddir = /home/opcua/git/opcUaStack/OPCUAServer/build-test
  140. abs_top_srcdir = /home/opcua/git/opcUaStack/OPCUAServer
  141. ac_ct_AR = ar
  142. ac_ct_CC = gcc
  143. ac_ct_DUMPBIN =
  144. am__include = include
  145. am__leading_dot = .
  146. am__quote =
  147. am__tar = $${TAR-tar} chof - "$$tardir"
  148. am__untar = $${TAR-tar} xf -
  149. bindir = ${exec_prefix}/bin
  150. build = i686-pc-linux-gnu
  151. build_alias =
  152. build_cpu = i686
  153. build_os = linux-gnu
  154. build_vendor = pc
  155. builddir = .
  156. datadir = ${datarootdir}
  157. datarootdir = ${prefix}/share
  158. docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
  159. dvidir = ${docdir}
  160. exec_prefix = ${prefix}
  161. host = i686-pc-linux-gnu
  162. host_alias =
  163. host_cpu = i686
  164. host_os = linux-gnu
  165. host_vendor = pc
  166. htmldir = ${docdir}
  167. includedir = ${prefix}/include
  168. infodir = ${datarootdir}/info
  169. install_sh = ${SHELL} /home/opcua/git/opcUaStack/OPCUAServer/install-sh
  170. libdir = ${exec_prefix}/lib
  171. libexecdir = ${exec_prefix}/libexec
  172. localedir = ${datarootdir}/locale
  173. localstatedir = ${prefix}/var
  174. mandir = ${datarootdir}/man
  175. mkdir_p = /bin/mkdir -p
  176. oldincludedir = /usr/include
  177. pdfdir = ${docdir}
  178. prefix = /usr/local
  179. program_transform_name = s,x,x,
  180. psdir = ${docdir}
  181. sbindir = ${exec_prefix}/sbin
  182. sharedstatedir = ${prefix}/com
  183. srcdir = /home/opcua/git/opcUaStack/OPCUAServer/tests
  184. sysconfdir = ${prefix}/etc
  185. target = i686-pc-linux-gnu
  186. target_alias =
  187. target_cpu = i686
  188. target_os = linux-gnu
  189. target_vendor = pc
  190. top_build_prefix = ../
  191. top_builddir = ..
  192. top_srcdir = /home/opcua/git/opcUaStack/OPCUAServer
  193. check_stack_SOURCES = check_stack.c
  194. check_stack_CFLAGS = -pthread -I/usr/local/include
  195. check_stack_LDADD = $(top_builddir)/src/libopen62541.la -L/usr/local/lib -lcheck
  196. all: all-am
  197. .SUFFIXES:
  198. .SUFFIXES: .c .lo .o .obj
  199. $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  200. @for dep in $?; do \
  201. case '$(am__configure_deps)' in \
  202. *$$dep*) \
  203. ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  204. && { if test -f $@; then exit 0; else break; fi; }; \
  205. exit 1;; \
  206. esac; \
  207. done; \
  208. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
  209. $(am__cd) $(top_srcdir) && \
  210. $(AUTOMAKE) --gnu tests/Makefile
  211. .PRECIOUS: Makefile
  212. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  213. @case '$?' in \
  214. *config.status*) \
  215. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  216. *) \
  217. echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  218. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  219. esac;
  220. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  221. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  222. $(top_srcdir)/configure: $(am__configure_deps)
  223. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  224. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  225. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  226. $(am__aclocal_m4_deps):
  227. clean-checkPROGRAMS:
  228. @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
  229. echo " rm -f" $$list; \
  230. rm -f $$list || exit $$?; \
  231. test -n "$(EXEEXT)" || exit 0; \
  232. list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
  233. echo " rm -f" $$list; \
  234. rm -f $$list
  235. check_stack$(EXEEXT): $(check_stack_OBJECTS) $(check_stack_DEPENDENCIES) $(EXTRA_check_stack_DEPENDENCIES)
  236. @rm -f check_stack$(EXEEXT)
  237. $(check_stack_LINK) $(check_stack_OBJECTS) $(check_stack_LDADD) $(LIBS)
  238. mostlyclean-compile:
  239. -rm -f *.$(OBJEXT)
  240. distclean-compile:
  241. -rm -f *.tab.c
  242. include ./$(DEPDIR)/check_stack-check_stack.Po
  243. .c.o:
  244. $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  245. $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  246. # source='$<' object='$@' libtool=no \
  247. # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
  248. # $(COMPILE) -c $<
  249. .c.obj:
  250. $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
  251. $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  252. # source='$<' object='$@' libtool=no \
  253. # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
  254. # $(COMPILE) -c `$(CYGPATH_W) '$<'`
  255. .c.lo:
  256. $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  257. $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
  258. # source='$<' object='$@' libtool=yes \
  259. # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
  260. # $(LTCOMPILE) -c -o $@ $<
  261. check_stack-check_stack.o: check_stack.c
  262. $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(check_stack_CFLAGS) $(CFLAGS) -MT check_stack-check_stack.o -MD -MP -MF $(DEPDIR)/check_stack-check_stack.Tpo -c -o check_stack-check_stack.o `test -f 'check_stack.c' || echo '$(srcdir)/'`check_stack.c
  263. $(am__mv) $(DEPDIR)/check_stack-check_stack.Tpo $(DEPDIR)/check_stack-check_stack.Po
  264. # source='check_stack.c' object='check_stack-check_stack.o' libtool=no \
  265. # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
  266. # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(check_stack_CFLAGS) $(CFLAGS) -c -o check_stack-check_stack.o `test -f 'check_stack.c' || echo '$(srcdir)/'`check_stack.c
  267. check_stack-check_stack.obj: check_stack.c
  268. $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(check_stack_CFLAGS) $(CFLAGS) -MT check_stack-check_stack.obj -MD -MP -MF $(DEPDIR)/check_stack-check_stack.Tpo -c -o check_stack-check_stack.obj `if test -f 'check_stack.c'; then $(CYGPATH_W) 'check_stack.c'; else $(CYGPATH_W) '$(srcdir)/check_stack.c'; fi`
  269. $(am__mv) $(DEPDIR)/check_stack-check_stack.Tpo $(DEPDIR)/check_stack-check_stack.Po
  270. # source='check_stack.c' object='check_stack-check_stack.obj' libtool=no \
  271. # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
  272. # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(check_stack_CFLAGS) $(CFLAGS) -c -o check_stack-check_stack.obj `if test -f 'check_stack.c'; then $(CYGPATH_W) 'check_stack.c'; else $(CYGPATH_W) '$(srcdir)/check_stack.c'; fi`
  273. mostlyclean-libtool:
  274. -rm -f *.lo
  275. clean-libtool:
  276. -rm -rf .libs _libs
  277. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  278. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  279. unique=`for i in $$list; do \
  280. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  281. done | \
  282. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  283. END { if (nonempty) { for (i in files) print i; }; }'`; \
  284. mkid -fID $$unique
  285. tags: TAGS
  286. TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  287. $(TAGS_FILES) $(LISP)
  288. set x; \
  289. here=`pwd`; \
  290. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  291. unique=`for i in $$list; do \
  292. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  293. done | \
  294. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  295. END { if (nonempty) { for (i in files) print i; }; }'`; \
  296. shift; \
  297. if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  298. test -n "$$unique" || unique=$$empty_fix; \
  299. if test $$# -gt 0; then \
  300. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  301. "$$@" $$unique; \
  302. else \
  303. $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  304. $$unique; \
  305. fi; \
  306. fi
  307. ctags: CTAGS
  308. CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
  309. $(TAGS_FILES) $(LISP)
  310. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  311. unique=`for i in $$list; do \
  312. if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  313. done | \
  314. $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
  315. END { if (nonempty) { for (i in files) print i; }; }'`; \
  316. test -z "$(CTAGS_ARGS)$$unique" \
  317. || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  318. $$unique
  319. GTAGS:
  320. here=`$(am__cd) $(top_builddir) && pwd` \
  321. && $(am__cd) $(top_srcdir) \
  322. && gtags -i $(GTAGS_ARGS) "$$here"
  323. distclean-tags:
  324. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  325. check-TESTS: $(TESTS)
  326. @failed=0; all=0; xfail=0; xpass=0; skip=0; \
  327. srcdir=$(srcdir); export srcdir; \
  328. list=' $(TESTS) '; \
  329. $(am__tty_colors); \
  330. if test -n "$$list"; then \
  331. for tst in $$list; do \
  332. if test -f ./$$tst; then dir=./; \
  333. elif test -f $$tst; then dir=; \
  334. else dir="$(srcdir)/"; fi; \
  335. if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
  336. all=`expr $$all + 1`; \
  337. case " $(XFAIL_TESTS) " in \
  338. *[\ \ ]$$tst[\ \ ]*) \
  339. xpass=`expr $$xpass + 1`; \
  340. failed=`expr $$failed + 1`; \
  341. col=$$red; res=XPASS; \
  342. ;; \
  343. *) \
  344. col=$$grn; res=PASS; \
  345. ;; \
  346. esac; \
  347. elif test $$? -ne 77; then \
  348. all=`expr $$all + 1`; \
  349. case " $(XFAIL_TESTS) " in \
  350. *[\ \ ]$$tst[\ \ ]*) \
  351. xfail=`expr $$xfail + 1`; \
  352. col=$$lgn; res=XFAIL; \
  353. ;; \
  354. *) \
  355. failed=`expr $$failed + 1`; \
  356. col=$$red; res=FAIL; \
  357. ;; \
  358. esac; \
  359. else \
  360. skip=`expr $$skip + 1`; \
  361. col=$$blu; res=SKIP; \
  362. fi; \
  363. echo "$${col}$$res$${std}: $$tst"; \
  364. done; \
  365. if test "$$all" -eq 1; then \
  366. tests="test"; \
  367. All=""; \
  368. else \
  369. tests="tests"; \
  370. All="All "; \
  371. fi; \
  372. if test "$$failed" -eq 0; then \
  373. if test "$$xfail" -eq 0; then \
  374. banner="$$All$$all $$tests passed"; \
  375. else \
  376. if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
  377. banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
  378. fi; \
  379. else \
  380. if test "$$xpass" -eq 0; then \
  381. banner="$$failed of $$all $$tests failed"; \
  382. else \
  383. if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
  384. banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
  385. fi; \
  386. fi; \
  387. dashes="$$banner"; \
  388. skipped=""; \
  389. if test "$$skip" -ne 0; then \
  390. if test "$$skip" -eq 1; then \
  391. skipped="($$skip test was not run)"; \
  392. else \
  393. skipped="($$skip tests were not run)"; \
  394. fi; \
  395. test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
  396. dashes="$$skipped"; \
  397. fi; \
  398. report=""; \
  399. if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
  400. report="Please report to $(PACKAGE_BUGREPORT)"; \
  401. test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
  402. dashes="$$report"; \
  403. fi; \
  404. dashes=`echo "$$dashes" | sed s/./=/g`; \
  405. if test "$$failed" -eq 0; then \
  406. col="$$grn"; \
  407. else \
  408. col="$$red"; \
  409. fi; \
  410. echo "$${col}$$dashes$${std}"; \
  411. echo "$${col}$$banner$${std}"; \
  412. test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
  413. test -z "$$report" || echo "$${col}$$report$${std}"; \
  414. echo "$${col}$$dashes$${std}"; \
  415. test "$$failed" -eq 0; \
  416. else :; fi
  417. distdir: $(DISTFILES)
  418. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  419. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  420. list='$(DISTFILES)'; \
  421. dist_files=`for file in $$list; do echo $$file; done | \
  422. sed -e "s|^$$srcdirstrip/||;t" \
  423. -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  424. case $$dist_files in \
  425. */*) $(MKDIR_P) `echo "$$dist_files" | \
  426. sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  427. sort -u` ;; \
  428. esac; \
  429. for file in $$dist_files; do \
  430. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  431. if test -d $$d/$$file; then \
  432. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  433. if test -d "$(distdir)/$$file"; then \
  434. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  435. fi; \
  436. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  437. cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  438. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  439. fi; \
  440. cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  441. else \
  442. test -f "$(distdir)/$$file" \
  443. || cp -p $$d/$$file "$(distdir)/$$file" \
  444. || exit 1; \
  445. fi; \
  446. done
  447. check-am: all-am
  448. $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
  449. $(MAKE) $(AM_MAKEFLAGS) check-TESTS
  450. check: check-am
  451. all-am: Makefile
  452. installdirs:
  453. install: install-am
  454. install-exec: install-exec-am
  455. install-data: install-data-am
  456. uninstall: uninstall-am
  457. install-am: all-am
  458. @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  459. installcheck: installcheck-am
  460. install-strip:
  461. if test -z '$(STRIP)'; then \
  462. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  463. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  464. install; \
  465. else \
  466. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  467. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  468. "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  469. fi
  470. mostlyclean-generic:
  471. clean-generic:
  472. distclean-generic:
  473. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  474. -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  475. maintainer-clean-generic:
  476. @echo "This command is intended for maintainers to use"
  477. @echo "it deletes files that may require special tools to rebuild."
  478. clean: clean-am
  479. clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
  480. mostlyclean-am
  481. distclean: distclean-am
  482. -rm -rf ./$(DEPDIR)
  483. -rm -f Makefile
  484. distclean-am: clean-am distclean-compile distclean-generic \
  485. distclean-tags
  486. dvi: dvi-am
  487. dvi-am:
  488. html: html-am
  489. html-am:
  490. info: info-am
  491. info-am:
  492. install-data-am:
  493. install-dvi: install-dvi-am
  494. install-dvi-am:
  495. install-exec-am:
  496. install-html: install-html-am
  497. install-html-am:
  498. install-info: install-info-am
  499. install-info-am:
  500. install-man:
  501. install-pdf: install-pdf-am
  502. install-pdf-am:
  503. install-ps: install-ps-am
  504. install-ps-am:
  505. installcheck-am:
  506. maintainer-clean: maintainer-clean-am
  507. -rm -rf ./$(DEPDIR)
  508. -rm -f Makefile
  509. maintainer-clean-am: distclean-am maintainer-clean-generic
  510. mostlyclean: mostlyclean-am
  511. mostlyclean-am: mostlyclean-compile mostlyclean-generic \
  512. mostlyclean-libtool
  513. pdf: pdf-am
  514. pdf-am:
  515. ps: ps-am
  516. ps-am:
  517. uninstall-am:
  518. .MAKE: check-am install-am install-strip
  519. .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
  520. clean-checkPROGRAMS clean-generic clean-libtool ctags \
  521. distclean distclean-compile distclean-generic \
  522. distclean-libtool distclean-tags distdir dvi dvi-am html \
  523. html-am info info-am install install-am install-data \
  524. install-data-am install-dvi install-dvi-am install-exec \
  525. install-exec-am install-html install-html-am install-info \
  526. install-info-am install-man install-pdf install-pdf-am \
  527. install-ps install-ps-am install-strip installcheck \
  528. installcheck-am installdirs maintainer-clean \
  529. maintainer-clean-generic mostlyclean mostlyclean-compile \
  530. mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
  531. tags uninstall uninstall-am
  532. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  533. # Otherwise a system limit (for SysV at least) may be exceeded.
  534. .NOEXPORT: