Makefile.in (jq-1.5) | : | Makefile.in (jq-1.6) | ||
---|---|---|---|---|
# Makefile.in generated by automake 1.14.1 from Makefile.am. | # Makefile.in generated by automake 1.15 from Makefile.am. | |||
# @configure_input@ | # @configure_input@ | |||
# Copyright (C) 1994-2013 Free Software Foundation, Inc. | # Copyright (C) 1994-2014 Free Software Foundation, Inc. | |||
# This Makefile.in is free software; the Free Software Foundation | # This Makefile.in is free software; the Free Software Foundation | |||
# gives unlimited permission to copy and/or distribute it, | # gives unlimited permission to copy and/or distribute it, | |||
# with or without modifications, as long as this notice is preserved. | # with or without modifications, as long as this notice is preserved. | |||
# This program is distributed in the hope that it will be useful, | # This program is distributed in the hope that it will be useful, | |||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |||
# PARTICULAR PURPOSE. | # PARTICULAR PURPOSE. | |||
@SET_MAKE@ | @SET_MAKE@ | |||
### C source files to be built and distributed. | ### C source files to be built and distributed. | |||
VPATH = @srcdir@ | VPATH = @srcdir@ | |||
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' | am__is_gnu_make = { \ | |||
if test -z '$(MAKELEVEL)'; then \ | ||||
false; \ | ||||
elif test -n '$(MAKE_HOST)'; then \ | ||||
true; \ | ||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ | ||||
true; \ | ||||
else \ | ||||
false; \ | ||||
fi; \ | ||||
} | ||||
am__make_running_with_option = \ | am__make_running_with_option = \ | |||
case $${target_option-} in \ | case $${target_option-} in \ | |||
?) ;; \ | ?) ;; \ | |||
*) echo "am__make_running_with_option: internal error: invalid" \ | *) echo "am__make_running_with_option: internal error: invalid" \ | |||
"target option '$${target_option-}' specified" >&2; \ | "target option '$${target_option-}' specified" >&2; \ | |||
exit 1;; \ | exit 1;; \ | |||
esac; \ | esac; \ | |||
has_opt=no; \ | has_opt=no; \ | |||
sane_makeflags=$$MAKEFLAGS; \ | sane_makeflags=$$MAKEFLAGS; \ | |||
if $(am__is_gnu_make); then \ | if $(am__is_gnu_make); then \ | |||
skipping to change at line 83 | skipping to change at line 93 | |||
INSTALL_HEADER = $(INSTALL_DATA) | INSTALL_HEADER = $(INSTALL_DATA) | |||
transform = $(program_transform_name) | transform = $(program_transform_name) | |||
NORMAL_INSTALL = : | NORMAL_INSTALL = : | |||
PRE_INSTALL = : | PRE_INSTALL = : | |||
POST_INSTALL = : | POST_INSTALL = : | |||
NORMAL_UNINSTALL = : | NORMAL_UNINSTALL = : | |||
PRE_UNINSTALL = : | PRE_UNINSTALL = : | |||
POST_UNINSTALL = : | POST_UNINSTALL = : | |||
build_triplet = @build@ | build_triplet = @build@ | |||
host_triplet = @host@ | host_triplet = @host@ | |||
@WIN32_TRUE@am__append_1 = -lshlwapi | ||||
@ENABLE_UBSAN_TRUE@am__append_2 = -fsanitize=undefined | ||||
### Running tests under Valgrind | ||||
@ENABLE_ASAN_TRUE@am__append_3 = -fsanitize=address | ||||
### Code coverage with gcov | ### Code coverage with gcov | |||
@ENABLE_GCOV_TRUE@am__append_1 = --coverage --no-inline | @ENABLE_GCOV_TRUE@am__append_4 = --coverage --no-inline | |||
### Error injection for testing | ### Error injection for testing | |||
@ENABLE_ERROR_INJECTION_TRUE@am__append_2 = libinject_errors.la | @ENABLE_ERROR_INJECTION_TRUE@am__append_5 = libinject_errors.la | |||
bin_PROGRAMS = jq$(EXEEXT) | bin_PROGRAMS = jq$(EXEEXT) | |||
@ENABLE_ALL_STATIC_TRUE@am__append_3 = -all-static | @WIN32_TRUE@am__append_6 = -lshlwapi | |||
@ENABLE_ALL_STATIC_TRUE@am__append_7 = -all-static | ||||
### Build oniguruma | ||||
@BUILD_ONIGURUMA_TRUE@am__append_8 = modules/oniguruma/src/.libs/libonig.la | ||||
subdir = . | subdir = . | |||
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ | ||||
$(top_srcdir)/configure $(am__configure_deps) parser.h \ | ||||
parser.c lexer.c $(top_srcdir)/config/depcomp \ | ||||
$(top_srcdir)/config/ylwrap $(dist_doc_DATA) \ | ||||
$(include_HEADERS) $(top_srcdir)/config/test-driver AUTHORS \ | ||||
COPYING ChangeLog NEWS README config/ar-lib config/compile \ | ||||
config/config.guess config/config.sub config/depcomp \ | ||||
config/install-sh config/missing config/ylwrap \ | ||||
config/ltmain.sh $(top_srcdir)/config/ar-lib \ | ||||
$(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \ | ||||
$(top_srcdir)/config/config.sub \ | ||||
$(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \ | ||||
$(top_srcdir)/config/missing | ||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |||
am__aclocal_m4_deps = $(top_srcdir)/config/m4/check-math-func.m4 \ | am__aclocal_m4_deps = $(top_srcdir)/config/m4/check-math-func.m4 \ | |||
$(top_srcdir)/config/m4/find-func-no-libs.m4 \ | $(top_srcdir)/config/m4/find-func-no-libs.m4 \ | |||
$(top_srcdir)/config/m4/find-func-no-libs2.m4 \ | $(top_srcdir)/config/m4/find-func-no-libs2.m4 \ | |||
$(top_srcdir)/config/m4/find-func.m4 \ | $(top_srcdir)/config/m4/find-func.m4 \ | |||
$(top_srcdir)/config/m4/libtool.m4 \ | $(top_srcdir)/config/m4/libtool.m4 \ | |||
$(top_srcdir)/config/m4/ltoptions.m4 \ | $(top_srcdir)/config/m4/ltoptions.m4 \ | |||
$(top_srcdir)/config/m4/ltsugar.m4 \ | $(top_srcdir)/config/m4/ltsugar.m4 \ | |||
$(top_srcdir)/config/m4/ltversion.m4 \ | $(top_srcdir)/config/m4/ltversion.m4 \ | |||
$(top_srcdir)/config/m4/lt~obsolete.m4 \ | $(top_srcdir)/config/m4/lt~obsolete.m4 \ | |||
$(top_srcdir)/config/m4/misc.m4 \ | $(top_srcdir)/config/m4/misc.m4 \ | |||
$(top_srcdir)/m4/ax_compare_version.m4 \ | $(top_srcdir)/m4/ax_compare_version.m4 \ | |||
$(top_srcdir)/m4/ax_prog_bison_version.m4 \ | $(top_srcdir)/m4/ax_prog_bison_version.m4 \ | |||
$(top_srcdir)/configure.ac | $(top_srcdir)/configure.ac | |||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |||
$(ACLOCAL_M4) | $(ACLOCAL_M4) | |||
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ | ||||
$(am__configure_deps) $(dist_doc_DATA) $(include_HEADERS) \ | ||||
$(am__DIST_COMMON) | ||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | |||
configure.lineno config.status.lineno | configure.lineno config.status.lineno | |||
mkinstalldirs = $(install_sh) -d | mkinstalldirs = $(install_sh) -d | |||
CONFIG_CLEAN_FILES = | CONFIG_CLEAN_FILES = | |||
CONFIG_CLEAN_VPATH_FILES = | CONFIG_CLEAN_VPATH_FILES = | |||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | |||
am__vpath_adj = case $$p in \ | am__vpath_adj = case $$p in \ | |||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | |||
*) f=$$p;; \ | *) f=$$p;; \ | |||
esac; | esac; | |||
skipping to change at line 158 | skipping to change at line 167 | |||
test -z "$$files" \ | test -z "$$files" \ | |||
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | |||
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | |||
$(am__cd) "$$dir" && rm -f $$files; }; \ | $(am__cd) "$$dir" && rm -f $$files; }; \ | |||
} | } | |||
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ | am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ | |||
"$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)" \ | "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)" \ | |||
"$(DESTDIR)$(includedir)" | "$(DESTDIR)$(includedir)" | |||
LTLIBRARIES = $(lib_LTLIBRARIES) | LTLIBRARIES = $(lib_LTLIBRARIES) | |||
libinject_errors_la_DEPENDENCIES = | libinject_errors_la_DEPENDENCIES = | |||
am__libinject_errors_la_SOURCES_DIST = inject_errors.c | am__libinject_errors_la_SOURCES_DIST = src/inject_errors.c | |||
am__dirstamp = $(am__leading_dot)dirstamp | ||||
@ENABLE_ERROR_INJECTION_TRUE@am_libinject_errors_la_OBJECTS = \ | @ENABLE_ERROR_INJECTION_TRUE@am_libinject_errors_la_OBJECTS = \ | |||
@ENABLE_ERROR_INJECTION_TRUE@ inject_errors.lo | @ENABLE_ERROR_INJECTION_TRUE@ src/inject_errors.lo | |||
libinject_errors_la_OBJECTS = $(am_libinject_errors_la_OBJECTS) | libinject_errors_la_OBJECTS = $(am_libinject_errors_la_OBJECTS) | |||
AM_V_lt = $(am__v_lt_@AM_V@) | AM_V_lt = $(am__v_lt_@AM_V@) | |||
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) | am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) | |||
am__v_lt_0 = --silent | am__v_lt_0 = --silent | |||
am__v_lt_1 = | am__v_lt_1 = | |||
libinject_errors_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | libinject_errors_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ | |||
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ | |||
$(AM_CFLAGS) $(CFLAGS) $(libinject_errors_la_LDFLAGS) \ | $(AM_CFLAGS) $(CFLAGS) $(libinject_errors_la_LDFLAGS) \ | |||
$(LDFLAGS) -o $@ | $(LDFLAGS) -o $@ | |||
@ENABLE_ERROR_INJECTION_TRUE@am_libinject_errors_la_rpath = -rpath \ | @ENABLE_ERROR_INJECTION_TRUE@am_libinject_errors_la_rpath = -rpath \ | |||
@ENABLE_ERROR_INJECTION_TRUE@ $(libdir) | @ENABLE_ERROR_INJECTION_TRUE@ $(libdir) | |||
libjq_la_DEPENDENCIES = | am__DEPENDENCIES_1 = | |||
am__objects_1 = parser.lo lexer.lo | libjq_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__append_8) | |||
am__objects_2 = locfile.lo bytecode.lo compile.lo execute.lo \ | am__objects_1 = src/lexer.lo src/parser.lo | |||
builtin.lo jv.lo jv_parse.lo jv_print.lo jv_dtoa.lo \ | am__objects_2 = src/builtin.lo src/bytecode.lo src/compile.lo \ | |||
jv_unicode.lo jv_aux.lo jv_file.lo jv_alloc.lo jq_test.lo \ | src/execute.lo src/jq_test.lo src/jv.lo src/jv_alloc.lo \ | |||
util.lo linker.lo $(am__objects_1) | src/jv_aux.lo src/jv_dtoa.lo src/jv_file.lo src/jv_parse.lo \ | |||
src/jv_print.lo src/jv_unicode.lo src/linker.lo src/locfile.lo \ | ||||
src/util.lo $(am__objects_1) | ||||
am_libjq_la_OBJECTS = $(am__objects_2) | am_libjq_la_OBJECTS = $(am__objects_2) | |||
libjq_la_OBJECTS = $(am_libjq_la_OBJECTS) | libjq_la_OBJECTS = $(am_libjq_la_OBJECTS) | |||
libjq_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | libjq_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | |||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | |||
$(libjq_la_LDFLAGS) $(LDFLAGS) -o $@ | $(libjq_la_LDFLAGS) $(LDFLAGS) -o $@ | |||
PROGRAMS = $(bin_PROGRAMS) | PROGRAMS = $(bin_PROGRAMS) | |||
am_jq_OBJECTS = main.$(OBJEXT) | am_jq_OBJECTS = src/main.$(OBJEXT) | |||
jq_OBJECTS = $(am_jq_OBJECTS) | jq_OBJECTS = $(am_jq_OBJECTS) | |||
jq_DEPENDENCIES = libjq.la | jq_DEPENDENCIES = libjq.la $(am__DEPENDENCIES_1) | |||
jq_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | jq_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | |||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | |||
$(jq_LDFLAGS) $(LDFLAGS) -o $@ | $(jq_LDFLAGS) $(LDFLAGS) -o $@ | |||
AM_V_P = $(am__v_P_@AM_V@) | AM_V_P = $(am__v_P_@AM_V@) | |||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |||
am__v_P_0 = false | am__v_P_0 = false | |||
am__v_P_1 = : | am__v_P_1 = : | |||
AM_V_GEN = $(am__v_GEN_@AM_V@) | AM_V_GEN = $(am__v_GEN_@AM_V@) | |||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |||
am__v_GEN_0 = @echo " GEN " $@; | am__v_GEN_0 = @echo " GEN " $@; | |||
skipping to change at line 247 | skipping to change at line 259 | |||
LTYACCCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \ | LTYACCCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \ | |||
$(LIBTOOLFLAGS) --mode=compile $(YACC) $(AM_YFLAGS) $(YFLAGS) | $(LIBTOOLFLAGS) --mode=compile $(YACC) $(AM_YFLAGS) $(YFLAGS) | |||
AM_V_YACC = $(am__v_YACC_@AM_V@) | AM_V_YACC = $(am__v_YACC_@AM_V@) | |||
am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@) | am__v_YACC_ = $(am__v_YACC_@AM_DEFAULT_V@) | |||
am__v_YACC_0 = @echo " YACC " $@; | am__v_YACC_0 = @echo " YACC " $@; | |||
am__v_YACC_1 = | am__v_YACC_1 = | |||
SOURCES = $(libinject_errors_la_SOURCES) $(libjq_la_SOURCES) \ | SOURCES = $(libinject_errors_la_SOURCES) $(libjq_la_SOURCES) \ | |||
$(jq_SOURCES) | $(jq_SOURCES) | |||
DIST_SOURCES = $(am__libinject_errors_la_SOURCES_DIST) \ | DIST_SOURCES = $(am__libinject_errors_la_SOURCES_DIST) \ | |||
$(libjq_la_SOURCES) $(jq_SOURCES) | $(libjq_la_SOURCES) $(jq_SOURCES) | |||
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ | ||||
ctags-recursive dvi-recursive html-recursive info-recursive \ | ||||
install-data-recursive install-dvi-recursive \ | ||||
install-exec-recursive install-html-recursive \ | ||||
install-info-recursive install-pdf-recursive \ | ||||
install-ps-recursive install-recursive installcheck-recursive \ | ||||
installdirs-recursive pdf-recursive ps-recursive \ | ||||
tags-recursive uninstall-recursive | ||||
am__can_run_installinfo = \ | am__can_run_installinfo = \ | |||
case $$AM_UPDATE_INFO_DIR in \ | case $$AM_UPDATE_INFO_DIR in \ | |||
n|no|NO) false;; \ | n|no|NO) false;; \ | |||
*) (install-info --version) >/dev/null 2>&1;; \ | *) (install-info --version) >/dev/null 2>&1;; \ | |||
esac | esac | |||
man1dir = $(mandir)/man1 | man1dir = $(mandir)/man1 | |||
NROFF = nroff | NROFF = nroff | |||
MANS = $(man_MANS) | MANS = $(man_MANS) | |||
DATA = $(dist_doc_DATA) | DATA = $(dist_doc_DATA) | |||
HEADERS = $(include_HEADERS) | HEADERS = $(include_HEADERS) | |||
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | ||||
distclean-recursive maintainer-clean-recursive | ||||
am__recursive_targets = \ | ||||
$(RECURSIVE_TARGETS) \ | ||||
$(RECURSIVE_CLEAN_TARGETS) \ | ||||
$(am__extra_recursive_targets) | ||||
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ | ||||
cscope check recheck distdir dist dist-all distcheck | ||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |||
# Read a list of newline-separated strings from the standard input, | # Read a list of newline-separated strings from the standard input, | |||
# and print each of them once, without duplicates. Input order is | # and print each of them once, without duplicates. Input order is | |||
# *not* preserved. | # *not* preserved. | |||
am__uniquify_input = $(AWK) '\ | am__uniquify_input = $(AWK) '\ | |||
BEGIN { nonempty = 0; } \ | BEGIN { nonempty = 0; } \ | |||
{ items[$$0] = 1; nonempty = 1; } \ | { items[$$0] = 1; nonempty = 1; } \ | |||
END { if (nonempty) { for (i in items) print i; }; } \ | END { if (nonempty) { for (i in items) print i; }; } \ | |||
' | ' | |||
# Make sure the list of sources is unique. This is necessary because, | # Make sure the list of sources is unique. This is necessary because, | |||
# e.g., the same source file might be shared among _SOURCES variables | # e.g., the same source file might be shared among _SOURCES variables | |||
# for different programs/libraries. | # for different programs/libraries. | |||
am__define_uniq_tagged_files = \ | am__define_uniq_tagged_files = \ | |||
list='$(am__tagged_files)'; \ | list='$(am__tagged_files)'; \ | |||
unique=`for i in $$list; do \ | unique=`for i in $$list; do \ | |||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | |||
done | $(am__uniquify_input)` | done | $(am__uniquify_input)` | |||
ETAGS = etags | ETAGS = etags | |||
CTAGS = ctags | CTAGS = ctags | |||
CSCOPE = cscope | CSCOPE = cscope | |||
AM_RECURSIVE_TARGETS = cscope check recheck | ||||
am__tty_colors_dummy = \ | am__tty_colors_dummy = \ | |||
mgn= red= grn= lgn= blu= brg= std=; \ | mgn= red= grn= lgn= blu= brg= std=; \ | |||
am__color_tests=no | am__color_tests=no | |||
am__tty_colors = { \ | am__tty_colors = { \ | |||
$(am__tty_colors_dummy); \ | $(am__tty_colors_dummy); \ | |||
if test "X$(AM_COLOR_TESTS)" = Xno; then \ | if test "X$(AM_COLOR_TESTS)" = Xno; then \ | |||
am__color_tests=no; \ | am__color_tests=no; \ | |||
elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ | elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ | |||
am__color_tests=yes; \ | am__color_tests=yes; \ | |||
elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ | elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ | |||
skipping to change at line 454 | skipping to change at line 481 | |||
esac;; \ | esac;; \ | |||
*) \ | *) \ | |||
b='$*';; \ | b='$*';; \ | |||
esac | esac | |||
am__test_logs1 = $(TESTS:=.log) | am__test_logs1 = $(TESTS:=.log) | |||
am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) | am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) | |||
TEST_LOGS = $(am__test_logs2:.test.log=.log) | TEST_LOGS = $(am__test_logs2:.test.log=.log) | |||
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/config/test-driver | TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/config/test-driver | |||
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ | TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ | |||
$(TEST_LOG_FLAGS) | $(TEST_LOG_FLAGS) | |||
DIST_SUBDIRS = modules/oniguruma | ||||
am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/config/ar-lib \ | ||||
$(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \ | ||||
$(top_srcdir)/config/config.sub $(top_srcdir)/config/depcomp \ | ||||
$(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \ | ||||
$(top_srcdir)/config/missing $(top_srcdir)/config/test-driver \ | ||||
$(top_srcdir)/config/ylwrap AUTHORS COPYING ChangeLog NEWS \ | ||||
README config/ar-lib config/compile config/config.guess \ | ||||
config/config.sub config/depcomp config/install-sh \ | ||||
config/ltmain.sh config/missing config/ylwrap src/lexer.c \ | ||||
src/parser.c src/parser.h | ||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |||
distdir = $(PACKAGE)-$(VERSION) | distdir = $(PACKAGE)-$(VERSION) | |||
top_distdir = $(distdir) | top_distdir = $(distdir) | |||
am__remove_distdir = \ | am__remove_distdir = \ | |||
if test -d "$(distdir)"; then \ | if test -d "$(distdir)"; then \ | |||
find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | |||
&& rm -rf "$(distdir)" \ | && rm -rf "$(distdir)" \ | |||
|| { sleep 5 && rm -rf "$(distdir)"; }; \ | || { sleep 5 && rm -rf "$(distdir)"; }; \ | |||
else :; fi | else :; fi | |||
am__post_remove_distdir = $(am__remove_distdir) | am__post_remove_distdir = $(am__remove_distdir) | |||
am__relativize = \ | ||||
dir0=`pwd`; \ | ||||
sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | ||||
sed_rest='s,^[^/]*/*,,'; \ | ||||
sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | ||||
sed_butlast='s,/*[^/]*$$,,'; \ | ||||
while test -n "$$dir1"; do \ | ||||
first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | ||||
if test "$$first" != "."; then \ | ||||
if test "$$first" = ".."; then \ | ||||
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | ||||
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | ||||
else \ | ||||
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | ||||
if test "$$first2" = "$$first"; then \ | ||||
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | ||||
else \ | ||||
dir2="../$$dir2"; \ | ||||
fi; \ | ||||
dir0="$$dir0"/"$$first"; \ | ||||
fi; \ | ||||
fi; \ | ||||
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | ||||
done; \ | ||||
reldir="$$dir2" | ||||
DIST_ARCHIVES = $(distdir).tar.gz | DIST_ARCHIVES = $(distdir).tar.gz | |||
GZIP_ENV = --best | GZIP_ENV = --best | |||
DIST_TARGETS = dist-gzip | DIST_TARGETS = dist-gzip | |||
distuninstallcheck_listfiles = find . -type f -print | distuninstallcheck_listfiles = find . -type f -print | |||
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | |||
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' | |||
distcleancheck_listfiles = find . -type f -print | distcleancheck_listfiles = find . -type f -print | |||
ACLOCAL = @ACLOCAL@ | ACLOCAL = @ACLOCAL@ | |||
ALLOCA = @ALLOCA@ | ALLOCA = @ALLOCA@ | |||
AMTAR = @AMTAR@ | AMTAR = @AMTAR@ | |||
skipping to change at line 509 | skipping to change at line 572 | |||
FGREP = @FGREP@ | FGREP = @FGREP@ | |||
GREP = @GREP@ | GREP = @GREP@ | |||
INSTALL = @INSTALL@ | INSTALL = @INSTALL@ | |||
INSTALL_DATA = @INSTALL_DATA@ | INSTALL_DATA = @INSTALL_DATA@ | |||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |||
INSTALL_SCRIPT = @INSTALL_SCRIPT@ | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |||
LD = @LD@ | LD = @LD@ | |||
LDFLAGS = @LDFLAGS@ | LDFLAGS = @LDFLAGS@ | |||
LEX = @LEX@ | LEX = @LEX@ | |||
LEXLIB = @LEXLIB@ | ||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ | ||||
LIBOBJS = @LIBOBJS@ | LIBOBJS = @LIBOBJS@ | |||
LIBS = @LIBS@ | LIBS = @LIBS@ | |||
LIBTOOL = @LIBTOOL@ | LIBTOOL = @LIBTOOL@ | |||
LIB__isatty = @LIB__isatty@ | LIB__isatty = @LIB__isatty@ | |||
LIB_acos = @LIB_acos@ | ||||
LIB_acosh = @LIB_acosh@ | ||||
LIB_asin = @LIB_asin@ | ||||
LIB_asinh = @LIB_asinh@ | ||||
LIB_atan = @LIB_atan@ | ||||
LIB_atan2 = @LIB_atan2@ | ||||
LIB_atanh = @LIB_atanh@ | ||||
LIB_atexit = @LIB_atexit@ | LIB_atexit = @LIB_atexit@ | |||
LIB_cbrt = @LIB_cbrt@ | ||||
LIB_cos = @LIB_cos@ | ||||
LIB_cosh = @LIB_cosh@ | ||||
LIB_exp = @LIB_exp@ | ||||
LIB_exp2 = @LIB_exp2@ | ||||
LIB_floor = @LIB_floor@ | ||||
LIB_gettimeofday = @LIB_gettimeofday@ | LIB_gettimeofday = @LIB_gettimeofday@ | |||
LIB_gmtime = @LIB_gmtime@ | LIB_gmtime = @LIB_gmtime@ | |||
LIB_gmtime_r = @LIB_gmtime_r@ | LIB_gmtime_r = @LIB_gmtime_r@ | |||
LIB_hypot = @LIB_hypot@ | ||||
LIB_isatty = @LIB_isatty@ | LIB_isatty = @LIB_isatty@ | |||
LIB_j0 = @LIB_j0@ | LIB_localtime = @LIB_localtime@ | |||
LIB_j1 = @LIB_j1@ | LIB_localtime_r = @LIB_localtime_r@ | |||
LIB_log = @LIB_log@ | ||||
LIB_log10 = @LIB_log10@ | ||||
LIB_log2 = @LIB_log2@ | ||||
LIB_pow = @LIB_pow@ | ||||
LIB_pthread_key_create = @LIB_pthread_key_create@ | LIB_pthread_key_create = @LIB_pthread_key_create@ | |||
LIB_pthread_once = @LIB_pthread_once@ | LIB_pthread_once = @LIB_pthread_once@ | |||
LIB_remainder = @LIB_remainder@ | ||||
LIB_sin = @LIB_sin@ | ||||
LIB_sinh = @LIB_sinh@ | ||||
LIB_sqrt = @LIB_sqrt@ | ||||
LIB_strftime = @LIB_strftime@ | LIB_strftime = @LIB_strftime@ | |||
LIB_strptime = @LIB_strptime@ | LIB_strptime = @LIB_strptime@ | |||
LIB_tan = @LIB_tan@ | ||||
LIB_tanh = @LIB_tanh@ | ||||
LIB_tgamma = @LIB_tgamma@ | ||||
LIB_timegm = @LIB_timegm@ | LIB_timegm = @LIB_timegm@ | |||
LIB_y0 = @LIB_y0@ | ||||
LIB_y1 = @LIB_y1@ | ||||
LIPO = @LIPO@ | LIPO = @LIPO@ | |||
LN_S = @LN_S@ | LN_S = @LN_S@ | |||
LTLIBOBJS = @LTLIBOBJS@ | LTLIBOBJS = @LTLIBOBJS@ | |||
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ | ||||
MAINT = @MAINT@ | MAINT = @MAINT@ | |||
MAKEINFO = @MAKEINFO@ | MAKEINFO = @MAKEINFO@ | |||
MANIFEST_TOOL = @MANIFEST_TOOL@ | MANIFEST_TOOL = @MANIFEST_TOOL@ | |||
MKDIR_P = @MKDIR_P@ | MKDIR_P = @MKDIR_P@ | |||
NM = @NM@ | NM = @NM@ | |||
NMEDIT = @NMEDIT@ | NMEDIT = @NMEDIT@ | |||
OBJDUMP = @OBJDUMP@ | OBJDUMP = @OBJDUMP@ | |||
OBJEXT = @OBJEXT@ | OBJEXT = @OBJEXT@ | |||
OTOOL = @OTOOL@ | OTOOL = @OTOOL@ | |||
OTOOL64 = @OTOOL64@ | OTOOL64 = @OTOOL64@ | |||
skipping to change at line 627 | skipping to change at line 662 | |||
includedir = @includedir@ | includedir = @includedir@ | |||
infodir = @infodir@ | infodir = @infodir@ | |||
install_sh = @install_sh@ | install_sh = @install_sh@ | |||
libdir = @libdir@ | libdir = @libdir@ | |||
libexecdir = @libexecdir@ | libexecdir = @libexecdir@ | |||
localedir = @localedir@ | localedir = @localedir@ | |||
localstatedir = @localstatedir@ | localstatedir = @localstatedir@ | |||
mandir = @mandir@ | mandir = @mandir@ | |||
mkdir_p = @mkdir_p@ | mkdir_p = @mkdir_p@ | |||
oldincludedir = @oldincludedir@ | oldincludedir = @oldincludedir@ | |||
onig_CFLAGS = @onig_CFLAGS@ | ||||
onig_LDFLAGS = @onig_LDFLAGS@ | ||||
pdfdir = @pdfdir@ | pdfdir = @pdfdir@ | |||
prefix = @prefix@ | prefix = @prefix@ | |||
program_transform_name = @program_transform_name@ | program_transform_name = @program_transform_name@ | |||
psdir = @psdir@ | psdir = @psdir@ | |||
sbindir = @sbindir@ | sbindir = @sbindir@ | |||
sharedstatedir = @sharedstatedir@ | sharedstatedir = @sharedstatedir@ | |||
srcdir = @srcdir@ | srcdir = @srcdir@ | |||
subdirs = @subdirs@ | ||||
sysconfdir = @sysconfdir@ | sysconfdir = @sysconfdir@ | |||
target_alias = @target_alias@ | target_alias = @target_alias@ | |||
top_build_prefix = @top_build_prefix@ | top_build_prefix = @top_build_prefix@ | |||
top_builddir = @top_builddir@ | top_builddir = @top_builddir@ | |||
top_srcdir = @top_srcdir@ | top_srcdir = @top_srcdir@ | |||
valgrind_cmd = @valgrind_cmd@ | valgrind_cmd = @valgrind_cmd@ | |||
LIBJQ_INCS = jq_parser.h builtin.h bytecode.h compile.h exec_stack.h \ | LIBJQ_INCS = src/builtin.h src/bytecode.h src/compile.h \ | |||
libm.h jv_alloc.h jv_dtoa.h jv_unicode.h locfile.h \ | src/exec_stack.h src/jq_parser.h src/jv_alloc.h src/jv_dtoa.h \ | |||
opcode_list.h parser.y jv_utf8_tables.h lexer.l util.h linker.h | src/jv_unicode.h src/jv_utf8_tables.h src/lexer.l src/libm.h \ | |||
src/linker.h src/locfile.h src/opcode_list.h src/parser.y \ | ||||
LIBJQ_SRC = locfile.c bytecode.c compile.c execute.c builtin.c jv.c \ | src/util.h | |||
jv_parse.c jv_print.c jv_dtoa.c jv_unicode.c jv_aux.c jv_file.c \ | ||||
jv_alloc.c jq_test.c util.c linker.c ${LIBJQ_INCS} | LIBJQ_SRC = src/builtin.c src/bytecode.c src/compile.c src/execute.c \ | |||
src/jq_test.c src/jv.c src/jv_alloc.c src/jv_aux.c \ | ||||
src/jv_dtoa.c src/jv_file.c src/jv_parse.c src/jv_print.c \ | ||||
src/jv_unicode.c src/linker.c src/locfile.c src/util.c \ | ||||
${LIBJQ_INCS} | ||||
### C build options | ### C build options | |||
AM_CFLAGS = -Wextra -Wall -Wno-missing-field-initializers \ | AM_CFLAGS = -Wextra -Wall -Wno-missing-field-initializers \ | |||
-Wno-unused-parameter -Wno-unused-function $(am__append_1) | -Wno-unused-parameter -Wno-unused-function $(am__append_2) \ | |||
$(am__append_3) $(am__append_4) $(onig_CFLAGS) | ||||
ACLOCAL_AMFLAGS = -I config/m4 | ACLOCAL_AMFLAGS = -I config/m4 | |||
@MAINTAINER_MODE_FALSE@BUILT_SOURCES = | @MAINTAINER_MODE_FALSE@BUILT_SOURCES = src/builtin.inc src/version.h | |||
### Generating the lexer and parser | ### Generating the lexer and parser | |||
# While there is some autoconf macro support for lex/flex, it doesn't support | # While there is some autoconf macro support for lex/flex, it doesn't support | |||
# header file creation so we'll use good old make | # header file creation so we'll use good old make | |||
@MAINTAINER_MODE_TRUE@BUILT_SOURCES = lexer.h lexer.c parser.h parser.c version. | @MAINTAINER_MODE_TRUE@BUILT_SOURCES = src/lexer.h src/lexer.c src/parser.h src/p | |||
h | arser.c \ | |||
@MAINTAINER_MODE_TRUE@ src/builtin.inc src/version.h | ||||
# Tell YACC (bison) autoconf macros that you want a header file created. | # Tell YACC (bison) autoconf macros that you want a header file created. | |||
# If the --warnings=all fails, you probably have an old version of bison | # If the --warnings=all fails, you probably have an old version of bison | |||
# OSX ships an old bison, so update with homebrew or macports | # OSX ships an old bison, so update with homebrew or macports | |||
AM_YFLAGS = --warnings=all -d | AM_YFLAGS = --warnings=all -d | |||
### libjq | ### libjq | |||
lib_LTLIBRARIES = libjq.la $(am__append_2) | lib_LTLIBRARIES = libjq.la $(am__append_5) | |||
libjq_la_SOURCES = ${LIBJQ_SRC} | libjq_la_SOURCES = ${LIBJQ_SRC} | |||
libjq_la_LIBADD = -lm | libjq_la_LIBADD = -lm $(am__append_1) $(am__append_8) | |||
libjq_la_LDFLAGS = -export-symbols-regex '^j[qv]_' -version-info 1:4:0 | libjq_la_LDFLAGS = $(onig_LDFLAGS) -export-symbols-regex '^j[qv]_' -version-info | |||
include_HEADERS = jv.h jq.h | 1:4:0 | |||
@ENABLE_VALGRIND_FALSE@NO_VALGRIND = 1 | include_HEADERS = src/jv.h src/jq.h | |||
@ENABLE_ASAN_FALSE@@ENABLE_VALGRIND_FALSE@NO_VALGRIND = 1 | ||||
### Running tests under Valgrind | @ENABLE_ASAN_FALSE@@ENABLE_VALGRIND_TRUE@NO_VALGRIND = | |||
@ENABLE_VALGRIND_TRUE@NO_VALGRIND = | @ENABLE_ASAN_TRUE@NO_VALGRIND = 1 | |||
@ENABLE_ERROR_INJECTION_TRUE@libinject_errors_la_SOURCES = inject_errors.c | @ENABLE_ERROR_INJECTION_TRUE@libinject_errors_la_SOURCES = src/inject_errors.c | |||
@ENABLE_ERROR_INJECTION_TRUE@libinject_errors_la_LIBADD = -ldl | @ENABLE_ERROR_INJECTION_TRUE@libinject_errors_la_LIBADD = -ldl | |||
@ENABLE_ERROR_INJECTION_TRUE@libinject_errors_la_LDFLAGS = -module | @ENABLE_ERROR_INJECTION_TRUE@libinject_errors_la_LDFLAGS = -module | |||
generate_ver = ver="`{ $(srcdir)/scripts/version || echo '$(VERSION)' ; } | sed 's/.*/\#define JQ_VERSION \"&\"/'`" | generate_ver = ver="`{ $(srcdir)/scripts/version || echo '$(VERSION)' ; } | sed 's/.*/\#define JQ_VERSION \"&\"/'`" | |||
jq_SOURCES = main.c version.h | jq_SOURCES = src/main.c src/version.h | |||
jq_LDFLAGS = -static-libtool-libs $(am__append_3) | jq_LDFLAGS = -static-libtool-libs $(am__append_7) | |||
jq_LDADD = libjq.la -lm | jq_LDADD = libjq.la -lm $(am__append_6) | |||
### Tests (make check) | ### Tests (make check) | |||
TESTS = tests/mantest tests/jqtest tests/onigtest tests/shtest | TESTS = tests/optionaltest tests/mantest tests/jqtest tests/onigtest tests/shtes t tests/utf8test tests/base64test | |||
TESTS_ENVIRONMENT = NO_VALGRIND=$(NO_VALGRIND) | TESTS_ENVIRONMENT = NO_VALGRIND=$(NO_VALGRIND) | |||
### Building the manpage | ### Building the manpage | |||
# If ENABLE_DOCS is not set, just copy jq.1.default to jq.1 | ||||
# The real_docs target succeeds (possibly after building jq.1) only if ENABLE_DO | ||||
CS is set | ||||
# Thus, making "dist" depend on "real_docs" ensures that we never build a tarbal | ||||
l with | ||||
# a stub manpage. | ||||
man_MANS = jq.1 | man_MANS = jq.1 | |||
DOC_FILES = docs/content docs/public docs/templates docs/site.yml \ | @BUILD_ONIGURUMA_TRUE@SUBDIRS = modules/oniguruma | |||
docs/Gemfile docs/Gemfile.lock docs/Rakefile docs/README.md \ | DOC_FILES = docs/content docs/public docs/templates docs/site.yml \ | |||
docs/default_manpage.md jq.1.default | docs/Gemfile docs/Gemfile.lock docs/Rakefile docs/README.md \ | |||
jq.1.prebuilt | ||||
# setup is only used by distribution developers, not package developers. | ||||
# Still, as a matter of allowing patching, its not a bad idea to distribute | EXTRA_DIST = $(DOC_FILES) $(man_MANS) $(TESTS) $(TEST_LOG_COMPILER) \ | |||
# the developer setup script in the tarball. | jq.1.prebuilt jq.spec src/lexer.c src/lexer.h src/parser.c \ | |||
EXTRA_DIST = $(man_MANS) $(TESTS) $(TEST_LOG_COMPILER) jq.spec \ | src/parser.h src/version.h src/builtin.jq \ | |||
$(DOC_FILES) scripts/version parser.h parser.c lexer.h \ | scripts/version tests/jq.test tests/modules/.jq \ | |||
lexer.c tests/onig.supp tests/torture/input0.json \ | tests/modules/a.jq tests/modules/b/b.jq tests/modules/c/c.jq \ | |||
tests/modules/.jq tests/modules/a.jq tests/modules/b/b.jq \ | tests/modules/c/d.jq tests/modules/data.json \ | |||
tests/modules/c/c.jq tests/modules/c/d.jq \ | tests/modules/lib/jq/e/e.jq tests/modules/lib/jq/f.jq \ | |||
tests/modules/lib/jq/e/e.jq tests/modules/lib/jq/f.jq \ | tests/modules/syntaxerror/syntaxerror.jq \ | |||
tests/setup tests/jq.test tests/onig.test \ | tests/modules/test_bind_order.jq \ | |||
tests/modules/data.json \ | tests/modules/test_bind_order0.jq \ | |||
tests/modules/syntaxerror/syntaxerror.jq \ | tests/modules/test_bind_order1.jq \ | |||
tests/modules/test_bind_order.jq \ | tests/modules/test_bind_order2.jq tests/onig.supp \ | |||
tests/modules/test_bind_order0.jq \ | tests/onig.test tests/setup tests/torture/input0.json \ | |||
tests/modules/test_bind_order1.jq \ | tests/optional.test tests/optionaltest \ | |||
tests/modules/test_bind_order2.jq \ | tests/utf8-truncate.jq tests/utf8test \ | |||
jq.1.prebuilt | tests/base64.test tests/base64test \ | |||
tests/jq-f-test.sh tests/shtest | ||||
dist_doc_DATA = README.md COPYING AUTHORS README | dist_doc_DATA = README.md COPYING AUTHORS README | |||
all: $(BUILT_SOURCES) | all: $(BUILT_SOURCES) | |||
$(MAKE) $(AM_MAKEFLAGS) all-am | $(MAKE) $(AM_MAKEFLAGS) all-recursive | |||
.SUFFIXES: | .SUFFIXES: | |||
.SUFFIXES: .c .l .lo .log .o .obj .test .test$(EXEEXT) .trs .y | .SUFFIXES: .c .l .lo .log .o .obj .test .test$(EXEEXT) .trs .y | |||
am--refresh: Makefile | am--refresh: Makefile | |||
@: | @: | |||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi gure_deps) | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi gure_deps) | |||
@for dep in $?; do \ | @for dep in $?; do \ | |||
case '$(am__configure_deps)' in \ | case '$(am__configure_deps)' in \ | |||
*$$dep*) \ | *$$dep*) \ | |||
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ | echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ | |||
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ | $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ | |||
&& exit 0; \ | && exit 0; \ | |||
exit 1;; \ | exit 1;; \ | |||
esac; \ | esac; \ | |||
done; \ | done; \ | |||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ | |||
$(am__cd) $(top_srcdir) && \ | $(am__cd) $(top_srcdir) && \ | |||
$(AUTOMAKE) --foreign Makefile | $(AUTOMAKE) --foreign Makefile | |||
.PRECIOUS: Makefile | ||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |||
@case '$?' in \ | @case '$?' in \ | |||
*config.status*) \ | *config.status*) \ | |||
echo ' $(SHELL) ./config.status'; \ | echo ' $(SHELL) ./config.status'; \ | |||
$(SHELL) ./config.status;; \ | $(SHELL) ./config.status;; \ | |||
*) \ | *) \ | |||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfil es_maybe)'; \ | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfil es_maybe)'; \ | |||
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_mayb e);; \ | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_mayb e);; \ | |||
esac; | esac; | |||
skipping to change at line 791 | skipping to change at line 829 | |||
clean-libLTLIBRARIES: | clean-libLTLIBRARIES: | |||
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) | |||
@list='$(lib_LTLIBRARIES)'; \ | @list='$(lib_LTLIBRARIES)'; \ | |||
locs=`for p in $$list; do echo $$p; done | \ | locs=`for p in $$list; do echo $$p; done | \ | |||
sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ | |||
sort -u`; \ | sort -u`; \ | |||
test -z "$$locs" || { \ | test -z "$$locs" || { \ | |||
echo rm -f $${locs}; \ | echo rm -f $${locs}; \ | |||
rm -f $${locs}; \ | rm -f $${locs}; \ | |||
} | } | |||
src/$(am__dirstamp): | ||||
@$(MKDIR_P) src | ||||
@: > src/$(am__dirstamp) | ||||
src/$(DEPDIR)/$(am__dirstamp): | ||||
@$(MKDIR_P) src/$(DEPDIR) | ||||
@: > src/$(DEPDIR)/$(am__dirstamp) | ||||
src/inject_errors.lo: src/$(am__dirstamp) \ | ||||
src/$(DEPDIR)/$(am__dirstamp) | ||||
libinject_errors.la: $(libinject_errors_la_OBJECTS) $(libinject_errors_la_DEPEND ENCIES) $(EXTRA_libinject_errors_la_DEPENDENCIES) | libinject_errors.la: $(libinject_errors_la_OBJECTS) $(libinject_errors_la_DEPEND ENCIES) $(EXTRA_libinject_errors_la_DEPENDENCIES) | |||
$(AM_V_CCLD)$(libinject_errors_la_LINK) $(am_libinject_errors_la_rpath) $ (libinject_errors_la_OBJECTS) $(libinject_errors_la_LIBADD) $(LIBS) | $(AM_V_CCLD)$(libinject_errors_la_LINK) $(am_libinject_errors_la_rpath) $ (libinject_errors_la_OBJECTS) $(libinject_errors_la_LIBADD) $(LIBS) | |||
parser.h: parser.c | src/builtin.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | |||
@if test ! -f $@; then rm -f parser.c; else :; fi | src/bytecode.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | |||
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) parser.c; else :; fi | src/compile.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | |||
src/execute.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/jq_test.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/jv.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/jv_alloc.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/jv_aux.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/jv_dtoa.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/jv_file.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/jv_parse.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/jv_print.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/jv_unicode.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/linker.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/locfile.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/util.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/lexer.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
src/parser.h: src/parser.c | ||||
@if test ! -f $@; then rm -f src/parser.c; else :; fi | ||||
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) src/parser.c; else :; fi | ||||
src/parser.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
libjq.la: $(libjq_la_OBJECTS) $(libjq_la_DEPENDENCIES) $(EXTRA_libjq_la_DEPENDEN CIES) | libjq.la: $(libjq_la_OBJECTS) $(libjq_la_DEPENDENCIES) $(EXTRA_libjq_la_DEPENDEN CIES) | |||
$(AM_V_CCLD)$(libjq_la_LINK) -rpath $(libdir) $(libjq_la_OBJECTS) $(libjq _la_LIBADD) $(LIBS) | $(AM_V_CCLD)$(libjq_la_LINK) -rpath $(libdir) $(libjq_la_OBJECTS) $(libjq _la_LIBADD) $(LIBS) | |||
install-binPROGRAMS: $(bin_PROGRAMS) | install-binPROGRAMS: $(bin_PROGRAMS) | |||
@$(NORMAL_INSTALL) | @$(NORMAL_INSTALL) | |||
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ | |||
if test -n "$$list"; then \ | if test -n "$$list"; then \ | |||
echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ | echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ | |||
$(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ | $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ | |||
fi; \ | fi; \ | |||
skipping to change at line 849 | skipping to change at line 913 | |||
cd "$(DESTDIR)$(bindir)" && rm -f $$files | cd "$(DESTDIR)$(bindir)" && rm -f $$files | |||
clean-binPROGRAMS: | clean-binPROGRAMS: | |||
@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ | @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ | |||
echo " rm -f" $$list; \ | echo " rm -f" $$list; \ | |||
rm -f $$list || exit $$?; \ | rm -f $$list || exit $$?; \ | |||
test -n "$(EXEEXT)" || exit 0; \ | test -n "$(EXEEXT)" || exit 0; \ | |||
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ | list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ | |||
echo " rm -f" $$list; \ | echo " rm -f" $$list; \ | |||
rm -f $$list | rm -f $$list | |||
src/main.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) | ||||
jq$(EXEEXT): $(jq_OBJECTS) $(jq_DEPENDENCIES) $(EXTRA_jq_DEPENDENCIES) | jq$(EXEEXT): $(jq_OBJECTS) $(jq_DEPENDENCIES) $(EXTRA_jq_DEPENDENCIES) | |||
@rm -f jq$(EXEEXT) | @rm -f jq$(EXEEXT) | |||
$(AM_V_CCLD)$(jq_LINK) $(jq_OBJECTS) $(jq_LDADD) $(LIBS) | $(AM_V_CCLD)$(jq_LINK) $(jq_OBJECTS) $(jq_LDADD) $(LIBS) | |||
mostlyclean-compile: | mostlyclean-compile: | |||
-rm -f *.$(OBJEXT) | -rm -f *.$(OBJEXT) | |||
-rm -f src/*.$(OBJEXT) | ||||
-rm -f src/*.lo | ||||
distclean-compile: | distclean-compile: | |||
-rm -f *.tab.c | -rm -f *.tab.c | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/builtin.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/builtin.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bytecode.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/bytecode.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compile.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/compile.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execute.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/execute.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inject_errors.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/inject_errors.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jq_test.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/jq_test.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jv.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/jv.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jv_alloc.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/jv_alloc.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jv_aux.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/jv_aux.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jv_dtoa.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/jv_dtoa.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jv_file.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/jv_file.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jv_parse.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/jv_parse.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jv_print.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/jv_print.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jv_unicode.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/jv_unicode.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lexer.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/lexer.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linker.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/linker.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/locfile.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/locfile.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/main.Po@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parser.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/parser.Plo@am__quote@ | |||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/util.Plo@am__quote@ | @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/util.Plo@am__quote@ | |||
.c.o: | .c.o: | |||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo | @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|; | |||
-c -o $@ $< | s|\.o$$||'`;\ | |||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< & | |||
&\ | ||||
@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po | ||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool =no @AMDEPBACKSLASH@ | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool =no @AMDEPBACKSLASH@ | |||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< | |||
.c.obj: | .c.obj: | |||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo | @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|; | |||
-c -o $@ `$(CYGPATH_W) '$<'` | s|\.obj$$||'`;\ | |||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(C | |||
YGPATH_W) '$<'` &&\ | ||||
@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po | ||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool =no @AMDEPBACKSLASH@ | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool =no @AMDEPBACKSLASH@ | |||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$ <'` | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$ <'` | |||
.c.lo: | .c.lo: | |||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tp | @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|; | |||
o -c -o $@ $< | s|\.lo$$||'`;\ | |||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo | @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< | |||
&&\ | ||||
@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo | ||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool =yes @AMDEPBACKSLASH@ | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool =yes @AMDEPBACKSLASH@ | |||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |||
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< | |||
@MAINTAINER_MODE_TRUE@.l.c: | @MAINTAINER_MODE_TRUE@.l.c: | |||
@MAINTAINER_MODE_TRUE@ $(AM_V_LEX)$(am__skiplex) $(SHELL) $(YLWRAP) $< $(LEX_OUT PUT_ROOT).c $@ -- $(LEXCOMPILE) | @MAINTAINER_MODE_TRUE@ $(AM_V_LEX)$(am__skiplex) $(SHELL) $(YLWRAP) $< $(LEX_OUT PUT_ROOT).c $@ -- $(LEXCOMPILE) | |||
@MAINTAINER_MODE_TRUE@.y.c: | @MAINTAINER_MODE_TRUE@.y.c: | |||
@MAINTAINER_MODE_TRUE@ $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h `echo $@ | $(am__yacc_c2h)` y.output $*.output -- $(YACCCOMPILE) | @MAINTAINER_MODE_TRUE@ $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h `echo $@ | $(am__yacc_c2h)` y.output $*.output -- $(YACCCOMPILE) | |||
mostlyclean-libtool: | mostlyclean-libtool: | |||
-rm -f *.lo | -rm -f *.lo | |||
clean-libtool: | clean-libtool: | |||
-rm -rf .libs _libs | -rm -rf .libs _libs | |||
-rm -rf src/.libs src/_libs | ||||
distclean-libtool: | distclean-libtool: | |||
-rm -f libtool config.lt | -rm -f libtool config.lt | |||
install-man1: $(man_MANS) | install-man1: $(man_MANS) | |||
@$(NORMAL_INSTALL) | @$(NORMAL_INSTALL) | |||
@list1=''; \ | @list1=''; \ | |||
list2='$(man_MANS)'; \ | list2='$(man_MANS)'; \ | |||
test -n "$(man1dir)" \ | test -n "$(man1dir)" \ | |||
&& test -n "`echo $$list1$$list2`" \ | && test -n "`echo $$list1$$list2`" \ | |||
|| exit 0; \ | || exit 0; \ | |||
skipping to change at line 1002 | skipping to change at line 1073 | |||
echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ | echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ | |||
$(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ | $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ | |||
done | done | |||
uninstall-includeHEADERS: | uninstall-includeHEADERS: | |||
@$(NORMAL_UNINSTALL) | @$(NORMAL_UNINSTALL) | |||
@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ | @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ | |||
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | |||
dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir) | dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir) | |||
# This directory's subdirectories are mostly independent; you can cd | ||||
# into them and run 'make' without going through this Makefile. | ||||
# To change the values of 'make' variables: instead of editing Makefiles, | ||||
# (1) if the variable is set in 'config.status', edit 'config.status' | ||||
# (which will cause the Makefiles to be regenerated when you run 'make'); | ||||
# (2) otherwise, pass the desired values on the 'make' command line. | ||||
$(am__recursive_targets): | ||||
@fail=; \ | ||||
if $(am__make_keepgoing); then \ | ||||
failcom='fail=yes'; \ | ||||
else \ | ||||
failcom='exit 1'; \ | ||||
fi; \ | ||||
dot_seen=no; \ | ||||
target=`echo $@ | sed s/-recursive//`; \ | ||||
case "$@" in \ | ||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||||
*) list='$(SUBDIRS)' ;; \ | ||||
esac; \ | ||||
for subdir in $$list; do \ | ||||
echo "Making $$target in $$subdir"; \ | ||||
if test "$$subdir" = "."; then \ | ||||
dot_seen=yes; \ | ||||
local_target="$$target-am"; \ | ||||
else \ | ||||
local_target="$$target"; \ | ||||
fi; \ | ||||
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||||
|| eval $$failcom; \ | ||||
done; \ | ||||
if test "$$dot_seen" = "no"; then \ | ||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | ||||
fi; test -z "$$fail" | ||||
ID: $(am__tagged_files) | ID: $(am__tagged_files) | |||
$(am__define_uniq_tagged_files); mkid -fID $$unique | $(am__define_uniq_tagged_files); mkid -fID $$unique | |||
tags: tags-am | tags: tags-recursive | |||
TAGS: tags | TAGS: tags | |||
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |||
set x; \ | set x; \ | |||
here=`pwd`; \ | here=`pwd`; \ | |||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | ||||
include_option=--etags-include; \ | ||||
empty_fix=.; \ | ||||
else \ | ||||
include_option=--include; \ | ||||
empty_fix=; \ | ||||
fi; \ | ||||
list='$(SUBDIRS)'; for subdir in $$list; do \ | ||||
if test "$$subdir" = .; then :; else \ | ||||
test ! -f $$subdir/TAGS || \ | ||||
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | ||||
fi; \ | ||||
done; \ | ||||
$(am__define_uniq_tagged_files); \ | $(am__define_uniq_tagged_files); \ | |||
shift; \ | shift; \ | |||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | |||
test -n "$$unique" || unique=$$empty_fix; \ | test -n "$$unique" || unique=$$empty_fix; \ | |||
if test $$# -gt 0; then \ | if test $$# -gt 0; then \ | |||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |||
"$$@" $$unique; \ | "$$@" $$unique; \ | |||
else \ | else \ | |||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | |||
$$unique; \ | $$unique; \ | |||
fi; \ | fi; \ | |||
fi | fi | |||
ctags: ctags-am | ctags: ctags-recursive | |||
CTAGS: ctags | CTAGS: ctags | |||
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) | |||
$(am__define_uniq_tagged_files); \ | $(am__define_uniq_tagged_files); \ | |||
test -z "$(CTAGS_ARGS)$$unique" \ | test -z "$(CTAGS_ARGS)$$unique" \ | |||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | |||
$$unique | $$unique | |||
GTAGS: | GTAGS: | |||
here=`$(am__cd) $(top_builddir) && pwd` \ | here=`$(am__cd) $(top_builddir) && pwd` \ | |||
&& $(am__cd) $(top_srcdir) \ | && $(am__cd) $(top_srcdir) \ | |||
&& gtags -i $(GTAGS_ARGS) "$$here" | && gtags -i $(GTAGS_ARGS) "$$here" | |||
cscope: cscope.files | cscope: cscope.files | |||
test ! -s cscope.files \ | test ! -s cscope.files \ | |||
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(C SCOPE_ARGS) | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(C SCOPE_ARGS) | |||
clean-cscope: | clean-cscope: | |||
-rm -f cscope.files | -rm -f cscope.files | |||
cscope.files: clean-cscope cscopelist | cscope.files: clean-cscope cscopelist | |||
cscopelist: cscopelist-am | cscopelist: cscopelist-recursive | |||
cscopelist-am: $(am__tagged_files) | cscopelist-am: $(am__tagged_files) | |||
list='$(am__tagged_files)'; \ | list='$(am__tagged_files)'; \ | |||
case "$(srcdir)" in \ | case "$(srcdir)" in \ | |||
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ | |||
*) sdir=$(subdir)/$(srcdir) ;; \ | *) sdir=$(subdir)/$(srcdir) ;; \ | |||
esac; \ | esac; \ | |||
for i in $$list; do \ | for i in $$list; do \ | |||
if test -f "$$i"; then \ | if test -f "$$i"; then \ | |||
echo "$(subdir)/$$i"; \ | echo "$(subdir)/$$i"; \ | |||
skipping to change at line 1091 | skipping to change at line 1209 | |||
if test -n "$$redo_bases"; then \ | if test -n "$$redo_bases"; then \ | |||
redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ | redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ | |||
redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ | redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ | |||
if $(am__make_dryrun); then :; else \ | if $(am__make_dryrun); then :; else \ | |||
rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ | rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ | |||
fi; \ | fi; \ | |||
fi; \ | fi; \ | |||
if test -n "$$am__remaking_logs"; then \ | if test -n "$$am__remaking_logs"; then \ | |||
echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ | echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ | |||
"recursion detected" >&2; \ | "recursion detected" >&2; \ | |||
else \ | elif test -n "$$redo_logs"; then \ | |||
am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ | am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ | |||
fi; \ | fi; \ | |||
if $(am__make_dryrun); then :; else \ | if $(am__make_dryrun); then :; else \ | |||
st=0; \ | st=0; \ | |||
errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ | errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ | |||
for i in $$redo_bases; do \ | for i in $$redo_bases; do \ | |||
test -f $$i.trs && test -r $$i.trs \ | test -f $$i.trs && test -r $$i.trs \ | |||
|| { echo "$$errmsg $$i.trs" >&2; st=1; }; \ | || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ | |||
test -f $$i.log && test -r $$i.log \ | test -f $$i.log && test -r $$i.log \ | |||
|| { echo "$$errmsg $$i.log" >&2; st=1; }; \ | || { echo "$$errmsg $$i.log" >&2; st=1; }; \ | |||
skipping to change at line 1202 | skipping to change at line 1320 | |||
@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | |||
@set +e; $(am__set_TESTS_bases); \ | @set +e; $(am__set_TESTS_bases); \ | |||
bases=`for i in $$bases; do echo $$i; done \ | bases=`for i in $$bases; do echo $$i; done \ | |||
| $(am__list_recheck_tests)` || exit 1; \ | | $(am__list_recheck_tests)` || exit 1; \ | |||
log_list=`for i in $$bases; do echo $$i.log; done`; \ | log_list=`for i in $$bases; do echo $$i.log; done`; \ | |||
log_list=`echo $$log_list`; \ | log_list=`echo $$log_list`; \ | |||
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ | $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ | |||
am__force_recheck=am--force-recheck \ | am__force_recheck=am--force-recheck \ | |||
TEST_LOGS="$$log_list"; \ | TEST_LOGS="$$log_list"; \ | |||
exit $$? | exit $$? | |||
tests/optionaltest.log: tests/optionaltest | ||||
@p='tests/optionaltest'; \ | ||||
b='tests/optionaltest'; \ | ||||
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||||
--log-file $$b.log --trs-file $$b.trs \ | ||||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- | ||||
$(LOG_COMPILE) \ | ||||
"$$tst" $(AM_TESTS_FD_REDIRECT) | ||||
tests/mantest.log: tests/mantest | tests/mantest.log: tests/mantest | |||
@p='tests/mantest'; \ | @p='tests/mantest'; \ | |||
b='tests/mantest'; \ | b='tests/mantest'; \ | |||
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | |||
--log-file $$b.log --trs-file $$b.trs \ | --log-file $$b.log --trs-file $$b.trs \ | |||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |||
"$$tst" $(AM_TESTS_FD_REDIRECT) | "$$tst" $(AM_TESTS_FD_REDIRECT) | |||
tests/jqtest.log: tests/jqtest | tests/jqtest.log: tests/jqtest | |||
@p='tests/jqtest'; \ | @p='tests/jqtest'; \ | |||
b='tests/jqtest'; \ | b='tests/jqtest'; \ | |||
skipping to change at line 1230 | skipping to change at line 1355 | |||
--log-file $$b.log --trs-file $$b.trs \ | --log-file $$b.log --trs-file $$b.trs \ | |||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |||
"$$tst" $(AM_TESTS_FD_REDIRECT) | "$$tst" $(AM_TESTS_FD_REDIRECT) | |||
tests/shtest.log: tests/shtest | tests/shtest.log: tests/shtest | |||
@p='tests/shtest'; \ | @p='tests/shtest'; \ | |||
b='tests/shtest'; \ | b='tests/shtest'; \ | |||
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | |||
--log-file $$b.log --trs-file $$b.trs \ | --log-file $$b.log --trs-file $$b.trs \ | |||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ | |||
"$$tst" $(AM_TESTS_FD_REDIRECT) | "$$tst" $(AM_TESTS_FD_REDIRECT) | |||
tests/utf8test.log: tests/utf8test | ||||
@p='tests/utf8test'; \ | ||||
b='tests/utf8test'; \ | ||||
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||||
--log-file $$b.log --trs-file $$b.trs \ | ||||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- | ||||
$(LOG_COMPILE) \ | ||||
"$$tst" $(AM_TESTS_FD_REDIRECT) | ||||
tests/base64test.log: tests/base64test | ||||
@p='tests/base64test'; \ | ||||
b='tests/base64test'; \ | ||||
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ | ||||
--log-file $$b.log --trs-file $$b.trs \ | ||||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- | ||||
$(LOG_COMPILE) \ | ||||
"$$tst" $(AM_TESTS_FD_REDIRECT) | ||||
.test.log: | .test.log: | |||
@p='$<'; \ | @p='$<'; \ | |||
$(am__set_b); \ | $(am__set_b); \ | |||
$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ | $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ | |||
--log-file $$b.log --trs-file $$b.trs \ | --log-file $$b.log --trs-file $$b.trs \ | |||
$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_ FLAGS) -- $(TEST_LOG_COMPILE) \ | $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_ FLAGS) -- $(TEST_LOG_COMPILE) \ | |||
"$$tst" $(AM_TESTS_FD_REDIRECT) | "$$tst" $(AM_TESTS_FD_REDIRECT) | |||
@am__EXEEXT_TRUE@.test$(EXEEXT).log: | @am__EXEEXT_TRUE@.test$(EXEEXT).log: | |||
@am__EXEEXT_TRUE@ @p='$<'; \ | @am__EXEEXT_TRUE@ @p='$<'; \ | |||
@am__EXEEXT_TRUE@ $(am__set_b); \ | @am__EXEEXT_TRUE@ $(am__set_b); \ | |||
skipping to change at line 1277 | skipping to change at line 1416 | |||
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |||
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |||
fi; \ | fi; \ | |||
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |||
else \ | else \ | |||
test -f "$(distdir)/$$file" \ | test -f "$(distdir)/$$file" \ | |||
|| cp -p $$d/$$file "$(distdir)/$$file" \ | || cp -p $$d/$$file "$(distdir)/$$file" \ | |||
|| exit 1; \ | || exit 1; \ | |||
fi; \ | fi; \ | |||
done | done | |||
$(MAKE) $(AM_MAKEFLAGS) \ | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | |||
top_distdir="$(top_distdir)" distdir="$(distdir)" \ | if test "$$subdir" = .; then :; else \ | |||
dist-hook | $(am__make_dryrun) \ | |||
|| test -d "$(distdir)/$$subdir" \ | ||||
|| $(MKDIR_P) "$(distdir)/$$subdir" \ | ||||
|| exit 1; \ | ||||
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | ||||
$(am__relativize); \ | ||||
new_distdir=$$reldir; \ | ||||
dir1=$$subdir; dir2="$(top_distdir)"; \ | ||||
$(am__relativize); \ | ||||
new_top_distdir=$$reldir; \ | ||||
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top | ||||
_distdir" distdir="$$new_distdir" \\"; \ | ||||
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode | ||||
_fix=: distdir)"; \ | ||||
($(am__cd) $$subdir && \ | ||||
$(MAKE) $(AM_MAKEFLAGS) \ | ||||
top_distdir="$$new_top_distdir" \ | ||||
distdir="$$new_distdir" \ | ||||
am__remove_distdir=: \ | ||||
am__skip_length_check=: \ | ||||
am__skip_mode_fix=: \ | ||||
distdir) \ | ||||
|| exit 1; \ | ||||
fi; \ | ||||
done | ||||
-test -n "$(am__skip_mode_fix)" \ | -test -n "$(am__skip_mode_fix)" \ | |||
|| find "$(distdir)" -type d ! -perm -755 \ | || find "$(distdir)" -type d ! -perm -755 \ | |||
-exec chmod u+rwx,go+rx {} \; -o \ | -exec chmod u+rwx,go+rx {} \; -o \ | |||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ | |||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \ | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ | |||
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ | |||
|| chmod -R a+r "$(distdir)" | || chmod -R a+r "$(distdir)" | |||
dist-gzip: distdir | dist-gzip: distdir | |||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).ta r.gz | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).ta r.gz | |||
$(am__post_remove_distdir) | $(am__post_remove_distdir) | |||
skipping to change at line 1304 | skipping to change at line 1465 | |||
dist-lzip: distdir | dist-lzip: distdir | |||
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar .lz | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar .lz | |||
$(am__post_remove_distdir) | $(am__post_remove_distdir) | |||
dist-xz: distdir | dist-xz: distdir | |||
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir). tar.xz | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir). tar.xz | |||
$(am__post_remove_distdir) | $(am__post_remove_distdir) | |||
dist-tarZ: distdir | dist-tarZ: distdir | |||
@echo WARNING: "Support for shar distribution archives is" \ | @echo WARNING: "Support for distribution archives compressed with" \ | |||
"deprecated." >&2 | "legacy program 'compress' is deprecated." >&2 | |||
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | |||
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | |||
$(am__post_remove_distdir) | $(am__post_remove_distdir) | |||
dist-shar: distdir | dist-shar: distdir | |||
@echo WARNING: "Support for distribution archives compressed with" \ | @echo WARNING: "Support for shar distribution archives is" \ | |||
"legacy program 'compress' is deprecated." >&2 | "deprecated." >&2 | |||
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 | |||
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | |||
$(am__post_remove_distdir) | $(am__post_remove_distdir) | |||
dist-zip: distdir | dist-zip: distdir | |||
-rm -f $(distdir).zip | -rm -f $(distdir).zip | |||
zip -rq $(distdir).zip $(distdir) | zip -rq $(distdir).zip $(distdir) | |||
$(am__post_remove_distdir) | $(am__post_remove_distdir) | |||
dist dist-all: | dist dist-all: | |||
skipping to change at line 1348 | skipping to change at line 1509 | |||
xz -dc $(distdir).tar.xz | $(am__untar) ;;\ | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ | |||
*.tar.Z*) \ | *.tar.Z*) \ | |||
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ | |||
*.shar.gz*) \ | *.shar.gz*) \ | |||
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ | |||
*.zip*) \ | *.zip*) \ | |||
unzip $(distdir).zip ;;\ | unzip $(distdir).zip ;;\ | |||
esac | esac | |||
chmod -R a-w $(distdir) | chmod -R a-w $(distdir) | |||
chmod u+w $(distdir) | chmod u+w $(distdir) | |||
mkdir $(distdir)/_build $(distdir)/_inst | mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst | |||
chmod a-w $(distdir) | chmod a-w $(distdir) | |||
test -d $(distdir)/_build || exit 0; \ | test -d $(distdir)/_build || exit 0; \ | |||
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[ \\/],/,'` \ | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[ \\/],/,'` \ | |||
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | |||
&& am__cwd=`pwd` \ | && am__cwd=`pwd` \ | |||
&& $(am__cd) $(distdir)/_build \ | && $(am__cd) $(distdir)/_build/sub \ | |||
&& ../configure \ | && ../../configure \ | |||
$(AM_DISTCHECK_CONFIGURE_FLAGS) \ | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ | |||
$(DISTCHECK_CONFIGURE_FLAGS) \ | $(DISTCHECK_CONFIGURE_FLAGS) \ | |||
--srcdir=.. --prefix="$$dc_install_base" \ | --srcdir=../.. --prefix="$$dc_install_base" \ | |||
&& $(MAKE) $(AM_MAKEFLAGS) \ | && $(MAKE) $(AM_MAKEFLAGS) \ | |||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \ | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | |||
&& $(MAKE) $(AM_MAKEFLAGS) check \ | && $(MAKE) $(AM_MAKEFLAGS) check \ | |||
&& $(MAKE) $(AM_MAKEFLAGS) install \ | && $(MAKE) $(AM_MAKEFLAGS) install \ | |||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \ | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ | |||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \ | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ | |||
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ | && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ | |||
distuninstallcheck \ | distuninstallcheck \ | |||
&& chmod -R a-w "$$dc_install_base" \ | && chmod -R a-w "$$dc_install_base" \ | |||
&& ({ \ | && ({ \ | |||
skipping to change at line 1414 | skipping to change at line 1575 | |||
echo "ERROR: distcleancheck can only run from a VPATH build" ; \ | echo "ERROR: distcleancheck can only run from a VPATH build" ; \ | |||
exit 1 ; \ | exit 1 ; \ | |||
fi | fi | |||
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ | @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ | |||
|| { echo "ERROR: files left in build directory after distclean:" ; \ | || { echo "ERROR: files left in build directory after distclean:" ; \ | |||
$(distcleancheck_listfiles) ; \ | $(distcleancheck_listfiles) ; \ | |||
exit 1; } >&2 | exit 1; } >&2 | |||
check-am: all-am | check-am: all-am | |||
$(MAKE) $(AM_MAKEFLAGS) check-TESTS | $(MAKE) $(AM_MAKEFLAGS) check-TESTS | |||
check: $(BUILT_SOURCES) | check: $(BUILT_SOURCES) | |||
$(MAKE) $(AM_MAKEFLAGS) check-am | $(MAKE) $(AM_MAKEFLAGS) check-recursive | |||
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(DATA) $(HEADERS) | all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(DATA) $(HEADERS) | |||
install-binPROGRAMS: install-libLTLIBRARIES | install-binPROGRAMS: install-libLTLIBRARIES | |||
installdirs: | installdirs: installdirs-recursive | |||
installdirs-am: | ||||
for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1d ir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(includedir)"; do \ | for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1d ir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(includedir)"; do \ | |||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | |||
done | done | |||
install: $(BUILT_SOURCES) | install: $(BUILT_SOURCES) | |||
$(MAKE) $(AM_MAKEFLAGS) install-am | $(MAKE) $(AM_MAKEFLAGS) install-recursive | |||
install-exec: install-exec-am | install-exec: install-exec-recursive | |||
install-data: install-data-am | install-data: install-data-recursive | |||
uninstall: uninstall-am | uninstall: uninstall-recursive | |||
install-am: all-am | install-am: all-am | |||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |||
installcheck: installcheck-am | installcheck: installcheck-recursive | |||
install-strip: | install-strip: | |||
if test -z '$(STRIP)'; then \ | if test -z '$(STRIP)'; then \ | |||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |||
install; \ | install; \ | |||
else \ | else \ | |||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |||
fi | fi | |||
mostlyclean-generic: | mostlyclean-generic: | |||
-test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) | -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) | |||
-test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) | -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) | |||
-test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) | |||
clean-generic: | clean-generic: | |||
distclean-generic: | distclean-generic: | |||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $ (CONFIG_CLEAN_VPATH_FILES) | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $ (CONFIG_CLEAN_VPATH_FILES) | |||
-rm -f src/$(DEPDIR)/$(am__dirstamp) | ||||
-rm -f src/$(am__dirstamp) | ||||
maintainer-clean-generic: | maintainer-clean-generic: | |||
@echo "This command is intended for maintainers to use" | @echo "This command is intended for maintainers to use" | |||
@echo "it deletes files that may require special tools to rebuild." | @echo "it deletes files that may require special tools to rebuild." | |||
-rm -f lexer.c | -rm -f src/lexer.c | |||
-rm -f parser.c | -rm -f src/parser.c | |||
-rm -f parser.h | -rm -f src/parser.h | |||
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) | -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) | |||
clean: clean-am | clean: clean-recursive | |||
clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \ | clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \ | |||
clean-libtool clean-local mostlyclean-am | clean-libtool clean-local mostlyclean-am | |||
distclean: distclean-am | distclean: distclean-recursive | |||
-rm -f $(am__CONFIG_DISTCLEAN_FILES) | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | |||
-rm -rf ./$(DEPDIR) | -rm -rf src/$(DEPDIR) | |||
-rm -f Makefile | -rm -f Makefile | |||
distclean-am: clean-am distclean-compile distclean-generic \ | distclean-am: clean-am distclean-compile distclean-generic \ | |||
distclean-libtool distclean-tags | distclean-libtool distclean-tags | |||
dvi: dvi-am | dvi: dvi-recursive | |||
dvi-am: | dvi-am: | |||
html: html-am | html: html-recursive | |||
html-am: | html-am: | |||
info: info-am | info: info-recursive | |||
info-am: | info-am: | |||
install-data-am: install-dist_docDATA install-includeHEADERS \ | install-data-am: install-dist_docDATA install-includeHEADERS \ | |||
install-man | install-man | |||
install-dvi: install-dvi-am | install-dvi: install-dvi-recursive | |||
install-dvi-am: | install-dvi-am: | |||
install-exec-am: install-binPROGRAMS install-libLTLIBRARIES | install-exec-am: install-binPROGRAMS install-libLTLIBRARIES | |||
install-html: install-html-am | install-html: install-html-recursive | |||
install-html-am: | install-html-am: | |||
install-info: install-info-am | install-info: install-info-recursive | |||
install-info-am: | install-info-am: | |||
install-man: install-man1 | install-man: install-man1 | |||
install-pdf: install-pdf-am | install-pdf: install-pdf-recursive | |||
install-pdf-am: | install-pdf-am: | |||
install-ps: install-ps-am | install-ps: install-ps-recursive | |||
install-ps-am: | install-ps-am: | |||
installcheck-am: | installcheck-am: | |||
maintainer-clean: maintainer-clean-am | maintainer-clean: maintainer-clean-recursive | |||
-rm -f $(am__CONFIG_DISTCLEAN_FILES) | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | |||
-rm -rf $(top_srcdir)/autom4te.cache | -rm -rf $(top_srcdir)/autom4te.cache | |||
-rm -rf ./$(DEPDIR) | -rm -rf src/$(DEPDIR) | |||
-rm -f Makefile | -rm -f Makefile | |||
maintainer-clean-am: distclean-am maintainer-clean-generic | maintainer-clean-am: distclean-am maintainer-clean-generic | |||
mostlyclean: mostlyclean-am | mostlyclean: mostlyclean-recursive | |||
mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | mostlyclean-am: mostlyclean-compile mostlyclean-generic \ | |||
mostlyclean-libtool | mostlyclean-libtool | |||
pdf: pdf-am | pdf: pdf-recursive | |||
pdf-am: | pdf-am: | |||
ps: ps-am | ps: ps-recursive | |||
ps-am: | ps-am: | |||
uninstall-am: uninstall-binPROGRAMS uninstall-dist_docDATA \ | uninstall-am: uninstall-binPROGRAMS uninstall-dist_docDATA \ | |||
uninstall-includeHEADERS uninstall-libLTLIBRARIES \ | uninstall-includeHEADERS uninstall-libLTLIBRARIES \ | |||
uninstall-man | uninstall-man | |||
uninstall-man: uninstall-man1 | uninstall-man: uninstall-man1 | |||
.MAKE: all check check-am install install-am install-strip | .MAKE: $(am__recursive_targets) all check check-am install install-am \ | |||
install-strip | ||||
.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \ | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ | |||
check-am clean clean-binPROGRAMS clean-cscope clean-generic \ | am--refresh check check-TESTS check-am clean clean-binPROGRAMS \ | |||
clean-libLTLIBRARIES clean-libtool clean-local cscope \ | clean-cscope clean-generic clean-libLTLIBRARIES clean-libtool \ | |||
cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ | clean-local cscope cscopelist-am ctags ctags-am dist dist-all \ | |||
dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \ | dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \ | |||
dist-zip distcheck distclean distclean-compile \ | dist-zip distcheck distclean distclean-compile \ | |||
distclean-generic distclean-libtool distclean-tags \ | distclean-generic distclean-libtool distclean-tags \ | |||
distcleancheck distdir distuninstallcheck dvi dvi-am html \ | distcleancheck distdir distuninstallcheck dvi dvi-am html \ | |||
html-am info info-am install install-am install-binPROGRAMS \ | html-am info info-am install install-am install-binPROGRAMS \ | |||
install-data install-data-am install-dist_docDATA install-dvi \ | install-data install-data-am install-dist_docDATA install-dvi \ | |||
install-dvi-am install-exec install-exec-am install-html \ | install-dvi-am install-exec install-exec-am install-html \ | |||
install-html-am install-includeHEADERS install-info \ | install-html-am install-includeHEADERS install-info \ | |||
install-info-am install-libLTLIBRARIES install-man \ | install-info-am install-libLTLIBRARIES install-man \ | |||
install-man1 install-pdf install-pdf-am install-ps \ | install-man1 install-pdf install-pdf-am install-ps \ | |||
install-ps-am install-strip installcheck installcheck-am \ | install-ps-am install-strip installcheck installcheck-am \ | |||
installdirs maintainer-clean maintainer-clean-generic \ | installdirs installdirs-am maintainer-clean \ | |||
mostlyclean mostlyclean-compile mostlyclean-generic \ | maintainer-clean-generic mostlyclean mostlyclean-compile \ | |||
mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \ | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ | |||
uninstall uninstall-am uninstall-binPROGRAMS \ | recheck tags tags-am uninstall uninstall-am \ | |||
uninstall-dist_docDATA uninstall-includeHEADERS \ | uninstall-binPROGRAMS uninstall-dist_docDATA \ | |||
uninstall-libLTLIBRARIES uninstall-man uninstall-man1 | uninstall-includeHEADERS uninstall-libLTLIBRARIES \ | |||
uninstall-man uninstall-man1 | ||||
@MAINTAINER_MODE_TRUE@lexer.c: lexer.l | ||||
@MAINTAINER_MODE_TRUE@ $(AM_V_LEX) flex -o lexer.c --header-file=lexer.h $< | .PRECIOUS: Makefile | |||
@MAINTAINER_MODE_TRUE@lexer.h: lexer.c | ||||
@MAINTAINER_MODE_TRUE@src/lexer.c: src/lexer.l | ||||
@MAINTAINER_MODE_TRUE@ $(AM_V_LEX) flex -o src/lexer.c --header-file=src/lexer.h | ||||
$< | ||||
@MAINTAINER_MODE_TRUE@src/lexer.h: src/lexer.c | ||||
@MAINTAINER_MODE_FALSE@.y.c: | @MAINTAINER_MODE_FALSE@.y.c: | |||
@MAINTAINER_MODE_FALSE@ $(AM_V_YACC) echo "NOT building parser.c!" | @MAINTAINER_MODE_FALSE@ $(AM_V_YACC) echo "NOT building parser.c!" | |||
@MAINTAINER_MODE_FALSE@.l.c: | @MAINTAINER_MODE_FALSE@.l.c: | |||
@MAINTAINER_MODE_FALSE@ $(AM_V_LEX) echo "NOT building lexer.c!" | @MAINTAINER_MODE_FALSE@ $(AM_V_LEX) echo "NOT building lexer.c!" | |||
### Building the jq binary | ### Building the jq binary | |||
# Remake the version.h header file if, and only if, the git ID has changed | # Remake the version.h header file if, and only if, the git ID has changed | |||
.PHONY: .FORCE | .PHONY: .FORCE | |||
.FORCE: | .FORCE: | |||
.remake-version-h: .FORCE | .remake-version-h: .FORCE | |||
@ $(generate_ver); test "x`cat version.h 2>/dev/null`" = "x$$ver" || touc | @ $(generate_ver); test "x`cat src/version.h 2>/dev/null`" = "x$$ver" || | |||
h .remake-version-h | touch .remake-version-h | |||
version.h: .remake-version-h | src/version.h: .remake-version-h | |||
$(AM_V_GEN) $(generate_ver); echo "$$ver" > $@ | $(AM_V_GEN) $(generate_ver); echo "$$ver" > $@ | |||
main.c: version.h | src/main.c: src/version.h | |||
.PHONY: real_docs | ||||
src/builtin.inc: src/builtin.jq | ||||
$(AM_V_GEN) sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/\\n" | ||||
/' $^ > $@ | ||||
src/builtin.o: src/builtin.inc | ||||
@ENABLE_DOCS_TRUE@jq.1: $(srcdir)/docs/content/3.manual/manual.yml | @ENABLE_DOCS_TRUE@jq.1: $(srcdir)/docs/content/3.manual/manual.yml | |||
@ENABLE_DOCS_TRUE@ $(AM_V_GEN) ( cd ${abs_srcdir}/docs; '$(BUNDLER)' exec ra ke manpage ) > $@ || { rm -f $@; false; } | @ENABLE_DOCS_TRUE@ $(AM_V_GEN) ( cd ${abs_srcdir}/docs; '$(BUNDLER)' exec ra ke manpage ) > $@ || { rm -f $@; false; } | |||
@ENABLE_DOCS_TRUE@jq.1.prebuilt: jq.1 | @ENABLE_DOCS_TRUE@jq.1.prebuilt: jq.1 | |||
@ENABLE_DOCS_TRUE@ $(AM_V_GEN) cp $^ $@ || { rm -f $@; false; } | @ENABLE_DOCS_TRUE@ $(AM_V_GEN) cp $^ $@ || { rm -f $@; false; } | |||
@ENABLE_DOCS_TRUE@jq.1.default: $(srcdir)/docs/default_manpage.md | ||||
@ENABLE_DOCS_TRUE@ $(AM_V_GEN) ( cd ${abs_srcdir}/docs; '$(BUNDLER)' exec ra | ||||
ke manpage_default ) > $@ || { rm -f $@; false; } | ||||
@ENABLE_DOCS_TRUE@real_docs: jq.1 jq.1.prebuilt | ||||
@ENABLE_DOCS_TRUE@ @if cmp jq.1 $(srcdir)/jq.1.default > /dev/null; then\ | ||||
@ENABLE_DOCS_TRUE@ rm -f jq.1; $(MAKE) $(AM_MAKEFLAGS) jq.1;\ | ||||
@ENABLE_DOCS_TRUE@ fi | ||||
@ENABLE_DOCS_FALSE@jq.1: $(srcdir)/jq.1.prebuilt | @ENABLE_DOCS_FALSE@jq.1: $(srcdir)/jq.1.prebuilt | |||
@ENABLE_DOCS_FALSE@ $(AM_V_GEN) cp $^ $@ | @ENABLE_DOCS_FALSE@ $(AM_V_GEN) cp $^ $@ | |||
@ENABLE_DOCS_FALSE@real_docs: | ||||
@ENABLE_DOCS_FALSE@ @echo "Ruby dependencies not found, cannot build manpage. | ||||
" > /dev/stderr | ||||
@ENABLE_DOCS_FALSE@ @echo "Follow the instructions in docs/README.md to insta | ||||
ll them" > /dev/stderr | ||||
@ENABLE_DOCS_FALSE@ @echo "and then rerun ./configure" > /dev/stderr | ||||
@ENABLE_DOCS_FALSE@ @echo "A pre-built, possibly out-of-date manpage used." > | ||||
/dev/stderr | ||||
@ENABLE_DOCS_FALSE@ false | ||||
### Packaging | ### Packaging | |||
docs/site.yml: configure.ac | docs/site.yml: configure.ac | |||
sed 's/^jq_version: .*/jq_version: "$(VERSION)"/' $@ > $@.new | sed 's/^jq_version: .*/jq_version: "$(VERSION)"/' $@ > $@.new | |||
mv $@.new $@ | mv $@.new $@ | |||
install-binaries: $(BUILT_SOURCES) | install-binaries: $(BUILT_SOURCES) | |||
$(MAKE) $(AM_MAKEFLAGS) install-exec | $(MAKE) $(AM_MAKEFLAGS) install-exec | |||
# Ensure "make dist" fails when we can't build the real manpage | ||||
dist-hook: real_docs | ||||
RELEASE ?= 1 | RELEASE ?= 1 | |||
rpm: dist jq.spec | rpm: dist jq.spec | |||
@echo "Packaging jq as an RPM ..." | @echo "Packaging jq as an RPM ..." | |||
mkdir -p rpm/SOURCES rpm/BUILD rpm/BUILDROOT rpm/RPMS rpm/SPECS | mkdir -p rpm/SOURCES rpm/BUILD rpm/BUILDROOT rpm/RPMS rpm/SPECS | |||
cp jq-$(VERSION).tar.gz rpm/SOURCES/ | cp jq-$(VERSION).tar.gz rpm/SOURCES/ | |||
rpmbuild -tb --define "_topdir ${PWD}/rpm" --define "_prefix /usr" --defi ne "myver $(VERSION)" --define "myrel ${RELEASE}" rpm/SOURCES/jq-$(VERSION).tar. gz | rpmbuild -tb --define "_topdir ${PWD}/rpm" --define "_prefix /usr" --defi ne "myver $(VERSION)" --define "myrel ${RELEASE}" rpm/SOURCES/jq-$(VERSION).tar. gz | |||
find rpm/RPMS/ -name "*.rpm" -exec mv {} ./ \; | find rpm/RPMS/ -name "*.rpm" -exec mv {} ./ \; | |||
rm -rf rpm | rm -rf rpm | |||
dist-clean-local: | dist-clean-local: | |||
rm -f ${BUILT_SOURCES} | rm -f ${BUILT_SOURCES} | |||
# Not sure why this doesn't get cleaned up automatically, guess | # Not sure why this doesn't get cleaned up automatically, guess | |||
# automake used to man pages which are hand coded? | # automake used to man pages which are hand coded? | |||
# 'make clean' doesn't delete the manpage if it can't be rebuilt | # 'make clean' doesn't delete the manpage if it can't be rebuilt | |||
clean-local-docs: | clean-local-docs: | |||
@ENABLE_DOCS_TRUE@ rm -f jq.1 | @ENABLE_DOCS_TRUE@ rm -f jq.1 | |||
clean-local-gcov: | clean-local-gcov: | |||
rm -f *.gcno *.gcda *.gcov | rm -f src/*.gcno src/*.gcda src/*.gcov | |||
clean-local: clean-local-docs clean-local-gcov | clean-local: clean-local-docs clean-local-gcov | |||
rm -f version.h .remake-version-h | rm -f src/version.h .remake-version-h | |||
.PHONY: clean-local-docs clean-local-gcov | .PHONY: clean-local-docs clean-local-gcov | |||
# Tell versions [3.59,3.63) of GNU make to not export all variables. | # 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. | # Otherwise a system limit (for SysV at least) may be exceeded. | |||
.NOEXPORT: | .NOEXPORT: | |||
End of changes. 97 change blocks. | ||||
230 lines changed or deleted | 391 lines changed or added |