_sdk_dir := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))

#################################
# Include common signing script #
#################################

include $(_sdk_dir)/sign-tbase-common.mk

# Link cpecific command line to the specific goal.
# This variable will be chosen automatically when executing rule.
$(_local_input)_sign := java -jar $(LOCAL_SIGNCLIENT_JAR) \
                        -runtype $(LOCAL_RUNTYPE) \
                        -model $(LOCAL_MODEL) \
                        -conf_str "$(_conf_string)" \
                        -input $(_local_input) \
                        -output $(_local_output)

##################
# Add sign goals #
##################

include $(_sdk_dir)/sign-remotely-goal.mk

##############
# Clear vars #
##############

include $(_sdk_dir)/clear-vars.mk
