summary refs log tree commit diff
path: root/pkgs/development/compilers/graalvm/truffle.make
blob: ec357446a5df7d4db0832469f5c7a046f31f3867 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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.

QUIETLY$(MX_VERBOSE) = @

.PHONY: default

default:
	sed -i "s|-print-multi-os-directory||g" ../$(SOURCES)/configure
	$(QUIETLY) echo CONFIGURE libffi
	$(QUIETLY) mkdir ../$(OUTPUT)
	$(QUIETLY) cd ../$(OUTPUT) && ../$(SOURCES)/configure $(CONFIGURE_ARGS)
	$(QUIETLY) echo MAKE libffi
	$(QUIETLY) $(MAKE) -C ../$(OUTPUT)