Debian Codegraph @

config/makefiles/target_binaries.mk

raw
1 # -*- makefile -*-
2 # vim:set ts=8 sw=8 sts=8 noet:
3 #
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
8 ifndef NO_DIST_INSTALL
9
10 ifneq (,$(strip $(SIMPLE_PROGRAMS)$(RUST_PROGRAMS)))
11 PROGRAMS_EXECUTABLES = $(SIMPLE_PROGRAMS) $(RUST_PROGRAMS)
12 PROGRAMS_DEST ?= $(FINAL_TARGET)
13 PROGRAMS_TARGET := target
14 INSTALL_TARGETS += PROGRAMS
15 endif
16
17 ifneq (,$(strip $(HOST_SIMPLE_PROGRAMS)$(HOST_RUST_PROGRAMS)))
18 HOST_PROGRAMS_EXECUTABLES = $(HOST_SIMPLE_PROGRAMS) $(HOST_RUST_PROGRAMS)
19 HOST_PROGRAMS_DEST ?= $(DIST)/host/bin
20 HOST_PROGRAMS_TARGET = host
21 INSTALL_TARGETS += HOST_PROGRAMS
22 endif
23
24 endif # !NO_DIST_INSTALL
25
26 # EOF