2019-04-14 20:36:23 +00:00
|
|
|
# This Makefile is used by mx to bootstrap libffi build.
|
|
|
|
|
|
|
|
# `make MX_VERBOSE=y` will report all lines executed. The actual value doesn't
|
|
|
|
# matter as long as it's not empty.
|
2020-01-18 15:43:03 +00:00
|
|
|
|
2019-04-14 20:36:23 +00:00
|
|
|
QUIETLY$(MX_VERBOSE) = @
|
|
|
|
|
|
|
|
.PHONY: default
|
|
|
|
|
|
|
|
default:
|
2020-01-18 15:43:03 +00:00
|
|
|
sed -i "s|-print-multi-os-directory||g" ../$(SOURCES)/configure
|
2019-04-14 20:36:23 +00:00
|
|
|
$(QUIETLY) echo CONFIGURE libffi
|
|
|
|
$(QUIETLY) mkdir ../$(OUTPUT)
|
2020-01-18 15:43:03 +00:00
|
|
|
$(QUIETLY) cd ../$(OUTPUT) && ../$(SOURCES)/configure $(CONFIGURE_ARGS)
|
2019-04-14 20:36:23 +00:00
|
|
|
$(QUIETLY) echo MAKE libffi
|
2020-01-18 15:43:03 +00:00
|
|
|
$(QUIETLY) $(MAKE) -C ../$(OUTPUT)
|