Makefile revision 45818ee124adeaaf947698996b4f4c722afc6d1f
5180N/A#
5180N/A# CDDL HEADER START
5180N/A#
5180N/A# The contents of this file are subject to the terms of the
5180N/A# Common Development and Distribution License (the "License").
5180N/A# You may not use this file except in compliance with the License.
5180N/A#
5180N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5180N/A# or http://opensource.org/licenses/CDDL-1.0.
5180N/A# See the License for the specific language governing permissions
5180N/A# and limitations under the License.
5180N/A#
5180N/A# When distributing Covered Code, include this CDDL HEADER in each
5180N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5180N/A# If applicable, add the following below this CDDL HEADER, with the
5180N/A# fields enclosed by brackets "[]" replaced with your own identifying
5180N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5180N/A#
5180N/A# CDDL HEADER END
5180N/A#
5180N/A#
5180N/A# Copyright 2013 Saso Kiselkov. All rights reserved.
5245N/A#
5180N/A#
5680N/A# This makefile drives the production of the edonr kernel module.
5180N/A#
5180N/A# sparc architecture dependent
5180N/A#
5419N/A
5419N/A#
5180N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
5180N/A#
5180N/AUTSBASE = ../..
5419N/ACOMDIR = $(COMMONBASE)/crypto
5180N/A
5200N/A#
5180N/A# Define the module and object file sets.
5180N/A#
5180N/AMODULE = edonr
5180N/AOBJECTS = $(EDONR_OBJS:%=$(OBJS_DIR)/%)
5180N/ALINTS = $(EDONR_OBJS:%.o=$(LINTS_DIR)/%.ln)
5180N/AROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
5419N/AROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
5180N/A
5180N/A#
5180N/A# Include common rules.
5419N/A#
5180N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
5680N/A
5680N/A#
5180N/A# Define targets
5180N/A#
5180N/AALL_TARGET = $(BINARY)
5180N/ALINT_TARGET = $(MODULE).lint
5680N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
5680N/A
5680N/A#
5680N/A# Linkage dependencies
5680N/A#
5680N/ALDFLAGS += -dy -Nmisc/kcf
5680N/A
5680N/ACFLAGS += -I$(COMDIR)
5680N/ALINTFLAGS += -I$(COMDIR)
5180N/A
5180N/A#
5680N/A# Default build targets.
5180N/A#
5180N/A.KEEP_STATE:
5180N/A
5180N/Adef: $(DEF_DEPS)
5180N/A
5180N/Aall: $(ALL_DEPS)
5180N/A
5180N/Aclean: $(CLEAN_DEPS)
5180N/A
5180N/Aclobber: $(CLOBBER_DEPS)
5180N/A
5180N/Alint: $(LINT_DEPS)
5180N/A
5180N/Amodlintlib: $(MODLINTLIB_DEPS)
5180N/A
5180N/Aclean.lint: $(CLEAN_LINT_DEPS)
5180N/A
5180N/Ainstall: $(INSTALL_DEPS)
5497N/A
5180N/A$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
5180N/A -$(RM) $@; ln $(ROOTMODULE) $@
5180N/A
5200N/A#
5180N/A# Include common targets.
5180N/A#
5180N/Ainclude $(UTSBASE)/sparc/Makefile.targ
5180N/A