Makefile.in 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591
  1. # Makefile.in generated by automake 1.11.1 from Makefile.am.
  2. # @configure_input@
  3. # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  4. # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
  5. # 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. @SET_MAKE@
  14. VPATH = @srcdir@
  15. pkgdatadir = $(datadir)/@PACKAGE@
  16. pkgincludedir = $(includedir)/@PACKAGE@
  17. pkglibdir = $(libdir)/@PACKAGE@
  18. pkglibexecdir = $(libexecdir)/@PACKAGE@
  19. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  20. install_sh_DATA = $(install_sh) -c -m 644
  21. install_sh_PROGRAM = $(install_sh) -c
  22. install_sh_SCRIPT = $(install_sh) -c
  23. INSTALL_HEADER = $(INSTALL_DATA)
  24. transform = $(program_transform_name)
  25. NORMAL_INSTALL = :
  26. PRE_INSTALL = :
  27. POST_INSTALL = :
  28. NORMAL_UNINSTALL = :
  29. PRE_UNINSTALL = :
  30. POST_UNINSTALL = :
  31. build_triplet = @build@
  32. host_triplet = @host@
  33. subdir = xstc
  34. DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  35. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  36. am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
  37. $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
  38. $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
  39. $(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.in
  40. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  41. $(ACLOCAL_M4)
  42. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  43. CONFIG_HEADER = $(top_builddir)/config.h
  44. CONFIG_CLEAN_FILES =
  45. CONFIG_CLEAN_VPATH_FILES =
  46. SOURCES =
  47. DIST_SOURCES =
  48. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  49. ACLOCAL = @ACLOCAL@
  50. AMTAR = @AMTAR@
  51. AR = @AR@
  52. AS = @AS@
  53. AUTOCONF = @AUTOCONF@
  54. AUTOHEADER = @AUTOHEADER@
  55. AUTOMAKE = @AUTOMAKE@
  56. AWK = @AWK@
  57. BASE_THREAD_LIBS = @BASE_THREAD_LIBS@
  58. C14N_OBJ = @C14N_OBJ@
  59. CATALOG_OBJ = @CATALOG_OBJ@
  60. CC = @CC@
  61. CCDEPMODE = @CCDEPMODE@
  62. CFLAGS = @CFLAGS@
  63. CPP = @CPP@
  64. CPPFLAGS = @CPPFLAGS@
  65. CYGPATH_W = @CYGPATH_W@
  66. CYGWIN_EXTRA_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@
  67. CYGWIN_EXTRA_PYTHON_LIBADD = @CYGWIN_EXTRA_PYTHON_LIBADD@
  68. DEBUG_OBJ = @DEBUG_OBJ@
  69. DEFS = @DEFS@
  70. DEPDIR = @DEPDIR@
  71. DLLTOOL = @DLLTOOL@
  72. DOCB_OBJ = @DOCB_OBJ@
  73. DSYMUTIL = @DSYMUTIL@
  74. DUMPBIN = @DUMPBIN@
  75. ECHO_C = @ECHO_C@
  76. ECHO_N = @ECHO_N@
  77. ECHO_T = @ECHO_T@
  78. EGREP = @EGREP@
  79. EXEEXT = @EXEEXT@
  80. FGREP = @FGREP@
  81. FTP_OBJ = @FTP_OBJ@
  82. GREP = @GREP@
  83. HAVE_ISINF = @HAVE_ISINF@
  84. HAVE_ISNAN = @HAVE_ISNAN@
  85. HTML_DIR = @HTML_DIR@
  86. HTML_OBJ = @HTML_OBJ@
  87. HTTP_OBJ = @HTTP_OBJ@
  88. ICONV_LIBS = @ICONV_LIBS@
  89. INSTALL = @INSTALL@
  90. INSTALL_DATA = @INSTALL_DATA@
  91. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  92. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  93. INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  94. LD = @LD@
  95. LDFLAGS = @LDFLAGS@
  96. LIBOBJS = @LIBOBJS@
  97. LIBS = @LIBS@
  98. LIBTOOL = @LIBTOOL@
  99. LIBXML_MAJOR_VERSION = @LIBXML_MAJOR_VERSION@
  100. LIBXML_MICRO_VERSION = @LIBXML_MICRO_VERSION@
  101. LIBXML_MINOR_VERSION = @LIBXML_MINOR_VERSION@
  102. LIBXML_VERSION = @LIBXML_VERSION@
  103. LIBXML_VERSION_EXTRA = @LIBXML_VERSION_EXTRA@
  104. LIBXML_VERSION_INFO = @LIBXML_VERSION_INFO@
  105. LIBXML_VERSION_NUMBER = @LIBXML_VERSION_NUMBER@
  106. LIPO = @LIPO@
  107. LN_S = @LN_S@
  108. LTLIBOBJS = @LTLIBOBJS@
  109. MAKEINFO = @MAKEINFO@
  110. MKDIR_P = @MKDIR_P@
  111. MODULE_EXTENSION = @MODULE_EXTENSION@
  112. MODULE_PLATFORM_LIBS = @MODULE_PLATFORM_LIBS@
  113. MV = @MV@
  114. M_LIBS = @M_LIBS@
  115. NM = @NM@
  116. NMEDIT = @NMEDIT@
  117. OBJDUMP = @OBJDUMP@
  118. OBJEXT = @OBJEXT@
  119. OTOOL = @OTOOL@
  120. OTOOL64 = @OTOOL64@
  121. PACKAGE = @PACKAGE@
  122. PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  123. PACKAGE_NAME = @PACKAGE_NAME@
  124. PACKAGE_STRING = @PACKAGE_STRING@
  125. PACKAGE_TARNAME = @PACKAGE_TARNAME@
  126. PACKAGE_VERSION = @PACKAGE_VERSION@
  127. PATH_SEPARATOR = @PATH_SEPARATOR@
  128. PERL = @PERL@
  129. PYTHON = @PYTHON@
  130. PYTHON_INCLUDES = @PYTHON_INCLUDES@
  131. PYTHON_LIBS = @PYTHON_LIBS@
  132. PYTHON_SITE_PACKAGES = @PYTHON_SITE_PACKAGES@
  133. PYTHON_SUBDIR = @PYTHON_SUBDIR@
  134. PYTHON_TESTS = @PYTHON_TESTS@
  135. PYTHON_VERSION = @PYTHON_VERSION@
  136. RANLIB = @RANLIB@
  137. RDL_LIBS = @RDL_LIBS@
  138. READER_TEST = @READER_TEST@
  139. RELDATE = @RELDATE@
  140. RM = @RM@
  141. SED = @SED@
  142. SET_MAKE = @SET_MAKE@
  143. SHELL = @SHELL@
  144. STATIC_BINARIES = @STATIC_BINARIES@
  145. STRIP = @STRIP@
  146. TAR = @TAR@
  147. TEST_C14N = @TEST_C14N@
  148. TEST_CATALOG = @TEST_CATALOG@
  149. TEST_DEBUG = @TEST_DEBUG@
  150. TEST_HTML = @TEST_HTML@
  151. TEST_MODULES = @TEST_MODULES@
  152. TEST_PATTERN = @TEST_PATTERN@
  153. TEST_PHTML = @TEST_PHTML@
  154. TEST_PUSH = @TEST_PUSH@
  155. TEST_REGEXPS = @TEST_REGEXPS@
  156. TEST_SAX = @TEST_SAX@
  157. TEST_SCHEMAS = @TEST_SCHEMAS@
  158. TEST_SCHEMATRON = @TEST_SCHEMATRON@
  159. TEST_THREADS = @TEST_THREADS@
  160. TEST_VALID = @TEST_VALID@
  161. TEST_VTIME = @TEST_VTIME@
  162. TEST_XINCLUDE = @TEST_XINCLUDE@
  163. TEST_XPATH = @TEST_XPATH@
  164. TEST_XPTR = @TEST_XPTR@
  165. THREADS_W32 = @THREADS_W32@
  166. THREAD_CFLAGS = @THREAD_CFLAGS@
  167. THREAD_LIBS = @THREAD_LIBS@
  168. U = @U@
  169. VERSION = @VERSION@
  170. VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@
  171. WGET = @WGET@
  172. WIN32_EXTRA_LDFLAGS = @WIN32_EXTRA_LDFLAGS@
  173. WIN32_EXTRA_LIBADD = @WIN32_EXTRA_LIBADD@
  174. WITH_C14N = @WITH_C14N@
  175. WITH_CATALOG = @WITH_CATALOG@
  176. WITH_DEBUG = @WITH_DEBUG@
  177. WITH_DOCB = @WITH_DOCB@
  178. WITH_FTP = @WITH_FTP@
  179. WITH_HTML = @WITH_HTML@
  180. WITH_HTTP = @WITH_HTTP@
  181. WITH_ICONV = @WITH_ICONV@
  182. WITH_ISO8859X = @WITH_ISO8859X@
  183. WITH_LEGACY = @WITH_LEGACY@
  184. WITH_MEM_DEBUG = @WITH_MEM_DEBUG@
  185. WITH_MODULES = @WITH_MODULES@
  186. WITH_OUTPUT = @WITH_OUTPUT@
  187. WITH_PATTERN = @WITH_PATTERN@
  188. WITH_PUSH = @WITH_PUSH@
  189. WITH_READER = @WITH_READER@
  190. WITH_REGEXPS = @WITH_REGEXPS@
  191. WITH_RUN_DEBUG = @WITH_RUN_DEBUG@
  192. WITH_SAX1 = @WITH_SAX1@
  193. WITH_SCHEMAS = @WITH_SCHEMAS@
  194. WITH_SCHEMATRON = @WITH_SCHEMATRON@
  195. WITH_THREADS = @WITH_THREADS@
  196. WITH_TREE = @WITH_TREE@
  197. WITH_TRIO = @WITH_TRIO@
  198. WITH_VALID = @WITH_VALID@
  199. WITH_WRITER = @WITH_WRITER@
  200. WITH_XINCLUDE = @WITH_XINCLUDE@
  201. WITH_XPATH = @WITH_XPATH@
  202. WITH_XPTR = @WITH_XPTR@
  203. WITH_ZLIB = @WITH_ZLIB@
  204. XINCLUDE_OBJ = @XINCLUDE_OBJ@
  205. XMLLINT = @XMLLINT@
  206. XML_CFLAGS = @XML_CFLAGS@
  207. XML_INCLUDEDIR = @XML_INCLUDEDIR@
  208. XML_LIBDIR = @XML_LIBDIR@
  209. XML_LIBS = @XML_LIBS@
  210. XML_LIBTOOLLIBS = @XML_LIBTOOLLIBS@
  211. XPATH_OBJ = @XPATH_OBJ@
  212. XPTR_OBJ = @XPTR_OBJ@
  213. XSLTPROC = @XSLTPROC@
  214. Z_CFLAGS = @Z_CFLAGS@
  215. Z_LIBS = @Z_LIBS@
  216. abs_builddir = @abs_builddir@
  217. abs_srcdir = @abs_srcdir@
  218. abs_top_builddir = @abs_top_builddir@
  219. abs_top_srcdir = @abs_top_srcdir@
  220. ac_ct_CC = @ac_ct_CC@
  221. ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  222. am__include = @am__include@
  223. am__leading_dot = @am__leading_dot@
  224. am__quote = @am__quote@
  225. am__tar = @am__tar@
  226. am__untar = @am__untar@
  227. bindir = @bindir@
  228. build = @build@
  229. build_alias = @build_alias@
  230. build_cpu = @build_cpu@
  231. build_os = @build_os@
  232. build_vendor = @build_vendor@
  233. builddir = @builddir@
  234. datadir = @datadir@
  235. datarootdir = @datarootdir@
  236. docdir = @docdir@
  237. dvidir = @dvidir@
  238. exec_prefix = @exec_prefix@
  239. host = @host@
  240. host_alias = @host_alias@
  241. host_cpu = @host_cpu@
  242. host_os = @host_os@
  243. host_vendor = @host_vendor@
  244. htmldir = @htmldir@
  245. includedir = @includedir@
  246. infodir = @infodir@
  247. install_sh = @install_sh@
  248. libdir = @libdir@
  249. libexecdir = @libexecdir@
  250. localedir = @localedir@
  251. localstatedir = @localstatedir@
  252. lt_ECHO = @lt_ECHO@
  253. mandir = @mandir@
  254. mkdir_p = @mkdir_p@
  255. oldincludedir = @oldincludedir@
  256. pdfdir = @pdfdir@
  257. prefix = @prefix@
  258. program_transform_name = @program_transform_name@
  259. psdir = @psdir@
  260. pythondir = @pythondir@
  261. sbindir = @sbindir@
  262. sharedstatedir = @sharedstatedir@
  263. srcdir = @srcdir@
  264. sysconfdir = @sysconfdir@
  265. target_alias = @target_alias@
  266. top_build_prefix = @top_build_prefix@
  267. top_builddir = @top_builddir@
  268. top_srcdir = @top_srcdir@
  269. #
  270. # Definition for the tests from W3C
  271. #
  272. PYSCRIPTS = nist-test.py ms-test.py sun-test.py
  273. TESTDIR = Tests
  274. TESTDIRS = $(TESTDIR)/msxsdtest $(TESTDIR)/suntest $(TESTDIR)/Datatypes
  275. TARBALL = xsts-2002-01-16.tar.gz
  276. TARBALL_2 = xsts-2004-01-14.tar.gz
  277. TSNAME = xmlschema2002-01-16
  278. TSNAME_2 = xmlschema2004-01-14
  279. TARBALLURL = http://www.w3.org/XML/2004/xml-schema-test-suite/$(TSNAME)/$(TARBALL)
  280. TARBALLURL_2 = http://www.w3.org/XML/2004/xml-schema-test-suite/$(TSNAME_2)/$(TARBALL_2)
  281. MSTESTDEF = MSXMLSchema1-0-20020116.testSet
  282. SUNTESTDEF = SunXMLSchema1-0-20020116.testSet
  283. NISTTESTDEF = NISTXMLSchema1-0-20020116.testSet
  284. NISTTESTDEF_2 = NISTXMLSchemaDatatypes.testSet
  285. #
  286. # The local data and scripts
  287. #
  288. EXTRA_DIST = xstc.py xstc-to-python.xsl
  289. CLEANFILES = $(PYSCRIPTS) test.log
  290. all: all-am
  291. .SUFFIXES:
  292. $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  293. @for dep in $?; do \
  294. case '$(am__configure_deps)' in \
  295. *$$dep*) \
  296. ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  297. && { if test -f $@; then exit 0; else break; fi; }; \
  298. exit 1;; \
  299. esac; \
  300. done; \
  301. echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu xstc/Makefile'; \
  302. $(am__cd) $(top_srcdir) && \
  303. $(AUTOMAKE) --gnu xstc/Makefile
  304. .PRECIOUS: Makefile
  305. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  306. @case '$?' in \
  307. *config.status*) \
  308. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  309. *) \
  310. echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  311. cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  312. esac;
  313. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  314. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  315. $(top_srcdir)/configure: $(am__configure_deps)
  316. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  317. $(ACLOCAL_M4): $(am__aclocal_m4_deps)
  318. cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  319. $(am__aclocal_m4_deps):
  320. mostlyclean-libtool:
  321. -rm -f *.lo
  322. clean-libtool:
  323. -rm -rf .libs _libs
  324. tags: TAGS
  325. TAGS:
  326. ctags: CTAGS
  327. CTAGS:
  328. distdir: $(DISTFILES)
  329. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  330. topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  331. list='$(DISTFILES)'; \
  332. dist_files=`for file in $$list; do echo $$file; done | \
  333. sed -e "s|^$$srcdirstrip/||;t" \
  334. -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  335. case $$dist_files in \
  336. */*) $(MKDIR_P) `echo "$$dist_files" | \
  337. sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  338. sort -u` ;; \
  339. esac; \
  340. for file in $$dist_files; do \
  341. if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  342. if test -d $$d/$$file; then \
  343. dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  344. if test -d "$(distdir)/$$file"; then \
  345. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  346. fi; \
  347. if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  348. cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  349. find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  350. fi; \
  351. cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  352. else \
  353. test -f "$(distdir)/$$file" \
  354. || cp -p $$d/$$file "$(distdir)/$$file" \
  355. || exit 1; \
  356. fi; \
  357. done
  358. check-am: all-am
  359. check: check-am
  360. all-am: Makefile
  361. installdirs:
  362. install: install-am
  363. install-exec: install-exec-am
  364. install-data: install-data-am
  365. uninstall: uninstall-am
  366. install-am: all-am
  367. @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  368. installcheck: installcheck-am
  369. install-strip:
  370. $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  371. install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  372. `test -z '$(STRIP)' || \
  373. echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
  374. mostlyclean-generic:
  375. clean-generic:
  376. -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  377. distclean-generic:
  378. -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  379. -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  380. maintainer-clean-generic:
  381. @echo "This command is intended for maintainers to use"
  382. @echo "it deletes files that may require special tools to rebuild."
  383. clean: clean-am
  384. clean-am: clean-generic clean-libtool mostlyclean-am
  385. distclean: distclean-am
  386. -rm -f Makefile
  387. distclean-am: clean-am distclean-generic
  388. dvi: dvi-am
  389. dvi-am:
  390. html: html-am
  391. html-am:
  392. info: info-am
  393. info-am:
  394. install-data-am:
  395. install-dvi: install-dvi-am
  396. install-dvi-am:
  397. install-exec-am:
  398. install-html: install-html-am
  399. install-html-am:
  400. install-info: install-info-am
  401. install-info-am:
  402. install-man:
  403. install-pdf: install-pdf-am
  404. install-pdf-am:
  405. install-ps: install-ps-am
  406. install-ps-am:
  407. installcheck-am:
  408. maintainer-clean: maintainer-clean-am
  409. -rm -f Makefile
  410. maintainer-clean-am: distclean-am maintainer-clean-generic
  411. mostlyclean: mostlyclean-am
  412. mostlyclean-am: mostlyclean-generic mostlyclean-libtool
  413. pdf: pdf-am
  414. pdf-am:
  415. ps: ps-am
  416. ps-am:
  417. uninstall-am:
  418. .MAKE: install-am install-strip
  419. .PHONY: all all-am check check-am clean clean-generic clean-libtool \
  420. distclean distclean-generic distclean-libtool distdir dvi \
  421. dvi-am html html-am info info-am install install-am \
  422. install-data install-data-am install-dvi install-dvi-am \
  423. install-exec install-exec-am install-html install-html-am \
  424. install-info install-info-am install-man install-pdf \
  425. install-pdf-am install-ps install-ps-am install-strip \
  426. installcheck installcheck-am installdirs maintainer-clean \
  427. maintainer-clean-generic mostlyclean mostlyclean-generic \
  428. mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
  429. #
  430. # Nothing is done by make, only make tests and
  431. # only if Python and Schemas are enabled.
  432. #
  433. all:
  434. #
  435. # Rule to load the test description and extract the informations
  436. #
  437. $(TESTDIRS) Tests/Metadata/$(NISTTESTDEF_2) Tests/Metadata/$(MSTTESTDEF) Tests/Metadata/$(SUNTESTDEF):
  438. -@(if [ ! -d Tests ] ; then \
  439. mkdir Tests ; \
  440. fi)
  441. -@(if [ ! -f $(TARBALL_2) ] ; then \
  442. if [ -f $(srcdir)/$(TARBALL_2) ] ; then \
  443. $(LN_S) $(srcdir)/$(TARBALL_2) $(TARBALL_2) ; else \
  444. echo "Missing the test suite description (2004-01-14), trying to fetch it" ;\
  445. if [ -x "$(WGET)" ] ; then \
  446. $(WGET) $(TARBALLURL_2) ; \
  447. else echo "Dont' know how to fetch $(TARBALLURL_2)" ; fi ; fi ; fi)
  448. -@(if [ -f $(TARBALL_2) ] ; then \
  449. echo -n "extracting test data (NIST)..." ; \
  450. $(TAR) -xzf $(TARBALL_2) --wildcards '*/Datatypes' '*/Metadata/$(NISTTESTDEF_2)' ; \
  451. echo "done" ; \
  452. fi)
  453. -@(if [ ! -f $(TARBALL) ] ; then \
  454. if [ -f $(srcdir)/$(TARBALL) ] ; then \
  455. $(LN_S) $(srcdir)/$(TARBALL) $(TARBALL) ; else \
  456. echo "Missing the test suite description (2002-01-16), trying to fetch it" ;\
  457. if [ -x "$(WGET)" ] ; then \
  458. $(WGET) $(TARBALLURL) ; \
  459. else echo "Dont' know how to fetch $(TARBALLURL)" ; fi ; fi ; fi)
  460. -@(if [ -f $(TARBALL) ] ; then \
  461. echo -n "extracting test data (Sun, Microsoft)..." ; \
  462. $(TAR) -C Tests -xzf $(TARBALL) --wildcards '*/suntest' '*/msxsdtest' '*/$(MSTESTDEF)' '*/$(SUNTESTDEF)' ; \
  463. if [ -d Tests/suntest ] ; then rm -r Tests/suntest ; fi ; \
  464. if [ -d Tests/msxsdtest ] ; then rm -r Tests/msxsdtest ; fi ; \
  465. mv Tests/xmlschema2002-01-16/* Tests ; \
  466. mv Tests/*.testSet Tests/Metadata ; \
  467. rm -r Tests/xmlschema2002-01-16 ; \
  468. echo "done" ; \
  469. fi)
  470. #
  471. # The python tests are generated via XSLT
  472. #
  473. nist-test.py: Tests/Metadata/$(NISTTESTDEF_2) xstc-to-python.xsl
  474. -@(if [ -x $(XSLTPROC) ] ; then \
  475. echo "Rebuilding script (NIST)" $@ ; \
  476. $(XSLTPROC) --nonet --stringparam vendor NIST-2 \
  477. $(srcdir)/xstc-to-python.xsl \
  478. $(srcdir)/Tests/Metadata/$(NISTTESTDEF_2) > $@ ; \
  479. chmod +x $@ ; fi )
  480. ms-test.py: Tests/Metadata/$(MSTTESTDEF) xstc-to-python.xsl
  481. -@(if [ -x $(XSLTPROC) ] ; then \
  482. echo "Rebuilding script (Microsoft)" $@ ; \
  483. $(XSLTPROC) --nonet --stringparam vendor MS \
  484. $(srcdir)/xstc-to-python.xsl \
  485. $(srcdir)/Tests/Metadata/$(MSTESTDEF) > $@ ; \
  486. chmod +x $@ ; fi )
  487. sun-test.py: Tests/Metadata/$(SUNTESTDEF) xstc-to-python.xsl
  488. -@(if [ -x $(XSLTPROC) ] ; then \
  489. echo "Rebuilding script (Sun)" $@ ; \
  490. $(XSLTPROC) --nonet --stringparam vendor SUN \
  491. $(srcdir)/xstc-to-python.xsl \
  492. $(srcdir)/Tests/Metadata/$(SUNTESTDEF) > $@ ; \
  493. chmod +x $@ ; fi )
  494. #
  495. # The actual test run if present. PYTHONPATH is updated to make sure
  496. # we run the version from the loacl build and not preinstalled bindings
  497. #
  498. pytests: $(PYSCRIPTS) $(TESTDIRS)
  499. -@(if [ -x nist-test.py -a -d $(TESTDIR)/Datatypes ] ; then \
  500. echo "## Running XML Schema tests (NIST)"; \
  501. PYTHONPATH="../python:../python/.libs:..:../.libs:$$PYTHONPATH" ;\
  502. export PYTHONPATH; \
  503. LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
  504. export LD_LIBRARY_PATH; \
  505. $(CHECKER) $(PYTHON) nist-test.py -s -b $(srcdir) ; fi)
  506. -@(if [ -x sun-test.py -a -d $(TESTDIR)/suntest ] ; then \
  507. echo "## Running Schema tests (Sun)"; \
  508. PYTHONPATH="../python:../python/.libs:..:../.libs:$$PYTHONPATH" ;\
  509. export PYTHONPATH; \
  510. LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
  511. export LD_LIBRARY_PATH; \
  512. $(CHECKER) $(PYTHON) sun-test.py -s -b $(srcdir) ; fi)
  513. -@(if [ -x ms-test.py -a -d $(TESTDIR)/msxsdtest ] ; then \
  514. echo "## Running Schema tests (Microsoft)"; \
  515. PYTHONPATH="../python:../python/.libs:..:../.libs:$$PYTHONPATH" ;\
  516. export PYTHONPATH; \
  517. LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
  518. export LD_LIBRARY_PATH; \
  519. $(CHECKER) $(PYTHON) ms-test.py -s -b $(srcdir) ; fi)
  520. tests:
  521. -@(if [ -x $(PYTHON) ] ; then \
  522. $(MAKE) MAKEFLAGS+=--silent pytests ; fi);
  523. #
  524. # Heavy, works well only on RHEL3
  525. #
  526. valgrind:
  527. -@(if [ -x $(PYTHON) ] ; then \
  528. echo '## Running the regression tests under Valgrind' ; \
  529. $(MAKE) CHECKER='valgrind -q' MAKEFLAGS+=--silent pytests ; fi);
  530. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  531. # Otherwise a system limit (for SysV at least) may be exceeded.
  532. .NOEXPORT: