Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame] | 1 | # Makefile.in generated by automake 1.15 from Makefile.am. |
| 2 | # @configure_input@ |
| 3 | |
| 4 | # Copyright (C) 1994-2014 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 | # This file should be included (directly or indirectly) by every |
| 18 | # Makefile.am that builds programs. And also the top-level Makefile.am. |
| 19 | |
| 20 | #---------------------------------------------------------------------------- |
| 21 | # Global stuff |
| 22 | #---------------------------------------------------------------------------- |
| 23 | |
| 24 | VPATH = @srcdir@ |
| 25 | am__is_gnu_make = { \ |
| 26 | if test -z '$(MAKELEVEL)'; then \ |
| 27 | false; \ |
| 28 | elif test -n '$(MAKE_HOST)'; then \ |
| 29 | true; \ |
| 30 | elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ |
| 31 | true; \ |
| 32 | else \ |
| 33 | false; \ |
| 34 | fi; \ |
| 35 | } |
| 36 | am__make_running_with_option = \ |
| 37 | case $${target_option-} in \ |
| 38 | ?) ;; \ |
| 39 | *) echo "am__make_running_with_option: internal error: invalid" \ |
| 40 | "target option '$${target_option-}' specified" >&2; \ |
| 41 | exit 1;; \ |
| 42 | esac; \ |
| 43 | has_opt=no; \ |
| 44 | sane_makeflags=$$MAKEFLAGS; \ |
| 45 | if $(am__is_gnu_make); then \ |
| 46 | sane_makeflags=$$MFLAGS; \ |
| 47 | else \ |
| 48 | case $$MAKEFLAGS in \ |
| 49 | *\\[\ \ ]*) \ |
| 50 | bs=\\; \ |
| 51 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ |
| 52 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ |
| 53 | esac; \ |
| 54 | fi; \ |
| 55 | skip_next=no; \ |
| 56 | strip_trailopt () \ |
| 57 | { \ |
| 58 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ |
| 59 | }; \ |
| 60 | for flg in $$sane_makeflags; do \ |
| 61 | test $$skip_next = yes && { skip_next=no; continue; }; \ |
| 62 | case $$flg in \ |
| 63 | *=*|--*) continue;; \ |
| 64 | -*I) strip_trailopt 'I'; skip_next=yes;; \ |
| 65 | -*I?*) strip_trailopt 'I';; \ |
| 66 | -*O) strip_trailopt 'O'; skip_next=yes;; \ |
| 67 | -*O?*) strip_trailopt 'O';; \ |
| 68 | -*l) strip_trailopt 'l'; skip_next=yes;; \ |
| 69 | -*l?*) strip_trailopt 'l';; \ |
| 70 | -[dEDm]) skip_next=yes;; \ |
| 71 | -[JT]) skip_next=yes;; \ |
| 72 | esac; \ |
| 73 | case $$flg in \ |
| 74 | *$$target_option*) has_opt=yes; break;; \ |
| 75 | esac; \ |
| 76 | done; \ |
| 77 | test $$has_opt = yes |
| 78 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) |
| 79 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) |
| 80 | pkgdatadir = $(datadir)/@PACKAGE@ |
| 81 | pkgincludedir = $(includedir)/@PACKAGE@ |
| 82 | pkglibdir = $(libdir)/@PACKAGE@ |
| 83 | pkglibexecdir = $(libexecdir)/@PACKAGE@ |
| 84 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
| 85 | install_sh_DATA = $(install_sh) -c -m 644 |
| 86 | install_sh_PROGRAM = $(install_sh) -c |
| 87 | install_sh_SCRIPT = $(install_sh) -c |
| 88 | INSTALL_HEADER = $(INSTALL_DATA) |
| 89 | transform = $(program_transform_name) |
| 90 | NORMAL_INSTALL = : |
| 91 | PRE_INSTALL = : |
| 92 | POST_INSTALL = : |
| 93 | NORMAL_UNINSTALL = : |
| 94 | PRE_UNINSTALL = : |
| 95 | POST_UNINSTALL = : |
| 96 | build_triplet = @build@ |
| 97 | host_triplet = @host@ |
| 98 | @COMPILER_IS_CLANG_TRUE@am__append_1 = -Wno-cast-align -Wno-self-assign \ |
| 99 | @COMPILER_IS_CLANG_TRUE@ -Wno-tautological-compare |
| 100 | |
| 101 | @SOLARIS_XPG_SYMBOLS_PRESENT_TRUE@am__append_2 = -Wl,-M,$(top_srcdir)/solaris/vgpreload-solaris.mapfile |
| 102 | |
| 103 | # The Android toolchain includes all kinds of stdlib helpers present in |
| 104 | # bionic which is bad because we are not linking with it and the Android |
| 105 | # linker will panic. |
| 106 | @VGCONF_PLATVARIANT_IS_ANDROID_TRUE@am__append_3 = -nostdlib |
| 107 | |
| 108 | # On Android we must ask for non-executable stack, not sure why. |
| 109 | @VGCONF_PLATFORMS_INCLUDE_ARM_LINUX_TRUE@@VGCONF_PLATVARIANT_IS_ANDROID_TRUE@am__append_4 = -Wl,-z,noexecstack |
| 110 | noinst_PROGRAMS = none-@VGCONF_ARCH_PRI@-@VGCONF_OS@$(EXEEXT) \ |
| 111 | $(am__EXEEXT_1) |
| 112 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@am__append_5 = none-@VGCONF_ARCH_SEC@-@VGCONF_OS@ |
| 113 | @VGCONF_HAVE_PLATFORM_SEC_FALSE@none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = |
| 114 | subdir = none |
| 115 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 116 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac |
| 117 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
| 118 | $(ACLOCAL_M4) |
| 119 | DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) |
| 120 | mkinstalldirs = $(install_sh) -d |
| 121 | CONFIG_HEADER = $(top_builddir)/config.h |
| 122 | CONFIG_CLEAN_FILES = |
| 123 | CONFIG_CLEAN_VPATH_FILES = |
| 124 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@am__EXEEXT_1 = none-@VGCONF_ARCH_SEC@-@VGCONF_OS@$(EXEEXT) |
| 125 | PROGRAMS = $(noinst_PROGRAMS) |
| 126 | am__objects_1 = none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.$(OBJEXT) |
| 127 | am_none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS = $(am__objects_1) |
| 128 | none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS = \ |
| 129 | $(am_none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS) |
| 130 | am__none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES_DIST = nl_main.c |
| 131 | am__objects_2 = none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.$(OBJEXT) |
| 132 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@am_none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS = \ |
| 133 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(am__objects_2) |
| 134 | none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS = \ |
| 135 | $(am_none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS) |
| 136 | AM_V_P = $(am__v_P_@AM_V@) |
| 137 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
| 138 | am__v_P_0 = false |
| 139 | am__v_P_1 = : |
| 140 | AM_V_GEN = $(am__v_GEN_@AM_V@) |
| 141 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) |
| 142 | am__v_GEN_0 = @echo " GEN " $@; |
| 143 | am__v_GEN_1 = |
| 144 | AM_V_at = $(am__v_at_@AM_V@) |
| 145 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) |
| 146 | am__v_at_0 = @ |
| 147 | am__v_at_1 = |
| 148 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
| 149 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
| 150 | am__depfiles_maybe = depfiles |
| 151 | am__mv = mv -f |
| 152 | AM_V_lt = $(am__v_lt_@AM_V@) |
| 153 | am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) |
| 154 | am__v_lt_0 = --silent |
| 155 | am__v_lt_1 = |
| 156 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
| 157 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
| 158 | AM_V_CC = $(am__v_CC_@AM_V@) |
| 159 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) |
| 160 | am__v_CC_0 = @echo " CC " $@; |
| 161 | am__v_CC_1 = |
| 162 | CCLD = $(CC) |
| 163 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
| 164 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) |
| 165 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) |
| 166 | am__v_CCLD_0 = @echo " CCLD " $@; |
| 167 | am__v_CCLD_1 = |
| 168 | SOURCES = $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES) \ |
| 169 | $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES) |
| 170 | DIST_SOURCES = $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES) \ |
| 171 | $(am__none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES_DIST) |
| 172 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ |
| 173 | ctags-recursive dvi-recursive html-recursive info-recursive \ |
| 174 | install-data-recursive install-dvi-recursive \ |
| 175 | install-exec-recursive install-html-recursive \ |
| 176 | install-info-recursive install-pdf-recursive \ |
| 177 | install-ps-recursive install-recursive installcheck-recursive \ |
| 178 | installdirs-recursive pdf-recursive ps-recursive \ |
| 179 | tags-recursive uninstall-recursive |
| 180 | am__can_run_installinfo = \ |
| 181 | case $$AM_UPDATE_INFO_DIR in \ |
| 182 | n|no|NO) false;; \ |
| 183 | *) (install-info --version) >/dev/null 2>&1;; \ |
| 184 | esac |
| 185 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
| 186 | distclean-recursive maintainer-clean-recursive |
| 187 | am__recursive_targets = \ |
| 188 | $(RECURSIVE_TARGETS) \ |
| 189 | $(RECURSIVE_CLEAN_TARGETS) \ |
| 190 | $(am__extra_recursive_targets) |
| 191 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ |
| 192 | distdir |
| 193 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) |
| 194 | # Read a list of newline-separated strings from the standard input, |
| 195 | # and print each of them once, without duplicates. Input order is |
| 196 | # *not* preserved. |
| 197 | am__uniquify_input = $(AWK) '\ |
| 198 | BEGIN { nonempty = 0; } \ |
| 199 | { items[$$0] = 1; nonempty = 1; } \ |
| 200 | END { if (nonempty) { for (i in items) print i; }; } \ |
| 201 | ' |
| 202 | # Make sure the list of sources is unique. This is necessary because, |
| 203 | # e.g., the same source file might be shared among _SOURCES variables |
| 204 | # for different programs/libraries. |
| 205 | am__define_uniq_tagged_files = \ |
| 206 | list='$(am__tagged_files)'; \ |
| 207 | unique=`for i in $$list; do \ |
| 208 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 209 | done | $(am__uniquify_input)` |
| 210 | ETAGS = etags |
| 211 | CTAGS = ctags |
| 212 | DIST_SUBDIRS = $(SUBDIRS) |
| 213 | am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/Makefile.all.am \ |
| 214 | $(top_srcdir)/Makefile.tool.am $(top_srcdir)/depcomp |
| 215 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
| 216 | am__relativize = \ |
| 217 | dir0=`pwd`; \ |
| 218 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ |
| 219 | sed_rest='s,^[^/]*/*,,'; \ |
| 220 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ |
| 221 | sed_butlast='s,/*[^/]*$$,,'; \ |
| 222 | while test -n "$$dir1"; do \ |
| 223 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ |
| 224 | if test "$$first" != "."; then \ |
| 225 | if test "$$first" = ".."; then \ |
| 226 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ |
| 227 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ |
| 228 | else \ |
| 229 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ |
| 230 | if test "$$first2" = "$$first"; then \ |
| 231 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ |
| 232 | else \ |
| 233 | dir2="../$$dir2"; \ |
| 234 | fi; \ |
| 235 | dir0="$$dir0"/"$$first"; \ |
| 236 | fi; \ |
| 237 | fi; \ |
| 238 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ |
| 239 | done; \ |
| 240 | reldir="$$dir2" |
| 241 | ACLOCAL = @ACLOCAL@ |
| 242 | AMTAR = @AMTAR@ |
| 243 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
| 244 | AR = @AR@ |
| 245 | AUTOCONF = @AUTOCONF@ |
| 246 | AUTOHEADER = @AUTOHEADER@ |
| 247 | AUTOMAKE = @AUTOMAKE@ |
| 248 | AWK = @AWK@ |
| 249 | BOOST_CFLAGS = @BOOST_CFLAGS@ |
| 250 | BOOST_LIBS = @BOOST_LIBS@ |
| 251 | CC = @CC@ |
| 252 | CCAS = @CCAS@ |
| 253 | CCASDEPMODE = @CCASDEPMODE@ |
| 254 | CCASFLAGS = @CCASFLAGS@ |
| 255 | CCDEPMODE = @CCDEPMODE@ |
| 256 | CFLAGS = @CFLAGS@ |
| 257 | CFLAGS_MPI = @CFLAGS_MPI@ |
| 258 | CPP = @CPP@ |
| 259 | CPPFLAGS = @CPPFLAGS@ |
| 260 | CXX = @CXX@ |
| 261 | CXXDEPMODE = @CXXDEPMODE@ |
| 262 | CXXFLAGS = @CXXFLAGS@ |
| 263 | CYGPATH_W = @CYGPATH_W@ |
| 264 | DEFAULT_SUPP = @DEFAULT_SUPP@ |
| 265 | DEFS = @DEFS@ |
| 266 | DEPDIR = @DEPDIR@ |
| 267 | DIFF = @DIFF@ |
| 268 | DIS_PATH = @DIS_PATH@ |
| 269 | ECHO_C = @ECHO_C@ |
| 270 | ECHO_N = @ECHO_N@ |
| 271 | ECHO_T = @ECHO_T@ |
| 272 | EGREP = @EGREP@ |
| 273 | EXEEXT = @EXEEXT@ |
| 274 | FLAG_FNO_IPA_ICF = @FLAG_FNO_IPA_ICF@ |
| 275 | FLAG_FNO_STACK_PROTECTOR = @FLAG_FNO_STACK_PROTECTOR@ |
| 276 | FLAG_FSANITIZE = @FLAG_FSANITIZE@ |
| 277 | FLAG_M32 = @FLAG_M32@ |
| 278 | FLAG_M64 = @FLAG_M64@ |
| 279 | FLAG_MIPS32 = @FLAG_MIPS32@ |
| 280 | FLAG_MIPS64 = @FLAG_MIPS64@ |
| 281 | FLAG_MLONG_DOUBLE_128 = @FLAG_MLONG_DOUBLE_128@ |
| 282 | FLAG_MMMX = @FLAG_MMMX@ |
| 283 | FLAG_MSSE = @FLAG_MSSE@ |
| 284 | FLAG_NO_BUILD_ID = @FLAG_NO_BUILD_ID@ |
| 285 | FLAG_OCTEON = @FLAG_OCTEON@ |
| 286 | FLAG_OCTEON2 = @FLAG_OCTEON2@ |
| 287 | FLAG_T_TEXT = @FLAG_T_TEXT@ |
| 288 | FLAG_UNLIMITED_INLINE_UNIT_GROWTH = @FLAG_UNLIMITED_INLINE_UNIT_GROWTH@ |
| 289 | FLAG_W_CAST_ALIGN = @FLAG_W_CAST_ALIGN@ |
| 290 | FLAG_W_CAST_QUAL = @FLAG_W_CAST_QUAL@ |
| 291 | FLAG_W_EMPTY_BODY = @FLAG_W_EMPTY_BODY@ |
| 292 | FLAG_W_EXTRA = @FLAG_W_EXTRA@ |
| 293 | FLAG_W_FORMAT = @FLAG_W_FORMAT@ |
| 294 | FLAG_W_FORMAT_SECURITY = @FLAG_W_FORMAT_SECURITY@ |
| 295 | FLAG_W_FORMAT_SIGNEDNESS = @FLAG_W_FORMAT_SIGNEDNESS@ |
| 296 | FLAG_W_IGNORED_QUALIFIERS = @FLAG_W_IGNORED_QUALIFIERS@ |
| 297 | FLAG_W_MISSING_PARAMETER_TYPE = @FLAG_W_MISSING_PARAMETER_TYPE@ |
| 298 | FLAG_W_NO_INFINITE_RECURSION = @FLAG_W_NO_INFINITE_RECURSION@ |
| 299 | FLAG_W_NO_MEMSET_TRANSPOSED_ARGS = @FLAG_W_NO_MEMSET_TRANSPOSED_ARGS@ |
| 300 | FLAG_W_NO_MISMATCHED_NEW_DELETE = @FLAG_W_NO_MISMATCHED_NEW_DELETE@ |
| 301 | FLAG_W_NO_NONNULL = @FLAG_W_NO_NONNULL@ |
| 302 | FLAG_W_NO_OVERFLOW = @FLAG_W_NO_OVERFLOW@ |
| 303 | FLAG_W_NO_POINTER_SIGN = @FLAG_W_NO_POINTER_SIGN@ |
| 304 | FLAG_W_NO_STATIC_LOCAL_IN_INLINE = @FLAG_W_NO_STATIC_LOCAL_IN_INLINE@ |
| 305 | FLAG_W_NO_UNINITIALIZED = @FLAG_W_NO_UNINITIALIZED@ |
| 306 | FLAG_W_NO_UNUSED_FUNCTION = @FLAG_W_NO_UNUSED_FUNCTION@ |
| 307 | FLAG_W_OLD_STYLE_DECLARATION = @FLAG_W_OLD_STYLE_DECLARATION@ |
| 308 | FLAG_W_WRITE_STRINGS = @FLAG_W_WRITE_STRINGS@ |
| 309 | GDB = @GDB@ |
| 310 | GLIBC_VERSION = @GLIBC_VERSION@ |
| 311 | GREP = @GREP@ |
| 312 | HWCAP_HAS_ALTIVEC = @HWCAP_HAS_ALTIVEC@ |
| 313 | HWCAP_HAS_DFP = @HWCAP_HAS_DFP@ |
| 314 | HWCAP_HAS_HTM = @HWCAP_HAS_HTM@ |
| 315 | HWCAP_HAS_ISA_2_05 = @HWCAP_HAS_ISA_2_05@ |
| 316 | HWCAP_HAS_ISA_2_06 = @HWCAP_HAS_ISA_2_06@ |
| 317 | HWCAP_HAS_ISA_2_07 = @HWCAP_HAS_ISA_2_07@ |
| 318 | HWCAP_HAS_ISA_3_00 = @HWCAP_HAS_ISA_3_00@ |
| 319 | HWCAP_HAS_VSX = @HWCAP_HAS_VSX@ |
| 320 | INSTALL = @INSTALL@ |
| 321 | INSTALL_DATA = @INSTALL_DATA@ |
| 322 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 323 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 324 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
| 325 | LDFLAGS = @LDFLAGS@ |
| 326 | LDFLAGS_MPI = @LDFLAGS_MPI@ |
| 327 | LIBOBJS = @LIBOBJS@ |
| 328 | LIBS = @LIBS@ |
| 329 | LIB_UBSAN = @LIB_UBSAN@ |
| 330 | LN_S = @LN_S@ |
| 331 | LTLIBOBJS = @LTLIBOBJS@ |
| 332 | MAINT = @MAINT@ |
| 333 | MAKEINFO = @MAKEINFO@ |
| 334 | MKDIR_P = @MKDIR_P@ |
| 335 | MPI_CC = @MPI_CC@ |
| 336 | OBJEXT = @OBJEXT@ |
| 337 | PACKAGE = @PACKAGE@ |
| 338 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
| 339 | PACKAGE_NAME = @PACKAGE_NAME@ |
| 340 | PACKAGE_STRING = @PACKAGE_STRING@ |
| 341 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
| 342 | PACKAGE_URL = @PACKAGE_URL@ |
| 343 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
| 344 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
| 345 | PERL = @PERL@ |
| 346 | PREFERRED_STACK_BOUNDARY_2 = @PREFERRED_STACK_BOUNDARY_2@ |
| 347 | RANLIB = @RANLIB@ |
| 348 | SED = @SED@ |
| 349 | SET_MAKE = @SET_MAKE@ |
| 350 | SHELL = @SHELL@ |
| 351 | SOLARIS_UNDEF_LARGESOURCE = @SOLARIS_UNDEF_LARGESOURCE@ |
| 352 | STRIP = @STRIP@ |
| 353 | VALT_LOAD_ADDRESS_PRI = @VALT_LOAD_ADDRESS_PRI@ |
| 354 | VALT_LOAD_ADDRESS_SEC = @VALT_LOAD_ADDRESS_SEC@ |
| 355 | VERSION = @VERSION@ |
| 356 | VGCONF_ARCH_PRI = @VGCONF_ARCH_PRI@ |
| 357 | VGCONF_ARCH_SEC = @VGCONF_ARCH_SEC@ |
| 358 | VGCONF_OS = @VGCONF_OS@ |
| 359 | VGCONF_PLATFORM_PRI_CAPS = @VGCONF_PLATFORM_PRI_CAPS@ |
| 360 | VGCONF_PLATFORM_SEC_CAPS = @VGCONF_PLATFORM_SEC_CAPS@ |
| 361 | VGCONF_PLATVARIANT = @VGCONF_PLATVARIANT@ |
| 362 | VG_TMPDIR = @VG_TMPDIR@ |
| 363 | abs_builddir = @abs_builddir@ |
| 364 | abs_srcdir = @abs_srcdir@ |
| 365 | abs_top_builddir = @abs_top_builddir@ |
| 366 | abs_top_srcdir = @abs_top_srcdir@ |
| 367 | ac_ct_CC = @ac_ct_CC@ |
| 368 | ac_ct_CXX = @ac_ct_CXX@ |
| 369 | am__include = @am__include@ |
| 370 | am__leading_dot = @am__leading_dot@ |
| 371 | am__quote = @am__quote@ |
| 372 | am__tar = @am__tar@ |
| 373 | am__untar = @am__untar@ |
| 374 | bindir = @bindir@ |
| 375 | build = @build@ |
| 376 | build_alias = @build_alias@ |
| 377 | build_cpu = @build_cpu@ |
| 378 | build_os = @build_os@ |
| 379 | build_vendor = @build_vendor@ |
| 380 | builddir = @builddir@ |
| 381 | datadir = @datadir@ |
| 382 | datarootdir = @datarootdir@ |
| 383 | docdir = @docdir@ |
| 384 | dvidir = @dvidir@ |
| 385 | exec_prefix = @exec_prefix@ |
| 386 | host = @host@ |
| 387 | host_alias = @host_alias@ |
| 388 | host_cpu = @host_cpu@ |
| 389 | host_os = @host_os@ |
| 390 | host_vendor = @host_vendor@ |
| 391 | htmldir = @htmldir@ |
| 392 | includedir = @includedir@ |
| 393 | infodir = @infodir@ |
| 394 | install_sh = @install_sh@ |
| 395 | libdir = @libdir@ |
| 396 | libexecdir = @libexecdir@ |
| 397 | localedir = @localedir@ |
| 398 | localstatedir = @localstatedir@ |
| 399 | mandir = @mandir@ |
| 400 | mkdir_p = @mkdir_p@ |
| 401 | oldincludedir = @oldincludedir@ |
| 402 | pdfdir = @pdfdir@ |
| 403 | prefix = @prefix@ |
| 404 | program_transform_name = @program_transform_name@ |
| 405 | psdir = @psdir@ |
| 406 | sbindir = @sbindir@ |
| 407 | sharedstatedir = @sharedstatedir@ |
| 408 | srcdir = @srcdir@ |
| 409 | sysconfdir = @sysconfdir@ |
| 410 | target_alias = @target_alias@ |
| 411 | top_build_prefix = @top_build_prefix@ |
| 412 | top_builddir = @top_builddir@ |
| 413 | top_srcdir = @top_srcdir@ |
| 414 | SUBDIRS = . tests |
| 415 | inplacedir = $(top_builddir)/.in_place |
| 416 | |
| 417 | #---------------------------------------------------------------------------- |
| 418 | # Flags |
| 419 | #---------------------------------------------------------------------------- |
| 420 | |
| 421 | # Baseline flags for all compilations. Aim here is to maximise |
| 422 | # performance and get whatever useful warnings we can out of gcc. |
| 423 | # -fno-builtin is important for defeating LLVM's idiom recognition |
| 424 | # that somehow causes VG_(memset) to get into infinite recursion. |
| 425 | AM_CFLAGS_BASE = -O2 -g -std=gnu99 -Wall -Wmissing-prototypes -Wshadow \ |
| 426 | -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations \ |
| 427 | @FLAG_W_CAST_ALIGN@ @FLAG_W_CAST_QUAL@ @FLAG_W_WRITE_STRINGS@ \ |
| 428 | @FLAG_W_EMPTY_BODY@ @FLAG_W_FORMAT@ @FLAG_W_FORMAT_SIGNEDNESS@ \ |
| 429 | @FLAG_W_FORMAT_SECURITY@ @FLAG_W_IGNORED_QUALIFIERS@ \ |
| 430 | @FLAG_W_MISSING_PARAMETER_TYPE@ @FLAG_W_OLD_STYLE_DECLARATION@ \ |
| 431 | @FLAG_FNO_STACK_PROTECTOR@ @FLAG_FSANITIZE@ \ |
| 432 | -fno-strict-aliasing -fno-builtin $(am__append_1) |
| 433 | @VGCONF_OS_IS_DARWIN_FALSE@AM_CFLAGS_PSO_BASE = -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ |
| 434 | @VGCONF_OS_IS_DARWIN_FALSE@ -fpic -fno-builtin @FLAG_FNO_IPA_ICF@ |
| 435 | |
| 436 | |
| 437 | # These flags are used for building the preload shared objects (PSOs). |
| 438 | # The aim is to give reasonable performance but also to have good |
| 439 | # stack traces, since users often see stack traces extending |
| 440 | # into (and through) the preloads. Also, we must use any |
| 441 | # -mpreferred-stack-boundary flag to build the preload shared |
| 442 | # objects, since that risks misaligning the client's stack and |
| 443 | # results in segfaults like (eg) #324050. |
| 444 | @VGCONF_OS_IS_DARWIN_TRUE@AM_CFLAGS_PSO_BASE = -dynamic \ |
| 445 | @VGCONF_OS_IS_DARWIN_TRUE@ -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ |
| 446 | @VGCONF_OS_IS_DARWIN_TRUE@ -fpic -fPIC -fno-builtin @FLAG_FNO_IPA_ICF@ |
| 447 | |
| 448 | |
| 449 | # Flags for specific targets. |
| 450 | # |
| 451 | # Nb: the AM_CPPFLAGS_* values are suitable for building tools and auxprogs. |
| 452 | # For building the core, coregrind/Makefile.am files add some extra things. |
| 453 | AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@ = \ |
| 454 | -I$(top_srcdir) \ |
| 455 | -I$(top_srcdir)/include \ |
| 456 | -I$(top_srcdir)/VEX/pub \ |
| 457 | -I$(top_builddir)/VEX/pub \ |
| 458 | -DVGA_@VGCONF_ARCH_PRI@=1 \ |
| 459 | -DVGO_@VGCONF_OS@=1 \ |
| 460 | -DVGP_@VGCONF_ARCH_PRI@_@VGCONF_OS@=1 \ |
| 461 | -DVGPV_@VGCONF_ARCH_PRI@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 |
| 462 | |
| 463 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@ = \ |
| 464 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir) \ |
| 465 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/include \ |
| 466 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_srcdir)/VEX/pub \ |
| 467 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -I$(top_builddir)/VEX/pub \ |
| 468 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGA_@VGCONF_ARCH_SEC@=1 \ |
| 469 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGO_@VGCONF_OS@=1 \ |
| 470 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGP_@VGCONF_ARCH_SEC@_@VGCONF_OS@=1 \ |
| 471 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ -DVGPV_@VGCONF_ARCH_SEC@_@VGCONF_OS@_@VGCONF_PLATVARIANT@=1 |
| 472 | |
| 473 | AM_FLAG_M3264_X86_LINUX = @FLAG_M32@ |
| 474 | AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY_2@ \ |
| 475 | $(AM_CFLAGS_BASE) -fomit-frame-pointer |
| 476 | |
| 477 | AM_CFLAGS_PSO_X86_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 478 | AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g |
| 479 | AM_FLAG_M3264_AMD64_LINUX = @FLAG_M64@ |
| 480 | AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ \ |
| 481 | $(AM_CFLAGS_BASE) -fomit-frame-pointer |
| 482 | |
| 483 | AM_CFLAGS_PSO_AMD64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 484 | AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g |
| 485 | AM_FLAG_M3264_PPC32_LINUX = @FLAG_M32@ |
| 486 | AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) |
| 487 | AM_CFLAGS_PSO_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 488 | AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g |
| 489 | AM_FLAG_M3264_PPC64BE_LINUX = @FLAG_M64@ |
| 490 | AM_CFLAGS_PPC64BE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) |
| 491 | AM_CFLAGS_PSO_PPC64BE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 492 | AM_CCASFLAGS_PPC64BE_LINUX = @FLAG_M64@ -g |
| 493 | AM_FLAG_M3264_PPC64LE_LINUX = @FLAG_M64@ |
| 494 | AM_CFLAGS_PPC64LE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) |
| 495 | AM_CFLAGS_PSO_PPC64LE_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 496 | AM_CCASFLAGS_PPC64LE_LINUX = @FLAG_M64@ -g |
| 497 | AM_FLAG_M3264_ARM_LINUX = @FLAG_M32@ |
| 498 | AM_CFLAGS_ARM_LINUX = @FLAG_M32@ \ |
| 499 | $(AM_CFLAGS_BASE) -marm -mcpu=cortex-a8 |
| 500 | |
| 501 | AM_CFLAGS_PSO_ARM_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) \ |
| 502 | -marm -mcpu=cortex-a8 $(AM_CFLAGS_PSO_BASE) |
| 503 | |
| 504 | AM_CCASFLAGS_ARM_LINUX = @FLAG_M32@ \ |
| 505 | -marm -mcpu=cortex-a8 -g |
| 506 | |
| 507 | AM_FLAG_M3264_ARM64_LINUX = @FLAG_M64@ |
| 508 | AM_CFLAGS_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) |
| 509 | AM_CFLAGS_PSO_ARM64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 510 | AM_CCASFLAGS_ARM64_LINUX = @FLAG_M64@ -g |
| 511 | AM_FLAG_M3264_X86_DARWIN = -arch i386 |
| 512 | AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \ |
| 513 | -mmacosx-version-min=10.6 \ |
| 514 | -fno-stack-protector -fno-pic -fno-PIC |
| 515 | |
| 516 | AM_CFLAGS_PSO_X86_DARWIN = $(AM_CFLAGS_X86_DARWIN) $(AM_CFLAGS_PSO_BASE) |
| 517 | AM_CCASFLAGS_X86_DARWIN = -arch i386 -g |
| 518 | AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64 |
| 519 | AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \ |
| 520 | -mmacosx-version-min=10.6 -fno-stack-protector |
| 521 | |
| 522 | AM_CFLAGS_PSO_AMD64_DARWIN = $(AM_CFLAGS_AMD64_DARWIN) $(AM_CFLAGS_PSO_BASE) |
| 523 | AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g |
| 524 | AM_FLAG_M3264_S390X_LINUX = @FLAG_M64@ |
| 525 | AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer |
| 526 | AM_CFLAGS_PSO_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 527 | AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900 |
| 528 | AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@ |
| 529 | AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@ |
| 530 | AM_CFLAGS_PSO_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@ \ |
| 531 | $(AM_CFLAGS_PSO_BASE) |
| 532 | |
| 533 | AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@ |
| 534 | AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@ |
| 535 | AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@ |
| 536 | AM_CFLAGS_PSO_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@ \ |
| 537 | $(AM_CFLAGS_PSO_BASE) |
| 538 | |
| 539 | AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@ |
| 540 | AM_CFLAGS_TILEGX_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) |
| 541 | AM_CFLAGS_PSO_TILEGX_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 542 | AM_FLAG_M3264_X86_SOLARIS = @FLAG_M32@ |
| 543 | AM_CFLAGS_X86_SOLARIS = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY_2@ \ |
| 544 | $(AM_CFLAGS_BASE) -fomit-frame-pointer \ |
| 545 | @SOLARIS_UNDEF_LARGESOURCE@ |
| 546 | |
| 547 | AM_CFLAGS_PSO_X86_SOLARIS = @FLAG_M32@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 548 | AM_CCASFLAGS_X86_SOLARIS = @FLAG_M32@ -g -D_ASM |
| 549 | AM_FLAG_M3264_AMD64_SOLARIS = @FLAG_M64@ |
| 550 | AM_CFLAGS_AMD64_SOLARIS = @FLAG_M64@ \ |
| 551 | $(AM_CFLAGS_BASE) -fomit-frame-pointer |
| 552 | |
| 553 | AM_CFLAGS_PSO_AMD64_SOLARIS = @FLAG_M64@ $(AM_CFLAGS_BASE) $(AM_CFLAGS_PSO_BASE) |
| 554 | AM_CCASFLAGS_AMD64_SOLARIS = @FLAG_M64@ -g -D_ASM |
| 555 | |
| 556 | # Flags for the primary target. These must be used to build the |
| 557 | # regtests and performance tests. In fact, these must be used to |
| 558 | # build anything which is built only once on a dual-arch build. |
| 559 | # |
| 560 | AM_FLAG_M3264_PRI = $(AM_FLAG_M3264_@VGCONF_PLATFORM_PRI_CAPS@) |
| 561 | AM_CPPFLAGS_PRI = $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 562 | AM_CFLAGS_PRI = $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 563 | AM_CCASFLAGS_PRI = $(AM_CCASFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 564 | @VGCONF_HAVE_PLATFORM_SEC_FALSE@AM_FLAG_M3264_SEC = |
| 565 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@AM_FLAG_M3264_SEC = $(AM_FLAG_M3264_@VGCONF_PLATFORM_SEC_CAPS@) |
| 566 | |
| 567 | # Baseline link flags for making vgpreload shared objects. |
| 568 | # |
| 569 | PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared \ |
| 570 | -Wl,-z,interpose,-z,initfirst $(am__append_3) |
| 571 | PRELOAD_LDFLAGS_COMMON_DARWIN = -dynamic -dynamiclib -all_load |
| 572 | PRELOAD_LDFLAGS_COMMON_SOLARIS = -nodefaultlibs -shared \ |
| 573 | -Wl,-z,interpose,-z,initfirst $(am__append_2) |
| 574 | PRELOAD_LDFLAGS_X86_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ |
| 575 | PRELOAD_LDFLAGS_AMD64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 576 | PRELOAD_LDFLAGS_PPC32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ |
| 577 | PRELOAD_LDFLAGS_PPC64BE_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 578 | PRELOAD_LDFLAGS_PPC64LE_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 579 | PRELOAD_LDFLAGS_ARM_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ |
| 580 | PRELOAD_LDFLAGS_ARM64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 581 | PRELOAD_LDFLAGS_X86_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch i386 |
| 582 | PRELOAD_LDFLAGS_AMD64_DARWIN = $(PRELOAD_LDFLAGS_COMMON_DARWIN) -arch x86_64 |
| 583 | PRELOAD_LDFLAGS_S390X_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 584 | PRELOAD_LDFLAGS_MIPS32_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M32@ |
| 585 | PRELOAD_LDFLAGS_MIPS64_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 586 | PRELOAD_LDFLAGS_TILEGX_LINUX = $(PRELOAD_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 587 | PRELOAD_LDFLAGS_X86_SOLARIS = $(PRELOAD_LDFLAGS_COMMON_SOLARIS) @FLAG_M32@ |
| 588 | PRELOAD_LDFLAGS_AMD64_SOLARIS = $(PRELOAD_LDFLAGS_COMMON_SOLARIS) @FLAG_M64@ |
| 589 | |
| 590 | #---------------------------------------------------------------------------- |
| 591 | # <tool>-<platform> stuff |
| 592 | #---------------------------------------------------------------------------- |
| 593 | TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@ = \ |
| 594 | $(top_builddir)/coregrind/libcoregrind-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a \ |
| 595 | $(top_builddir)/VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a |
| 596 | |
| 597 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@ = \ |
| 598 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(top_builddir)/coregrind/libcoregrind-@VGCONF_ARCH_SEC@-@VGCONF_OS@.a \ |
| 599 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(top_builddir)/VEX/libvex-@VGCONF_ARCH_SEC@-@VGCONF_OS@.a |
| 600 | |
| 601 | TOOL_LDADD_COMMON = -lgcc |
| 602 | TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@ = \ |
| 603 | $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@) $(TOOL_LDADD_COMMON) |
| 604 | |
| 605 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@ = \ |
| 606 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@) $(TOOL_LDADD_COMMON) |
| 607 | |
| 608 | |
| 609 | # -Wl,--build-id=none is needed when linking tools with a linker that only |
| 610 | # knows -Ttext and not -Ttext-segment. Without this flag newer ld versions |
| 611 | # (2.20 and later) create a .note.gnu.build-id at the default text segment |
| 612 | # address, which of course means the resulting executable |
| 613 | # is unusable. So we have to tell ld not to generate that, with |
| 614 | # --build-id=none unless the linker supports -Ttext-segment. |
| 615 | TOOL_LDFLAGS_COMMON_LINUX = \ |
| 616 | -static -nodefaultlibs -nostartfiles -u _start @FLAG_NO_BUILD_ID@ |
| 617 | |
| 618 | TOOL_LDFLAGS_COMMON_DARWIN = \ |
| 619 | -nodefaultlibs -nostartfiles -Wl,-u,__start -Wl,-e,__start |
| 620 | |
| 621 | TOOL_LDFLAGS_COMMON_SOLARIS = \ |
| 622 | -static -nodefaultlibs -nostartfiles -u _start \ |
| 623 | -Wl,-M,/usr/lib/ld/map.noexstk |
| 624 | |
| 625 | TOOL_LDFLAGS_X86_LINUX = \ |
| 626 | $(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M32@ |
| 627 | |
| 628 | TOOL_LDFLAGS_AMD64_LINUX = \ |
| 629 | $(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 630 | |
| 631 | TOOL_LDFLAGS_PPC32_LINUX = \ |
| 632 | $(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M32@ |
| 633 | |
| 634 | TOOL_LDFLAGS_PPC64BE_LINUX = \ |
| 635 | $(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 636 | |
| 637 | TOOL_LDFLAGS_PPC64LE_LINUX = \ |
| 638 | $(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 639 | |
| 640 | TOOL_LDFLAGS_ARM_LINUX = $(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M32@ \ |
| 641 | $(am__append_4) |
| 642 | TOOL_LDFLAGS_ARM64_LINUX = \ |
| 643 | $(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 644 | |
| 645 | TOOL_LDFLAGS_S390X_LINUX = \ |
| 646 | $(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 647 | |
| 648 | TOOL_LDFLAGS_X86_DARWIN = \ |
| 649 | $(TOOL_LDFLAGS_COMMON_DARWIN) -arch i386 |
| 650 | |
| 651 | TOOL_LDFLAGS_AMD64_DARWIN = \ |
| 652 | $(TOOL_LDFLAGS_COMMON_DARWIN) -arch x86_64 |
| 653 | |
| 654 | |
| 655 | # MIPS Linux default start symbol is __start, not _start like on x86 or amd |
| 656 | TOOL_LDFLAGS_MIPS32_LINUX = \ |
| 657 | -static -nodefaultlibs -nostartfiles -u __start @FLAG_NO_BUILD_ID@ \ |
| 658 | @FLAG_M32@ |
| 659 | |
| 660 | TOOL_LDFLAGS_MIPS64_LINUX = \ |
| 661 | -static -nodefaultlibs -nostartfiles -u __start @FLAG_NO_BUILD_ID@ \ |
| 662 | @FLAG_M64@ |
| 663 | |
| 664 | TOOL_LDFLAGS_TILEGX_LINUX = \ |
| 665 | $(TOOL_LDFLAGS_COMMON_LINUX) @FLAG_M64@ |
| 666 | |
| 667 | TOOL_LDFLAGS_X86_SOLARIS = \ |
| 668 | $(TOOL_LDFLAGS_COMMON_SOLARIS) @FLAG_M32@ |
| 669 | |
| 670 | TOOL_LDFLAGS_AMD64_SOLARIS = \ |
| 671 | $(TOOL_LDFLAGS_COMMON_SOLARIS) @FLAG_M64@ |
| 672 | |
| 673 | |
| 674 | # NB for 64-bit darwin. We may want to set -Wl,-pagezero_size to |
| 675 | # something smaller than the default of 4G, so as to facilitate |
| 676 | # loading clients who are also linked thusly (currently m_ume.c |
| 677 | # will fail to load them). Although such setting is probably |
| 678 | # better done in link_tool_exe.c. |
| 679 | # |
| 680 | # -Wl,-pagezero_size,0x100000000 |
| 681 | |
| 682 | #---------------------------------------------------------------------------- |
| 683 | # vgpreload_<tool>-<platform>.a stuff |
| 684 | #---------------------------------------------------------------------------- |
| 685 | LIBREPLACEMALLOC_X86_LINUX = \ |
| 686 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-x86-linux.a |
| 687 | |
| 688 | LIBREPLACEMALLOC_AMD64_LINUX = \ |
| 689 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-amd64-linux.a |
| 690 | |
| 691 | LIBREPLACEMALLOC_PPC32_LINUX = \ |
| 692 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-ppc32-linux.a |
| 693 | |
| 694 | LIBREPLACEMALLOC_PPC64BE_LINUX = \ |
| 695 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-ppc64be-linux.a |
| 696 | |
| 697 | LIBREPLACEMALLOC_PPC64LE_LINUX = \ |
| 698 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-ppc64le-linux.a |
| 699 | |
| 700 | LIBREPLACEMALLOC_ARM_LINUX = \ |
| 701 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-arm-linux.a |
| 702 | |
| 703 | LIBREPLACEMALLOC_ARM64_LINUX = \ |
| 704 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-arm64-linux.a |
| 705 | |
| 706 | LIBREPLACEMALLOC_X86_DARWIN = \ |
| 707 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-x86-darwin.a |
| 708 | |
| 709 | LIBREPLACEMALLOC_AMD64_DARWIN = \ |
| 710 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-amd64-darwin.a |
| 711 | |
| 712 | LIBREPLACEMALLOC_S390X_LINUX = \ |
| 713 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-s390x-linux.a |
| 714 | |
| 715 | LIBREPLACEMALLOC_MIPS32_LINUX = \ |
| 716 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-mips32-linux.a |
| 717 | |
| 718 | LIBREPLACEMALLOC_MIPS64_LINUX = \ |
| 719 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-mips64-linux.a |
| 720 | |
| 721 | LIBREPLACEMALLOC_TILEGX_LINUX = \ |
| 722 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-tilegx-linux.a |
| 723 | |
| 724 | LIBREPLACEMALLOC_X86_SOLARIS = \ |
| 725 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-x86-solaris.a |
| 726 | |
| 727 | LIBREPLACEMALLOC_AMD64_SOLARIS = \ |
| 728 | $(top_builddir)/coregrind/libreplacemalloc_toolpreload-amd64-solaris.a |
| 729 | |
| 730 | LIBREPLACEMALLOC_LDFLAGS_X86_LINUX = \ |
| 731 | -Wl,--whole-archive \ |
| 732 | $(LIBREPLACEMALLOC_X86_LINUX) \ |
| 733 | -Wl,--no-whole-archive |
| 734 | |
| 735 | LIBREPLACEMALLOC_LDFLAGS_AMD64_LINUX = \ |
| 736 | -Wl,--whole-archive \ |
| 737 | $(LIBREPLACEMALLOC_AMD64_LINUX) \ |
| 738 | -Wl,--no-whole-archive |
| 739 | |
| 740 | LIBREPLACEMALLOC_LDFLAGS_PPC32_LINUX = \ |
| 741 | -Wl,--whole-archive \ |
| 742 | $(LIBREPLACEMALLOC_PPC32_LINUX) \ |
| 743 | -Wl,--no-whole-archive |
| 744 | |
| 745 | LIBREPLACEMALLOC_LDFLAGS_PPC64BE_LINUX = \ |
| 746 | -Wl,--whole-archive \ |
| 747 | $(LIBREPLACEMALLOC_PPC64BE_LINUX) \ |
| 748 | -Wl,--no-whole-archive |
| 749 | |
| 750 | LIBREPLACEMALLOC_LDFLAGS_PPC64LE_LINUX = \ |
| 751 | -Wl,--whole-archive \ |
| 752 | $(LIBREPLACEMALLOC_PPC64LE_LINUX) \ |
| 753 | -Wl,--no-whole-archive |
| 754 | |
| 755 | LIBREPLACEMALLOC_LDFLAGS_ARM_LINUX = \ |
| 756 | -Wl,--whole-archive \ |
| 757 | $(LIBREPLACEMALLOC_ARM_LINUX) \ |
| 758 | -Wl,--no-whole-archive |
| 759 | |
| 760 | LIBREPLACEMALLOC_LDFLAGS_ARM64_LINUX = \ |
| 761 | -Wl,--whole-archive \ |
| 762 | $(LIBREPLACEMALLOC_ARM64_LINUX) \ |
| 763 | -Wl,--no-whole-archive |
| 764 | |
| 765 | LIBREPLACEMALLOC_LDFLAGS_X86_DARWIN = \ |
| 766 | $(LIBREPLACEMALLOC_X86_DARWIN) |
| 767 | |
| 768 | LIBREPLACEMALLOC_LDFLAGS_AMD64_DARWIN = \ |
| 769 | $(LIBREPLACEMALLOC_AMD64_DARWIN) |
| 770 | |
| 771 | LIBREPLACEMALLOC_LDFLAGS_S390X_LINUX = \ |
| 772 | -Wl,--whole-archive \ |
| 773 | $(LIBREPLACEMALLOC_S390X_LINUX) \ |
| 774 | -Wl,--no-whole-archive |
| 775 | |
| 776 | LIBREPLACEMALLOC_LDFLAGS_MIPS32_LINUX = \ |
| 777 | -Wl,--whole-archive \ |
| 778 | $(LIBREPLACEMALLOC_MIPS32_LINUX) \ |
| 779 | -Wl,--no-whole-archive |
| 780 | |
| 781 | LIBREPLACEMALLOC_LDFLAGS_MIPS64_LINUX = \ |
| 782 | -Wl,--whole-archive \ |
| 783 | $(LIBREPLACEMALLOC_MIPS64_LINUX) \ |
| 784 | -Wl,--no-whole-archive |
| 785 | |
| 786 | LIBREPLACEMALLOC_LDFLAGS_TILEGX_LINUX = \ |
| 787 | -Wl,--whole-archive \ |
| 788 | $(LIBREPLACEMALLOC_TILEGX_LINUX) \ |
| 789 | -Wl,--no-whole-archive |
| 790 | |
| 791 | LIBREPLACEMALLOC_LDFLAGS_X86_SOLARIS = \ |
| 792 | -Wl,--whole-archive \ |
| 793 | $(LIBREPLACEMALLOC_X86_SOLARIS) \ |
| 794 | -Wl,--no-whole-archive |
| 795 | |
| 796 | LIBREPLACEMALLOC_LDFLAGS_AMD64_SOLARIS = \ |
| 797 | -Wl,--whole-archive \ |
| 798 | $(LIBREPLACEMALLOC_AMD64_SOLARIS) \ |
| 799 | -Wl,--no-whole-archive |
| 800 | |
| 801 | EXTRA_DIST = docs/nl-manual.xml |
| 802 | NONE_SOURCES_COMMON = nl_main.c |
| 803 | none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = \ |
| 804 | $(NONE_SOURCES_COMMON) |
| 805 | |
| 806 | none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = \ |
| 807 | $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 808 | |
| 809 | none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = \ |
| 810 | $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 811 | |
| 812 | none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES = \ |
| 813 | $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@) |
| 814 | |
| 815 | none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD = \ |
| 816 | $(TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@) |
| 817 | |
| 818 | none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS = \ |
| 819 | $(TOOL_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 820 | |
| 821 | none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK = \ |
| 822 | $(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \ |
| 823 | @VALT_LOAD_ADDRESS_PRI@ \ |
| 824 | $(LINK) \ |
| 825 | $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) \ |
| 826 | $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS) |
| 827 | |
| 828 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = \ |
| 829 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(NONE_SOURCES_COMMON) |
| 830 | |
| 831 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS = \ |
| 832 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) |
| 833 | |
| 834 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS = \ |
| 835 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) |
| 836 | |
| 837 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = \ |
| 838 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@) |
| 839 | |
| 840 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD = \ |
| 841 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@) |
| 842 | |
| 843 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS = \ |
| 844 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(TOOL_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) |
| 845 | |
| 846 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK = \ |
| 847 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \ |
| 848 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ @VALT_LOAD_ADDRESS_SEC@ \ |
| 849 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(LINK) \ |
| 850 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) \ |
| 851 | @VGCONF_HAVE_PLATFORM_SEC_TRUE@ $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS) |
| 852 | |
| 853 | all: all-recursive |
| 854 | |
| 855 | .SUFFIXES: |
| 856 | .SUFFIXES: .c .o .obj |
| 857 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.tool.am $(top_srcdir)/Makefile.all.am $(am__configure_deps) |
| 858 | @for dep in $?; do \ |
| 859 | case '$(am__configure_deps)' in \ |
| 860 | *$$dep*) \ |
| 861 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ |
| 862 | && { if test -f $@; then exit 0; else break; fi; }; \ |
| 863 | exit 1;; \ |
| 864 | esac; \ |
| 865 | done; \ |
| 866 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign none/Makefile'; \ |
| 867 | $(am__cd) $(top_srcdir) && \ |
| 868 | $(AUTOMAKE) --foreign none/Makefile |
| 869 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 870 | @case '$?' in \ |
| 871 | *config.status*) \ |
| 872 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
| 873 | *) \ |
| 874 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ |
| 875 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ |
| 876 | esac; |
| 877 | $(top_srcdir)/Makefile.tool.am $(top_srcdir)/Makefile.all.am $(am__empty): |
| 878 | |
| 879 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
| 880 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
| 881 | |
| 882 | $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) |
| 883 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
| 884 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) |
| 885 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
| 886 | $(am__aclocal_m4_deps): |
| 887 | |
| 888 | clean-noinstPROGRAMS: |
| 889 | -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) |
| 890 | |
| 891 | none-@VGCONF_ARCH_PRI@-@VGCONF_OS@$(EXEEXT): $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS) $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES) $(EXTRA_none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES) |
| 892 | @rm -f none-@VGCONF_ARCH_PRI@-@VGCONF_OS@$(EXEEXT) |
| 893 | $(AM_V_GEN)$(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK) $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_OBJECTS) $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD) $(LIBS) |
| 894 | |
| 895 | none-@VGCONF_ARCH_SEC@-@VGCONF_OS@$(EXEEXT): $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS) $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES) $(EXTRA_none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES) |
| 896 | @rm -f none-@VGCONF_ARCH_SEC@-@VGCONF_OS@$(EXEEXT) |
| 897 | $(AM_V_GEN)$(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK) $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_OBJECTS) $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD) $(LIBS) |
| 898 | |
| 899 | mostlyclean-compile: |
| 900 | -rm -f *.$(OBJEXT) |
| 901 | |
| 902 | distclean-compile: |
| 903 | -rm -f *.tab.c |
| 904 | |
| 905 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.Po@am__quote@ |
| 906 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.Po@am__quote@ |
| 907 | |
| 908 | .c.o: |
| 909 | @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ |
| 910 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ |
| 911 | @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po |
| 912 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
| 913 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 914 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< |
| 915 | |
| 916 | .c.obj: |
| 917 | @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ |
| 918 | @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ |
| 919 | @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po |
| 920 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
| 921 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 922 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` |
| 923 | |
| 924 | none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.o: nl_main.c |
| 925 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -MT none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.o -MD -MP -MF $(DEPDIR)/none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.Tpo -c -o none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.o `test -f 'nl_main.c' || echo '$(srcdir)/'`nl_main.c |
| 926 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.Tpo $(DEPDIR)/none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.Po |
| 927 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='nl_main.c' object='none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.o' libtool=no @AMDEPBACKSLASH@ |
| 928 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 929 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -c -o none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.o `test -f 'nl_main.c' || echo '$(srcdir)/'`nl_main.c |
| 930 | |
| 931 | none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.obj: nl_main.c |
| 932 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -MT none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.obj -MD -MP -MF $(DEPDIR)/none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.Tpo -c -o none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.obj `if test -f 'nl_main.c'; then $(CYGPATH_W) 'nl_main.c'; else $(CYGPATH_W) '$(srcdir)/nl_main.c'; fi` |
| 933 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.Tpo $(DEPDIR)/none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.Po |
| 934 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='nl_main.c' object='none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.obj' libtool=no @AMDEPBACKSLASH@ |
| 935 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 936 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(none_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -c -o none_@VGCONF_ARCH_PRI@_@VGCONF_OS@-nl_main.obj `if test -f 'nl_main.c'; then $(CYGPATH_W) 'nl_main.c'; else $(CYGPATH_W) '$(srcdir)/nl_main.c'; fi` |
| 937 | |
| 938 | none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.o: nl_main.c |
| 939 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -MT none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.o -MD -MP -MF $(DEPDIR)/none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.Tpo -c -o none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.o `test -f 'nl_main.c' || echo '$(srcdir)/'`nl_main.c |
| 940 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.Tpo $(DEPDIR)/none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.Po |
| 941 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='nl_main.c' object='none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.o' libtool=no @AMDEPBACKSLASH@ |
| 942 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 943 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -c -o none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.o `test -f 'nl_main.c' || echo '$(srcdir)/'`nl_main.c |
| 944 | |
| 945 | none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.obj: nl_main.c |
| 946 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -MT none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.obj -MD -MP -MF $(DEPDIR)/none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.Tpo -c -o none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.obj `if test -f 'nl_main.c'; then $(CYGPATH_W) 'nl_main.c'; else $(CYGPATH_W) '$(srcdir)/nl_main.c'; fi` |
| 947 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.Tpo $(DEPDIR)/none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.Po |
| 948 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='nl_main.c' object='none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.obj' libtool=no @AMDEPBACKSLASH@ |
| 949 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 950 | @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS) $(CPPFLAGS) $(none_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) $(CFLAGS) -c -o none_@VGCONF_ARCH_SEC@_@VGCONF_OS@-nl_main.obj `if test -f 'nl_main.c'; then $(CYGPATH_W) 'nl_main.c'; else $(CYGPATH_W) '$(srcdir)/nl_main.c'; fi` |
| 951 | |
| 952 | # This directory's subdirectories are mostly independent; you can cd |
| 953 | # into them and run 'make' without going through this Makefile. |
| 954 | # To change the values of 'make' variables: instead of editing Makefiles, |
| 955 | # (1) if the variable is set in 'config.status', edit 'config.status' |
| 956 | # (which will cause the Makefiles to be regenerated when you run 'make'); |
| 957 | # (2) otherwise, pass the desired values on the 'make' command line. |
| 958 | $(am__recursive_targets): |
| 959 | @fail=; \ |
| 960 | if $(am__make_keepgoing); then \ |
| 961 | failcom='fail=yes'; \ |
| 962 | else \ |
| 963 | failcom='exit 1'; \ |
| 964 | fi; \ |
| 965 | dot_seen=no; \ |
| 966 | target=`echo $@ | sed s/-recursive//`; \ |
| 967 | case "$@" in \ |
| 968 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
| 969 | *) list='$(SUBDIRS)' ;; \ |
| 970 | esac; \ |
| 971 | for subdir in $$list; do \ |
| 972 | echo "Making $$target in $$subdir"; \ |
| 973 | if test "$$subdir" = "."; then \ |
| 974 | dot_seen=yes; \ |
| 975 | local_target="$$target-am"; \ |
| 976 | else \ |
| 977 | local_target="$$target"; \ |
| 978 | fi; \ |
| 979 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
| 980 | || eval $$failcom; \ |
| 981 | done; \ |
| 982 | if test "$$dot_seen" = "no"; then \ |
| 983 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
| 984 | fi; test -z "$$fail" |
| 985 | |
| 986 | ID: $(am__tagged_files) |
| 987 | $(am__define_uniq_tagged_files); mkid -fID $$unique |
| 988 | tags: tags-recursive |
| 989 | TAGS: tags |
| 990 | |
| 991 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
| 992 | set x; \ |
| 993 | here=`pwd`; \ |
| 994 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ |
| 995 | include_option=--etags-include; \ |
| 996 | empty_fix=.; \ |
| 997 | else \ |
| 998 | include_option=--include; \ |
| 999 | empty_fix=; \ |
| 1000 | fi; \ |
| 1001 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 1002 | if test "$$subdir" = .; then :; else \ |
| 1003 | test ! -f $$subdir/TAGS || \ |
| 1004 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ |
| 1005 | fi; \ |
| 1006 | done; \ |
| 1007 | $(am__define_uniq_tagged_files); \ |
| 1008 | shift; \ |
| 1009 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ |
| 1010 | test -n "$$unique" || unique=$$empty_fix; \ |
| 1011 | if test $$# -gt 0; then \ |
| 1012 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 1013 | "$$@" $$unique; \ |
| 1014 | else \ |
| 1015 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 1016 | $$unique; \ |
| 1017 | fi; \ |
| 1018 | fi |
| 1019 | ctags: ctags-recursive |
| 1020 | |
| 1021 | CTAGS: ctags |
| 1022 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) |
| 1023 | $(am__define_uniq_tagged_files); \ |
| 1024 | test -z "$(CTAGS_ARGS)$$unique" \ |
| 1025 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
| 1026 | $$unique |
| 1027 | |
| 1028 | GTAGS: |
| 1029 | here=`$(am__cd) $(top_builddir) && pwd` \ |
| 1030 | && $(am__cd) $(top_srcdir) \ |
| 1031 | && gtags -i $(GTAGS_ARGS) "$$here" |
| 1032 | cscopelist: cscopelist-recursive |
| 1033 | |
| 1034 | cscopelist-am: $(am__tagged_files) |
| 1035 | list='$(am__tagged_files)'; \ |
| 1036 | case "$(srcdir)" in \ |
| 1037 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ |
| 1038 | *) sdir=$(subdir)/$(srcdir) ;; \ |
| 1039 | esac; \ |
| 1040 | for i in $$list; do \ |
| 1041 | if test -f "$$i"; then \ |
| 1042 | echo "$(subdir)/$$i"; \ |
| 1043 | else \ |
| 1044 | echo "$$sdir/$$i"; \ |
| 1045 | fi; \ |
| 1046 | done >> $(top_builddir)/cscope.files |
| 1047 | |
| 1048 | distclean-tags: |
| 1049 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
| 1050 | |
| 1051 | distdir: $(DISTFILES) |
| 1052 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 1053 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
| 1054 | list='$(DISTFILES)'; \ |
| 1055 | dist_files=`for file in $$list; do echo $$file; done | \ |
| 1056 | sed -e "s|^$$srcdirstrip/||;t" \ |
| 1057 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ |
| 1058 | case $$dist_files in \ |
| 1059 | */*) $(MKDIR_P) `echo "$$dist_files" | \ |
| 1060 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ |
| 1061 | sort -u` ;; \ |
| 1062 | esac; \ |
| 1063 | for file in $$dist_files; do \ |
| 1064 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
| 1065 | if test -d $$d/$$file; then \ |
| 1066 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ |
| 1067 | if test -d "$(distdir)/$$file"; then \ |
| 1068 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 1069 | fi; \ |
| 1070 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
| 1071 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ |
| 1072 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ |
| 1073 | fi; \ |
| 1074 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ |
| 1075 | else \ |
| 1076 | test -f "$(distdir)/$$file" \ |
| 1077 | || cp -p $$d/$$file "$(distdir)/$$file" \ |
| 1078 | || exit 1; \ |
| 1079 | fi; \ |
| 1080 | done |
| 1081 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ |
| 1082 | if test "$$subdir" = .; then :; else \ |
| 1083 | $(am__make_dryrun) \ |
| 1084 | || test -d "$(distdir)/$$subdir" \ |
| 1085 | || $(MKDIR_P) "$(distdir)/$$subdir" \ |
| 1086 | || exit 1; \ |
| 1087 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ |
| 1088 | $(am__relativize); \ |
| 1089 | new_distdir=$$reldir; \ |
| 1090 | dir1=$$subdir; dir2="$(top_distdir)"; \ |
| 1091 | $(am__relativize); \ |
| 1092 | new_top_distdir=$$reldir; \ |
| 1093 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ |
| 1094 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ |
| 1095 | ($(am__cd) $$subdir && \ |
| 1096 | $(MAKE) $(AM_MAKEFLAGS) \ |
| 1097 | top_distdir="$$new_top_distdir" \ |
| 1098 | distdir="$$new_distdir" \ |
| 1099 | am__remove_distdir=: \ |
| 1100 | am__skip_length_check=: \ |
| 1101 | am__skip_mode_fix=: \ |
| 1102 | distdir) \ |
| 1103 | || exit 1; \ |
| 1104 | fi; \ |
| 1105 | done |
| 1106 | check-am: all-am |
| 1107 | check: check-recursive |
| 1108 | all-am: Makefile $(PROGRAMS) all-local |
| 1109 | installdirs: installdirs-recursive |
| 1110 | installdirs-am: |
| 1111 | install: install-recursive |
| 1112 | install-exec: install-exec-recursive |
| 1113 | install-data: install-data-recursive |
| 1114 | uninstall: uninstall-recursive |
| 1115 | |
| 1116 | install-am: all-am |
| 1117 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
| 1118 | |
| 1119 | installcheck: installcheck-recursive |
| 1120 | install-strip: |
| 1121 | if test -z '$(STRIP)'; then \ |
| 1122 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 1123 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
| 1124 | install; \ |
| 1125 | else \ |
| 1126 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 1127 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
| 1128 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ |
| 1129 | fi |
| 1130 | mostlyclean-generic: |
| 1131 | |
| 1132 | clean-generic: |
| 1133 | |
| 1134 | distclean-generic: |
| 1135 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
| 1136 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
| 1137 | |
| 1138 | maintainer-clean-generic: |
| 1139 | @echo "This command is intended for maintainers to use" |
| 1140 | @echo "it deletes files that may require special tools to rebuild." |
| 1141 | clean: clean-recursive |
| 1142 | |
| 1143 | clean-am: clean-generic clean-local clean-noinstPROGRAMS \ |
| 1144 | mostlyclean-am |
| 1145 | |
| 1146 | distclean: distclean-recursive |
| 1147 | -rm -rf ./$(DEPDIR) |
| 1148 | -rm -f Makefile |
| 1149 | distclean-am: clean-am distclean-compile distclean-generic \ |
| 1150 | distclean-tags |
| 1151 | |
| 1152 | dvi: dvi-recursive |
| 1153 | |
| 1154 | dvi-am: |
| 1155 | |
| 1156 | html: html-recursive |
| 1157 | |
| 1158 | html-am: |
| 1159 | |
| 1160 | info: info-recursive |
| 1161 | |
| 1162 | info-am: |
| 1163 | |
| 1164 | install-data-am: |
| 1165 | |
| 1166 | install-dvi: install-dvi-recursive |
| 1167 | |
| 1168 | install-dvi-am: |
| 1169 | |
| 1170 | install-exec-am: install-exec-local |
| 1171 | |
| 1172 | install-html: install-html-recursive |
| 1173 | |
| 1174 | install-html-am: |
| 1175 | |
| 1176 | install-info: install-info-recursive |
| 1177 | |
| 1178 | install-info-am: |
| 1179 | |
| 1180 | install-man: |
| 1181 | |
| 1182 | install-pdf: install-pdf-recursive |
| 1183 | |
| 1184 | install-pdf-am: |
| 1185 | |
| 1186 | install-ps: install-ps-recursive |
| 1187 | |
| 1188 | install-ps-am: |
| 1189 | |
| 1190 | installcheck-am: |
| 1191 | |
| 1192 | maintainer-clean: maintainer-clean-recursive |
| 1193 | -rm -rf ./$(DEPDIR) |
| 1194 | -rm -f Makefile |
| 1195 | maintainer-clean-am: distclean-am maintainer-clean-generic |
| 1196 | |
| 1197 | mostlyclean: mostlyclean-recursive |
| 1198 | |
| 1199 | mostlyclean-am: mostlyclean-compile mostlyclean-generic |
| 1200 | |
| 1201 | pdf: pdf-recursive |
| 1202 | |
| 1203 | pdf-am: |
| 1204 | |
| 1205 | ps: ps-recursive |
| 1206 | |
| 1207 | ps-am: |
| 1208 | |
| 1209 | uninstall-am: uninstall-local |
| 1210 | |
| 1211 | .MAKE: $(am__recursive_targets) install-am install-strip |
| 1212 | |
| 1213 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \ |
| 1214 | check check-am clean clean-generic clean-local \ |
| 1215 | clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \ |
| 1216 | distclean-compile distclean-generic distclean-tags distdir dvi \ |
| 1217 | dvi-am html html-am info info-am install install-am \ |
| 1218 | install-data install-data-am install-dvi install-dvi-am \ |
| 1219 | install-exec install-exec-am install-exec-local install-html \ |
| 1220 | install-html-am install-info install-info-am install-man \ |
| 1221 | install-pdf install-pdf-am install-ps install-ps-am \ |
| 1222 | install-strip installcheck installcheck-am installdirs \ |
| 1223 | installdirs-am maintainer-clean maintainer-clean-generic \ |
| 1224 | mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ |
| 1225 | ps ps-am tags tags-am uninstall uninstall-am uninstall-local |
| 1226 | |
| 1227 | .PRECIOUS: Makefile |
| 1228 | |
| 1229 | |
| 1230 | # This used to be required when Vex had a handwritten Makefile. It |
| 1231 | # shouldn't be needed any more, though. |
| 1232 | |
| 1233 | #---------------------------------------------------------------------------- |
| 1234 | # noinst_PROGRAMS and noinst_DSYMS targets |
| 1235 | #---------------------------------------------------------------------------- |
| 1236 | |
| 1237 | # On Darwin, for a program 'p', the DWARF debug info is stored in the |
| 1238 | # directory 'p.dSYM'. This must be generated after the executable is |
| 1239 | # created, with 'dsymutil p'. We could redefine LINK with a script that |
| 1240 | # executes 'dsymutil' after linking, but that's a pain. Instead we use this |
| 1241 | # hook so that every time "make check" is run, we subsequently invoke |
| 1242 | # 'dsymutil' on all the executables that lack a .dSYM directory, or that are |
| 1243 | # newer than their corresponding .dSYM directory. |
| 1244 | build-noinst_DSYMS: $(noinst_DSYMS) |
| 1245 | for f in $(noinst_DSYMS); do \ |
| 1246 | if [ ! -e $$f.dSYM -o $$f -nt $$f.dSYM ] ; then \ |
| 1247 | echo "dsymutil $$f"; \ |
| 1248 | dsymutil $$f; \ |
| 1249 | fi; \ |
| 1250 | done |
| 1251 | |
| 1252 | # This is used by coregrind/Makefile.am and Makefile.tool.am for doing |
| 1253 | # "in-place" installs. It copies $(noinst_PROGRAMS) into $inplacedir. |
| 1254 | # It needs to be depended on by an 'all-local' rule. |
| 1255 | inplace-noinst_PROGRAMS: $(noinst_PROGRAMS) |
| 1256 | mkdir -p $(inplacedir); \ |
| 1257 | for f in $(noinst_PROGRAMS) ; do \ |
| 1258 | rm -f $(inplacedir)/$$f; \ |
| 1259 | ln -f -s ../$(subdir)/$$f $(inplacedir); \ |
| 1260 | done |
| 1261 | |
| 1262 | # Similar to inplace-noinst_PROGRAMS |
| 1263 | inplace-noinst_DSYMS: build-noinst_DSYMS |
| 1264 | mkdir -p $(inplacedir); \ |
| 1265 | for f in $(noinst_DSYMS); do \ |
| 1266 | rm -f $(inplacedir)/$$f.dSYM; \ |
| 1267 | ln -f -s ../$(subdir)/$$f.dSYM $(inplacedir); \ |
| 1268 | done |
| 1269 | |
| 1270 | # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing |
| 1271 | # "make install". It copies $(noinst_PROGRAMS) into $prefix/lib/valgrind/. |
| 1272 | # It needs to be depended on by an 'install-exec-local' rule. |
| 1273 | install-noinst_PROGRAMS: $(noinst_PROGRAMS) |
| 1274 | $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ |
| 1275 | for f in $(noinst_PROGRAMS); do \ |
| 1276 | $(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \ |
| 1277 | done |
| 1278 | |
| 1279 | # This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing |
| 1280 | # "make uninstall". It removes $(noinst_PROGRAMS) from $prefix/lib/valgrind/. |
| 1281 | # It needs to be depended on by an 'uninstall-local' rule. |
| 1282 | uninstall-noinst_PROGRAMS: |
| 1283 | for f in $(noinst_PROGRAMS); do \ |
| 1284 | rm -f $(DESTDIR)$(pkglibdir)/$$f; \ |
| 1285 | done |
| 1286 | |
| 1287 | # Similar to install-noinst_PROGRAMS. |
| 1288 | # Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with |
| 1289 | # directories. XXX: not sure whether the resulting permissions will be |
| 1290 | # correct when using 'cp -R'... |
| 1291 | install-noinst_DSYMS: build-noinst_DSYMS |
| 1292 | $(mkinstalldirs) $(DESTDIR)$(pkglibdir); \ |
| 1293 | for f in $(noinst_DSYMS); do \ |
| 1294 | cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \ |
| 1295 | done |
| 1296 | |
| 1297 | # Similar to uninstall-noinst_PROGRAMS. |
| 1298 | uninstall-noinst_DSYMS: |
| 1299 | for f in $(noinst_DSYMS); do \ |
| 1300 | rm -f $(DESTDIR)$(pkglibdir)/$$f.dSYM; \ |
| 1301 | done |
| 1302 | |
| 1303 | # This needs to be depended on by a 'clean-local' rule. |
| 1304 | clean-noinst_DSYMS: |
| 1305 | for f in $(noinst_DSYMS); do \ |
| 1306 | rm -rf $$f.dSYM; \ |
| 1307 | done |
| 1308 | |
| 1309 | #---------------------------------------------------------------------------- |
| 1310 | # General stuff |
| 1311 | #---------------------------------------------------------------------------- |
| 1312 | |
| 1313 | all-local: inplace-noinst_PROGRAMS inplace-noinst_DSYMS |
| 1314 | |
| 1315 | clean-local: clean-noinst_DSYMS |
| 1316 | |
| 1317 | install-exec-local: install-noinst_PROGRAMS install-noinst_DSYMS |
| 1318 | |
| 1319 | uninstall-local: uninstall-noinst_PROGRAMS uninstall-noinst_DSYMS |
| 1320 | |
| 1321 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 1322 | # Otherwise a system limit (for SysV at least) may be exceeded. |
| 1323 | .NOEXPORT: |