1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407
|
# Makefile.in generated by automake 1.6.3 from Makefile.am.
# @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
# Copyright (C) 2003 CSIRO Australia
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# - Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# - Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# - Neither the name of the CSIRO nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ORGANISATION OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
EXEEXT = @EXEEXT@
OBJEXT = @OBJEXT@
PATH_SEPARATOR = @PATH_SEPARATOR@
AMTAR = @AMTAR@
AR = @AR@
AS = @AS@
AWK = @AWK@
CC = @CC@
CXX = @CXX@
CXXCPP = @CXXCPP@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
EGREP = @EGREP@
EXPAT_LIBS = @EXPAT_LIBS@
F77 = @F77@
GCJ = @GCJ@
GCJFLAGS = @GCJFLAGS@
GETOPT_LIBS = @GETOPT_LIBS@
GETOPT_LONG_LIBS = @GETOPT_LONG_LIBS@
HAVE_DOCBOOK2HTML = @HAVE_DOCBOOK2HTML@
HAVE_DOCBOOKTOMAN = @HAVE_DOCBOOKTOMAN@
HAVE_DOXYGEN = @HAVE_DOXYGEN@
HAVE_VALGRIND = @HAVE_VALGRIND@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
OBJDUMP = @OBJDUMP@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
RC = @RC@
SHARED_VERSION_INFO = @SHARED_VERSION_INFO@
SHLIB_VERSION_ARG = @SHLIB_VERSION_ARG@
STRIP = @STRIP@
VALGRIND_ENVIRONMENT = @VALGRIND_ENVIRONMENT@
VERSION = @VERSION@
am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
#TOOLSDIR = ${top_srcdir}/tools
TESTSDIR = ${top_srcdir}/tests
SPC_CMML = special1.cmml special2.cmml write.cmml
SRC_CMML = simple.cmml i18n.cmml error1.cmml error2.cmml error3.cmml \
error4.cmml error5.cmml error6.cmml error7.cmml error8.cmml \
error9.cmml error10.cmml error11.cmml error12.cmml error13.cmml \
error14.cmml error15.cmml
RST_CMML = simple.cmml.correct i18n.cmml.correct \
special1.cmml.scientist special2.cmml.title special2.cmml.offset \
error1.cmml.correct error2.cmml.correct \
error3.cmml.correct error4.cmml.correct \
error5.cmml.correct error6.cmml.correct \
error7.cmml.correct error8.cmml.correct \
error9.cmml.correct error10.cmml.correct \
error11.cmml.correct error12.cmml.correct \
error13.cmml.correct error14.cmml.correct \
error15.cmml.correct
EXTRA_DIST = ${SPC_CMML} ${SRC_CMML} ${RST_CMML} libcmml_new.sh
subdir = tests
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
DIST_SOURCES =
DIST_COMMON = Makefile.am Makefile.in
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu tests/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
distclean-libtool:
-rm -f libtool
uninstall-info-am:
tags: TAGS
TAGS:
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
top_distdir = ..
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@list='$(DISTFILES)'; for file in $$list; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkinstalldirs) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
if test -d $$d/$$file; then \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile
installdirs:
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
distclean-am: clean-am distclean-generic distclean-libtool
dvi: dvi-am
dvi-am:
info: info-am
info-am:
install-data-am:
install-exec-am:
install-info: install-info-am
install-man:
installcheck-am:
maintainer-clean: maintainer-clean-am
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
uninstall-am: uninstall-info-am
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
distclean distclean-generic distclean-libtool distdir dvi \
dvi-am info info-am install install-am install-data \
install-data-am install-exec install-exec-am install-info \
install-info-am install-man install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic \
mostlyclean-libtool uninstall uninstall-am uninstall-info-am
check: specific_tests ${SRC_CMML}
# general tests
@echo "---------------------------------------------------------------"
@echo " Generic tests of correct files and error conditions"
@echo "---------------------------------------------------------------"; \
for i in $(SRC_CMML) ; do \
if test ${TESTSDIR}/$$i ; then \
../tools/cmml-validate -b ${TESTSDIR}/$$i 2>&1 | diff -b - ${TESTSDIR}/$${i}.correct; \
if test $$? -ne 0 ; then \
echo "---------------------------------------------------------------"; \
echo " libcmml: error in $$i"; \
echo "---------------------------------------------------------------"; \
exit 1; \
else \
echo " $${i} ... passed"; \
fi; \
fi; \
done; \
echo "---------------------------------------------------------------"; \
echo " libcmml passed tests."; \
echo "---------------------------------------------------------------"
specific_tests:
@echo "---------------------------------------------------------------"
@echo " Specific tests with examples programs"
@echo "---------------------------------------------------------------"
# parsing and extracting title tag; also checks for parsing of stdin
@../examples/cmml-parse ${TESTSDIR}/special2.cmml | diff -b - ${TESTSDIR}/special2.cmml.title; \
if test $$? -ne 0 ; then \
echo " libcmml: error on cmml-parse special2.cmml"; \
echo "---------------------------------------------------------------"; \
exit 1; \
else \
echo " cmml-parse ... passed"; \
fi
# writing of CML file
@../examples/cmml-write | diff -b - ${TESTSDIR}/write.cmml; \
if test $$? -ne 0 ; then \
echo " libcmml: error on cmml-write"; \
echo "---------------------------------------------------------------"; \
exit 1; \
else \
echo " cmml-write ... passed"; \
fi
# seeking to the scientist clip offset
@../examples/cmml-seek-clip ${TESTSDIR}/special1.cmml scientist | diff -b - ${TESTSDIR}/special1.cmml.scientist; \
if test $$? -ne 0 ; then \
echo " libcmml: error on cmml-seek-clip special1.cmml scientist"; \
echo "---------------------------------------------------------------"; \
exit 1; \
else \
echo " cmml-seek-clip ... passed"; \
fi
# seeking to time offset in seconds
@../examples/cmml-seek-offset ${TESTSDIR}/special2.cmml 160 | diff -b - ${TESTSDIR}/special2.cmml.offset; \
if test $$? -ne 0 ; then \
echo " libcmml: error on cmml-seek-offset special2.cmml 160"; \
echo "---------------------------------------------------------------"; \
exit 1; \
else \
echo " cmml-seek-offset ... passed"; \
fi
# seeking to utc offset
@../examples/cmml-seek-utc ${TESTSDIR}/special2.cmml 20021222T221105Z | diff -b - ${TESTSDIR}/special2.cmml.offset; \
if test $$? -ne 0 ; then \
echo " libcmml: error on cmml-seek-utc special2.cmml 20021222T221105Z"; \
echo "---------------------------------------------------------------"; \
exit 1; \
else \
echo " cmml-seek-utc ... passed"; \
fi
# uri file opening id
@../examples/cmml-uri-file file://${TESTSDIR}/special2.cmml\#Question_Storm_Water | diff -b - ${TESTSDIR}/special2.cmml.offset; \
if test $$? -ne 0 ; then \
echo " libcmml: error on cmml-uri-file special2.cmml\#Question_Storm_Water"; \
echo "---------------------------------------------------------------"; \
exit 1; \
else \
echo " cmml-uri-file clip ... passed"; \
fi
# uri file opening npt
@../examples/cmml-uri-file file://${TESTSDIR}/special2.cmml\#npt:160 | diff -b - ${TESTSDIR}/special2.cmml.offset; \
if test $$? -ne 0 ; then \
echo " libcmml: error on cmml-uri-file special2.cmml\#npt:160"; \
echo "---------------------------------------------------------------"; \
exit 1; \
else \
echo " cmml-uri-file npt ... passed"; \
fi
# uri file opening smpte
@../examples/cmml-uri-file file://${TESTSDIR}/special2.cmml\#smpte-25:00:02:40:00 | diff -b - ${TESTSDIR}/special2.cmml.offset; \
if test $$? -ne 0 ; then \
echo " libcmml: error on cmml-uri-file special2.cmml\#smpte-25:00:02:40:00"; \
echo "---------------------------------------------------------------"; \
exit 1; \
else \
echo " cmml-uri-file smpte ... passed"; \
fi
# uri file opening utc
@../examples/cmml-uri-file file://${TESTSDIR}/special2.cmml\#clock:20021222T221105Z | diff -b - ${TESTSDIR}/special2.cmml.offset; \
if test $$? -ne 0 ; then \
echo " libcmml: error on cmml-uri-file special2.cmml\#clock:20021222T221105Z"; \
echo "---------------------------------------------------------------"; \
exit 1; \
else \
echo " cmml-uri-file clock ... passed"; \
fi
new: ./libcmml_new.sh
./libcmml_new.sh
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
|