Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / third_party / nlio / repo / Makefile.in
1 # Makefile.in generated by automake 1.14.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2013 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 #
18 #    Copyright 2015-2018 Nest Labs Inc. All Rights Reserved.
19 #
20 #    Licensed under the Apache License, Version 2.0 (the "License");
21 #    you may not use this file except in compliance with the License.
22 #    You may obtain a copy of the License at
23 #
24 #    http://www.apache.org/licenses/LICENSE-2.0
25 #
26 #    Unless required by applicable law or agreed to in writing, software
27 #    distributed under the License is distributed on an "AS IS" BASIS,
28 #    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29 #    See the License for the specific language governing permissions and
30 #    limitations under the License.
31 #
32
33 #
34 #    Description:
35 #      This file is the GNU automake template for the Nest memory-
36 #      mapped I/O library.
37
38 VPATH = @srcdir@
39 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
40 am__make_running_with_option = \
41   case $${target_option-} in \
42       ?) ;; \
43       *) echo "am__make_running_with_option: internal error: invalid" \
44               "target option '$${target_option-}' specified" >&2; \
45          exit 1;; \
46   esac; \
47   has_opt=no; \
48   sane_makeflags=$$MAKEFLAGS; \
49   if $(am__is_gnu_make); then \
50     sane_makeflags=$$MFLAGS; \
51   else \
52     case $$MAKEFLAGS in \
53       *\\[\ \   ]*) \
54         bs=\\; \
55         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
56           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
57     esac; \
58   fi; \
59   skip_next=no; \
60   strip_trailopt () \
61   { \
62     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
63   }; \
64   for flg in $$sane_makeflags; do \
65     test $$skip_next = yes && { skip_next=no; continue; }; \
66     case $$flg in \
67       *=*|--*) continue;; \
68         -*I) strip_trailopt 'I'; skip_next=yes;; \
69       -*I?*) strip_trailopt 'I';; \
70         -*O) strip_trailopt 'O'; skip_next=yes;; \
71       -*O?*) strip_trailopt 'O';; \
72         -*l) strip_trailopt 'l'; skip_next=yes;; \
73       -*l?*) strip_trailopt 'l';; \
74       -[dEDm]) skip_next=yes;; \
75       -[JT]) skip_next=yes;; \
76     esac; \
77     case $$flg in \
78       *$$target_option*) has_opt=yes; break;; \
79     esac; \
80   done; \
81   test $$has_opt = yes
82 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
83 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
84 pkgdatadir = $(datadir)/@PACKAGE@
85 pkgincludedir = $(includedir)/@PACKAGE@
86 pkglibdir = $(libdir)/@PACKAGE@
87 pkglibexecdir = $(libexecdir)/@PACKAGE@
88 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
89 install_sh_DATA = $(install_sh) -c -m 644
90 install_sh_PROGRAM = $(install_sh) -c
91 install_sh_SCRIPT = $(install_sh) -c
92 INSTALL_HEADER = $(INSTALL_DATA)
93 transform = $(program_transform_name)
94 NORMAL_INSTALL = :
95 PRE_INSTALL = :
96 POST_INSTALL = :
97 NORMAL_UNINSTALL = :
98 PRE_UNINSTALL = :
99 POST_UNINSTALL = :
100 build_triplet = @build@
101 host_triplet = @host@
102 target_triplet = @target@
103 subdir = .
104 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
105         $(top_srcdir)/configure $(am__configure_deps) \
106         $(top_srcdir)/third_party/nlbuild-autotools/repo/third_party/autoconf/mkinstalldirs \
107         $(dist_doc_DATA) \
108         third_party/nlbuild-autotools/repo/third_party/autoconf/ar-lib \
109         third_party/nlbuild-autotools/repo/third_party/autoconf/compile \
110         third_party/nlbuild-autotools/repo/third_party/autoconf/config.guess \
111         third_party/nlbuild-autotools/repo/third_party/autoconf/config.sub \
112         third_party/nlbuild-autotools/repo/third_party/autoconf/depcomp \
113         third_party/nlbuild-autotools/repo/third_party/autoconf/install-sh \
114         third_party/nlbuild-autotools/repo/third_party/autoconf/missing \
115         third_party/nlbuild-autotools/repo/third_party/autoconf/mkinstalldirs \
116         third_party/nlbuild-autotools/repo/third_party/autoconf/py-compile \
117         third_party/nlbuild-autotools/repo/third_party/autoconf/ltmain.sh \
118         $(top_srcdir)/third_party/nlbuild-autotools/repo/third_party/autoconf/compile \
119         $(top_srcdir)/third_party/nlbuild-autotools/repo/third_party/autoconf/config.guess \
120         $(top_srcdir)/third_party/nlbuild-autotools/repo/third_party/autoconf/config.sub \
121         $(top_srcdir)/third_party/nlbuild-autotools/repo/third_party/autoconf/install-sh \
122         $(top_srcdir)/third_party/nlbuild-autotools/repo/third_party/autoconf/ltmain.sh \
123         $(top_srcdir)/third_party/nlbuild-autotools/repo/third_party/autoconf/missing
124 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
125 am__aclocal_m4_deps = $(top_srcdir)/third_party/nlbuild-autotools/repo/autoconf/m4/ax_check_compiler.m4 \
126         $(top_srcdir)/third_party/nlbuild-autotools/repo/autoconf/m4/nl_enable_coverage.m4 \
127         $(top_srcdir)/third_party/nlbuild-autotools/repo/autoconf/m4/nl_enable_coverage_reporting.m4 \
128         $(top_srcdir)/third_party/nlbuild-autotools/repo/autoconf/m4/nl_enable_debug.m4 \
129         $(top_srcdir)/third_party/nlbuild-autotools/repo/autoconf/m4/nl_enable_docs.m4 \
130         $(top_srcdir)/third_party/nlbuild-autotools/repo/autoconf/m4/nl_enable_optimization.m4 \
131         $(top_srcdir)/third_party/nlbuild-autotools/repo/autoconf/m4/nl_enable_tests.m4 \
132         $(top_srcdir)/third_party/nlbuild-autotools/repo/autoconf/m4/nl_filtered_canonical.m4 \
133         $(top_srcdir)/third_party/nlbuild-autotools/repo/autoconf/m4/nl_werror.m4 \
134         $(top_srcdir)/third_party/nlbuild-autotools/repo/autoconf/m4/nl_with_package.m4 \
135         $(top_srcdir)/third_party/nlbuild-autotools/repo/third_party/autoconf/m4/libtool.m4 \
136         $(top_srcdir)/third_party/nlbuild-autotools/repo/third_party/autoconf/m4/ltoptions.m4 \
137         $(top_srcdir)/third_party/nlbuild-autotools/repo/third_party/autoconf/m4/ltsugar.m4 \
138         $(top_srcdir)/third_party/nlbuild-autotools/repo/third_party/autoconf/m4/ltversion.m4 \
139         $(top_srcdir)/third_party/nlbuild-autotools/repo/third_party/autoconf/m4/lt~obsolete.m4 \
140         $(top_srcdir)/configure.ac
141 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
142         $(ACLOCAL_M4)
143 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
144  configure.lineno config.status.lineno
145 mkinstalldirs = $(SHELL) \
146         $(top_srcdir)/third_party/nlbuild-autotools/repo/third_party/autoconf/mkinstalldirs
147 CONFIG_HEADER = $(top_builddir)/include/nlio-config.h
148 CONFIG_CLEAN_FILES =
149 CONFIG_CLEAN_VPATH_FILES =
150 AM_V_P = $(am__v_P_@AM_V@)
151 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
152 am__v_P_0 = false
153 am__v_P_1 = :
154 AM_V_GEN = $(am__v_GEN_@AM_V@)
155 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
156 am__v_GEN_0 = @echo "  GEN     " $@;
157 am__v_GEN_1 = 
158 AM_V_at = $(am__v_at_@AM_V@)
159 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
160 am__v_at_0 = @
161 am__v_at_1 = 
162 SOURCES =
163 DIST_SOURCES =
164 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
165         ctags-recursive dvi-recursive html-recursive info-recursive \
166         install-data-recursive install-dvi-recursive \
167         install-exec-recursive install-html-recursive \
168         install-info-recursive install-pdf-recursive \
169         install-ps-recursive install-recursive installcheck-recursive \
170         installdirs-recursive pdf-recursive ps-recursive \
171         tags-recursive uninstall-recursive
172 am__can_run_installinfo = \
173   case $$AM_UPDATE_INFO_DIR in \
174     n|no|NO) false;; \
175     *) (install-info --version) >/dev/null 2>&1;; \
176   esac
177 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
178 am__vpath_adj = case $$p in \
179     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
180     *) f=$$p;; \
181   esac;
182 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
183 am__install_max = 40
184 am__nobase_strip_setup = \
185   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
186 am__nobase_strip = \
187   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
188 am__nobase_list = $(am__nobase_strip_setup); \
189   for p in $$list; do echo "$$p $$p"; done | \
190   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
191   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
192     if (++n[$$2] == $(am__install_max)) \
193       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
194     END { for (dir in files) print dir, files[dir] }'
195 am__base_list = \
196   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
197   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
198 am__uninstall_files_from_dir = { \
199   test -z "$$files" \
200     || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
201     || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
202          $(am__cd) "$$dir" && rm -f $$files; }; \
203   }
204 am__installdirs = "$(DESTDIR)$(docdir)"
205 DATA = $(dist_doc_DATA)
206 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
207   distclean-recursive maintainer-clean-recursive
208 am__recursive_targets = \
209   $(RECURSIVE_TARGETS) \
210   $(RECURSIVE_CLEAN_TARGETS) \
211   $(am__extra_recursive_targets)
212 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
213         cscope distdir dist dist-all distcheck
214 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
215 # Read a list of newline-separated strings from the standard input,
216 # and print each of them once, without duplicates.  Input order is
217 # *not* preserved.
218 am__uniquify_input = $(AWK) '\
219   BEGIN { nonempty = 0; } \
220   { items[$$0] = 1; nonempty = 1; } \
221   END { if (nonempty) { for (i in items) print i; }; } \
222 '
223 # Make sure the list of sources is unique.  This is necessary because,
224 # e.g., the same source file might be shared among _SOURCES variables
225 # for different programs/libraries.
226 am__define_uniq_tagged_files = \
227   list='$(am__tagged_files)'; \
228   unique=`for i in $$list; do \
229     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
230   done | $(am__uniquify_input)`
231 ETAGS = etags
232 CTAGS = ctags
233 CSCOPE = cscope
234 DIST_SUBDIRS = $(SUBDIRS)
235 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
236 distdir = $(PACKAGE)-$(VERSION)
237 top_distdir = $(distdir)
238 am__remove_distdir = \
239   if test -d "$(distdir)"; then \
240     find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
241       && rm -rf "$(distdir)" \
242       || { sleep 5 && rm -rf "$(distdir)"; }; \
243   else :; fi
244 am__post_remove_distdir = $(am__remove_distdir)
245 am__relativize = \
246   dir0=`pwd`; \
247   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
248   sed_rest='s,^[^/]*/*,,'; \
249   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
250   sed_butlast='s,/*[^/]*$$,,'; \
251   while test -n "$$dir1"; do \
252     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
253     if test "$$first" != "."; then \
254       if test "$$first" = ".."; then \
255         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
256         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
257       else \
258         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
259         if test "$$first2" = "$$first"; then \
260           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
261         else \
262           dir2="../$$dir2"; \
263         fi; \
264         dir0="$$dir0"/"$$first"; \
265       fi; \
266     fi; \
267     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
268   done; \
269   reldir="$$dir2"
270 DIST_ARCHIVES = $(distdir).tar.gz
271 GZIP_ENV = --best
272 DIST_TARGETS = dist-gzip
273 distuninstallcheck_listfiles = find . -type f -print
274 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
275   | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
276 distcleancheck_listfiles = find . -type f -print
277 ACLOCAL = @ACLOCAL@
278 AMTAR = @AMTAR@
279 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
280 AR = @AR@
281 AUTOCONF = @AUTOCONF@
282 AUTOHEADER = @AUTOHEADER@
283 AUTOMAKE = @AUTOMAKE@
284 AWK = @AWK@
285 CC = @CC@
286 CCDEPMODE = @CCDEPMODE@
287 CFLAGS = @CFLAGS@
288 CMP = @CMP@
289 CPP = @CPP@
290 CPPFLAGS = @CPPFLAGS@
291 CXX = @CXX@
292 CXXCPP = @CXXCPP@
293 CXXDEPMODE = @CXXDEPMODE@
294 CXXFLAGS = @CXXFLAGS@
295 CYGPATH_W = @CYGPATH_W@
296 DEFS = @DEFS@
297 DEPDIR = @DEPDIR@
298 DLLTOOL = @DLLTOOL@
299 DOT = @DOT@
300 DOXYGEN = @DOXYGEN@
301 DOXYGEN_USE_DOT = @DOXYGEN_USE_DOT@
302 DSYMUTIL = @DSYMUTIL@
303 DUMPBIN = @DUMPBIN@
304 ECHO_C = @ECHO_C@
305 ECHO_N = @ECHO_N@
306 ECHO_T = @ECHO_T@
307 EGREP = @EGREP@
308 EXEEXT = @EXEEXT@
309 FGREP = @FGREP@
310 GENHTML = @GENHTML@
311 GREP = @GREP@
312 INSTALL = @INSTALL@
313 INSTALL_DATA = @INSTALL_DATA@
314 INSTALL_PROGRAM = @INSTALL_PROGRAM@
315 INSTALL_SCRIPT = @INSTALL_SCRIPT@
316 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
317 LCOV = @LCOV@
318 LD = @LD@
319 LDFLAGS = @LDFLAGS@
320 LIBNLIO_VERSION_AGE = @LIBNLIO_VERSION_AGE@
321 LIBNLIO_VERSION_CURRENT = @LIBNLIO_VERSION_CURRENT@
322 LIBNLIO_VERSION_INFO = @LIBNLIO_VERSION_INFO@
323 LIBNLIO_VERSION_REVISION = @LIBNLIO_VERSION_REVISION@
324 LIBOBJS = @LIBOBJS@
325 LIBS = @LIBS@
326 LIBTOOL = @LIBTOOL@
327 LIPO = @LIPO@
328 LN_S = @LN_S@
329 LTLIBOBJS = @LTLIBOBJS@
330 MAINT = @MAINT@
331 MAKEINFO = @MAKEINFO@
332 MANIFEST_TOOL = @MANIFEST_TOOL@
333 MKDIR_P = @MKDIR_P@
334 NLUNIT_TEST_CPPFLAGS = @NLUNIT_TEST_CPPFLAGS@
335 NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY = @NLUNIT_TEST_FOREIGN_SUBDIR_DEPENDENCY@
336 NLUNIT_TEST_LDFLAGS = @NLUNIT_TEST_LDFLAGS@
337 NLUNIT_TEST_LIBS = @NLUNIT_TEST_LIBS@
338 NLUNIT_TEST_SUBDIRS = @NLUNIT_TEST_SUBDIRS@
339 NM = @NM@
340 NMEDIT = @NMEDIT@
341 OBJCOPY = @OBJCOPY@
342 OBJDUMP = @OBJDUMP@
343 OBJEXT = @OBJEXT@
344 OTOOL = @OTOOL@
345 OTOOL64 = @OTOOL64@
346 PACKAGE = @PACKAGE@
347 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
348 PACKAGE_NAME = @PACKAGE_NAME@
349 PACKAGE_STRING = @PACKAGE_STRING@
350 PACKAGE_TARNAME = @PACKAGE_TARNAME@
351 PACKAGE_URL = @PACKAGE_URL@
352 PACKAGE_VERSION = $(NLIO_VERSION)
353 PATH_SEPARATOR = @PATH_SEPARATOR@
354 PERL = @PERL@
355 PKG_CONFIG = @PKG_CONFIG@
356 RANLIB = @RANLIB@
357 SED = @SED@
358 SET_MAKE = @SET_MAKE@
359 SHELL = @SHELL@
360 STRIP = @STRIP@
361 VERSION = $(PACKAGE_VERSION)
362 abs_builddir = @abs_builddir@
363 abs_srcdir = @abs_srcdir@
364 abs_top_builddir = @abs_top_builddir@
365 abs_top_nlbuild_autotools_dir = @abs_top_nlbuild_autotools_dir@
366 abs_top_srcdir = @abs_top_srcdir@
367 ac_ct_AR = @ac_ct_AR@
368 ac_ct_CC = @ac_ct_CC@
369 ac_ct_CXX = @ac_ct_CXX@
370 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
371 am__include = @am__include@
372 am__leading_dot = @am__leading_dot@
373 am__quote = @am__quote@
374 am__tar = @am__tar@
375 am__untar = @am__untar@
376 bindir = @bindir@
377 build = @build@
378 build_alias = @build_alias@
379 build_cpu = @build_cpu@
380 build_os = @build_os@
381 build_vendor = @build_vendor@
382 builddir = @builddir@
383 datadir = @datadir@
384 datarootdir = @datarootdir@
385 docdir = @docdir@
386 dvidir = @dvidir@
387 exec_prefix = @exec_prefix@
388 host = @host@
389 host_alias = @host_alias@
390 host_cpu = @host_cpu@
391 host_os = @host_os@
392 host_vendor = @host_vendor@
393 htmldir = @htmldir@
394 includedir = @includedir@
395 infodir = @infodir@
396 install_sh = @install_sh@
397 libdir = @libdir@
398 libexecdir = @libexecdir@
399 localedir = @localedir@
400 localstatedir = @localstatedir@
401 mandir = @mandir@
402 mkdir_p = @mkdir_p@
403 nl_filtered_build = @nl_filtered_build@
404 nl_filtered_build_cpu = @nl_filtered_build_cpu@
405 nl_filtered_build_os = @nl_filtered_build_os@
406 nl_filtered_build_vendor = @nl_filtered_build_vendor@
407 nl_filtered_host = @nl_filtered_host@
408 nl_filtered_host_cpu = @nl_filtered_host_cpu@
409 nl_filtered_host_os = @nl_filtered_host_os@
410 nl_filtered_host_vendor = @nl_filtered_host_vendor@
411 nl_filtered_target = @nl_filtered_target@
412 nl_filtered_target_cpu = @nl_filtered_target_cpu@
413 nl_filtered_target_os = @nl_filtered_target_os@
414 nl_filtered_target_vendor = @nl_filtered_target_vendor@
415 nlbuild_autotools_stem = @nlbuild_autotools_stem@
416 oldincludedir = @oldincludedir@
417 pdfdir = @pdfdir@
418 prefix = @prefix@
419 program_transform_name = @program_transform_name@
420 psdir = @psdir@
421 sbindir = @sbindir@
422 sharedstatedir = @sharedstatedir@
423 srcdir = @srcdir@
424 subdirs = @subdirs@
425 sysconfdir = @sysconfdir@
426 target = @target@
427 target_alias = @target_alias@
428 target_cpu = @target_cpu@
429 target_os = @target_os@
430 target_vendor = @target_vendor@
431 top_build_prefix = @top_build_prefix@
432 top_builddir = @top_builddir@
433 top_srcdir = @top_srcdir@
434 AM_MAKEFLAGS = --no-print-directory
435 SUBDIRS = \
436     third_party                             \
437     include                                 \
438     tests                                   \
439     doc                                     \
440     $(NULL)
441
442 EXTRA_DIST = \
443     CHANGES                                 \
444     CONTRIBUTING.md                         \
445     LICENSE                                 \
446     Makefile-bootstrap                      \
447     README.md                               \
448     .default-version                        \
449     bootstrap                               \
450     bootstrap-configure                     \
451     $(srcdir)/third_party/nlbuild-autotools \
452     repos.conf                              \
453     $(NULL)
454
455 BUILT_SOURCES = \
456     .local-version                          \
457     $(NULL)
458
459 dist_doc_DATA = \
460     $(NULL)
461
462 DISTCLEANFILES = \
463     .local-version                          \
464     $(NULL)
465
466
467 #
468 # Package version files:
469 #
470 # .default-version - The default package version. This file is ALWAYS checked
471 #                    in and should always represent the current baseline
472 #                    version of the package.
473 #
474 # .dist-version    - The distributed package version. This file is NEVER
475 #                    checked in within the upstream repository, is auto-
476 #                    generated, and is only found in the package distribution.
477 #
478 # .local-version   - The current source code controlled package version. This
479 #                    file is NEVER checked in within the upstream repository,
480 #                    is auto-generated, and can always be found in both the
481 #                    build tree and distribution.
482 #
483 # When present, the .local-version file is preferred first, the
484 # .dist-version second, and the .default-version last.
485 #
486 VERSION_FILE := $(if $(wildcard $(builddir)/.local-version),$(builddir)/.local-version,$(if $(wildcard $(srcdir)/.dist-version),$(srcdir)/.dist-version,$(srcdir)/.default-version))
487
488 #
489 # When we run 'distcheck' and --with-nlunit_test defaults to 'internal',
490 # the nlbuild-autotools infrastructure will attempt to create git paths
491 # to manage the nlunit-test repo. Two directories need to be writable
492 # to facilitate this.
493 #
494 DISTCHECK_CONFIGURE_FLAGS = `chmod u+w .. ../third_party`
495 all: $(BUILT_SOURCES)
496         $(MAKE) $(AM_MAKEFLAGS) all-recursive
497
498 .SUFFIXES:
499 am--refresh: Makefile
500         @:
501 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
502         @for dep in $?; do \
503           case '$(am__configure_deps)' in \
504             *$$dep*) \
505               echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
506               $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
507                 && exit 0; \
508               exit 1;; \
509           esac; \
510         done; \
511         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
512         $(am__cd) $(top_srcdir) && \
513           $(AUTOMAKE) --foreign Makefile
514 .PRECIOUS: Makefile
515 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
516         @case '$?' in \
517           *config.status*) \
518             echo ' $(SHELL) ./config.status'; \
519             $(SHELL) ./config.status;; \
520           *) \
521             echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
522             cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
523         esac;
524
525 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
526         $(SHELL) ./config.status --recheck
527
528 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
529         $(am__cd) $(srcdir) && $(AUTOCONF)
530 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
531         $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
532 $(am__aclocal_m4_deps):
533
534 mostlyclean-libtool:
535         -rm -f *.lo
536
537 clean-libtool:
538         -rm -rf .libs _libs
539
540 distclean-libtool:
541         -rm -f libtool config.lt
542 install-dist_docDATA: $(dist_doc_DATA)
543         @$(NORMAL_INSTALL)
544         @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
545         if test -n "$$list"; then \
546           echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \
547           $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \
548         fi; \
549         for p in $$list; do \
550           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
551           echo "$$d$$p"; \
552         done | $(am__base_list) | \
553         while read files; do \
554           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
555           $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
556         done
557
558 uninstall-dist_docDATA:
559         @$(NORMAL_UNINSTALL)
560         @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
561         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
562         dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir)
563
564 # This directory's subdirectories are mostly independent; you can cd
565 # into them and run 'make' without going through this Makefile.
566 # To change the values of 'make' variables: instead of editing Makefiles,
567 # (1) if the variable is set in 'config.status', edit 'config.status'
568 #     (which will cause the Makefiles to be regenerated when you run 'make');
569 # (2) otherwise, pass the desired values on the 'make' command line.
570 $(am__recursive_targets):
571         @fail=; \
572         if $(am__make_keepgoing); then \
573           failcom='fail=yes'; \
574         else \
575           failcom='exit 1'; \
576         fi; \
577         dot_seen=no; \
578         target=`echo $@ | sed s/-recursive//`; \
579         case "$@" in \
580           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
581           *) list='$(SUBDIRS)' ;; \
582         esac; \
583         for subdir in $$list; do \
584           echo "Making $$target in $$subdir"; \
585           if test "$$subdir" = "."; then \
586             dot_seen=yes; \
587             local_target="$$target-am"; \
588           else \
589             local_target="$$target"; \
590           fi; \
591           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
592           || eval $$failcom; \
593         done; \
594         if test "$$dot_seen" = "no"; then \
595           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
596         fi; test -z "$$fail"
597
598 ID: $(am__tagged_files)
599         $(am__define_uniq_tagged_files); mkid -fID $$unique
600 tags: tags-recursive
601 TAGS: tags
602
603 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
604         set x; \
605         here=`pwd`; \
606         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
607           include_option=--etags-include; \
608           empty_fix=.; \
609         else \
610           include_option=--include; \
611           empty_fix=; \
612         fi; \
613         list='$(SUBDIRS)'; for subdir in $$list; do \
614           if test "$$subdir" = .; then :; else \
615             test ! -f $$subdir/TAGS || \
616               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
617           fi; \
618         done; \
619         $(am__define_uniq_tagged_files); \
620         shift; \
621         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
622           test -n "$$unique" || unique=$$empty_fix; \
623           if test $$# -gt 0; then \
624             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
625               "$$@" $$unique; \
626           else \
627             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
628               $$unique; \
629           fi; \
630         fi
631 ctags: ctags-recursive
632
633 CTAGS: ctags
634 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
635         $(am__define_uniq_tagged_files); \
636         test -z "$(CTAGS_ARGS)$$unique" \
637           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
638              $$unique
639
640 GTAGS:
641         here=`$(am__cd) $(top_builddir) && pwd` \
642           && $(am__cd) $(top_srcdir) \
643           && gtags -i $(GTAGS_ARGS) "$$here"
644 cscope: cscope.files
645         test ! -s cscope.files \
646           || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
647 clean-cscope:
648         -rm -f cscope.files
649 cscope.files: clean-cscope cscopelist
650 cscopelist: cscopelist-recursive
651
652 cscopelist-am: $(am__tagged_files)
653         list='$(am__tagged_files)'; \
654         case "$(srcdir)" in \
655           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
656           *) sdir=$(subdir)/$(srcdir) ;; \
657         esac; \
658         for i in $$list; do \
659           if test -f "$$i"; then \
660             echo "$(subdir)/$$i"; \
661           else \
662             echo "$$sdir/$$i"; \
663           fi; \
664         done >> $(top_builddir)/cscope.files
665
666 distclean-tags:
667         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
668         -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
669
670 distdir: $(DISTFILES)
671         $(am__remove_distdir)
672         test -d "$(distdir)" || mkdir "$(distdir)"
673         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
674         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
675         list='$(DISTFILES)'; \
676           dist_files=`for file in $$list; do echo $$file; done | \
677           sed -e "s|^$$srcdirstrip/||;t" \
678               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
679         case $$dist_files in \
680           */*) $(MKDIR_P) `echo "$$dist_files" | \
681                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
682                            sort -u` ;; \
683         esac; \
684         for file in $$dist_files; do \
685           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
686           if test -d $$d/$$file; then \
687             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
688             if test -d "$(distdir)/$$file"; then \
689               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
690             fi; \
691             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
692               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
693               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
694             fi; \
695             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
696           else \
697             test -f "$(distdir)/$$file" \
698             || cp -p $$d/$$file "$(distdir)/$$file" \
699             || exit 1; \
700           fi; \
701         done
702         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
703           if test "$$subdir" = .; then :; else \
704             $(am__make_dryrun) \
705               || test -d "$(distdir)/$$subdir" \
706               || $(MKDIR_P) "$(distdir)/$$subdir" \
707               || exit 1; \
708             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
709             $(am__relativize); \
710             new_distdir=$$reldir; \
711             dir1=$$subdir; dir2="$(top_distdir)"; \
712             $(am__relativize); \
713             new_top_distdir=$$reldir; \
714             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
715             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
716             ($(am__cd) $$subdir && \
717               $(MAKE) $(AM_MAKEFLAGS) \
718                 top_distdir="$$new_top_distdir" \
719                 distdir="$$new_distdir" \
720                 am__remove_distdir=: \
721                 am__skip_length_check=: \
722                 am__skip_mode_fix=: \
723                 distdir) \
724               || exit 1; \
725           fi; \
726         done
727         $(MAKE) $(AM_MAKEFLAGS) \
728           top_distdir="$(top_distdir)" distdir="$(distdir)" \
729           dist-hook
730         -test -n "$(am__skip_mode_fix)" \
731         || find "$(distdir)" -type d ! -perm -755 \
732                 -exec chmod u+rwx,go+rx {} \; -o \
733           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
734           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
735           ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
736         || chmod -R a+r "$(distdir)"
737 dist-gzip: distdir
738         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
739         $(am__post_remove_distdir)
740
741 dist-bzip2: distdir
742         tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
743         $(am__post_remove_distdir)
744
745 dist-lzip: distdir
746         tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
747         $(am__post_remove_distdir)
748
749 dist-xz: distdir
750         tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
751         $(am__post_remove_distdir)
752
753 dist-tarZ: distdir
754         @echo WARNING: "Support for shar distribution archives is" \
755                        "deprecated." >&2
756         @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
757         tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
758         $(am__post_remove_distdir)
759
760 dist-shar: distdir
761         @echo WARNING: "Support for distribution archives compressed with" \
762                        "legacy program 'compress' is deprecated." >&2
763         @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
764         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
765         $(am__post_remove_distdir)
766
767 dist-zip: distdir
768         -rm -f $(distdir).zip
769         zip -rq $(distdir).zip $(distdir)
770         $(am__post_remove_distdir)
771
772 dist dist-all:
773         $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
774         $(am__post_remove_distdir)
775
776 # This target untars the dist file and tries a VPATH configuration.  Then
777 # it guarantees that the distribution is self-contained by making another
778 # tarfile.
779 distcheck: dist
780         case '$(DIST_ARCHIVES)' in \
781         *.tar.gz*) \
782           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
783         *.tar.bz2*) \
784           bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
785         *.tar.lz*) \
786           lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
787         *.tar.xz*) \
788           xz -dc $(distdir).tar.xz | $(am__untar) ;;\
789         *.tar.Z*) \
790           uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
791         *.shar.gz*) \
792           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
793         *.zip*) \
794           unzip $(distdir).zip ;;\
795         esac
796         chmod -R a-w $(distdir)
797         chmod u+w $(distdir)
798         mkdir $(distdir)/_build $(distdir)/_inst
799         chmod a-w $(distdir)
800         test -d $(distdir)/_build || exit 0; \
801         dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
802           && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
803           && am__cwd=`pwd` \
804           && $(am__cd) $(distdir)/_build \
805           && ../configure \
806             $(AM_DISTCHECK_CONFIGURE_FLAGS) \
807             $(DISTCHECK_CONFIGURE_FLAGS) \
808             --srcdir=.. --prefix="$$dc_install_base" \
809           && $(MAKE) $(AM_MAKEFLAGS) \
810           && $(MAKE) $(AM_MAKEFLAGS) dvi \
811           && $(MAKE) $(AM_MAKEFLAGS) check \
812           && $(MAKE) $(AM_MAKEFLAGS) install \
813           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
814           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
815           && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
816                 distuninstallcheck \
817           && chmod -R a-w "$$dc_install_base" \
818           && ({ \
819                (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
820                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
821                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
822                && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
823                     distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
824               } || { rm -rf "$$dc_destdir"; exit 1; }) \
825           && rm -rf "$$dc_destdir" \
826           && $(MAKE) $(AM_MAKEFLAGS) dist \
827           && rm -rf $(DIST_ARCHIVES) \
828           && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
829           && cd "$$am__cwd" \
830           || exit 1
831         $(am__post_remove_distdir)
832         @(echo "$(distdir) archives ready for distribution: "; \
833           list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
834           sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
835 distuninstallcheck:
836         @test -n '$(distuninstallcheck_dir)' || { \
837           echo 'ERROR: trying to run $@ with an empty' \
838                '$$(distuninstallcheck_dir)' >&2; \
839           exit 1; \
840         }; \
841         $(am__cd) '$(distuninstallcheck_dir)' || { \
842           echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
843           exit 1; \
844         }; \
845         test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
846            || { echo "ERROR: files left after uninstall:" ; \
847                 if test -n "$(DESTDIR)"; then \
848                   echo "  (check DESTDIR support)"; \
849                 fi ; \
850                 $(distuninstallcheck_listfiles) ; \
851                 exit 1; } >&2
852 distcleancheck: distclean
853         @if test '$(srcdir)' = . ; then \
854           echo "ERROR: distcleancheck can only run from a VPATH build" ; \
855           exit 1 ; \
856         fi
857         @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
858           || { echo "ERROR: files left in build directory after distclean:" ; \
859                $(distcleancheck_listfiles) ; \
860                exit 1; } >&2
861 check-am: all-am
862 check: $(BUILT_SOURCES)
863         $(MAKE) $(AM_MAKEFLAGS) check-recursive
864 all-am: Makefile $(DATA)
865 installdirs: installdirs-recursive
866 installdirs-am:
867         for dir in "$(DESTDIR)$(docdir)"; do \
868           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
869         done
870 install: $(BUILT_SOURCES)
871         $(MAKE) $(AM_MAKEFLAGS) install-recursive
872 install-exec: install-exec-recursive
873 install-data: install-data-recursive
874 uninstall: uninstall-recursive
875
876 install-am: all-am
877         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
878
879 installcheck: installcheck-recursive
880 install-strip:
881         if test -z '$(STRIP)'; then \
882           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
883             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
884               install; \
885         else \
886           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
887             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
888             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
889         fi
890 mostlyclean-generic:
891
892 clean-generic:
893
894 distclean-generic:
895         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
896         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
897         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
898
899 maintainer-clean-generic:
900         @echo "This command is intended for maintainers to use"
901         @echo "it deletes files that may require special tools to rebuild."
902         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
903 clean: clean-recursive
904
905 clean-am: clean-generic clean-libtool mostlyclean-am
906
907 distclean: distclean-recursive
908         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
909         -rm -f Makefile
910 distclean-am: clean-am distclean-generic distclean-libtool \
911         distclean-local distclean-tags
912
913 dvi: dvi-recursive
914
915 dvi-am:
916
917 html: html-recursive
918
919 html-am:
920
921 info: info-recursive
922
923 info-am:
924
925 install-data-am: install-dist_docDATA
926
927 install-dvi: install-dvi-recursive
928
929 install-dvi-am:
930
931 install-exec-am:
932
933 install-html: install-html-recursive
934
935 install-html-am:
936
937 install-info: install-info-recursive
938
939 install-info-am:
940
941 install-man:
942
943 install-pdf: install-pdf-recursive
944
945 install-pdf-am:
946
947 install-ps: install-ps-recursive
948
949 install-ps-am:
950
951 installcheck-am:
952
953 maintainer-clean: maintainer-clean-recursive
954         -rm -f $(am__CONFIG_DISTCLEAN_FILES)
955         -rm -rf $(top_srcdir)/autom4te.cache
956         -rm -f Makefile
957 maintainer-clean-am: distclean-am maintainer-clean-generic
958
959 mostlyclean: mostlyclean-recursive
960
961 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
962
963 pdf: pdf-recursive
964
965 pdf-am:
966
967 ps: ps-recursive
968
969 ps-am:
970
971 uninstall-am: uninstall-dist_docDATA
972
973 .MAKE: $(am__recursive_targets) all check install install-am \
974         install-strip
975
976 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
977         am--refresh check check-am clean clean-cscope clean-generic \
978         clean-libtool cscope cscopelist-am ctags ctags-am dist \
979         dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
980         dist-tarZ dist-xz dist-zip distcheck distclean \
981         distclean-generic distclean-libtool distclean-local \
982         distclean-tags distcleancheck distdir distuninstallcheck dvi \
983         dvi-am html html-am info info-am install install-am \
984         install-data install-data-am install-dist_docDATA install-dvi \
985         install-dvi-am install-exec install-exec-am install-html \
986         install-html-am install-info install-info-am install-man \
987         install-pdf install-pdf-am install-ps install-ps-am \
988         install-strip installcheck installcheck-am installdirs \
989         installdirs-am maintainer-clean maintainer-clean-generic \
990         mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
991         ps ps-am tags tags-am uninstall uninstall-am \
992         uninstall-dist_docDATA
993
994
995 include $(abs_top_nlbuild_autotools_dir)/automake/pre.am
996
997 #
998 # Override autotool's default notion of the package version variables.
999 # This ensures that when we create a source distribution that the
1000 # version is always the current version, not the version when the
1001 # package was bootstrapped.
1002 #
1003
1004 NLIO_VERSION                      ?= $(shell cat $(VERSION_FILE) 2> /dev/null)
1005
1006 #
1007 # check-file-.local-version
1008 #
1009 # Speculatively regenerate .local-version and check to see if it needs
1010 # to be updated.
1011 #
1012 # If NLIO_VERSION has been supplied anywhere other than in this file
1013 # (which is implicitly the contents of .local-version), then use that;
1014 # otherwise, attempt to generate it from the SCM system.
1015 #
1016 # This is called from $(call check-file,.local-version).
1017 #
1018 define check-file-.local-version
1019 if [ "$(origin NLIO_VERSION)" != "file" ]; then        \
1020     echo "$(NLIO_VERSION)" > "$(2)";                   \
1021 else                                                   \
1022     $(abs_top_nlbuild_autotools_dir)/scripts/mkversion \
1023         -b "$(NLIO_VERSION)" "$(top_srcdir)"           \
1024         > "$(2)";                                      \
1025 fi
1026 endef
1027
1028 #
1029 # check-file-.dist-version
1030 #
1031 # Speculatively regenerate .dist-version and check to see if it needs
1032 # to be updated.
1033 #
1034 # This is called from $(call check-file,.dist-version).
1035 #
1036 define check-file-.dist-version
1037 cat "$(1)" > "$(2)"
1038 endef
1039
1040 #
1041 # A convenience target to allow package users to easily rerun the
1042 # package configuration according to the current configuration.
1043 #
1044 .PHONY: reconfigure
1045 reconfigure: $(builddir)/config.status
1046         $(AM_V_at)$(<) --recheck
1047
1048 #
1049 # Version file regeneration rules.
1050 #
1051 .PHONY: force
1052
1053 $(builddir)/.local-version: $(srcdir)/.default-version force
1054
1055 $(distdir)/.dist-version: $(builddir)/.local-version force
1056
1057 $(distdir)/.dist-version $(builddir)/.local-version:
1058         $(call check-file,$(@F))
1059
1060 dist distcheck: $(BUILT_SOURCES)
1061
1062 dist-hook: $(distdir)/.dist-version
1063
1064 #
1065 # Ensure any locally synchronized repositories defined by 'repos.conf'
1066 # are cleaned up.
1067 #
1068 distclean-local:
1069         $(MAKE) -C $(srcdir) -f Makefile-bootstrap clean-repos
1070
1071 #
1072 # Top-level convenience target for making a documentation-only
1073 # distribution whose results appear at the top level of the build tree
1074 # in the same fashion that the distribution would be for 'make dist'.
1075 #
1076
1077 .PHONY: docdist
1078 docdist: $(BUILT_SOURCES)
1079         $(MAKE) -C doc docdistdir=$(abs_builddir) $(@)
1080
1081 include $(abs_top_nlbuild_autotools_dir)/automake/post.am
1082
1083 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1084 # Otherwise a system limit (for SysV at least) may be exceeded.
1085 .NOEXPORT: