#
# makefile: makefile to build the nanite class library
#

# Copyright (C) 2018-2020 Western Digital Corporation or its affiliates
# Copyright (C) 2017-2018 Wearable, Inc.
#
# 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 https://mozilla.org/MPL/2.0/.
#
# This Source Code Form is “Incompatible With Secondary Licenses”,
# as defined by the Mozilla Public License, v. 2.0.

include ../../common.mk

PROJECT_NAME = Nanite Classlib
PRODUCT_NAME = nanite-classes
SOURCE_ROOT = ./src
DOC_PACKAGE = org.naniteproject org.naniteproject.annotation java.lang
BIN_TARGET_PATH = classlib/nanite
DOCS_TARGET_PATH = classes/nanite
NANITE_SOURCES := $(shell find $(SOURCE_ROOT) -name '*.java')
NANITE_BOOTCLASSES = "$(JDK)/jre/lib/rt.jar"
NANITE_CLASSPATH = .

docs: .nanite-docs
build: .nanite-jar-all .nanite-deploy
clean: .nanite-clean