rustc/debian/rules
2013-08-26 15:45:42 +02:00

32 lines
616 B
Makefile
Executable File

#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# These are the normal build flags
COMMON_FLAGS = \
--disable-manage-submodules \
--prefix=/usr
# TODO
# These flags will be used to avoid external
# stage0 bootstrap binaries
SELF_BOOTSTRAP = \
--enable-local-rust \
--local-rust-root=/usr
# TODO
# These flags will enable the system-wide LLVM
SYSTEM_LLVM = --llvm-root=/usr
%:
dh $@ --parallel
override_dh_auto_configure:
./configure \
$(COMMON_FLAGS) \
# TODO
# $(SELF_BOOTSTRAP)
# $(SYSTEM_LLVM)