126
130
GLIB_MINOR_VERSION = @GLIB_MINOR_VERSION@
127
131
GLIB_VERSION = @GLIB_VERSION@
128
132
GLIB_WIN32_STATIC_COMPILATION_DEFINE = @GLIB_WIN32_STATIC_COMPILATION_DEFINE@
129
GMODULE_DEF = @GMODULE_DEF@
130
133
GMOFILES = @GMOFILES@
131
134
GMSGFMT = @GMSGFMT@
132
GOBJECT_DEF = @GOBJECT_DEF@
134
136
GSPAWN = @GSPAWN@
135
137
GTHREAD_COMPILE_IMPL_DEFINES = @GTHREAD_COMPILE_IMPL_DEFINES@
136
GTHREAD_DEF = @GTHREAD_DEF@
137
138
GTKDOC_CHECK = @GTKDOC_CHECK@
138
139
G_LIBS_EXTRA = @G_LIBS_EXTRA@
139
140
G_MODULE_BROKEN_RTLD_GLOBAL = @G_MODULE_BROKEN_RTLD_GLOBAL@
274
281
srcdir = @srcdir@
275
282
sysconfdir = @sysconfdir@
276
283
target_alias = @target_alias@
284
top_build_prefix = @top_build_prefix@
277
285
top_builddir = @top_builddir@
278
286
top_srcdir = @top_srcdir@
288
#GTESTER = gtester # for non-GLIB packages
289
GTESTER = $(top_builddir)/glib/gtester # for the GLIB package
290
GTESTER_REPORT = $(top_builddir)/glib/gtester-report # for the GLIB package
280
297
-DG_LOG_DOMAIN=\"GLib-GRegex\" \
284
301
-DMATCH_LIMIT=10000000 \
285
-DMATCH_LIMIT_RECURSION=10000000 \
302
-DMATCH_LIMIT_RECURSION=8192 \
286
303
-DMAX_NAME_SIZE=32 \
287
304
-DMAX_NAME_COUNT=10000 \
288
305
-DMAX_DUPLENGTH=30000 \
598
612
.MAKE: install-am install-strip
600
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
601
clean-libtool clean-noinstLTLIBRARIES ctags distclean \
602
distclean-compile distclean-generic distclean-libtool \
603
distclean-tags distdir dvi dvi-am html html-am info info-am \
604
install install-am install-data install-data-am install-dvi \
605
install-dvi-am install-exec install-exec-am install-html \
606
install-html-am install-info install-info-am install-man \
607
install-pdf install-pdf-am install-ps install-ps-am \
608
install-strip installcheck installcheck-am installdirs \
609
maintainer-clean maintainer-clean-generic mostlyclean \
610
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
611
pdf pdf-am ps ps-am tags uninstall uninstall-am
614
.PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
615
clean-generic clean-libtool clean-noinstLTLIBRARIES ctags \
616
distclean distclean-compile distclean-generic \
617
distclean-libtool distclean-tags distdir dvi dvi-am html \
618
html-am info info-am install install-am install-data \
619
install-data-am install-dvi install-dvi-am install-exec \
620
install-exec-am install-html install-html-am install-info \
621
install-info-am install-man install-pdf install-pdf-am \
622
install-ps install-ps-am install-strip installcheck \
623
installcheck-am installdirs maintainer-clean \
624
maintainer-clean-generic mostlyclean mostlyclean-compile \
625
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
626
tags uninstall uninstall-am
631
# test: run all tests in cwd and subdirs
633
@test -z "${TEST_PROGS}" || ${GTESTER} --verbose ${TEST_PROGS}
634
@ for subdir in $(SUBDIRS) . ; do \
635
test "$$subdir" = "." -o "$$subdir" = "po" || \
636
( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
638
# test-report: run tests in subdirs and generate report
639
# perf-report: run tests in subdirs with -m perf and generate report
640
# full-report: like test-report: with -m perf and -m slow
641
test-report perf-report full-report: ${TEST_PROGS}
642
@test -z "${TEST_PROGS}" || { \
644
test-report) test_options="-k";; \
645
perf-report) test_options="-k -m=perf";; \
646
full-report) test_options="-k -m=perf -m=slow";; \
648
if test -z "$$GTESTER_LOGDIR" ; then \
649
${GTESTER} --verbose $$test_options -o test-report.xml ${TEST_PROGS} ; \
650
elif test -n "${TEST_PROGS}" ; then \
651
${GTESTER} --verbose $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TEST_PROGS} ; \
654
@ ignore_logdir=true ; \
655
if test -z "$$GTESTER_LOGDIR" ; then \
656
GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \
657
ignore_logdir=false ; \
659
for subdir in $(SUBDIRS) . ; do \
660
test "$$subdir" = "." -o "$$subdir" = "po" || \
661
( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
663
$$ignore_logdir || { \
664
echo '<?xml version="1.0"?>' > $@.xml ; \
665
echo '<report-collection>' >> $@.xml ; \
666
for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \
667
sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $@.xml ; \
670
echo '</report-collection>' >> $@.xml ; \
671
rm -rf "$$GTESTER_LOGDIR"/ ; \
672
${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
674
.PHONY: test test-report perf-report full-report
675
# run make test as part of make check
615
677
# Tell versions [3.59,3.63) of GNU make to not export all variables.
616
678
# Otherwise a system limit (for SysV at least) may be exceeded.