Debian Codegraph @

common/mlpcre/Makefile.in

raw
1 # Makefile.in generated by automake 1.17 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2024 Free Software Foundation, Inc.
5
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 # Bindings for Perl-compatible Regular Expressions.
18 # Copyright (C) 2017 Red Hat Inc.
19 #
20 # This program is free software; you can redistribute it and/or modify
21 # it under the terms of the GNU General Public License as published by
22 # the Free Software Foundation; either version 2 of the License, or
23 # (at your option) any later version.
24 #
25 # This program is distributed in the hope that it will be useful,
26 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 # GNU General Public License for more details.
29 #
30 # You should have received a copy of the GNU General Public License
31 # along with this program; if not, write to the Free Software
32 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
33
34 # libguestfs
35 # Copyright (C) 2009-2025 Red Hat Inc.
36 #
37 # This program is free software; you can redistribute it and/or modify
38 # it under the terms of the GNU General Public License as published by
39 # the Free Software Foundation; either version 2 of the License, or
40 # (at your option) any later version.
41 #
42 # This program is distributed in the hope that it will be useful,
43 # but WITHOUT ANY WARRANTY; without even the implied warranty of
44 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45 # GNU General Public License for more details.
46 #
47 # You should have received a copy of the GNU General Public License
48 # along with this program; if not, write to the Free Software
49 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
50
51 # subdir-rules.mk should be included in every *subdirectory* Makefile.am.
52
53 # libguestfs
54 # Copyright (C) 2013 Red Hat Inc.
55 #
56 # This program is free software; you can redistribute it and/or modify
57 # it under the terms of the GNU General Public License as published by
58 # the Free Software Foundation; either version 2 of the License, or
59 # (at your option) any later version.
60 #
61 # This program is distributed in the hope that it will be useful,
62 # but WITHOUT ANY WARRANTY; without even the implied warranty of
63 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
64 # GNU General Public License for more details.
65 #
66 # You should have received a copy of the GNU General Public License
67 # along with this program; if not, write to the Free Software
68 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
69
70 # 'common-rules.mk' should be included in every Makefile.am.
71 # cf. 'subdir-rules.mk'
72
73
74 VPATH = @srcdir@
75 am__is_gnu_make = { \
76 if test -z '$(MAKELEVEL)'; then \
77 false; \
78 elif test -n '$(MAKE_HOST)'; then \
79 true; \
80 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
81 true; \
82 else \
83 false; \
84 fi; \
85 }
86 am__make_running_with_option = \
87 case $${target_option-} in \
88 ?) ;; \
89 *) echo "am__make_running_with_option: internal error: invalid" \
90 "target option '$${target_option-}' specified" >&2; \
91 exit 1;; \
92 esac; \
93 has_opt=no; \
94 sane_makeflags=$$MAKEFLAGS; \
95 if $(am__is_gnu_make); then \
96 sane_makeflags=$$MFLAGS; \
97 else \
98 case $$MAKEFLAGS in \
99 *\\[\ \ ]*) \
100 bs=\\; \
101 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
102 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
103 esac; \
104 fi; \
105 skip_next=no; \
106 strip_trailopt () \
107 { \
108 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
109 }; \
110 for flg in $$sane_makeflags; do \
111 test $$skip_next = yes && { skip_next=no; continue; }; \
112 case $$flg in \
113 *=*|--*) continue;; \
114 -*I) strip_trailopt 'I'; skip_next=yes;; \
115 -*I?*) strip_trailopt 'I';; \
116 -*O) strip_trailopt 'O'; skip_next=yes;; \
117 -*O?*) strip_trailopt 'O';; \
118 -*l) strip_trailopt 'l'; skip_next=yes;; \
119 -*l?*) strip_trailopt 'l';; \
120 -[dEDm]) skip_next=yes;; \
121 -[JT]) skip_next=yes;; \
122 esac; \
123 case $$flg in \
124 *$$target_option*) has_opt=yes; break;; \
125 esac; \
126 done; \
127 test $$has_opt = yes
128 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
129 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
130 am__rm_f = rm -f $(am__rm_f_notfound)
131 am__rm_rf = rm -rf $(am__rm_f_notfound)
132 pkgdatadir = $(datadir)/@PACKAGE@
133 pkgincludedir = $(includedir)/@PACKAGE@
134 pkglibdir = $(libdir)/@PACKAGE@
135 pkglibexecdir = $(libexecdir)/@PACKAGE@
136 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
137 install_sh_DATA = $(install_sh) -c -m 644
138 install_sh_PROGRAM = $(install_sh) -c
139 install_sh_SCRIPT = $(install_sh) -c
140 INSTALL_HEADER = $(INSTALL_DATA)
141 transform = $(program_transform_name)
142 NORMAL_INSTALL = :
143 PRE_INSTALL = :
144 POST_INSTALL = :
145 NORMAL_UNINSTALL = :
146 PRE_UNINSTALL = :
147 POST_UNINSTALL = :
148 build_triplet = @build@
149 host_triplet = @host@
150 check_PROGRAMS = pcre_tests$(EXEEXT)
151 TESTS = pcre_tests$(EXEEXT)
152 subdir = common/mlpcre
153 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
154 am__aclocal_m4_deps = $(top_srcdir)/m4/build-to-host.m4 \
155 $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/host-cpu-c-abi.m4 \
156 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
157 $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
158 $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
159 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
160 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
161 $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/ocaml.m4 \
162 $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \
163 $(top_srcdir)/m4/guestfs-progs.m4 \
164 $(top_srcdir)/m4/guestfs-c.m4 \
165 $(top_srcdir)/m4/guestfs-libraries.m4 \
166 $(top_srcdir)/m4/guestfs-ocaml-gettext.m4 \
167 $(top_srcdir)/m4/guestfs-ocaml.m4 \
168 $(top_srcdir)/m4/guestfs-perl.m4 \
169 $(top_srcdir)/m4/guestfs-misc-libraries.m4 \
170 $(top_srcdir)/m4/guestfs-bash-completion.m4 \
171 $(top_srcdir)/configure.ac
172 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
173 $(ACLOCAL_M4)
174 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
175 mkinstalldirs = $(install_sh) -d
176 CONFIG_HEADER = $(top_builddir)/config.h
177 CONFIG_CLEAN_FILES =
178 CONFIG_CLEAN_VPATH_FILES =
179 LIBRARIES = $(noinst_LIBRARIES)
180 ARFLAGS = cr
181 AM_V_AR = $(am__v_AR_@AM_V@)
182 am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
183 am__v_AR_0 = @echo " AR " $@;
184 am__v_AR_1 =
185 libmlpcre_a_AR = $(AR) $(ARFLAGS)
186 libmlpcre_a_RANLIB = $(RANLIB)
187 libmlpcre_a_LIBADD =
188 am__objects_1 = libmlpcre_a-pcre-c.$(OBJEXT)
189 am_libmlpcre_a_OBJECTS = $(am__objects_1)
190 libmlpcre_a_OBJECTS = $(am_libmlpcre_a_OBJECTS)
191 am_pcre_tests_OBJECTS = dummy.$(OBJEXT)
192 pcre_tests_OBJECTS = $(am_pcre_tests_OBJECTS)
193 pcre_tests_LDADD = $(LDADD)
194 AM_V_P = $(am__v_P_@AM_V@)
195 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
196 am__v_P_0 = false
197 am__v_P_1 = :
198 AM_V_GEN = $(am__v_GEN_@AM_V@)
199 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
200 am__v_GEN_0 = @echo " GEN " $@;
201 am__v_GEN_1 =
202 AM_V_at = $(am__v_at_@AM_V@)
203 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
204 am__v_at_0 = @
205 am__v_at_1 =
206 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
207 depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
208 am__maybe_remake_depfiles = depfiles
209 am__depfiles_remade = ./$(DEPDIR)/dummy.Po \
210 ./$(DEPDIR)/libmlpcre_a-pcre-c.Po
211 am__mv = mv -f
212 AM_V_lt = $(am__v_lt_@AM_V@)
213 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
214 am__v_lt_0 = --silent
215 am__v_lt_1 =
216 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
217 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
218 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
219 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
220 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
221 $(AM_CFLAGS) $(CFLAGS)
222 AM_V_CC = $(am__v_CC_@AM_V@)
223 am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
224 am__v_CC_0 = @echo " CC " $@;
225 am__v_CC_1 =
226 CCLD = $(CC)
227 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
228 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
229 $(AM_LDFLAGS) $(LDFLAGS) -o $@
230 AM_V_CCLD = $(am__v_CCLD_@AM_V@)
231 am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
232 am__v_CCLD_0 = @echo " CCLD " $@;
233 am__v_CCLD_1 =
234 SOURCES = $(libmlpcre_a_SOURCES) $(pcre_tests_SOURCES)
235 DIST_SOURCES = $(libmlpcre_a_SOURCES) $(pcre_tests_SOURCES)
236 am__can_run_installinfo = \
237 case $$AM_UPDATE_INFO_DIR in \
238 n|no|NO) false;; \
239 *) (install-info --version) >/dev/null 2>&1;; \
240 esac
241 DATA = $(noinst_DATA)
242 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
243 # Read a list of newline-separated strings from the standard input,
244 # and print each of them once, without duplicates. Input order is
245 # *not* preserved.
246 am__uniquify_input = $(AWK) '\
247 BEGIN { nonempty = 0; } \
248 { items[$$0] = 1; nonempty = 1; } \
249 END { if (nonempty) { for (i in items) print i; }; } \
250 '
251 # Make sure the list of sources is unique. This is necessary because,
252 # e.g., the same source file might be shared among _SOURCES variables
253 # for different programs/libraries.
254 am__define_uniq_tagged_files = \
255 list='$(am__tagged_files)'; \
256 unique=`for i in $$list; do \
257 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
258 done | $(am__uniquify_input)`
259 am__tty_colors_dummy = \
260 mgn= red= grn= lgn= blu= brg= std=; \
261 am__color_tests=no
262 am__tty_colors = { \
263 $(am__tty_colors_dummy); \
264 if test "X$(AM_COLOR_TESTS)" = Xno; then \
265 am__color_tests=no; \
266 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
267 am__color_tests=yes; \
268 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
269 am__color_tests=yes; \
270 fi; \
271 if test $$am__color_tests = yes; then \
272 red=''; \
273 grn=''; \
274 lgn=''; \
275 blu=''; \
276 mgn=''; \
277 brg=''; \
278 std=''; \
279 fi; \
280 }
281 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
282 am__vpath_adj = case $$p in \
283 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
284 *) f=$$p;; \
285 esac;
286 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
287 am__install_max = 40
288 am__nobase_strip_setup = \
289 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
290 am__nobase_strip = \
291 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
292 am__nobase_list = $(am__nobase_strip_setup); \
293 for p in $$list; do echo "$$p $$p"; done | \
294 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
295 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
296 if (++n[$$2] == $(am__install_max)) \
297 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
298 END { for (dir in files) print dir, files[dir] }'
299 am__base_list = \
300 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
301 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
302 am__uninstall_files_from_dir = { \
303 { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
304 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
305 $(am__cd) "$$dir" && echo $$files | $(am__xargs_n) 40 $(am__rm_f); }; \
306 }
307 am__recheck_rx = ^[ ]*:recheck:[ ]*
308 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
309 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
310 # A command that, given a newline-separated list of test names on the
311 # standard input, print the name of the tests that are to be re-run
312 # upon "make recheck".
313 am__list_recheck_tests = $(AWK) '{ \
314 recheck = 1; \
315 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
316 { \
317 if (rc < 0) \
318 { \
319 if ((getline line2 < ($$0 ".log")) < 0) \
320 recheck = 0; \
321 break; \
322 } \
323 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
324 { \
325 recheck = 0; \
326 break; \
327 } \
328 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
329 { \
330 break; \
331 } \
332 }; \
333 if (recheck) \
334 print $$0; \
335 close ($$0 ".trs"); \
336 close ($$0 ".log"); \
337 }'
338 # A command that, given a newline-separated list of test names on the
339 # standard input, create the global log from their .trs and .log files.
340 am__create_global_log = $(AWK) ' \
341 function fatal(msg) \
342 { \
343 print "fatal: making $@: " msg | "cat >&2"; \
344 exit 1; \
345 } \
346 function rst_section(header) \
347 { \
348 print header; \
349 len = length(header); \
350 for (i = 1; i <= len; i = i + 1) \
351 printf "="; \
352 printf "\n\n"; \
353 } \
354 { \
355 copy_in_global_log = 1; \
356 global_test_result = "RUN"; \
357 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
358 { \
359 if (rc < 0) \
360 fatal("failed to read from " $$0 ".trs"); \
361 if (line ~ /$(am__global_test_result_rx)/) \
362 { \
363 sub("$(am__global_test_result_rx)", "", line); \
364 sub("[ ]*$$", "", line); \
365 global_test_result = line; \
366 } \
367 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
368 copy_in_global_log = 0; \
369 }; \
370 if (copy_in_global_log) \
371 { \
372 rst_section(global_test_result ": " $$0); \
373 while ((rc = (getline line < ($$0 ".log"))) != 0) \
374 { \
375 if (rc < 0) \
376 fatal("failed to read from " $$0 ".log"); \
377 print line; \
378 }; \
379 printf "\n"; \
380 }; \
381 close ($$0 ".trs"); \
382 close ($$0 ".log"); \
383 }'
384 # Restructured Text title.
385 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
386 # Solaris 10 'make', and several other traditional 'make' implementations,
387 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
388 # by disabling -e (using the XSI extension "set +e") if it's set.
389 am__sh_e_setup = case $$- in *e*) set +e;; esac
390 # Default flags passed to test drivers.
391 am__common_driver_flags = \
392 --color-tests "$$am__color_tests" \
393 $$am__collect_skipped_logs \
394 --enable-hard-errors "$$am__enable_hard_errors" \
395 --expect-failure "$$am__expect_failure"
396 # To be inserted before the command running the test. Creates the
397 # directory for the log if needed. Stores in $dir the directory
398 # containing $f, in $tst the test, in $log the log. Executes the
399 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
400 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
401 # will run the test scripts (or their associated LOG_COMPILER, if
402 # thy have one).
403 am__check_pre = \
404 $(am__sh_e_setup); \
405 $(am__vpath_adj_setup) $(am__vpath_adj) \
406 $(am__tty_colors); \
407 srcdir=$(srcdir); export srcdir; \
408 case "$@" in \
409 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
410 *) am__odir=.;; \
411 esac; \
412 test "x$$am__odir" = x"." || test -d "$$am__odir" \
413 || $(MKDIR_P) "$$am__odir" || exit $$?; \
414 if test -f "./$$f"; then dir=./; \
415 elif test -f "$$f"; then dir=; \
416 else dir="$(srcdir)/"; fi; \
417 tst=$$dir$$f; log='$@'; \
418 if test -n '$(IGNORE_SKIPPED_LOGS)'; then \
419 am__collect_skipped_logs='--collect-skipped-logs no'; \
420 else \
421 am__collect_skipped_logs=''; \
422 fi; \
423 if test -n '$(DISABLE_HARD_ERRORS)'; then \
424 am__enable_hard_errors=no; \
425 else \
426 am__enable_hard_errors=yes; \
427 fi; \
428 case " $(XFAIL_TESTS) " in \
429 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
430 am__expect_failure=yes;; \
431 *) \
432 am__expect_failure=no;; \
433 esac; \
434 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
435 # A shell command to get the names of the tests scripts with any registered
436 # extension removed (i.e., equivalently, the names of the test logs, with
437 # the '.log' extension removed). The result is saved in the shell variable
438 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
439 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
440 # since that might cause problem with VPATH rewrites for suffix-less tests.
441 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
442 am__set_TESTS_bases = \
443 bases='$(TEST_LOGS)'; \
444 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
445 bases=`echo $$bases`
446 AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
447 RECHECK_LOGS = $(TEST_LOGS)
448 AM_RECURSIVE_TARGETS = check recheck
449 TEST_SUITE_LOG = test-suite.log
450 TEST_EXTENSIONS = @EXEEXT@ .test
451 LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
452 am__set_b = \
453 case '$@' in \
454 */*) \
455 case '$*' in \
456 */*) b='$*';; \
457 *) b=`echo '$@' | sed 's/\.log$$//'`; \
458 esac;; \
459 *) \
460 b='$*';; \
461 esac
462 am__test_logs1 = $(TESTS:=.log)
463 am__test_logs2 = $(am__test_logs1:@[email protected]=.log)
464 TEST_LOGS = $(am__test_logs2:.test.log=.log)
465 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
466 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
467 $(TEST_LOG_FLAGS)
468 am__DIST_COMMON = $(srcdir)/Makefile.in \
469 $(top_srcdir)/build-aux/depcomp \
470 $(top_srcdir)/build-aux/test-driver \
471 $(top_srcdir)/common-rules.mk $(top_srcdir)/subdir-rules.mk
472 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
473 ACLOCAL = @ACLOCAL@
474 AMTAR = @AMTAR@
475 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
476 AR = @AR@
477 AUTOCONF = @AUTOCONF@
478 AUTOHEADER = @AUTOHEADER@
479 AUTOMAKE = @AUTOMAKE@
480 AWK = @AWK@
481 BASH_COMPLETIONS_DIR = @BASH_COMPLETIONS_DIR@
482 BASH_COMPLETION_CFLAGS = @BASH_COMPLETION_CFLAGS@
483 BASH_COMPLETION_LIBS = @BASH_COMPLETION_LIBS@
484 CC = @CC@
485 CCDEPMODE = @CCDEPMODE@
486 CFLAGS = @CFLAGS@
487 CPP = @CPP@
488 CPPFLAGS = @CPPFLAGS@
489 CSCOPE = @CSCOPE@
490 CTAGS = @CTAGS@
491 CYGPATH_W = @CYGPATH_W@
492 DEFS = @DEFS@
493 DEPDIR = @DEPDIR@
494 DESIRED_LINGUAS = @DESIRED_LINGUAS@
495 DLLTOOL = @DLLTOOL@
496 DSYMUTIL = @DSYMUTIL@
497 DUMPBIN = @DUMPBIN@
498 ECHO_C = @ECHO_C@
499 ECHO_N = @ECHO_N@
500 ECHO_T = @ECHO_T@
501 EGREP = @EGREP@
502 ETAGS = @ETAGS@
503 EXEEXT = @EXEEXT@
504 FGREP = @FGREP@
505 FILECMD = @FILECMD@
506 GCC_VISIBILITY_HIDDEN = @GCC_VISIBILITY_HIDDEN@
507 GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
508 GMSGFMT = @GMSGFMT@
509 GMSGFMT_015 = @GMSGFMT_015@
510 GREP = @GREP@
511 HWDATA_PKGDATADIR = @HWDATA_PKGDATADIR@
512 INSTALL = @INSTALL@
513 INSTALL_DATA = @INSTALL_DATA@
514 INSTALL_PROGRAM = @INSTALL_PROGRAM@
515 INSTALL_SCRIPT = @INSTALL_SCRIPT@
516 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
517 INTLLIBS = @INTLLIBS@
518 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
519 JSON_C_CFLAGS = @JSON_C_CFLAGS@
520 JSON_C_LIBS = @JSON_C_LIBS@
521 LD = @LD@
522 LDFLAGS = @LDFLAGS@
523 LEX = @LEX@
524 LEXLIB = @LEXLIB@
525 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
526 LIBCRYPT_CFLAGS = @LIBCRYPT_CFLAGS@
527 LIBCRYPT_LIBS = @LIBCRYPT_LIBS@
528 LIBGUESTFS_CFLAGS = @LIBGUESTFS_CFLAGS@
529 LIBGUESTFS_LIBS = @LIBGUESTFS_LIBS@
530 LIBICONV = @LIBICONV@
531 LIBINTL = @LIBINTL@
532 LIBLZMA_CFLAGS = @LIBLZMA_CFLAGS@
533 LIBLZMA_LIBS = @LIBLZMA_LIBS@
534 LIBOBJS = @LIBOBJS@
535 LIBOSINFO_CFLAGS = @LIBOSINFO_CFLAGS@
536 LIBOSINFO_LIBS = @LIBOSINFO_LIBS@
537 LIBS = @LIBS@
538 LIBTINFO_CFLAGS = @LIBTINFO_CFLAGS@
539 LIBTINFO_LIBS = @LIBTINFO_LIBS@
540 LIBTOOL = @LIBTOOL@
541 LIBVIRT_CFLAGS = @LIBVIRT_CFLAGS@
542 LIBVIRT_LIBS = @LIBVIRT_LIBS@
543 LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
544 LIBXML2_LIBS = @LIBXML2_LIBS@
545 LIPO = @LIPO@
546 LN_S = @LN_S@
547 LTLIBICONV = @LTLIBICONV@
548 LTLIBINTL = @LTLIBINTL@
549 LTLIBOBJS = @LTLIBOBJS@
550 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
551 MAKEINFO = @MAKEINFO@
552 MANIFEST_TOOL = @MANIFEST_TOOL@
553 MKDIR_P = @MKDIR_P@
554 MKISOFS = @MKISOFS@
555 MSGCAT = @MSGCAT@
556 MSGFMT = @MSGFMT@
557 MSGMERGE = @MSGMERGE@
558 MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
559 NCURSES_CONFIG = @NCURSES_CONFIG@
560 NM = @NM@
561 NMEDIT = @NMEDIT@
562 OBJDUMP = @OBJDUMP@
563 OBJEXT = @OBJEXT@
564 OCAMLBEST = @OCAMLBEST@
565 OCAMLBUILD = @OCAMLBUILD@
566 OCAMLC = @OCAMLC@
567 OCAMLCDOTOPT = @OCAMLCDOTOPT@
568 OCAMLDEP = @OCAMLDEP@
569 OCAMLDOC = @OCAMLDOC@
570 OCAMLFIND = @OCAMLFIND@
571 OCAMLLIB = @OCAMLLIB@
572 OCAMLMKLIB = @OCAMLMKLIB@
573 OCAMLMKTOP = @OCAMLMKTOP@
574 OCAMLOPT = @OCAMLOPT@
575 OCAMLOPTDOTOPT = @OCAMLOPTDOTOPT@
576 OCAMLVERSION = @OCAMLVERSION@
577 OCAML_FLAGS = @OCAML_FLAGS@
578 OCAML_GETTEXT = @OCAML_GETTEXT@
579 OCAML_PKG_gettext = @OCAML_PKG_gettext@
580 OCAML_PKG_guestfs = @OCAML_PKG_guestfs@
581 OCAML_RUNTIME_VARIANT_PIC_OPTION = @OCAML_RUNTIME_VARIANT_PIC_OPTION@
582 OCAML_WARN_ERROR = @OCAML_WARN_ERROR@
583 OTOOL = @OTOOL@
584 OTOOL64 = @OTOOL64@
585 PACKAGE = @PACKAGE@
586 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
587 PACKAGE_NAME = @PACKAGE_NAME@
588 PACKAGE_STRING = @PACKAGE_STRING@
589 PACKAGE_TARNAME = @PACKAGE_TARNAME@
590 PACKAGE_URL = @PACKAGE_URL@
591 PACKAGE_VERSION = @PACKAGE_VERSION@
592 PACKAGE_VERSION_FULL = @PACKAGE_VERSION_FULL@
593 PATH_SEPARATOR = @PATH_SEPARATOR@
594 PCRE2_CFLAGS = @PCRE2_CFLAGS@
595 PCRE2_CONFIG = @PCRE2_CONFIG@
596 PCRE2_LIBS = @PCRE2_LIBS@
597 PERL = @PERL@
598 PKG_CONFIG = @PKG_CONFIG@
599 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
600 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
601 PO4A_GETTEXTIZE = @PO4A_GETTEXTIZE@
602 PO4A_TRANSLATE = @PO4A_TRANSLATE@
603 PO4A_UPDATEPO = @PO4A_UPDATEPO@
604 PODWRAPPER = @PODWRAPPER@
605 POSUB = @POSUB@
606 RANLIB = @RANLIB@
607 REALPATH = @REALPATH@
608 SED = @SED@
609 SET_MAKE = @SET_MAKE@
610 SHELL = @SHELL@
611 SQLITE3 = @SQLITE3@
612 STRIP = @STRIP@
613 SYSCONFDIR = @SYSCONFDIR@
614 USE_NLS = @USE_NLS@
615 VALGRIND = @VALGRIND@
616 VERSION = @VERSION@
617 VERSION_SCRIPT_FLAGS = @VERSION_SCRIPT_FLAGS@
618 WARN_CFLAGS = @WARN_CFLAGS@
619 WERROR_CFLAGS = @WERROR_CFLAGS@
620 XGETTEXT = @XGETTEXT@
621 XGETTEXT_015 = @XGETTEXT_015@
622 XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
623 XMLLINT = @XMLLINT@
624 XZCAT = @XZCAT@
625 YACC = @YACC@
626 YFLAGS = @YFLAGS@
627 abs_builddir = @abs_builddir@
628 abs_srcdir = @abs_srcdir@
629 abs_top_builddir = @abs_top_builddir@
630 abs_top_srcdir = @abs_top_srcdir@
631 ac_ct_AR = @ac_ct_AR@
632 ac_ct_CC = @ac_ct_CC@
633 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
634 am__include = @am__include@
635 am__leading_dot = @am__leading_dot@
636 am__quote = @am__quote@
637 am__rm_f_notfound = @am__rm_f_notfound@
638 am__tar = @am__tar@
639 am__untar = @am__untar@
640 am__xargs_n = @am__xargs_n@
641 bindir = @bindir@
642 build = @build@
643 build_alias = @build_alias@
644 build_cpu = @build_cpu@
645 build_os = @build_os@
646 build_vendor = @build_vendor@
647 builddir = @builddir@
648 datadir = @datadir@
649 datarootdir = @datarootdir@
650 docdir = @docdir@
651 dvidir = @dvidir@
652 exec_prefix = @exec_prefix@
653 host = @host@
654 host_alias = @host_alias@
655 host_cpu = @host_cpu@
656 host_os = @host_os@
657 host_vendor = @host_vendor@
658 htmldir = @htmldir@
659 includedir = @includedir@
660 infodir = @infodir@
661 install_sh = @install_sh@
662 libdir = @libdir@
663 libexecdir = @libexecdir@
664 libvirt_ro_uri = @libvirt_ro_uri@
665 localedir = @localedir@
666 localedir_c = @localedir_c@
667 localedir_c_make = @localedir_c_make@
668 localstatedir = @localstatedir@
669 mandir = @mandir@
670 mkdir_p = @mkdir_p@
671 oldincludedir = @oldincludedir@
672 pdfdir = @pdfdir@
673 prefix = @prefix@
674 program_transform_name = @program_transform_name@
675 psdir = @psdir@
676 runstatedir = @runstatedir@
677 sbindir = @sbindir@
678 sharedstatedir = @sharedstatedir@
679 srcdir = @srcdir@
680 sysconfdir = @sysconfdir@
681 target_alias = @target_alias@
682 top_build_prefix = @top_build_prefix@
683 top_builddir = @top_builddir@
684 top_srcdir = @top_srcdir@
685
686 # Files that should universally be removed by 'make clean'. Note if
687 # there is any case in any subdirectory where a file should not be
688 # removed by 'make clean', it should not be listed here!
689
690 # Editor backup files
691
692 # Patch original and reject files.
693
694 # OCaml intermediate and generated files.
695
696 # OCaml -annot files (used for displaying types in some IDEs).
697
698 # Manual pages - these are all generated from *.pod, so the
699 # pages themselves should all be removed by 'make clean'.
700
701 # Stamp files used when generating man pages.
702
703 # Bindtests temporary files used in many language bindings.
704 CLEANFILES = *~ *.bak *.orig *.rej *.cmi *.cmo *.cma *.cmx *.cmxa \
705 dll*.so *.a *.annot *.1 *.3 *.5 *.8 stamp-*.pod bindtests.tmp
706
707 # Files that should be universally removed by 'make distclean'.
708 DISTCLEANFILES = .depend stamp-*
709
710 # Special suffixes used by OCaml.
711
712 # Special suffixes used by PO files.
713 SUFFIXES = .cmo .cmi .cmx .ml .mli .mll .mly .po .gmo
714 LOG_DRIVER = env $(SHELL) $(top_srcdir)/build-aux/guestfs-test-driver
715
716 # Rules for building OCaml objects.
717 # See also:
718 # guestfs-hacking(1) section "HOW OCAML PROGRAMS ARE COMPILED AND LINKED"
719 @HAVE_OCAMLOPT_FALSE@MLARCHIVE = cma
720 @HAVE_OCAMLOPT_TRUE@MLARCHIVE = cmxa
721 @HAVE_OCAMLOPT_FALSE@LINK_CUSTOM_OCAMLC_ONLY = -output-complete-exe
722 @HAVE_OCAMLOPT_FALSE@BEST = c
723 @HAVE_OCAMLOPT_TRUE@BEST = opt
724
725 # custom silent rules
726 guestfs_am_v_ocamlc = $(guestfs_am_v_ocamlc_@AM_V@)
727 guestfs_am_v_ocamlc_ = $(guestfs_am_v_ocamlc_@AM_DEFAULT_V@)
728 guestfs_am_v_ocamlc_0 = @echo " OCAMLC " $@;
729 guestfs_am_v_ocamlcmi = $(guestfs_am_v_ocamlcmi_@AM_V@)
730 guestfs_am_v_ocamlcmi_ = $(guestfs_am_v_ocamlcmi_@AM_DEFAULT_V@)
731 guestfs_am_v_ocamlcmi_0 = @echo " OCAMLCMI" $@;
732 guestfs_am_v_ocamlopt = $(guestfs_am_v_ocamlopt_@AM_V@)
733 guestfs_am_v_ocamlopt_ = $(guestfs_am_v_ocamlopt_@AM_DEFAULT_V@)
734 guestfs_am_v_ocamlopt_0 = @echo " OCAMLOPT" $@;
735 guestfs_am_v_javac = $(guestfs_am_v_javac_@AM_V@)
736 guestfs_am_v_javac_ = $(guestfs_am_v_javac_@AM_DEFAULT_V@)
737 guestfs_am_v_javac_0 = @echo " JAVAC " $@;
738 guestfs_am_v_erlc = $(guestfs_am_v_erlc_@AM_V@)
739 guestfs_am_v_erlc_ = $(guestfs_am_v_erlc_@AM_DEFAULT_V@)
740 guestfs_am_v_erlc_0 = @echo " ERLC " $@;
741 guestfs_am_v_podwrapper = $(guestfs_am_v_podwrapper_@AM_V@)
742 guestfs_am_v_podwrapper_ = $(guestfs_am_v_podwrapper_@AM_DEFAULT_V@)
743 guestfs_am_v_podwrapper_0 = @echo " POD " $@;
744 guestfs_am_v_jar = $(guestfs_am_v_jar_@AM_V@)
745 guestfs_am_v_jar_ = $(guestfs_am_v_jar_@AM_DEFAULT_V@)
746 guestfs_am_v_jar_0 = @echo " JAR " $@;
747 guestfs_am_v_po4a_translate = $(guestfs_am_v_po4a_translate_@AM_V@)
748 guestfs_am_v_po4a_translate_ = $(guestfs_am_v_po4a_translate_@AM_DEFAULT_V@)
749 guestfs_am_v_po4a_translate_0 = @echo " PO4A-T " $@;
750 EXTRA_DIST = \
751 $(SOURCES_MLI) \
752 $(SOURCES_ML) \
753 $(SOURCES_C) \
754 pcre_tests.ml
755
756 SOURCES_MLI = \
757 PCRE.mli
758
759 SOURCES_ML = \
760 PCRE.ml
761
762 SOURCES_C = \
763 pcre-c.c
764
765
766 # We pretend that we're building a C library. automake handles the
767 # compilation of the C sources for us. At the end we take the C
768 # objects and OCaml objects and link them into the OCaml library.
769 # This C library is never used.
770 noinst_LIBRARIES = libmlpcre.a
771 @HAVE_OCAMLOPT_FALSE@MLPCRE_CMA = mlpcre.cma
772 @HAVE_OCAMLOPT_TRUE@MLPCRE_CMA = mlpcre.cmxa
773 noinst_DATA = $(MLPCRE_CMA)
774 libmlpcre_a_SOURCES = $(SOURCES_C)
775 libmlpcre_a_CPPFLAGS = \
776 -DCAML_NAME_SPACE \
777 -I. \
778 -I$(top_builddir) \
779 -I$(top_srcdir)/gnulib/lib -I$(top_builddir)/gnulib/lib \
780 -I$(top_srcdir)/common/utils -I$(top_builddir)/common/utils \
781 -I$(shell $(OCAMLC) -where)
782
783 libmlpcre_a_CFLAGS = \
784 -pthread \
785 $(WARN_CFLAGS) $(WERROR_CFLAGS) \
786 -fPIC
787
788 BOBJECTS = $(SOURCES_ML:.ml=.cmo)
789 XOBJECTS = $(BOBJECTS:.cmo=.cmx)
790
791 # -I $(top_builddir)/lib/.libs is a hack which forces corresponding -L
792 # option to be passed to gcc, so we don't try linking against an
793 # installed copy of libguestfs.
794 OCAMLPACKAGES = \
795 -I $(top_builddir)/gnulib/lib/.libs \
796 -I $(top_builddir)/common/utils/.libs \
797 -I $(builddir)
798
799 OCAMLPACKAGES_TESTS = $(MLPCRE_CMA)
800 OCAMLFLAGS = $(OCAML_FLAGS) $(OCAML_WARN_ERROR) -ccopt '$(CFLAGS)'
801 @HAVE_OCAMLOPT_FALSE@OBJECTS = $(BOBJECTS)
802 @HAVE_OCAMLOPT_TRUE@OBJECTS = $(XOBJECTS)
803 libmlpcre_a_DEPENDENCIES = $(OBJECTS)
804
805 # Tests.
806 pcre_tests_SOURCES = dummy.c
807 pcre_tests_BOBJECTS = pcre_tests.cmo
808 pcre_tests_XOBJECTS = $(pcre_tests_BOBJECTS:.cmo=.cmx)
809
810 # Can't call the following as <test>_OBJECTS because automake gets confused.
811 @HAVE_OCAMLOPT_FALSE@pcre_tests_THEOBJECTS = $(pcre_tests_BOBJECTS)
812 @HAVE_OCAMLOPT_TRUE@pcre_tests_THEOBJECTS = $(pcre_tests_XOBJECTS)
813 OCAMLLINKFLAGS = $(LINK_CUSTOM_OCAMLC_ONLY)
814 pcre_tests_DEPENDENCIES = \
815 $(pcre_tests_THEOBJECTS) \
816 $(MLPCRE_CMA) \
817 $(top_srcdir)/ocaml-link.sh
818
819 pcre_tests_LINK = \
820 $(top_srcdir)/ocaml-link.sh \
821 -cclib '-pthread -lpthread -lutils -lpcre2-8 -lgnu' -- \
822 $(OCAMLFIND) $(BEST) $(OCAMLFLAGS) $(OCAMLLINKFLAGS) \
823 $(OCAMLPACKAGES) $(OCAMLPACKAGES_TESTS) \
824 $(pcre_tests_THEOBJECTS) -o $@
825
826 TESTS_ENVIRONMENT = $(top_builddir)/run --test
827 LOG_COMPILER = $(VG)
828 all: all-am
829
830 .SUFFIXES:
831 .SUFFIXES: .cmo .cmi .cmx .ml .mli .mll .mly .po .gmo .c .lo .log .o .obj .test .test$(EXEEXT) .trs
832 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/subdir-rules.mk $(top_srcdir)/common-rules.mk $(am__configure_deps)
833 @for dep in $?; do \
834 case '$(am__configure_deps)' in \
835 *$$dep*) \
836 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
837 && { if test -f $@; then exit 0; else break; fi; }; \
838 exit 1;; \
839 esac; \
840 done; \
841 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign common/mlpcre/Makefile'; \
842 $(am__cd) $(top_srcdir) && \
843 $(AUTOMAKE) --foreign common/mlpcre/Makefile
844 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
845 @case '$?' in \
846 *config.status*) \
847 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
848 *) \
849 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
850 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
851 esac;
852 $(top_srcdir)/subdir-rules.mk $(top_srcdir)/common-rules.mk $(am__empty):
853
854 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
855 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
856
857 $(top_srcdir)/configure: $(am__configure_deps)
858 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
859 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
860 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
861 $(am__aclocal_m4_deps):
862
863 clean-checkPROGRAMS:
864 $(am__rm_f) $(check_PROGRAMS)
865 test -z "$(EXEEXT)" || $(am__rm_f) $(check_PROGRAMS:$(EXEEXT)=)
866
867 clean-noinstLIBRARIES:
868 -$(am__rm_f) $(noinst_LIBRARIES)
869
870 libmlpcre.a: $(libmlpcre_a_OBJECTS) $(libmlpcre_a_DEPENDENCIES) $(EXTRA_libmlpcre_a_DEPENDENCIES)
871 $(AM_V_at)-rm -f libmlpcre.a
872 $(AM_V_AR)$(libmlpcre_a_AR) libmlpcre.a $(libmlpcre_a_OBJECTS) $(libmlpcre_a_LIBADD)
873 $(AM_V_at)$(libmlpcre_a_RANLIB) libmlpcre.a
874
875 pcre_tests$(EXEEXT): $(pcre_tests_OBJECTS) $(pcre_tests_DEPENDENCIES) $(EXTRA_pcre_tests_DEPENDENCIES)
876 @rm -f pcre_tests$(EXEEXT)
877 $(AM_V_GEN)$(pcre_tests_LINK) $(pcre_tests_OBJECTS) $(pcre_tests_LDADD) $(LIBS)
878
879 mostlyclean-compile:
880 -rm -f *.$(OBJEXT)
881
882 distclean-compile:
883 -rm -f *.tab.c
884
885 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummy.Po@am__quote@ # am--include-marker
886 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmlpcre_a-pcre-c.Po@am__quote@ # am--include-marker
887
888 $(am__depfiles_remade):
889 @$(MKDIR_P) $(@D)
890 @: >>$@
891
892 am--depfiles: $(am__depfiles_remade)
893
894 .c.o:
895 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
896 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
897 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
898 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
899 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
900 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
901
902 .c.obj:
903 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
904 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
905 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
906 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
907 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
908 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
909
910 .c.lo:
911 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
912 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
913 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
914 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
915 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
916 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
917
918 libmlpcre_a-pcre-c.o: pcre-c.c
919 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmlpcre_a_CPPFLAGS) $(CPPFLAGS) $(libmlpcre_a_CFLAGS) $(CFLAGS) -MT libmlpcre_a-pcre-c.o -MD -MP -MF $(DEPDIR)/libmlpcre_a-pcre-c.Tpo -c -o libmlpcre_a-pcre-c.o `test -f 'pcre-c.c' || echo '$(srcdir)/'`pcre-c.c
920 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmlpcre_a-pcre-c.Tpo $(DEPDIR)/libmlpcre_a-pcre-c.Po
921 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pcre-c.c' object='libmlpcre_a-pcre-c.o' libtool=no @AMDEPBACKSLASH@
922 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
923 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmlpcre_a_CPPFLAGS) $(CPPFLAGS) $(libmlpcre_a_CFLAGS) $(CFLAGS) -c -o libmlpcre_a-pcre-c.o `test -f 'pcre-c.c' || echo '$(srcdir)/'`pcre-c.c
924
925 libmlpcre_a-pcre-c.obj: pcre-c.c
926 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmlpcre_a_CPPFLAGS) $(CPPFLAGS) $(libmlpcre_a_CFLAGS) $(CFLAGS) -MT libmlpcre_a-pcre-c.obj -MD -MP -MF $(DEPDIR)/libmlpcre_a-pcre-c.Tpo -c -o libmlpcre_a-pcre-c.obj `if test -f 'pcre-c.c'; then $(CYGPATH_W) 'pcre-c.c'; else $(CYGPATH_W) '$(srcdir)/pcre-c.c'; fi`
927 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmlpcre_a-pcre-c.Tpo $(DEPDIR)/libmlpcre_a-pcre-c.Po
928 @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='pcre-c.c' object='libmlpcre_a-pcre-c.obj' libtool=no @AMDEPBACKSLASH@
929 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
930 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmlpcre_a_CPPFLAGS) $(CPPFLAGS) $(libmlpcre_a_CFLAGS) $(CFLAGS) -c -o libmlpcre_a-pcre-c.obj `if test -f 'pcre-c.c'; then $(CYGPATH_W) 'pcre-c.c'; else $(CYGPATH_W) '$(srcdir)/pcre-c.c'; fi`
931
932 mostlyclean-libtool:
933 -rm -f *.lo
934
935 clean-libtool:
936 -rm -rf .libs _libs
937
938 ID: $(am__tagged_files)
939 $(am__define_uniq_tagged_files); mkid -fID $$unique
940 tags: tags-am
941 TAGS: tags
942
943 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
944 set x; \
945 here=`pwd`; \
946 $(am__define_uniq_tagged_files); \
947 shift; \
948 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
949 test -n "$$unique" || unique=$$empty_fix; \
950 if test $$# -gt 0; then \
951 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
952 "$$@" $$unique; \
953 else \
954 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
955 $$unique; \
956 fi; \
957 fi
958 ctags: ctags-am
959
960 CTAGS: ctags
961 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
962 $(am__define_uniq_tagged_files); \
963 test -z "$(CTAGS_ARGS)$$unique" \
964 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
965 $$unique
966
967 GTAGS:
968 here=`$(am__cd) $(top_builddir) && pwd` \
969 && $(am__cd) $(top_srcdir) \
970 && gtags -i $(GTAGS_ARGS) "$$here"
971 cscopelist: cscopelist-am
972
973 cscopelist-am: $(am__tagged_files)
974 list='$(am__tagged_files)'; \
975 case "$(srcdir)" in \
976 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
977 *) sdir=$(subdir)/$(srcdir) ;; \
978 esac; \
979 for i in $$list; do \
980 if test -f "$$i"; then \
981 echo "$(subdir)/$$i"; \
982 else \
983 echo "$$sdir/$$i"; \
984 fi; \
985 done >> $(top_builddir)/cscope.files
986
987 distclean-tags:
988 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
989
990 # Recover from deleted '.trs' file; this should ensure that
991 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
992 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
993 # to avoid problems with "make -n".
994 .log.trs:
995 rm -f $< $@
996 $(MAKE) $(AM_MAKEFLAGS) $<
997
998 # Leading 'am--fnord' is there to ensure the list of targets does not
999 # expand to empty, as could happen e.g. with make check TESTS=''.
1000 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
1001 am--force-recheck:
1002 @:
1003 $(TEST_SUITE_LOG): $(TEST_LOGS)
1004 @$(am__set_TESTS_bases); \
1005 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
1006 redo_bases=`for i in $$bases; do \
1007 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
1008 done`; \
1009 if test -n "$$redo_bases"; then \
1010 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
1011 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
1012 if $(am__make_dryrun); then :; else \
1013 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
1014 fi; \
1015 fi; \
1016 if test -n "$$am__remaking_logs"; then \
1017 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
1018 "recursion detected" >&2; \
1019 elif test -n "$$redo_logs"; then \
1020 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
1021 fi; \
1022 if $(am__make_dryrun); then :; else \
1023 st=0; \
1024 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
1025 for i in $$redo_bases; do \
1026 test -f $$i.trs && test -r $$i.trs \
1027 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
1028 test -f $$i.log && test -r $$i.log \
1029 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
1030 done; \
1031 test $$st -eq 0 || exit 1; \
1032 fi
1033 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
1034 ws='[ ]'; \
1035 results=`for b in $$bases; do echo $$b.trs; done`; \
1036 test -n "$$results" || results=/dev/null; \
1037 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
1038 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
1039 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
1040 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
1041 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
1042 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
1043 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
1044 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
1045 success=true; \
1046 else \
1047 success=false; \
1048 fi; \
1049 br='==================='; br=$$br$$br$$br$$br; \
1050 result_count () \
1051 { \
1052 if test x"$$1" = x"--maybe-color"; then \
1053 maybe_colorize=yes; \
1054 elif test x"$$1" = x"--no-color"; then \
1055 maybe_colorize=no; \
1056 else \
1057 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
1058 fi; \
1059 shift; \
1060 desc=$$1 count=$$2; \
1061 if test $$maybe_colorize = yes && test $$count -gt 0; then \
1062 color_start=$$3 color_end=$$std; \
1063 else \
1064 color_start= color_end=; \
1065 fi; \
1066 echo "$${color_start}# $$desc $$count$${color_end}"; \
1067 }; \
1068 create_testsuite_report () \
1069 { \
1070 result_count $$1 "TOTAL:" $$all "$$brg"; \
1071 result_count $$1 "PASS: " $$pass "$$grn"; \
1072 result_count $$1 "SKIP: " $$skip "$$blu"; \
1073 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1074 result_count $$1 "FAIL: " $$fail "$$red"; \
1075 result_count $$1 "XPASS:" $$xpass "$$red"; \
1076 result_count $$1 "ERROR:" $$error "$$mgn"; \
1077 }; \
1078 output_system_information () \
1079 { \
1080 echo; \
1081 { uname -a | $(AWK) '{ \
1082 printf "System information (uname -a):"; \
1083 for (i = 1; i < NF; ++i) \
1084 { \
1085 if (i != 2) \
1086 printf " %s", $$i; \
1087 } \
1088 printf "\n"; \
1089 }'; } 2>&1; \
1090 if test -r /etc/os-release; then \
1091 echo "Distribution information (/etc/os-release):"; \
1092 sed 8q /etc/os-release; \
1093 elif test -r /etc/issue; then \
1094 echo "Distribution information (/etc/issue):"; \
1095 cat /etc/issue; \
1096 fi; \
1097 }; \
1098 please_report () \
1099 { \
1100 echo "Some test(s) failed. Please report this to $(PACKAGE_BUGREPORT),"; \
1101 echo "together with the test-suite.log file (gzipped) and your system"; \
1102 echo "information. Thanks."; \
1103 }; \
1104 { \
1105 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
1106 $(am__rst_title); \
1107 create_testsuite_report --no-color; \
1108 output_system_information; \
1109 echo; \
1110 echo ".. contents:: :depth: 2"; \
1111 echo; \
1112 for b in $$bases; do echo $$b; done \
1113 | $(am__create_global_log); \
1114 } >$(TEST_SUITE_LOG).tmp || exit 1; \
1115 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1116 if $$success; then \
1117 col="$$grn"; \
1118 else \
1119 col="$$red"; \
1120 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
1121 fi; \
1122 echo "$${col}$$br$${std}"; \
1123 echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
1124 echo "$${col}$$br$${std}"; \
1125 create_testsuite_report --maybe-color; \
1126 echo "$$col$$br$$std"; \
1127 if $$success; then :; else \
1128 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG) for debugging.$${std}";\
1129 if test -n "$(PACKAGE_BUGREPORT)"; then \
1130 please_report | sed -e "s/^/$${col}/" -e s/'$$'/"$${std}"/; \
1131 fi; \
1132 echo "$$col$$br$$std"; \
1133 fi; \
1134 $$success || exit 1
1135
1136 check-TESTS: $(check_PROGRAMS)
1137 @$(am__rm_f) $(RECHECK_LOGS)
1138 @$(am__rm_f) $(RECHECK_LOGS:.log=.trs)
1139 @$(am__rm_f) $(TEST_SUITE_LOG)
1140 @set +e; $(am__set_TESTS_bases); \
1141 log_list=`for i in $$bases; do echo $$i.log; done`; \
1142 log_list=`echo $$log_list`; \
1143 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1144 exit $$?;
1145 recheck: all $(check_PROGRAMS)
1146 @$(am__rm_f) $(TEST_SUITE_LOG)
1147 @set +e; $(am__set_TESTS_bases); \
1148 bases=`for i in $$bases; do echo $$i; done \
1149 | $(am__list_recheck_tests)` || exit 1; \
1150 log_list=`for i in $$bases; do echo $$i.log; done`; \
1151 log_list=`echo $$log_list`; \
1152 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
1153 am__force_recheck=am--force-recheck \
1154 TEST_LOGS="$$log_list"; \
1155 exit $$?
1156 pcre_tests.log: pcre_tests$(EXEEXT)
1157 @p='pcre_tests$(EXEEXT)'; \
1158 b='pcre_tests'; \
1159 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
1160 --log-file $$b.log --trs-file $$b.trs \
1161 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
1162 "$$tst" $(AM_TESTS_FD_REDIRECT)
1163 .test.log:
1164 @p='$<'; \
1165 $(am__set_b); \
1166 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1167 --log-file $$b.log --trs-file $$b.trs \
1168 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1169 "$$tst" $(AM_TESTS_FD_REDIRECT)
1170 @[email protected]$(EXEEXT).log:
1171 @am__EXEEXT_TRUE@ @p='$<'; \
1172 @am__EXEEXT_TRUE@ $(am__set_b); \
1173 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
1174 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
1175 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
1176 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
1177 distdir: $(BUILT_SOURCES)
1178 $(MAKE) $(AM_MAKEFLAGS) distdir-am
1179
1180 distdir-am: $(DISTFILES)
1181 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1182 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1183 list='$(DISTFILES)'; \
1184 dist_files=`for file in $$list; do echo $$file; done | \
1185 sed -e "s|^$$srcdirstrip/||;t" \
1186 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1187 case $$dist_files in \
1188 */*) $(MKDIR_P) `echo "$$dist_files" | \
1189 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1190 sort -u` ;; \
1191 esac; \
1192 for file in $$dist_files; do \
1193 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1194 if test -d $$d/$$file; then \
1195 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1196 if test -d "$(distdir)/$$file"; then \
1197 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1198 fi; \
1199 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1200 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1201 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1202 fi; \
1203 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1204 else \
1205 test -f "$(distdir)/$$file" \
1206 || cp -p $$d/$$file "$(distdir)/$$file" \
1207 || exit 1; \
1208 fi; \
1209 done
1210 check-am: all-am
1211 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
1212 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1213 check: check-am
1214 all-am: Makefile $(LIBRARIES) $(DATA)
1215 installdirs:
1216 install: install-am
1217 install-exec: install-exec-am
1218 install-data: install-data-am
1219 uninstall: uninstall-am
1220
1221 install-am: all-am
1222 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1223
1224 installcheck: installcheck-am
1225 install-strip:
1226 if test -z '$(STRIP)'; then \
1227 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1228 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1229 install; \
1230 else \
1231 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1232 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1233 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1234 fi
1235 mostlyclean-generic:
1236 -$(am__rm_f) $(TEST_LOGS)
1237 -$(am__rm_f) $(TEST_LOGS:.log=.trs)
1238 -$(am__rm_f) $(TEST_SUITE_LOG)
1239
1240 clean-generic:
1241 -$(am__rm_f) $(CLEANFILES)
1242
1243 distclean-generic:
1244 -$(am__rm_f) $(CONFIG_CLEAN_FILES)
1245 -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES)
1246 -$(am__rm_f) $(DISTCLEANFILES)
1247
1248 maintainer-clean-generic:
1249 @echo "This command is intended for maintainers to use"
1250 @echo "it deletes files that may require special tools to rebuild."
1251 clean: clean-am
1252
1253 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
1254 clean-noinstLIBRARIES mostlyclean-am
1255
1256 distclean: distclean-am
1257 -rm -f ./$(DEPDIR)/dummy.Po
1258 -rm -f ./$(DEPDIR)/libmlpcre_a-pcre-c.Po
1259 -rm -f Makefile
1260 distclean-am: clean-am distclean-compile distclean-generic \
1261 distclean-tags
1262
1263 dvi: dvi-am
1264
1265 dvi-am:
1266
1267 html: html-am
1268
1269 html-am:
1270
1271 info: info-am
1272
1273 info-am:
1274
1275 install-data-am:
1276
1277 install-dvi: install-dvi-am
1278
1279 install-dvi-am:
1280
1281 install-exec-am:
1282
1283 install-html: install-html-am
1284
1285 install-html-am:
1286
1287 install-info: install-info-am
1288
1289 install-info-am:
1290
1291 install-man:
1292
1293 install-pdf: install-pdf-am
1294
1295 install-pdf-am:
1296
1297 install-ps: install-ps-am
1298
1299 install-ps-am:
1300
1301 installcheck-am:
1302
1303 maintainer-clean: maintainer-clean-am
1304 -rm -f ./$(DEPDIR)/dummy.Po
1305 -rm -f ./$(DEPDIR)/libmlpcre_a-pcre-c.Po
1306 -rm -f Makefile
1307 maintainer-clean-am: distclean-am maintainer-clean-generic
1308
1309 mostlyclean: mostlyclean-am
1310
1311 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1312 mostlyclean-libtool
1313
1314 pdf: pdf-am
1315
1316 pdf-am:
1317
1318 ps: ps-am
1319
1320 ps-am:
1321
1322 uninstall-am:
1323
1324 .MAKE: check-am install-am install-strip
1325
1326 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \
1327 check-am clean clean-checkPROGRAMS clean-generic clean-libtool \
1328 clean-noinstLIBRARIES cscopelist-am ctags ctags-am distclean \
1329 distclean-compile distclean-generic distclean-libtool \
1330 distclean-tags distdir dvi dvi-am html html-am info info-am \
1331 install install-am install-data install-data-am install-dvi \
1332 install-dvi-am install-exec install-exec-am install-html \
1333 install-html-am install-info install-info-am install-man \
1334 install-pdf install-pdf-am install-ps install-ps-am \
1335 install-strip installcheck installcheck-am installdirs \
1336 maintainer-clean maintainer-clean-generic mostlyclean \
1337 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1338 pdf pdf-am ps ps-am recheck tags tags-am uninstall \
1339 uninstall-am
1340
1341 .PRECIOUS: Makefile
1342
1343
1344 -include $(top_builddir)/localenv
1345
1346 # Individual Makefile.am's should define generator_built if that
1347 # subdirectory contains any files which are built by the generator.
1348 # Set generator_built to the list of those files.
1349
1350 $(generator_built): $(top_builddir)/generator/stamp-generator
1351
1352 $(top_builddir)/generator/stamp-generator: $(top_builddir)/generator/generator
1353 @if test -f $(top_builddir)/generator/Makefile; then \
1354 $(MAKE) -C $(top_builddir)/generator stamp-generator; \
1355 else \
1356 echo "warning: Run 'make' at the top level to build $(generator_built)"; \
1357 fi
1358
1359 # If this file doesn't exist, just print a warning and continue.
1360 # During 'make distclean' we can end up deleting this file.
1361 $(top_builddir)/generator/generator:
1362 @if test -f $(top_builddir)/generator/Makefile; then \
1363 $(MAKE) -C $(top_builddir)/generator generator; \
1364 else \
1365 echo "warning: Run 'make' at the top level to build $@"; \
1366 fi
1367
1368 %.cmi: %.mli
1369 $(guestfs_am_v_ocamlcmi)$(OCAMLFIND) ocamlc $(OCAMLFLAGS) $(OCAMLPACKAGES) -c $< -o $@
1370 %.cmo: %.ml
1371 $(guestfs_am_v_ocamlc)$(OCAMLFIND) ocamlc $(OCAMLFLAGS) $(OCAMLPACKAGES) -c $< -o $@
1372 @HAVE_OCAMLOPT_TRUE@%.cmx: %.ml
1373 @HAVE_OCAMLOPT_TRUE@ $(guestfs_am_v_ocamlopt)$(OCAMLFIND) ocamlopt $(OCAMLFLAGS) $(OCAMLPACKAGES) -c $< -o $@
1374
1375 $(MLPCRE_CMA): $(OBJECTS) libmlpcre.a
1376 $(OCAMLFIND) mklib $(OCAMLPACKAGES) \
1377 $(OBJECTS) $(libmlpcre_a_OBJECTS) -cclib -lpcre2-8 -o mlpcre
1378 @HAVE_OCAMLOPT_FALSE@pcre_tests.cmo: OCAMLPACKAGES += $(OCAMLPACKAGES_TESTS)
1379 @HAVE_OCAMLOPT_TRUE@pcre_tests.cmx: OCAMLPACKAGES += $(OCAMLPACKAGES_TESTS)
1380
1381 check-valgrind:
1382 $(MAKE) VG="@VG@" check
1383
1384 # Dependencies.
1385 .depend: $(srcdir)/*.mli $(srcdir)/*.ml
1386 $(top_builddir)/ocaml-dep.sh $^
1387 -include .depend
1388
1389 .PHONY: docs
1390
1391 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1392 # Otherwise a system limit (for SysV at least) may be exceeded.
1393 .NOEXPORT:
1394
1395 # Tell GNU make to disable its built-in pattern rules.
1396 %:: %,v
1397 %:: RCS/%,v
1398 %:: RCS/%
1399 %:: s.%
1400 %:: SCCS/s.%