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/.
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
19 SHARED_LIBRARY_FILES
= $(SHARED_LIBRARY
)
20 SHARED_LIBRARY_DEST ?
= $(FINAL_TARGET
)
21 ifndef SHARED_LIBRARY_TARGET
22 SHARED_LIBRARY_TARGET
= target
24 INSTALL_TARGETS
+= SHARED_LIBRARY
25 endif # SHARED_LIBRARY
28 WASM_LIBRARY_FILES
= $(WASM_LIBRARY
)
29 WASM_LIBRARY_DEST ?
= $(FINAL_TARGET
)
30 WASM_LIBRARY_TARGET
= target
31 INSTALL_TARGETS
+= WASM_LIBRARY
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
41 endif # !NO_DIST_INSTALL