Makefile revision 8de5c4f463386063e184a851437d58080c6c626c
305N/A#
305N/A# CDDL HEADER START
305N/A#
305N/A# The contents of this file are subject to the terms of the
305N/A# Common Development and Distribution License (the "License").
305N/A# You may not use this file except in compliance with the License.
305N/A#
305N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
305N/A# or http://www.opensolaris.org/os/licensing.
305N/A# See the License for the specific language governing permissions
305N/A# and limitations under the License.
305N/A#
305N/A# When distributing Covered Code, include this CDDL HEADER in each
305N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
305N/A# If applicable, add the following below this CDDL HEADER, with the
305N/A# fields enclosed by brackets "[]" replaced with your own identifying
305N/A# information: Portions Copyright [yyyy] [name of copyright owner]
305N/A#
305N/A# CDDL HEADER END
305N/A#
305N/A#
305N/A# uts/sparc/sha1/Makefile
5987N/A#
305N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
305N/A# Use is subject to license terms.
305N/A#
305N/A#
305N/A#
3004N/A# This makefile drives the production of the sha1 crypto kernel module.
5987N/A#
5987N/A# sparc architecture dependent
586N/A#
618N/A
586N/A#
305N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
844N/A#
5987N/AUTSBASE = ../..
305N/ACOM_DIR = $(COMMONBASE)/crypto
1273N/A
305N/A#
305N/A# Define the module and object file sets.
305N/A#
1924N/AMODULE = sha1
5987N/AOBJECTS = $(SHA1_OBJS:%=$(OBJS_DIR)/%)
305N/ALINTS = $(SHA1_OBJS:%.o=$(LINTS_DIR)/%.ln)
305N/AROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
844N/AROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
1924N/A
305N/A#
305N/A# Include common rules.
3996N/A#
3996N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
3996N/A
305N/A#
5987N/A# Override defaults
5987N/A#
305N/A
305N/A
5987N/A#
5987N/A# Define targets
5987N/A#
305N/AALL_TARGET = $(BINARY)
455N/ALINT_TARGET = $(MODULE).lint
5987N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
5987N/A
5987N/A#
5987N/A# Linkage dependencies
5987N/A#
5987N/ALDFLAGS += -dy -Nmisc/kcf
1902N/A
305N/A#
305N/A# lint pass one enforcement
305N/A#
305N/ACFLAGS += $(CCVERBOSE) -I$(COM_DIR)
305N/ALINTFLAGS += -I$(COM_DIR)
305N/A
305N/A#
305N/A# Default build targets.
305N/A#
305N/A.KEEP_STATE:
305N/A
305N/Adef: $(DEF_DEPS)
305N/A
437N/Aall: $(ALL_DEPS)
305N/A
5988N/Aclean: $(CLEAN_DEPS)
5988N/A
4301N/Aclobber: $(CLOBBER_DEPS)
305N/A
305N/Alint: $(LINT_DEPS)
305N/A
305N/Amodlintlib: $(MODLINTLIB_DEPS)
305N/A
305N/Aclean.lint: $(CLEAN_LINT_DEPS)
305N/A
305N/Ainstall: $(INSTALL_DEPS)
305N/A
305N/A$(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
305N/A -$(RM) $@; ln $(ROOTMODULE) $@
305N/A
4301N/A#
4301N/A# Include common targets.
4301N/A#
4301N/Ainclude $(UTSBASE)/sparc/Makefile.targ
305N/A