2011-07-07 19:29:41 +04:00
|
|
|
# -*- makefile -*-
|
|
|
|
# vim:set ts=8 sw=8 sts=8 noet:
|
|
|
|
#
|
2012-05-21 15:12:37 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-07-07 19:29:41 +04:00
|
|
|
|
2012-09-20 11:52:12 +04:00
|
|
|
ifndef NO_DIST_INSTALL
|
|
|
|
|
2018-01-10 22:26:12 +03:00
|
|
|
ifneq (,$(strip $(SIMPLE_PROGRAMS)$(RUST_PROGRAMS)))
|
|
|
|
PROGRAMS_EXECUTABLES = $(SIMPLE_PROGRAMS) $(RUST_PROGRAMS)
|
2012-09-20 11:52:12 +04:00
|
|
|
PROGRAMS_DEST ?= $(FINAL_TARGET)
|
2014-07-29 03:59:27 +04:00
|
|
|
PROGRAMS_TARGET := target
|
2012-09-20 11:52:12 +04:00
|
|
|
INSTALL_TARGETS += PROGRAMS
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
ifdef SHARED_LIBRARY
|
|
|
|
SHARED_LIBRARY_FILES = $(SHARED_LIBRARY)
|
2017-06-14 02:01:45 +03:00
|
|
|
SHARED_LIBRARY_DEST ?= $(FINAL_TARGET)
|
2018-08-10 22:07:29 +03:00
|
|
|
ifndef SHARED_LIBRARY_TARGET
|
2019-08-16 17:39:54 +03:00
|
|
|
SHARED_LIBRARY_TARGET = target
|
2018-08-10 22:07:29 +03:00
|
|
|
endif
|
2012-09-20 11:52:12 +04:00
|
|
|
INSTALL_TARGETS += SHARED_LIBRARY
|
|
|
|
endif # SHARED_LIBRARY
|
|
|
|
|
2019-12-20 00:41:23 +03:00
|
|
|
ifdef WASM_LIBRARY
|
|
|
|
WASM_LIBRARY_FILES = $(WASM_LIBRARY)
|
|
|
|
WASM_LIBRARY_DEST ?= $(FINAL_TARGET)
|
|
|
|
WASM_LIBRARY_TARGET = target
|
|
|
|
INSTALL_TARGETS += WASM_LIBRARY
|
|
|
|
endif
|
|
|
|
|
2018-06-19 00:22:20 +03:00
|
|
|
ifneq (,$(strip $(HOST_SIMPLE_PROGRAMS)))
|
|
|
|
HOST_PROGRAMS_EXECUTABLES = $(HOST_SIMPLE_PROGRAMS) $(HOST_RUST_PROGRAMS)
|
2012-09-20 11:52:12 +04:00
|
|
|
HOST_PROGRAMS_DEST ?= $(DIST)/host/bin
|
2014-07-29 03:59:27 +04:00
|
|
|
HOST_PROGRAMS_TARGET = host
|
2012-09-20 11:52:12 +04:00
|
|
|
INSTALL_TARGETS += HOST_PROGRAMS
|
2011-07-07 19:29:41 +04:00
|
|
|
endif
|
2012-09-20 11:52:12 +04:00
|
|
|
|
2011-07-07 19:29:41 +04:00
|
|
|
endif # !NO_DIST_INSTALL
|
|
|
|
|
|
|
|
# EOF
|