0806a23a6e
Depends cross compiles project dependencies for linux, mac and windows and multiple architectures. Depends is original work by Cory Fields and used in bitcoin and a wide range of bitcoin related projects.
23 lines
1.1 KiB
Makefile
23 lines
1.1 KiB
Makefile
build_darwin_CC: = $(shell xcrun -f clang)
|
|
build_darwin_CXX: = $(shell xcrun -f clang++)
|
|
build_darwin_AR: = $(shell xcrun -f ar)
|
|
build_darwin_RANLIB: = $(shell xcrun -f ranlib)
|
|
build_darwin_STRIP: = $(shell xcrun -f strip)
|
|
build_darwin_OTOOL: = $(shell xcrun -f otool)
|
|
build_darwin_NM: = $(shell xcrun -f nm)
|
|
build_darwin_INSTALL_NAME_TOOL:=$(shell xcrun -f install_name_tool)
|
|
build_darwin_SHA256SUM = shasum -a 256
|
|
build_darwin_DOWNLOAD = curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -o
|
|
|
|
#darwin host on darwin builder. overrides darwin host preferences.
|
|
darwin_CC=$(shell xcrun -f clang) -mmacosx-version-min=$(OSX_MIN_VERSION)
|
|
darwin_CXX:=$(shell xcrun -f clang++) -mmacosx-version-min=$(OSX_MIN_VERSION) -stdlib=libc++
|
|
darwin_AR:=$(shell xcrun -f ar)
|
|
darwin_RANLIB:=$(shell xcrun -f ranlib)
|
|
darwin_STRIP:=$(shell xcrun -f strip)
|
|
darwin_LIBTOOL:=$(shell xcrun -f libtool)
|
|
darwin_OTOOL:=$(shell xcrun -f otool)
|
|
darwin_NM:=$(shell xcrun -f nm)
|
|
darwin_INSTALL_NAME_TOOL:=$(shell xcrun -f install_name_tool)
|
|
darwin_native_toolchain=
|