Makefile 18 KB

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