#/
# @license Apache-2.0
#
# Copyright (c) 2017 The Stdlib Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#/

# DEPENDENCIES #

include $(TOOLS_MAKE_LIB_DIR)/node/addons.mk
include $(TOOLS_MAKE_LIB_DIR)/node/modules.mk
include $(TOOLS_MAKE_LIB_DIR)/node/npm.mk
include $(TOOLS_MAKE_LIB_DIR)/node/test_install.mk


# TARGETS #

# Run Node install sequence.
#
# This target runs the Node install sequence, including installing node module dependencies and compiling native add-ons.

install-node: install-node-modules install-node-addons clean-deps-electron install-deps-electron

.PHONY: install-node


# Perform Node clean-up.
#
# This target runs cleanup tasks specific to Node.js, such as removing node module dependencies and removing native add-ons.

clean-node: clean-node-addons clean-node-modules

.PHONY: clean-node
