Bug 1855360 - Fix the skip-if syntax. a=bustage-fix
[gecko.git] / config / makefiles / target_binaries.mk
blob31b2c4367e94508badac27f7826a5513fe229eeb
1 # -*- makefile -*-
2 # vim:set ts=8 sw=8 sts=8 noet:
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/.
8 ifndef NO_DIST_INSTALL
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
18 ifdef SHARED_LIBRARY
19 SHARED_LIBRARY_FILES = $(SHARED_LIBRARY)
20 SHARED_LIBRARY_DEST ?= $(FINAL_TARGET)
21 ifndef SHARED_LIBRARY_TARGET
22 SHARED_LIBRARY_TARGET = target
23 endif
24 INSTALL_TARGETS += SHARED_LIBRARY
25 endif # SHARED_LIBRARY
27 ifdef WASM_LIBRARY
28 WASM_LIBRARY_FILES = $(WASM_LIBRARY)
29 WASM_LIBRARY_DEST ?= $(FINAL_TARGET)
30 WASM_LIBRARY_TARGET = target
31 INSTALL_TARGETS += WASM_LIBRARY
32 endif
34 ifneq (,$(strip $(HOST_SIMPLE_PROGRAMS)))
35 HOST_PROGRAMS_EXECUTABLES = $(HOST_SIMPLE_PROGRAMS) $(HOST_RUST_PROGRAMS)
36 HOST_PROGRAMS_DEST ?= $(DIST)/host/bin
37 HOST_PROGRAMS_TARGET = host
38 INSTALL_TARGETS += HOST_PROGRAMS
39 endif
41 endif # !NO_DIST_INSTALL
43 # EOF