Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 1 | # Makefile.in generated by automake 1.14.1 from Makefile.am. |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 2 | # @configure_input@ |
| 3 | |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 4 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. |
| 5 | |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 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 | VPATH = @srcdir@ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 18 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' |
| 19 | am__make_running_with_option = \ |
| 20 | case $${target_option-} in \ |
| 21 | ?) ;; \ |
| 22 | *) echo "am__make_running_with_option: internal error: invalid" \ |
| 23 | "target option '$${target_option-}' specified" >&2; \ |
| 24 | exit 1;; \ |
| 25 | esac; \ |
| 26 | has_opt=no; \ |
| 27 | sane_makeflags=$$MAKEFLAGS; \ |
| 28 | if $(am__is_gnu_make); then \ |
| 29 | sane_makeflags=$$MFLAGS; \ |
| 30 | else \ |
| 31 | case $$MAKEFLAGS in \ |
| 32 | *\\[\ \ ]*) \ |
| 33 | bs=\\; \ |
| 34 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ |
| 35 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ |
| 36 | esac; \ |
| 37 | fi; \ |
| 38 | skip_next=no; \ |
| 39 | strip_trailopt () \ |
| 40 | { \ |
| 41 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ |
| 42 | }; \ |
| 43 | for flg in $$sane_makeflags; do \ |
| 44 | test $$skip_next = yes && { skip_next=no; continue; }; \ |
| 45 | case $$flg in \ |
| 46 | *=*|--*) continue;; \ |
| 47 | -*I) strip_trailopt 'I'; skip_next=yes;; \ |
| 48 | -*I?*) strip_trailopt 'I';; \ |
| 49 | -*O) strip_trailopt 'O'; skip_next=yes;; \ |
| 50 | -*O?*) strip_trailopt 'O';; \ |
| 51 | -*l) strip_trailopt 'l'; skip_next=yes;; \ |
| 52 | -*l?*) strip_trailopt 'l';; \ |
| 53 | -[dEDm]) skip_next=yes;; \ |
| 54 | -[JT]) skip_next=yes;; \ |
| 55 | esac; \ |
| 56 | case $$flg in \ |
| 57 | *$$target_option*) has_opt=yes; break;; \ |
| 58 | esac; \ |
| 59 | done; \ |
| 60 | test $$has_opt = yes |
| 61 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) |
| 62 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 63 | pkgdatadir = $(datadir)/@PACKAGE@ |
| 64 | pkgincludedir = $(includedir)/@PACKAGE@ |
| 65 | pkglibdir = $(libdir)/@PACKAGE@ |
| 66 | pkglibexecdir = $(libexecdir)/@PACKAGE@ |
| 67 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
| 68 | install_sh_DATA = $(install_sh) -c -m 644 |
| 69 | install_sh_PROGRAM = $(install_sh) -c |
| 70 | install_sh_SCRIPT = $(install_sh) -c |
| 71 | INSTALL_HEADER = $(INSTALL_DATA) |
| 72 | transform = $(program_transform_name) |
| 73 | NORMAL_INSTALL = : |
| 74 | PRE_INSTALL = : |
| 75 | POST_INSTALL = : |
| 76 | NORMAL_UNINSTALL = : |
| 77 | PRE_UNINSTALL = : |
| 78 | POST_UNINSTALL = : |
| 79 | build_triplet = @build@ |
| 80 | host_triplet = @host@ |
| 81 | subdir = . |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 82 | DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog THANKS \ |
| 83 | $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ |
| 84 | $(top_srcdir)/configure $(am__configure_deps) \ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 85 | $(srcdir)/config.h.in $(top_srcdir)/config/elfutils.spec.in \ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 86 | $(top_srcdir)/config/version.h.in $(pkginclude_HEADERS) \ |
| 87 | ABOUT-NLS COPYING TODO $(top_srcdir)/config/ar-lib \ |
| 88 | $(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \ |
| 89 | $(top_srcdir)/config/config.sub \ |
| 90 | $(top_srcdir)/config/install-sh $(top_srcdir)/config/missing |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 92 | am__aclocal_m4_deps = $(top_srcdir)/m4/biarch.m4 \ |
| 93 | $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 94 | $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/zip.m4 \ |
| 95 | $(top_srcdir)/configure.ac |
| 96 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
| 97 | $(ACLOCAL_M4) |
| 98 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
| 99 | configure.lineno config.status.lineno |
| 100 | mkinstalldirs = $(install_sh) -d |
| 101 | CONFIG_HEADER = config.h |
| 102 | CONFIG_CLEAN_FILES = elfutils.spec version.h |
| 103 | CONFIG_CLEAN_VPATH_FILES = |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 104 | AM_V_P = $(am__v_P_@AM_V@) |
| 105 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
| 106 | am__v_P_0 = false |
| 107 | am__v_P_1 = : |
| 108 | AM_V_GEN = $(am__v_GEN_@AM_V@) |
| 109 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
| 110 | am__v_GEN_0 = @echo " GEN " $@; |
| 111 | am__v_GEN_1 = |
| 112 | AM_V_at = $(am__v_at_@AM_V@) |
| 113 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
| 114 | am__v_at_0 = @ |
| 115 | am__v_at_1 = |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 116 | SOURCES = |
| 117 | DIST_SOURCES = |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 118 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ |
| 119 | ctags-recursive dvi-recursive html-recursive info-recursive \ |
| 120 | install-data-recursive install-dvi-recursive \ |
| 121 | install-exec-recursive install-html-recursive \ |
| 122 | install-info-recursive install-pdf-recursive \ |
| 123 | install-ps-recursive install-recursive installcheck-recursive \ |
| 124 | installdirs-recursive pdf-recursive ps-recursive \ |
| 125 | tags-recursive uninstall-recursive |
| 126 | am__can_run_installinfo = \ |
| 127 | case $$AM_UPDATE_INFO_DIR in \ |
| 128 | n|no|NO) false;; \ |
| 129 | *) (install-info --version) >/dev/null 2>&1;; \ |
| 130 | esac |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 131 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
| 132 | am__vpath_adj = case $$p in \ |
| 133 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
| 134 | *) f=$$p;; \ |
| 135 | esac; |
| 136 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; |
| 137 | am__install_max = 40 |
| 138 | am__nobase_strip_setup = \ |
| 139 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` |
| 140 | am__nobase_strip = \ |
| 141 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" |
| 142 | am__nobase_list = $(am__nobase_strip_setup); \ |
| 143 | for p in $$list; do echo "$$p $$p"; done | \ |
| 144 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ |
| 145 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ |
| 146 | if (++n[$$2] == $(am__install_max)) \ |
| 147 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ |
| 148 | END { for (dir in files) print dir, files[dir] }' |
| 149 | am__base_list = \ |
| 150 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ |
| 151 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 152 | am__uninstall_files_from_dir = { \ |
| 153 | test -z "$$files" \ |
| 154 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ |
| 155 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ |
| 156 | $(am__cd) "$$dir" && rm -f $$files; }; \ |
| 157 | } |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 158 | am__installdirs = "$(DESTDIR)$(pkgincludedir)" |
| 159 | HEADERS = $(pkginclude_HEADERS) |
| 160 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
| 161 | distclean-recursive maintainer-clean-recursive |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 162 | am__recursive_targets = \ |
| 163 | $(RECURSIVE_TARGETS) \ |
| 164 | $(RECURSIVE_CLEAN_TARGETS) \ |
| 165 | $(am__extra_recursive_targets) |
| 166 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
| 167 | cscope distdir dist dist-all distcheck |
| 168 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ |
| 169 | $(LISP)config.h.in |
| 170 | # Read a list of newline-separated strings from the standard input, |
| 171 | # and print each of them once, without duplicates. Input order is |
| 172 | # *not* preserved. |
| 173 | am__uniquify_input = $(AWK) '\ |
| 174 | BEGIN { nonempty = 0; } \ |
| 175 | { items[$$0] = 1; nonempty = 1; } \ |
| 176 | END { if (nonempty) { for (i in items) print i; }; } \ |
| 177 | ' |
| 178 | # Make sure the list of sources is unique. This is necessary because, |
| 179 | # e.g., the same source file might be shared among _SOURCES variables |
| 180 | # for different programs/libraries. |
| 181 | am__define_uniq_tagged_files = \ |
| 182 | list='$(am__tagged_files)'; \ |
| 183 | unique=`for i in $$list; do \ |
| 184 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 185 | done | $(am__uniquify_input)` |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 186 | ETAGS = etags |
| 187 | CTAGS = ctags |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 188 | CSCOPE = cscope |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 189 | DIST_SUBDIRS = $(SUBDIRS) |
| 190 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
| 191 | distdir = $(PACKAGE)-$(VERSION) |
| 192 | top_distdir = $(distdir) |
| 193 | am__remove_distdir = \ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 194 | if test -d "$(distdir)"; then \ |
| 195 | find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
| 196 | && rm -rf "$(distdir)" \ |
| 197 | || { sleep 5 && rm -rf "$(distdir)"; }; \ |
| 198 | else :; fi |
| 199 | am__post_remove_distdir = $(am__remove_distdir) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 200 | am__relativize = \ |
| 201 | dir0=`pwd`; \ |
| 202 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
| 203 | sed_rest='s,^[^/]*/*,,'; \ |
| 204 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ |
| 205 | sed_butlast='s,/*[^/]*$$,,'; \ |
| 206 | while test -n "$$dir1"; do \ |
| 207 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ |
| 208 | if test "$$first" != "."; then \ |
| 209 | if test "$$first" = ".."; then \ |
| 210 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ |
| 211 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ |
| 212 | else \ |
| 213 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ |
| 214 | if test "$$first2" = "$$first"; then \ |
| 215 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ |
| 216 | else \ |
| 217 | dir2="../$$dir2"; \ |
| 218 | fi; \ |
| 219 | dir0="$$dir0"/"$$first"; \ |
| 220 | fi; \ |
| 221 | fi; \ |
| 222 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ |
| 223 | done; \ |
| 224 | reldir="$$dir2" |
| 225 | GZIP_ENV = --best |
| 226 | DIST_ARCHIVES = $(distdir).tar.bz2 |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 227 | DIST_TARGETS = dist-bzip2 |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 228 | distuninstallcheck_listfiles = find . -type f -print |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 229 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ |
| 230 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 231 | distcleancheck_listfiles = find . -type f -print |
| 232 | ACLOCAL = @ACLOCAL@ |
| 233 | AMTAR = @AMTAR@ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 234 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
| 235 | AR = @AR@ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 236 | AUTOCONF = @AUTOCONF@ |
| 237 | AUTOHEADER = @AUTOHEADER@ |
| 238 | AUTOMAKE = @AUTOMAKE@ |
| 239 | AWK = @AWK@ |
| 240 | CC = @CC@ |
| 241 | CCDEPMODE = @CCDEPMODE@ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 242 | CC_BIARCH = @CC_BIARCH@ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 243 | CFLAGS = @CFLAGS@ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 244 | CPP = @CPP@ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 245 | CPPFLAGS = @CPPFLAGS@ |
| 246 | CYGPATH_W = @CYGPATH_W@ |
| 247 | DEBUGPRED = @DEBUGPRED@ |
| 248 | DEFS = @DEFS@ |
| 249 | DEPDIR = @DEPDIR@ |
| 250 | ECHO_C = @ECHO_C@ |
| 251 | ECHO_N = @ECHO_N@ |
| 252 | ECHO_T = @ECHO_T@ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 253 | EGREP = @EGREP@ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 254 | EXEEXT = @EXEEXT@ |
| 255 | GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ |
| 256 | GMSGFMT = @GMSGFMT@ |
| 257 | GMSGFMT_015 = @GMSGFMT_015@ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 258 | GREP = @GREP@ |
| 259 | HAVE_VALGRIND = @HAVE_VALGRIND@ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 260 | INSTALL = @INSTALL@ |
| 261 | INSTALL_DATA = @INSTALL_DATA@ |
| 262 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 263 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 264 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
| 265 | LDFLAGS = @LDFLAGS@ |
| 266 | LEX = @LEX@ |
| 267 | LEXLIB = @LEXLIB@ |
| 268 | LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ |
| 269 | LIBEBL_SUBDIR = @LIBEBL_SUBDIR@ |
| 270 | LIBOBJS = @LIBOBJS@ |
| 271 | LIBS = @LIBS@ |
| 272 | LTLIBOBJS = @LTLIBOBJS@ |
| 273 | MAINT = @MAINT@ |
| 274 | MAKEINFO = @MAKEINFO@ |
| 275 | MKDIR_P = @MKDIR_P@ |
| 276 | MODVERSION = @MODVERSION@ |
| 277 | MSGFMT = @MSGFMT@ |
| 278 | MSGFMT_015 = @MSGFMT_015@ |
| 279 | MSGMERGE = @MSGMERGE@ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 280 | NM = @NM@ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 281 | OBJEXT = @OBJEXT@ |
| 282 | PACKAGE = @PACKAGE@ |
| 283 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
| 284 | PACKAGE_NAME = @PACKAGE_NAME@ |
| 285 | PACKAGE_STRING = @PACKAGE_STRING@ |
| 286 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
| 287 | PACKAGE_URL = @PACKAGE_URL@ |
| 288 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
| 289 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
| 290 | RANLIB = @RANLIB@ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 291 | READELF = @READELF@ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 292 | SET_MAKE = @SET_MAKE@ |
| 293 | SHELL = @SHELL@ |
| 294 | STRIP = @STRIP@ |
| 295 | USE_NLS = @USE_NLS@ |
| 296 | VERSION = @VERSION@ |
| 297 | XGETTEXT = @XGETTEXT@ |
| 298 | XGETTEXT_015 = @XGETTEXT_015@ |
| 299 | XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ |
| 300 | YACC = @YACC@ |
| 301 | YFLAGS = @YFLAGS@ |
| 302 | abs_builddir = @abs_builddir@ |
| 303 | abs_srcdir = @abs_srcdir@ |
| 304 | abs_top_builddir = @abs_top_builddir@ |
| 305 | abs_top_srcdir = @abs_top_srcdir@ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 306 | ac_ct_AR = @ac_ct_AR@ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 307 | ac_ct_CC = @ac_ct_CC@ |
| 308 | am__include = @am__include@ |
| 309 | am__leading_dot = @am__leading_dot@ |
| 310 | am__quote = @am__quote@ |
| 311 | am__tar = @am__tar@ |
| 312 | am__untar = @am__untar@ |
| 313 | base_cpu = @base_cpu@ |
| 314 | bindir = @bindir@ |
| 315 | build = @build@ |
| 316 | build_alias = @build_alias@ |
| 317 | build_cpu = @build_cpu@ |
| 318 | build_os = @build_os@ |
| 319 | build_vendor = @build_vendor@ |
| 320 | builddir = @builddir@ |
| 321 | datadir = @datadir@ |
| 322 | datarootdir = @datarootdir@ |
| 323 | docdir = @docdir@ |
| 324 | dvidir = @dvidir@ |
| 325 | eu_version = @eu_version@ |
| 326 | exec_prefix = @exec_prefix@ |
| 327 | host = @host@ |
| 328 | host_alias = @host_alias@ |
| 329 | host_cpu = @host_cpu@ |
| 330 | host_os = @host_os@ |
| 331 | host_vendor = @host_vendor@ |
| 332 | htmldir = @htmldir@ |
| 333 | includedir = @includedir@ |
| 334 | infodir = @infodir@ |
| 335 | install_sh = @install_sh@ |
| 336 | libdir = @libdir@ |
| 337 | libexecdir = @libexecdir@ |
| 338 | localedir = @localedir@ |
| 339 | localstatedir = @localstatedir@ |
| 340 | mandir = @mandir@ |
| 341 | mkdir_p = @mkdir_p@ |
| 342 | oldincludedir = @oldincludedir@ |
| 343 | pdfdir = @pdfdir@ |
| 344 | prefix = @prefix@ |
| 345 | program_transform_name = @program_transform_name@ |
| 346 | psdir = @psdir@ |
| 347 | sbindir = @sbindir@ |
| 348 | sharedstatedir = @sharedstatedir@ |
| 349 | srcdir = @srcdir@ |
| 350 | sysconfdir = @sysconfdir@ |
| 351 | target_alias = @target_alias@ |
| 352 | top_build_prefix = @top_build_prefix@ |
| 353 | top_builddir = @top_builddir@ |
| 354 | top_srcdir = @top_srcdir@ |
| 355 | zip_LIBS = @zip_LIBS@ |
| 356 | ACLOCAL_AMFLAGS = -I m4 |
| 357 | pkginclude_HEADERS = version.h |
| 358 | |
| 359 | # Add doc back when we have some real content. |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 360 | SUBDIRS = config m4 lib libelf libebl libdwelf libdwfl libdw libcpu libasm \ |
| 361 | backends src po tests |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 362 | |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 363 | EXTRA_DIST = elfutils.spec GPG-KEY NOTES CONTRIBUTING \ |
| 364 | COPYING COPYING-GPLV2 COPYING-LGPLV3 |
| 365 | |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 366 | |
| 367 | # Make sure the test install uses lib64 when $LIB will yield lib64. |
| 368 | # Make sure the test build uses the same compiler, which on e.g. ppc64 |
| 369 | # determines which platform we are actually testing. |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 370 | # Run all tests under valgrind. |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 371 | DISTCHECK_CONFIGURE_FLAGS = \ |
| 372 | --libdir=`echo $(libdir) | sed "s,^$(exec_prefix),$$dc_install_base,"`\ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 373 | --enable-valgrind \ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 374 | CC="$(CC)" |
| 375 | |
| 376 | all: config.h |
| 377 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
| 378 | |
| 379 | .SUFFIXES: |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 380 | am--refresh: Makefile |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 381 | @: |
| 382 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) |
| 383 | @for dep in $?; do \ |
| 384 | case '$(am__configure_deps)' in \ |
| 385 | *$$dep*) \ |
| 386 | echo ' cd $(srcdir) && $(AUTOMAKE) --gnits'; \ |
| 387 | $(am__cd) $(srcdir) && $(AUTOMAKE) --gnits \ |
| 388 | && exit 0; \ |
| 389 | exit 1;; \ |
| 390 | esac; \ |
| 391 | done; \ |
| 392 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits Makefile'; \ |
| 393 | $(am__cd) $(top_srcdir) && \ |
| 394 | $(AUTOMAKE) --gnits Makefile |
| 395 | .PRECIOUS: Makefile |
| 396 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 397 | @case '$?' in \ |
| 398 | *config.status*) \ |
| 399 | echo ' $(SHELL) ./config.status'; \ |
| 400 | $(SHELL) ./config.status;; \ |
| 401 | *) \ |
| 402 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
| 403 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
| 404 | esac; |
| 405 | |
| 406 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
| 407 | $(SHELL) ./config.status --recheck |
| 408 | |
| 409 | $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
| 410 | $(am__cd) $(srcdir) && $(AUTOCONF) |
| 411 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
| 412 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
| 413 | $(am__aclocal_m4_deps): |
| 414 | |
| 415 | config.h: stamp-h1 |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 416 | @test -f $@ || rm -f stamp-h1 |
| 417 | @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 418 | |
| 419 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
| 420 | @rm -f stamp-h1 |
| 421 | cd $(top_builddir) && $(SHELL) ./config.status config.h |
| 422 | $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
| 423 | ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) |
| 424 | rm -f stamp-h1 |
| 425 | touch $@ |
| 426 | |
| 427 | distclean-hdr: |
| 428 | -rm -f config.h stamp-h1 |
| 429 | elfutils.spec: $(top_builddir)/config.status $(top_srcdir)/config/elfutils.spec.in |
| 430 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
| 431 | version.h: $(top_builddir)/config.status $(top_srcdir)/config/version.h.in |
| 432 | cd $(top_builddir) && $(SHELL) ./config.status $@ |
| 433 | install-pkgincludeHEADERS: $(pkginclude_HEADERS) |
| 434 | @$(NORMAL_INSTALL) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 435 | @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 436 | if test -n "$$list"; then \ |
| 437 | echo " $(MKDIR_P) '$(DESTDIR)$(pkgincludedir)'"; \ |
| 438 | $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)" || exit 1; \ |
| 439 | fi; \ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 440 | for p in $$list; do \ |
| 441 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
| 442 | echo "$$d$$p"; \ |
| 443 | done | $(am__base_list) | \ |
| 444 | while read files; do \ |
| 445 | echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(pkgincludedir)'"; \ |
| 446 | $(INSTALL_HEADER) $$files "$(DESTDIR)$(pkgincludedir)" || exit $$?; \ |
| 447 | done |
| 448 | |
| 449 | uninstall-pkgincludeHEADERS: |
| 450 | @$(NORMAL_UNINSTALL) |
| 451 | @list='$(pkginclude_HEADERS)'; test -n "$(pkgincludedir)" || list=; \ |
| 452 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 453 | dir='$(DESTDIR)$(pkgincludedir)'; $(am__uninstall_files_from_dir) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 454 | |
| 455 | # This directory's subdirectories are mostly independent; you can cd |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 456 | # into them and run 'make' without going through this Makefile. |
| 457 | # To change the values of 'make' variables: instead of editing Makefiles, |
| 458 | # (1) if the variable is set in 'config.status', edit 'config.status' |
| 459 | # (which will cause the Makefiles to be regenerated when you run 'make'); |
| 460 | # (2) otherwise, pass the desired values on the 'make' command line. |
| 461 | $(am__recursive_targets): |
| 462 | @fail=; \ |
| 463 | if $(am__make_keepgoing); then \ |
| 464 | failcom='fail=yes'; \ |
| 465 | else \ |
| 466 | failcom='exit 1'; \ |
| 467 | fi; \ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 468 | dot_seen=no; \ |
| 469 | target=`echo $@ | sed s/-recursive//`; \ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 470 | case "$@" in \ |
| 471 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
| 472 | *) list='$(SUBDIRS)' ;; \ |
| 473 | esac; \ |
| 474 | for subdir in $$list; do \ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 475 | echo "Making $$target in $$subdir"; \ |
| 476 | if test "$$subdir" = "."; then \ |
| 477 | dot_seen=yes; \ |
| 478 | local_target="$$target-am"; \ |
| 479 | else \ |
| 480 | local_target="$$target"; \ |
| 481 | fi; \ |
| 482 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
| 483 | || eval $$failcom; \ |
| 484 | done; \ |
| 485 | if test "$$dot_seen" = "no"; then \ |
| 486 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
| 487 | fi; test -z "$$fail" |
| 488 | |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 489 | ID: $(am__tagged_files) |
| 490 | $(am__define_uniq_tagged_files); mkid -fID $$unique |
| 491 | tags: tags-recursive |
| 492 | TAGS: tags |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 493 | |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 494 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 495 | set x; \ |
| 496 | here=`pwd`; \ |
| 497 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
| 498 | include_option=--etags-include; \ |
| 499 | empty_fix=.; \ |
| 500 | else \ |
| 501 | include_option=--include; \ |
| 502 | empty_fix=; \ |
| 503 | fi; \ |
| 504 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 505 | if test "$$subdir" = .; then :; else \ |
| 506 | test ! -f $$subdir/TAGS || \ |
| 507 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
| 508 | fi; \ |
| 509 | done; \ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 510 | $(am__define_uniq_tagged_files); \ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 511 | shift; \ |
| 512 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
| 513 | test -n "$$unique" || unique=$$empty_fix; \ |
| 514 | if test $$# -gt 0; then \ |
| 515 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 516 | "$$@" $$unique; \ |
| 517 | else \ |
| 518 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 519 | $$unique; \ |
| 520 | fi; \ |
| 521 | fi |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 522 | ctags: ctags-recursive |
| 523 | |
| 524 | CTAGS: ctags |
| 525 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
| 526 | $(am__define_uniq_tagged_files); \ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 527 | test -z "$(CTAGS_ARGS)$$unique" \ |
| 528 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
| 529 | $$unique |
| 530 | |
| 531 | GTAGS: |
| 532 | here=`$(am__cd) $(top_builddir) && pwd` \ |
| 533 | && $(am__cd) $(top_srcdir) \ |
| 534 | && gtags -i $(GTAGS_ARGS) "$$here" |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 535 | cscope: cscope.files |
| 536 | test ! -s cscope.files \ |
| 537 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) |
| 538 | clean-cscope: |
| 539 | -rm -f cscope.files |
| 540 | cscope.files: clean-cscope cscopelist |
| 541 | cscopelist: cscopelist-recursive |
| 542 | |
| 543 | cscopelist-am: $(am__tagged_files) |
| 544 | list='$(am__tagged_files)'; \ |
| 545 | case "$(srcdir)" in \ |
| 546 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ |
| 547 | *) sdir=$(subdir)/$(srcdir) ;; \ |
| 548 | esac; \ |
| 549 | for i in $$list; do \ |
| 550 | if test -f "$$i"; then \ |
| 551 | echo "$(subdir)/$$i"; \ |
| 552 | else \ |
| 553 | echo "$$sdir/$$i"; \ |
| 554 | fi; \ |
| 555 | done >> $(top_builddir)/cscope.files |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 556 | |
| 557 | distclean-tags: |
| 558 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 559 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 560 | |
| 561 | distdir: $(DISTFILES) |
| 562 | @case `sed 15q $(srcdir)/NEWS` in \ |
| 563 | *"$(VERSION)"*) : ;; \ |
| 564 | *) \ |
| 565 | echo "NEWS not updated; not releasing" 1>&2; \ |
| 566 | exit 1;; \ |
| 567 | esac |
| 568 | $(am__remove_distdir) |
| 569 | test -d "$(distdir)" || mkdir "$(distdir)" |
| 570 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 571 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 572 | list='$(DISTFILES)'; \ |
| 573 | dist_files=`for file in $$list; do echo $$file; done | \ |
| 574 | sed -e "s|^$$srcdirstrip/||;t" \ |
| 575 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
| 576 | case $$dist_files in \ |
| 577 | */*) $(MKDIR_P) `echo "$$dist_files" | \ |
| 578 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
| 579 | sort -u` ;; \ |
| 580 | esac; \ |
| 581 | for file in $$dist_files; do \ |
| 582 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
| 583 | if test -d $$d/$$file; then \ |
| 584 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
| 585 | if test -d "$(distdir)/$$file"; then \ |
| 586 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 587 | fi; \ |
| 588 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
| 589 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
| 590 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 591 | fi; \ |
| 592 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
| 593 | else \ |
| 594 | test -f "$(distdir)/$$file" \ |
| 595 | || cp -p $$d/$$file "$(distdir)/$$file" \ |
| 596 | || exit 1; \ |
| 597 | fi; \ |
| 598 | done |
| 599 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
| 600 | if test "$$subdir" = .; then :; else \ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 601 | $(am__make_dryrun) \ |
| 602 | || test -d "$(distdir)/$$subdir" \ |
| 603 | || $(MKDIR_P) "$(distdir)/$$subdir" \ |
| 604 | || exit 1; \ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 605 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
| 606 | $(am__relativize); \ |
| 607 | new_distdir=$$reldir; \ |
| 608 | dir1=$$subdir; dir2="$(top_distdir)"; \ |
| 609 | $(am__relativize); \ |
| 610 | new_top_distdir=$$reldir; \ |
| 611 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ |
| 612 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ |
| 613 | ($(am__cd) $$subdir && \ |
| 614 | $(MAKE) $(AM_MAKEFLAGS) \ |
| 615 | top_distdir="$$new_top_distdir" \ |
| 616 | distdir="$$new_distdir" \ |
| 617 | am__remove_distdir=: \ |
| 618 | am__skip_length_check=: \ |
| 619 | am__skip_mode_fix=: \ |
| 620 | distdir) \ |
| 621 | || exit 1; \ |
| 622 | fi; \ |
| 623 | done |
| 624 | -test -n "$(am__skip_mode_fix)" \ |
| 625 | || find "$(distdir)" -type d ! -perm -755 \ |
| 626 | -exec chmod u+rwx,go+rx {} \; -o \ |
| 627 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
| 628 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
| 629 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
| 630 | || chmod -R a+r "$(distdir)" |
| 631 | dist-gzip: distdir |
| 632 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 633 | $(am__post_remove_distdir) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 634 | dist-bzip2: distdir |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 635 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 |
| 636 | $(am__post_remove_distdir) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 637 | |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 638 | dist-lzip: distdir |
| 639 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz |
| 640 | $(am__post_remove_distdir) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 641 | |
| 642 | dist-xz: distdir |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 643 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz |
| 644 | $(am__post_remove_distdir) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 645 | |
| 646 | dist-tarZ: distdir |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 647 | @echo WARNING: "Support for shar distribution archives is" \ |
| 648 | "deprecated." >&2 |
| 649 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 650 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 651 | $(am__post_remove_distdir) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 652 | |
| 653 | dist-shar: distdir |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 654 | @echo WARNING: "Support for distribution archives compressed with" \ |
| 655 | "legacy program 'compress' is deprecated." >&2 |
| 656 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 657 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 658 | $(am__post_remove_distdir) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 659 | |
| 660 | dist-zip: distdir |
| 661 | -rm -f $(distdir).zip |
| 662 | zip -rq $(distdir).zip $(distdir) |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 663 | $(am__post_remove_distdir) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 664 | |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 665 | dist dist-all: |
| 666 | $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' |
| 667 | $(am__post_remove_distdir) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 668 | |
| 669 | # This target untars the dist file and tries a VPATH configuration. Then |
| 670 | # it guarantees that the distribution is self-contained by making another |
| 671 | # tarfile. |
| 672 | distcheck: dist |
| 673 | case '$(DIST_ARCHIVES)' in \ |
| 674 | *.tar.gz*) \ |
| 675 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
| 676 | *.tar.bz2*) \ |
| 677 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 678 | *.tar.lz*) \ |
| 679 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 680 | *.tar.xz*) \ |
| 681 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
| 682 | *.tar.Z*) \ |
| 683 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
| 684 | *.shar.gz*) \ |
| 685 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
| 686 | *.zip*) \ |
| 687 | unzip $(distdir).zip ;;\ |
| 688 | esac |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 689 | chmod -R a-w $(distdir) |
| 690 | chmod u+w $(distdir) |
| 691 | mkdir $(distdir)/_build $(distdir)/_inst |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 692 | chmod a-w $(distdir) |
| 693 | test -d $(distdir)/_build || exit 0; \ |
| 694 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ |
| 695 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ |
| 696 | && $(MAKE) $(AM_MAKEFLAGS) distcheck-hook \ |
| 697 | && am__cwd=`pwd` \ |
| 698 | && $(am__cd) $(distdir)/_build \ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 699 | && ../configure \ |
| 700 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 701 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 702 | --srcdir=.. --prefix="$$dc_install_base" \ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 703 | && $(MAKE) $(AM_MAKEFLAGS) \ |
| 704 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
| 705 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
| 706 | && $(MAKE) $(AM_MAKEFLAGS) install \ |
| 707 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
| 708 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
| 709 | && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ |
| 710 | distuninstallcheck \ |
| 711 | && chmod -R a-w "$$dc_install_base" \ |
| 712 | && ({ \ |
| 713 | (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ |
| 714 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ |
| 715 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ |
| 716 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ |
| 717 | distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ |
| 718 | } || { rm -rf "$$dc_destdir"; exit 1; }) \ |
| 719 | && rm -rf "$$dc_destdir" \ |
| 720 | && $(MAKE) $(AM_MAKEFLAGS) dist \ |
| 721 | && rm -rf $(DIST_ARCHIVES) \ |
| 722 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ |
| 723 | && cd "$$am__cwd" \ |
| 724 | || exit 1 |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 725 | $(am__post_remove_distdir) |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 726 | @(echo "$(distdir) archives ready for distribution: "; \ |
| 727 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
| 728 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
| 729 | distuninstallcheck: |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 730 | @test -n '$(distuninstallcheck_dir)' || { \ |
| 731 | echo 'ERROR: trying to run $@ with an empty' \ |
| 732 | '$$(distuninstallcheck_dir)' >&2; \ |
| 733 | exit 1; \ |
| 734 | }; \ |
| 735 | $(am__cd) '$(distuninstallcheck_dir)' || { \ |
| 736 | echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ |
| 737 | exit 1; \ |
| 738 | }; \ |
| 739 | test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 740 | || { echo "ERROR: files left after uninstall:" ; \ |
| 741 | if test -n "$(DESTDIR)"; then \ |
| 742 | echo " (check DESTDIR support)"; \ |
| 743 | fi ; \ |
| 744 | $(distuninstallcheck_listfiles) ; \ |
| 745 | exit 1; } >&2 |
| 746 | distcleancheck: distclean |
| 747 | @if test '$(srcdir)' = . ; then \ |
| 748 | echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
| 749 | exit 1 ; \ |
| 750 | fi |
| 751 | @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
| 752 | || { echo "ERROR: files left in build directory after distclean:" ; \ |
| 753 | $(distcleancheck_listfiles) ; \ |
| 754 | exit 1; } >&2 |
| 755 | check-am: all-am |
| 756 | check: check-recursive |
| 757 | all-am: Makefile $(HEADERS) config.h |
| 758 | installdirs: installdirs-recursive |
| 759 | installdirs-am: |
| 760 | for dir in "$(DESTDIR)$(pkgincludedir)"; do \ |
| 761 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
| 762 | done |
| 763 | install: install-recursive |
| 764 | install-exec: install-exec-recursive |
| 765 | install-data: install-data-recursive |
| 766 | uninstall: uninstall-recursive |
| 767 | |
| 768 | install-am: all-am |
| 769 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
| 770 | |
| 771 | installcheck: installcheck-recursive |
| 772 | install-strip: |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 773 | if test -z '$(STRIP)'; then \ |
| 774 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 775 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
| 776 | install; \ |
| 777 | else \ |
| 778 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 779 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
| 780 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ |
| 781 | fi |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 782 | mostlyclean-generic: |
| 783 | |
| 784 | clean-generic: |
| 785 | |
| 786 | distclean-generic: |
| 787 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
| 788 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
| 789 | |
| 790 | maintainer-clean-generic: |
| 791 | @echo "This command is intended for maintainers to use" |
| 792 | @echo "it deletes files that may require special tools to rebuild." |
| 793 | clean: clean-recursive |
| 794 | |
| 795 | clean-am: clean-generic mostlyclean-am |
| 796 | |
| 797 | distclean: distclean-recursive |
| 798 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
| 799 | -rm -f Makefile |
| 800 | distclean-am: clean-am distclean-generic distclean-hdr distclean-tags |
| 801 | |
| 802 | dvi: dvi-recursive |
| 803 | |
| 804 | dvi-am: |
| 805 | |
| 806 | html: html-recursive |
| 807 | |
| 808 | html-am: |
| 809 | |
| 810 | info: info-recursive |
| 811 | |
| 812 | info-am: |
| 813 | |
| 814 | install-data-am: install-pkgincludeHEADERS |
| 815 | |
| 816 | install-dvi: install-dvi-recursive |
| 817 | |
| 818 | install-dvi-am: |
| 819 | |
| 820 | install-exec-am: |
| 821 | |
| 822 | install-html: install-html-recursive |
| 823 | |
| 824 | install-html-am: |
| 825 | |
| 826 | install-info: install-info-recursive |
| 827 | |
| 828 | install-info-am: |
| 829 | |
| 830 | install-man: |
| 831 | |
| 832 | install-pdf: install-pdf-recursive |
| 833 | |
| 834 | install-pdf-am: |
| 835 | |
| 836 | install-ps: install-ps-recursive |
| 837 | |
| 838 | install-ps-am: |
| 839 | |
| 840 | installcheck-am: |
| 841 | |
| 842 | maintainer-clean: maintainer-clean-recursive |
| 843 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
| 844 | -rm -rf $(top_srcdir)/autom4te.cache |
| 845 | -rm -f Makefile |
| 846 | maintainer-clean-am: distclean-am maintainer-clean-generic |
| 847 | |
| 848 | mostlyclean: mostlyclean-recursive |
| 849 | |
| 850 | mostlyclean-am: mostlyclean-generic |
| 851 | |
| 852 | pdf: pdf-recursive |
| 853 | |
| 854 | pdf-am: |
| 855 | |
| 856 | ps: ps-recursive |
| 857 | |
| 858 | ps-am: |
| 859 | |
| 860 | uninstall-am: uninstall-pkgincludeHEADERS |
| 861 | |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 862 | .MAKE: $(am__recursive_targets) all install-am install-strip |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 863 | |
Elliott Hughes | 0333382 | 2015-02-18 22:19:45 -0800 | [diff] [blame] | 864 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ |
| 865 | am--refresh check check-am clean clean-cscope clean-generic \ |
| 866 | cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ |
| 867 | dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ |
| 868 | distcheck distclean distclean-generic distclean-hdr \ |
| 869 | distclean-tags distcleancheck distdir distuninstallcheck dvi \ |
| 870 | dvi-am html html-am info info-am install install-am \ |
| 871 | install-data install-data-am install-dvi install-dvi-am \ |
| 872 | install-exec install-exec-am install-html install-html-am \ |
| 873 | install-info install-info-am install-man install-pdf \ |
| 874 | install-pdf-am install-pkgincludeHEADERS install-ps \ |
| 875 | install-ps-am install-strip installcheck installcheck-am \ |
| 876 | installdirs installdirs-am maintainer-clean \ |
| 877 | maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ |
| 878 | pdf-am ps ps-am tags tags-am uninstall uninstall-am \ |
Ben Cheng | 25b3c04 | 2013-11-20 14:45:36 -0800 | [diff] [blame] | 879 | uninstall-pkgincludeHEADERS |
| 880 | |
| 881 | |
| 882 | distcheck-hook: |
| 883 | chmod -R u+w $(distdir) |
| 884 | |
| 885 | rpm: dist |
| 886 | rpmbuild -ts --sign elfutils-@PACKAGE_VERSION@.tar.bz2 |
| 887 | |
| 888 | # Tell version 3.79 and up of GNU make to not build goals in this |
| 889 | # directory in parallel. |
| 890 | .NOTPARALLEL: |
| 891 | |
| 892 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 893 | # Otherwise a system limit (for SysV at least) may be exceeded. |
| 894 | .NOEXPORT: |