]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/print-cfg/Makefile
Update targets to use target_abi
[rust.git] / src / test / run-make-fulldeps / print-cfg / Makefile
1 -include ../tools.mk
2
3 all: default
4         $(RUSTC) --target x86_64-pc-windows-gnu --print cfg | $(CGREP) windows
5         $(RUSTC) --target x86_64-pc-windows-gnu --print cfg | $(CGREP) x86_64
6         $(RUSTC) --target i686-pc-windows-msvc --print cfg | $(CGREP) msvc
7         $(RUSTC) --target i686-apple-darwin --print cfg | $(CGREP) macos
8         $(RUSTC) --target i686-unknown-linux-gnu --print cfg | $(CGREP) gnu
9         $(RUSTC) --target arm-unknown-linux-gnueabihf --print cfg | $(CGREP) target_abi=
10         $(RUSTC) --target arm-unknown-linux-gnueabihf --print cfg | $(CGREP) eabihf
11
12 ifdef IS_WINDOWS
13 default:
14         $(RUSTC) --print cfg | $(CGREP) windows
15 else
16 default:
17         $(RUSTC) --print cfg | $(CGREP) unix
18 endif