2016-11-10 13:04:39 +00:00
# Makefile.in generated by automake 1.14.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@ S E T _ M A K E @
#
# Conditional submodule for llvm
#
# make reset-llvm will checkout a version of llvm which is suitable for this version of mono
# into $top_srcdir/llvm/llvm.
#
#
# This is a python script and a set of make targets to implement support for conditional submodules
# Set the SUBMODULES_CONFIG_FILE make variable to the srcdir path of a SUBMODULES.json file which contains information about the submodules.
#
VPATH = @srcdir@
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
am__make_running_with_option = \
case $$ { target_option-} in \
?) ; ; \
*) echo "am__make_running_with_option: internal error: invalid" \
" target option ' $$ {target_option-}' specified " >& 2; \
exit 1; ; \
esac ; \
has_opt = no; \
sane_makeflags = $$ MAKEFLAGS; \
if $( am__is_gnu_make) ; then \
sane_makeflags = $$ MFLAGS; \
else \
case $$ MAKEFLAGS in \
*\\ [ \ \ ] *) \
bs = \\ ; \
sane_makeflags = ` printf '%s\n' " $$ MAKEFLAGS " \
| sed " s/ $$ bs $$ bs[ $$ bs $$ bs ]*//g " ` ; ; \
esac ; \
fi ; \
skip_next = no; \
strip_trailopt ( ) \
{ \
flg = ` printf '%s\n' " $$ flg " | sed " s/ $$ 1.* $$ // " ` ; \
} ; \
for flg in $$ sane_makeflags; do \
test $$ skip_next = yes && { skip_next = no; continue ; } ; \
case $$ flg in \
*= *| --*) continue ; ; \
-*I) strip_trailopt 'I' ; skip_next = yes; ; \
-*I?*) strip_trailopt 'I' ; ; \
-*O) strip_trailopt 'O' ; skip_next = yes; ; \
-*O?*) strip_trailopt 'O' ; ; \
-*l) strip_trailopt 'l' ; skip_next = yes; ; \
-*l?*) strip_trailopt 'l' ; ; \
-[ dEDm] ) skip_next = yes; ; \
-[ JT] ) skip_next = yes; ; \
esac ; \
case $$ flg in \
*$$ target_option*) has_opt = yes; break; ; \
esac ; \
done ; \
test $$ has_opt = yes
am__make_dryrun = ( target_option = n; $( am__make_running_with_option) )
am__make_keepgoing = ( target_option = k; $( am__make_running_with_option) )
pkgdatadir = $( datadir) /@PACKAGE@
pkgincludedir = $( includedir) /@PACKAGE@
pkglibdir = $( libdir) /@PACKAGE@
pkglibexecdir = $( libexecdir) /@PACKAGE@
am__cd = CDPATH = " $$ {ZSH_VERSION+.} $( PATH_SEPARATOR) " && cd
install_sh_DATA = $( install_sh) -c -m 644
install_sh_PROGRAM = $( install_sh) -c
install_sh_SCRIPT = $( install_sh) -c
INSTALL_HEADER = $( INSTALL_DATA)
transform = $( program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
2018-10-09 08:20:59 +00:00
DIST_COMMON = $( srcdir) /build.mk \
$( top_srcdir) /scripts/submodules/versions.mk \
2016-11-10 13:04:39 +00:00
$( srcdir) /Makefile.in $( srcdir) /Makefile.am \
$( top_srcdir) /mkinstalldirs
subdir = llvm
ACLOCAL_M4 = $( top_srcdir) /aclocal.m4
2018-04-24 09:31:23 +00:00
am__aclocal_m4_deps = $( top_srcdir) /m4/ax_check_compile_flag.m4 \
$( top_srcdir) /m4/libtool.m4 $( top_srcdir) /m4/ltoptions.m4 \
$( top_srcdir) /m4/ltsugar.m4 $( top_srcdir) /m4/ltversion.m4 \
$( top_srcdir) /m4/lt~obsolete.m4 $( top_srcdir) /m4/nls.m4 \
$( top_srcdir) /m4/po.m4 $( top_srcdir) /m4/progtest.m4 \
$( top_srcdir) /acinclude.m4 $( top_srcdir) /configure.ac
2016-11-10 13:04:39 +00:00
am__configure_deps = $( am__aclocal_m4_deps) $( CONFIGURE_DEPENDENCIES) \
$( ACLOCAL_M4)
mkinstalldirs = $( SHELL) $( top_srcdir) /mkinstalldirs
CONFIG_HEADER = $( top_builddir) /config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
AM_V_P = $( am__v_P_@AM_V@)
am__v_P_ = $( am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $( am__v_GEN_@AM_V@)
am__v_GEN_ = $( am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo " GEN " $@ ;
am__v_GEN_1 =
AM_V_at = $( am__v_at_@AM_V@)
am__v_at_ = $( am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
SOURCES =
DIST_SOURCES =
am__can_run_installinfo = \
case $$ AM_UPDATE_INFO_DIR in \
n| no| NO) false; ; \
*) ( install-info --version) >/dev/null 2>& 1; ; \
esac
am__tagged_files = $( HEADERS) $( SOURCES) $( TAGS_FILES) $( LISP)
DISTFILES = $( DIST_COMMON) $( DIST_SOURCES) $( TEXINFOS) $( EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AOT_BUILD_FLAGS = @AOT_BUILD_FLAGS@
AOT_RUN_FLAGS = @AOT_RUN_FLAGS@
API_VER = @API_VER@
AR = @AR@
AS = @AS@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BOEHM_DEFINES = @BOEHM_DEFINES@
2017-10-19 20:04:20 +00:00
BREAKPOINT = @BREAKPOINT@
2016-11-10 13:04:39 +00:00
BTLS_ARCH = @BTLS_ARCH@
BTLS_CFLAGS = @BTLS_CFLAGS@
BTLS_CMAKE_ARGS = @BTLS_CMAKE_ARGS@
BTLS_PLATFORM = @BTLS_PLATFORM@
BTLS_ROOT = @BTLS_ROOT@
BUILD_EXEEXT = @BUILD_EXEEXT@
CC = @CC@
CCAS = @CCAS@
CCASDEPMODE = @CCASDEPMODE@
CCASFLAGS = @CCASFLAGS@
CCDEPMODE = @CCDEPMODE@
CC_FOR_BUILD = @CC_FOR_BUILD@
CFLAGS = @CFLAGS@
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
2018-10-09 08:20:59 +00:00
CMAKE := $( or $( CMAKE) ,$( shell which cmake) )
2016-11-10 13:04:39 +00:00
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
2017-04-10 11:41:01 +00:00
CSC = @CSC@
2016-11-10 13:04:39 +00:00
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
2018-10-09 08:20:59 +00:00
CXX_ADD_CFLAGS = @CXX_ADD_CFLAGS@
CXX_REMOVE_CFLAGS = @CXX_REMOVE_CFLAGS@
2016-11-10 13:04:39 +00:00
CYGPATH_W = @CYGPATH_W@
DEFAULT_PROFILE = @DEFAULT_PROFILE@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DOLT_BASH = @DOLT_BASH@
DSYMUTIL = @DSYMUTIL@
DTRACE = @DTRACE@
DTRACEFLAGS = @DTRACEFLAGS@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
2018-10-09 08:20:59 +00:00
EXTERNAL_LLVM_CONFIG = @EXTERNAL_LLVM_CONFIG@
2016-11-10 13:04:39 +00:00
FGREP = @FGREP@
GDKX11 = @GDKX11@
GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
GLIB_CFLAGS = @GLIB_CFLAGS@
GMSGFMT = @GMSGFMT@
GMSGFMT_015 = @GMSGFMT_015@
2017-10-19 20:04:20 +00:00
GNUC_NORETURN = @GNUC_NORETURN@
GNUC_PRETTY = @GNUC_PRETTY@
GNUC_UNUSED = @GNUC_UNUSED@
2016-11-10 13:04:39 +00:00
GREP = @GREP@
2017-10-19 20:04:20 +00:00
GSIZE = @GSIZE@
GSIZE_FORMAT = @GSIZE_FORMAT@
2018-08-07 15:19:03 +00:00
GSSIZE = @GSSIZE@
2016-11-10 13:04:39 +00:00
GTKX11 = @GTKX11@
2017-10-19 20:04:20 +00:00
HAVE_ALLOCA_H = @HAVE_ALLOCA_H@
2016-11-10 13:04:39 +00:00
HAVE_MSGFMT = @HAVE_MSGFMT@
2018-05-10 08:37:03 +00:00
HAVE_NINJA = @HAVE_NINJA@
2016-11-10 13:04:39 +00:00
HOST_CC = @HOST_CC@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INTL = @INTL@
INVARIANT_AOT_OPTIONS = @INVARIANT_AOT_OPTIONS@
2018-04-24 09:31:23 +00:00
JEMALLOC_AUTOCONF_FLAGS = @JEMALLOC_AUTOCONF_FLAGS@
JEMALLOC_CFLAGS = @JEMALLOC_CFLAGS@
JEMALLOC_CPPFLAGS = @JEMALLOC_CPPFLAGS@
JEMALLOC_LDFLAGS = @JEMALLOC_LDFLAGS@
2016-11-10 13:04:39 +00:00
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBC = @LIBC@
LIBGC_CPPFLAGS = @LIBGC_CPPFLAGS@
LIBGC_LIBS = @LIBGC_LIBS@
LIBGC_STATIC_LIBS = @LIBGC_STATIC_LIBS@
LIBMONO_LA = @LIBMONO_LA@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
2018-10-09 08:20:59 +00:00
LLVM_CODEGEN_LIBS = @LLVM_CODEGEN_LIBS@
2016-11-10 13:04:39 +00:00
LN_S = @LN_S@
LTCOMPILE = @LTCOMPILE@
LTCXXCOMPILE = @LTCXXCOMPILE@
LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
2017-04-10 11:41:01 +00:00
MONO_CORLIB_VERSION = @MONO_CORLIB_VERSION@
2016-11-10 13:04:39 +00:00
MONO_DL_NEED_USCORE = @MONO_DL_NEED_USCORE@
2018-04-24 09:31:23 +00:00
MONO_JEMALLOC_ASSERT = @MONO_JEMALLOC_ASSERT@
MONO_JEMALLOC_DEFAULT = @MONO_JEMALLOC_DEFAULT@
MONO_JEMALLOC_ENABLED = @MONO_JEMALLOC_ENABLED@
2016-11-10 13:04:39 +00:00
MSGFMT = @MSGFMT@
MSGFMT_015 = @MSGFMT_015@
MSGMERGE = @MSGMERGE@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
2017-10-19 20:04:20 +00:00
ORDER = @ORDER@
OS = @OS@
2016-11-10 13:04:39 +00:00
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
2017-10-19 20:04:20 +00:00
PATHSEP = @PATHSEP@
2016-11-10 13:04:39 +00:00
PATH_SEPARATOR = @PATH_SEPARATOR@
2017-10-19 20:04:20 +00:00
PIDTYPE = @PIDTYPE@
2016-11-10 13:04:39 +00:00
PKG_CONFIG = @PKG_CONFIG@
PLATFORM_AOT_SUFFIX = @PLATFORM_AOT_SUFFIX@
RANLIB = @RANLIB@
2017-10-19 20:04:20 +00:00
SEARCHSEP = @SEARCHSEP@
2016-11-10 13:04:39 +00:00
SED = @SED@
SET_MAKE = @SET_MAKE@
SGEN_DEFINES = @SGEN_DEFINES@
SHARED_CFLAGS = @SHARED_CFLAGS@
SHELL = @SHELL@
2017-10-19 20:04:20 +00:00
SIZEOF_VOID_P = @SIZEOF_VOID_P@
2016-11-10 13:04:39 +00:00
SQLITE = @SQLITE@
SQLITE3 = @SQLITE3@
STRIP = @STRIP@
TEST_PROFILE = @TEST_PROFILE@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
VTUNE_CFLAGS = @VTUNE_CFLAGS@
VTUNE_LIBS = @VTUNE_LIBS@
WERROR_CFLAGS = @WERROR_CFLAGS@
X11 = @X11@
XATTR_LIB = @XATTR_LIB@
XGETTEXT = @XGETTEXT@
XGETTEXT_015 = @XGETTEXT_015@
XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
XINERAMA = @XINERAMA@
XMKMF = @XMKMF@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
arch_target = @arch_target@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
docs_dir = @docs_dir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
export_ldflags = @export_ldflags@
extra_runtime_ldflags = @extra_runtime_ldflags@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
ikvm_native_dir = @ikvm_native_dir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
libgc_dir = @libgc_dir@
libgdiplus_install_loc = @libgdiplus_install_loc@
libgdiplus_loc = @libgdiplus_loc@
libmono_cflags = @libmono_cflags@
libmono_ldflags = @libmono_ldflags@
libsuffix = @libsuffix@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mcs_topdir = @mcs_topdir@
mcs_topdir_from_srcdir = @mcs_topdir_from_srcdir@
mkdir_p = @mkdir_p@
mono_build_root = @mono_build_root@
mono_cfg_dir = @mono_cfg_dir@
mono_runtime = @mono_runtime@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
reloc_libdir = @reloc_libdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target = @target@
target_alias = @target_alias@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
2018-10-09 08:20:59 +00:00
EXTRA_DIST = SUBMODULES.json build.mk build_llvm_config.sh
@ E N A B L E _ L L V M _ T R U E @ @ H O S T _ W I N 3 2 _ F A L S E @ llvm_config = llvm-config
@ E N A B L E _ L L V M _ T R U E @ @ H O S T _ W I N 3 2 _ T R U E @ llvm_config = llvm-config.exe
@ E N A B L E _ L L V M _ T R U E @ @ H A V E _ Z L I B _ F A L S E @ llvm_extra_libs =
@ E N A B L E _ L L V M _ T R U E @ @ H A V E _ Z L I B _ T R U E @ llvm_extra_libs = -lz
# FIXME: URL should be http://xamjenkinsartifact.blob.core.windows.net/build-package-osx-llvm-$(NEEDED_LLVM_BRANCH)/llvm-osx64-$(NEEDED_LLVM_VERSION).tar.gz
LLVM_DOWNLOAD_LOCATION = " http://xamjenkinsartifact.blob.core.windows.net/build-package-osx-llvm-release60/llvm-osx64- $( NEEDED_LLVM_VERSION) .tar.gz "
NINJA := $( shell which ninja)
2016-11-10 13:04:39 +00:00
SUBMODULES_CONFIG_FILE = $( top_srcdir) /llvm/SUBMODULES.json
SCRIPT = $( top_srcdir) /scripts/submodules/versions.py
all : all -am
.SUFFIXES :
2018-10-09 08:20:59 +00:00
$(srcdir)/Makefile.in : @MAINTAINER_MODE_TRUE @ $( srcdir ) /Makefile .am $( srcdir ) /build .mk $( top_srcdir ) /scripts /submodules /versions .mk $( am__configure_deps )
2016-11-10 13:04:39 +00:00
@for dep in $? ; do \
case '$(am__configure_deps)' in \
*$$ dep*) \
( cd $( top_builddir) && $( MAKE) $( AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@ ; then exit 0; else break; fi ; } ; \
exit 1; ; \
esac ; \
done ; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign llvm/Makefile' ; \
$( am__cd) $( top_srcdir) && \
$( AUTOMAKE) --foreign llvm/Makefile
.PRECIOUS : Makefile
Makefile : $( srcdir ) /Makefile .in $( top_builddir ) /config .status
@case '$?' in \
*config.status*) \
cd $( top_builddir) && $( MAKE) $( AM_MAKEFLAGS) am--refresh; ; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)' ; \
cd $( top_builddir) && $( SHELL) ./config.status $( subdir) /$@ $( am__depfiles_maybe) ; ; \
esac ;
2018-10-09 08:20:59 +00:00
$(srcdir)/build.mk $(top_srcdir)/scripts/submodules/versions.mk :
2016-11-10 13:04:39 +00:00
$(top_builddir)/config.status : $( top_srcdir ) /configure $( CONFIG_STATUS_DEPENDENCIES )
cd $( top_builddir) && $( MAKE) $( AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure : @MAINTAINER_MODE_TRUE @ $( am__configure_deps )
cd $( top_builddir) && $( MAKE) $( AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4) : @MAINTAINER_MODE_TRUE @ $( am__aclocal_m 4_deps )
cd $( top_builddir) && $( MAKE) $( AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps) :
mostlyclean-libtool :
-rm -f *.lo
clean-libtool :
-rm -rf .libs _libs
tags TAGS :
ctags CTAGS :
cscope cscopelist :
distdir : $( DISTFILES )
@srcdirstrip= ` echo " $( srcdir) " | sed 's/[].[^$$\\*]/\\\\&/g' ` ; \
topsrcdirstrip = ` echo " $( top_srcdir) " | sed 's/[].[^$$\\*]/\\\\&/g' ` ; \
list = '$(DISTFILES)' ; \
dist_files = ` for file in $$ list; do echo $$ file; done | \
sed -e " s|^ $$ srcdirstrip/||;t " \
-e " s|^ $$ topsrcdirstrip/| $( top_builddir) /|;t " ` ; \
case $$ dist_files in \
*/*) $( MKDIR_P) ` echo " $$ dist_files " | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ; ; \
esac ; \
for file in $$ dist_files; do \
if test -f $$ file || test -d $$ file; then d = .; else d = $( srcdir) ; fi ; \
if test -d $$ d/$$ file; then \
dir = ` echo " / $$ file " | sed -e 's,/[^/]*$$,,' ` ; \
if test -d " $( distdir) / $$ file " ; then \
find " $( distdir) / $$ file " -type d ! -perm -700 -exec chmod u+rwx { } \; ; \
fi ; \
if test -d $( srcdir) /$$ file && test $$ d != $( srcdir) ; then \
cp -fpR $( srcdir) /$$ file " $( distdir) $$ dir " || exit 1; \
find " $( distdir) / $$ file " -type d ! -perm -700 -exec chmod u+rwx { } \; ; \
fi ; \
cp -fpR $$ d/$$ file " $( distdir) $$ dir " || exit 1; \
else \
test -f " $( distdir) / $$ file " \
|| cp -p $$ d/$$ file " $( distdir) / $$ file " \
|| exit 1; \
fi ; \
done
check-am : all -am
check : check -am
2018-10-09 08:20:59 +00:00
all-am : Makefile all -local
2016-11-10 13:04:39 +00:00
installdirs :
install-exec : install -exec -am
install-data : install -data -am
uninstall : uninstall -am
install-am : all -am
@$( MAKE) $( AM_MAKEFLAGS) install-exec-am install-data-am
installcheck : installcheck -am
install-strip :
if test -z '$(STRIP)' ; then \
$( MAKE) $( AM_MAKEFLAGS) INSTALL_PROGRAM = " $( INSTALL_STRIP_PROGRAM) " \
install_sh_PROGRAM = " $( INSTALL_STRIP_PROGRAM) " INSTALL_STRIP_FLAG = -s \
install; \
else \
$( MAKE) $( AM_MAKEFLAGS) INSTALL_PROGRAM = " $( INSTALL_STRIP_PROGRAM) " \
install_sh_PROGRAM = " $( INSTALL_STRIP_PROGRAM) " INSTALL_STRIP_FLAG = -s \
" INSTALL_PROGRAM_ENV=STRIPPROG=' $( STRIP) ' " install; \
fi
mostlyclean-generic :
clean-generic :
distclean-generic :
-test -z " $( CONFIG_CLEAN_FILES) " || rm -f $( CONFIG_CLEAN_FILES)
-test . = " $( srcdir) " || test -z " $( CONFIG_CLEAN_VPATH_FILES) " || rm -f $( CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic :
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean : clean -am
clean-am : clean -generic clean -libtool clean -local mostlyclean -am
distclean : distclean -am
-rm -f Makefile
distclean-am : clean -am distclean -generic
dvi : dvi -am
dvi-am :
html : html -am
html-am :
info : info -am
info-am :
install-data-am :
install-dvi : install -dvi -am
install-dvi-am :
install-exec-am :
install-html : install -html -am
install-html-am :
install-info : install -info -am
install-info-am :
install-man :
install-pdf : install -pdf -am
install-pdf-am :
install-ps : install -ps -am
install-ps-am :
installcheck-am :
maintainer-clean : maintainer -clean -am
-rm -f Makefile
maintainer-clean-am : distclean -am maintainer -clean -generic
mostlyclean : mostlyclean -am
mostlyclean-am : mostlyclean -generic mostlyclean -libtool
pdf : pdf -am
pdf-am :
ps : ps -am
ps-am :
uninstall-am :
.MAKE : install -am install -strip
2018-10-09 08:20:59 +00:00
.PHONY : all all -am all -local check check -am clean clean -generic \
clean-libtool clean-local cscopelist-am ctags-am distclean \
distclean-generic distclean-libtool distdir dvi dvi-am html \
html-am info info-am install install-am install-data \
install-data-am install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-pdf install-pdf-am \
install-ps install-ps-am install-strip installcheck \
installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic \
mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
uninstall-am
2016-11-10 13:04:39 +00:00
2018-10-09 08:20:59 +00:00
@ENABLE_LLVM_TRUE@@INTERNAL_LLVM_TRUE@all-local : configure -llvm build -llvm install -llvm llvm_config .mk
@ENABLE_LLVM_TRUE@@INTERNAL_LLVM_TRUE@clean-local : clean -llvm clean -llvm -config
@ENABLE_LLVM_TRUE@@INTERNAL_LLVM_TRUE@$(mono_build_root)/llvm/llvm_config.mk : install -llvm
@ E N A B L E _ L L V M _ T R U E @ @ I N T E R N A L _ L L V M _ T R U E @ $( top_srcdir ) / l l v m / b u i l d _ l l v m _ c o n f i g . s h "$(top_srcdir)/llvm/usr/bin/$(llvm_config)" "$(LLVM_CODEGEN_LIBS)" "$(llvm_extra_libs)" > $@
@ENABLE_LLVM_TRUE@@INTERNAL_LLVM_FALSE@all-local : llvm_config .mk
@ENABLE_LLVM_TRUE@@INTERNAL_LLVM_FALSE@clean-local : clean -llvm -config
@ENABLE_LLVM_TRUE@@INTERNAL_LLVM_FALSE@$(mono_build_root)/llvm/llvm_config.mk : $( top_srcdir ) /llvm /Makefile .am
@ E N A B L E _ L L V M _ T R U E @ @ I N T E R N A L _ L L V M _ F A L S E @ $( top_srcdir ) / l l v m / b u i l d _ l l v m _ c o n f i g . s h "$(EXTERNAL_LLVM_CONFIG)" "$(LLVM_CODEGEN_LIBS)" "$(llvm_extra_libs)" > $@
@ENABLE_LLVM_TRUE@llvm_config.mk : $( mono_build_root ) /llvm /llvm_config .mk
@ENABLE_LLVM_TRUE@clean-llvm-config :
@ E N A B L E _ L L V M _ T R U E @ - r m - r f l l v m _ c o n f i g . m k
@ENABLE_LLVM_FALSE@all-local :
@ENABLE_LLVM_FALSE@clean-local :
# Override this so we don't try to re-copy llvm when we install mono
install :
top_srcdir ?= $( abspath $( CURDIR) /..)
LLVM_PATH ?= $( abspath $( top_srcdir) /external/llvm)
LLVM_BUILD ?= $( abspath $( top_srcdir) /llvm/build)
LLVM_PREFIX ?= $( abspath $( top_srcdir) /llvm/usr)
2016-11-10 13:04:39 +00:00
# usage $(call ValidateVersionTemplate (name,MAKEFILE VAR,repo name))
# usage $(call ValidateVersionTemplate (mono,MONO,mono))
d e f i n e V a l i d a t e V e r s i o n T e m p l a t e
#$(eval REPOSITORY_$(2):=$(shell test -z $(3) && echo $(1) || echo "$(3)"))
#$(eval DIRECTORY_$(2):=$(shell python $(SCRIPT) $(SUBMODULES_CONFIG_FILE) get-dir $(1)))
#$(eval DIRECTORY_$(2):=$(shell test -z $(DIRECTORY_$(2)) && echo $(1) || echo $(DIRECTORY_$(2))))
#$(eval MODULE_$(2):=$(shell python $(SCRIPT) $(SUBMODULES_CONFIG_FILE) get-url $(1)))
#$(eval NEEDED_$(2)_VERSION:=$(shell python $(SCRIPT) $(SUBMODULES_CONFIG_FILE) get-rev $(1)))
#$(eval $(2)_BRANCH_AND_REMOTE:=$(shell python $(SCRIPT) $(SUBMODULES_CONFIG_FILE) get-remote-branch $(1)))
#$(eval $(2)_VERSION:=$$$$(shell cd $($(2)_PATH) 2>/dev/null && git rev-parse HEAD ))
#$(eval NEEDED_$(2)_BRANCH:=$(word 2, $(subst /, ,$($(2)_BRANCH_AND_REMOTE))))
#$(eval NEEDED_$(2)_REMOTE:=$(word 1, $(subst /, ,$($(2)_BRANCH_AND_REMOTE))))
#$(eval $(2)_BRANCH:=$$$$(shell cd $($(2)_PATH) 2>/dev/null && git symbolic-ref --short HEAD 2>/dev/null))
validate-$(1) ::
@if test x$$ ( IGNORE_$( 2) _VERSION) = "x" ; then \
if test ! -d $( $( 2) _PATH) ; then \
if test x$$ ( RESET_VERSIONS) != "x" ; then \
$( MAKE) reset-$( 1) || exit 1; \
else \
echo " Your $( 1) checkout is missing, please run 'make reset- $( 1) ' " ; \
touch .validate-versions-failure; \
fi ; \
else \
if test " x $( $( 2) _VERSION) " != " x $( NEEDED_$( 2) _VERSION) " ; then \
if test x$$ ( RESET_VERSIONS) != "x" ; then \
$( MAKE) reset-$( 1) || exit 1; \
else \
echo " Your $( 1) version is out of date, please run 'make reset- $( 1) ' (found $( $( 2) _VERSION) , expected $( NEEDED_$( 2) _VERSION) ) " ; \
test -z " $( BUILD_REVISION) " || $( MAKE) test-$( 1) ; \
touch .validate-versions-failure; \
fi ; \
elif test " x $( $( 2) _BRANCH) " != " x $( NEEDED_$( 2) _BRANCH) " ; then \
if test x$$ ( RESET_VERSIONS) != "x" ; then \
test -z " $( BUILD_REVISION) " || $( MAKE) test-$( 1) ; \
$( MAKE) reset-$( 1) || exit 1; \
else \
echo " Your $( 1) branch is out of date, please run 'make reset- $( 1) ' (found $( $( 2) _BRANCH) , expected $( NEEDED_$( 2) _BRANCH) ) " ; \
touch .validate-versions-failure; \
fi ; \
fi ; \
fi ; \
fi
test-$(1) ::
@echo $( 1)
@echo " REPOSITORY_ $( 2) = $( REPOSITORY_$( 2) ) "
@echo " DIRECTORY_ $( 2) = $( DIRECTORY_$( 2) ) "
@echo " MODULE_ $( 2) = $( MODULE_$( 2) ) "
@echo " NEEDED_ $( 2) _VERSION= $( NEEDED_$( 2) _VERSION) "
@echo " $( 2) _VERSION= $( $( 2) _VERSION) "
@echo " $( 2) _BRANCH_AND_REMOTE= $( $( 2) _BRANCH_AND_REMOTE) "
@echo " NEEDED_ $( 2) _BRANCH= $( NEEDED_$( 2) _BRANCH) "
@echo " NEEDED_ $( 2) _REMOTE= $( NEEDED_$( 2) _REMOTE) "
@echo " $( 2) _BRANCH= $( $( 2) _BRANCH) "
@echo " $( 2) _PATH= $( $( 2) _PATH) => $( abspath $( $( 2) _PATH) ) "
reset-$(1) ::
@if test -d $( $( 2) _PATH) ; then \
if ! ( cd $( $( 2) _PATH) && git show $( NEEDED_$( 2) _VERSION) >/dev/null 2>& 1 && git log -1 $( NEEDED_$( 2) _REMOTE/NEEDED_$( 2) _BRANCH) >/dev/null 2>& 1) ; then \
echo " *** git fetch `basename $$ ( $( 2) _PATH)` " && ( cd $( $( 2) _PATH) && git fetch) ; \
fi ; \
else \
2018-10-09 08:20:59 +00:00
echo " *** git clone $( MODULE_$( 2) ) -b $( NEEDED_$( 2) _BRANCH) --recursive $( DIRECTORY_$( 2) ) " && ( cd ` dirname $( $( 2) _PATH) ` && git clone $( MODULE_$( 2) ) --recursive $( DIRECTORY_$( 2) ) || exit 1 ) ; \
2016-11-10 13:04:39 +00:00
fi
@if test x$$ ( IGNORE_$( 2) _VERSION) = "x" ; then \
echo " *** [ $( 1) ] git checkout -f " $( NEEDED_$( 2) _BRANCH) && ( cd $( $( 2) _PATH) ; git checkout -f $( NEEDED_$( 2) _BRANCH) || git checkout -f -b $( $( 2) _BRANCH_AND_REMOTE) ) ; \
echo " *** [ $( 1) ] git reset --hard $( NEEDED_$( 2) _VERSION) " && ( cd $( $( 2) _PATH) && git reset --hard $( NEEDED_$( 2) _VERSION) ) ; \
fi
@echo " *** [ $( 1) ] git submodule update --init --recursive " && ( cd $( $( 2) _PATH) && git submodule update --init --recursive)
print-$(1) ::
@printf "*** %-16s %-45s %s (%s)\n" " $( DIRECTORY_$( 2) ) " " $( MODULE_$( 2) ) " " $( NEEDED_$( 2) _VERSION) " " $( NEEDED_$( 2) _BRANCH) "
.PHONY : validate -$( 1) reset -$( 1) print -$( 1)
reset-versions :: reset -$( 1)
validate-versions :: validate -$( 1)
print-versions :: print -$( 1)
e n d e f
reset-versions ::
validate-versions ::
@if test -e .validate-versions-failure; then \
rm .validate-versions-failure; \
echo One or more modules needs update; \
exit 1; \
else \
echo All dependent modules up to date; \
fi
reset :
@$( MAKE) validate-versions RESET_VERSIONS = 1
__bump-version-% :
@if [ " $( REV) " = "" ] ; then echo " Usage: make bump-version- $* REV=<ref> " ; exit 1; fi
python $( SCRIPT) $( SUBMODULES_CONFIG_FILE) set-rev $* $( REV)
@if [ " $( COMMIT) " = "1" ] ; then echo " [submodules] Bump $* to pick up $( REV) . " | git commit -F - $( SUBMODULES_CONFIG_FILE) ; fi
__bump-branch-% :
@if [ " $( BRANCH) " = "" ] ; then echo " Usage: make bump-branch- $* BRANCH=<branch> REMOTE_BRANCH=<remote branch> " ; exit 1; fi
@if [ " $( REMOTE_BRANCH) " = = "" ] ; then echo " Usage: make bump-branch- $* BRANCH=<branch> REMOTE_BRANCH=<remote branch> " ; exit 1; fi
python $( SCRIPT) $( SUBMODULES_CONFIG_FILE) set-branch $* $( BRANCH)
python $( SCRIPT) $( SUBMODULES_CONFIG_FILE) set-remote-branch $* $( REMOTE_BRANCH)
@if [ " $( COMMIT) " = "1" ] ; then echo " [submodules] Bump $* to switch to $( BRANCH) $( REMOTE BRANCH) . " | git commit -F - $( SUBMODULES_CONFIG_FILE) ; fi
__bump-current-version-% :
REV = $( shell cd $( ACCEPTANCE_TESTS_PATH) /$* && git log -1 --pretty= format:%H) ; \
python $( SCRIPT) $( SUBMODULES_CONFIG_FILE) set-rev $* $$ REV; \
if [ " $( COMMIT) " = "1" ] ; then echo " [submodules] Bump $* to pick up $$ REV: " | git commit -F - $( SUBMODULES_CONFIG_FILE) ; fi
$( eval $ ( call ValidateVersionTemplate ,llvm ,LLVM ) )
# Bump the given submodule to the revision given by the REV make variable
# If COMMIT is 1, commit the change
bump-llvm : __bump -version -llvm
# Bump the given submodule to the branch given by the BRANCH/REMOTE_BRANCH make variables
# If COMMIT is 1, commit the change
bump-branch-llvm : __bump -branch -llvm
# Bump the given submodule to its current GIT version
# If COMMIT is 1, commit the change
bump-current-llvm : __bump -current -version -llvm
2018-10-09 08:20:59 +00:00
$(LLVM_BUILD) $(LLVM_PREFIX) :
mkdir -p $@
$(LLVM_PATH) :
$( MAKE) -f build.mk reset-llvm
$(LLVM_PATH)/CMakeLists.txt : | $( LLVM_PATH )
$(LLVM_BUILD)/$(if $(NINJA),build.ninja,Makefile) : $( LLVM_PATH ) /CMakeLists .txt | $( LLVM_BUILD )
cd $( LLVM_BUILD) && $( CMAKE) \
$( if $( NINJA) ,-G Ninja) \
-DCMAKE_INSTALL_PREFIX= " $( LLVM_PREFIX) " \
-DCMAKE_BUILD_TYPE= Release \
-DLLVM_BUILD_TESTS= Off \
-DLLVM_INCLUDE_TESTS= Off \
-DLLVM_BUILD_EXAMPLES= Off \
-DLLVM_INCLUDE_EXAMPLES= Off \
-DLLVM_TOOLS_TO_BUILD= "opt;llc;llvm-config;llvm-dis" \
-DLLVM_TARGETS_TO_BUILD= "X86;ARM;AArch64" \
-DLLVM_ENABLE_ASSERTIONS= $( if $( INTERNAL_LLVM_ASSERTS) ,On,Off) \
2018-10-18 08:28:44 +00:00
-DHAVE_FUTIMENS= 0 \
2018-10-09 08:20:59 +00:00
$( LLVM_CMAKE_ARGS) \
$( dir $<)
.PHONY : configure -llvm
configure-llvm : $( LLVM_BUILD ) /$( if $ ( NINJA ) ,build .ninja ,Makefile )
# The DESTDIR fix is to prevent the build from trying to install this out-of-build-tree
# as the DESTDIR hasn't been created when we're building mono
.PHONY : build -llvm
build-llvm : configure -llvm
DESTDIR = "" $( if $( NINJA) ,$( NINJA) ,$( MAKE) ) -C $( LLVM_BUILD)
.PHONY : install -llvm
install-llvm : build -llvm | $( LLVM_PREFIX )
DESTDIR = "" $( if $( NINJA) ,$( NINJA) ,$( MAKE) ) -C $( LLVM_BUILD) install
.PHONY : download -llvm
download-llvm :
( wget --no-verbose -O - $( LLVM_DOWNLOAD_LOCATION) || curl -L $( LLVM_DOWNLOAD_LOCATION) ) | tar -xzf - -C $( dir $( LLVM_PREFIX) )
.PHONY : clean -llvm
clean-llvm :
$( RM) -r $( LLVM_BUILD) $( LLVM_PREFIX)
2016-11-10 13:04:39 +00:00
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT :