Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
16309N/A#
16309N/A# CDDL HEADER START
16309N/A#
16309N/A# The contents of this file are subject to the terms of the
16309N/A# Common Development and Distribution License (the "License").
16309N/A# You may not use this file except in compliance with the License.
16309N/A#
16309N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
16309N/A# or http://www.opensolaris.org/os/licensing.
16309N/A# See the License for the specific language governing permissions
16309N/A# and limitations under the License.
16309N/A#
16309N/A# When distributing Covered Code, include this CDDL HEADER in each
16309N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16309N/A# If applicable, add the following below this CDDL HEADER, with the
16309N/A# fields enclosed by brackets "[]" replaced with your own identifying
16309N/A# information: Portions Copyright [yyyy] [name of copyright owner]
16309N/A#
16309N/A# CDDL HEADER END
16309N/A#
16309N/A
16309N/A#
16309N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
16309N/A# Use is subject to license terms.
16309N/A#
16309N/A
16309N/A#
16309N/A# This makefile drives the production of the DCA kCF provider.
16309N/A#
16309N/A# intel implementation architecture dependent
16309N/A#
16309N/A
16309N/A#
16309N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
16309N/A#
16309N/AUTSBASE = ../..
16309N/A
16309N/A#
16309N/A# Define the module and object file sets.
16309N/A#
16309N/AMODULE = dca
16309N/AOBJECTS = $(DCA_OBJS:%=$(OBJS_DIR)/%)
16309N/ALINTS = $(DCA_OBJS:%.o=$(LINTS_DIR)/%.ln)
16309N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
16309N/ACONF_SRCDIR = $(UTSBASE)/common/crypto/io
16309N/A
16309N/A#
16309N/A# Include common rules.
16309N/A#
16309N/Ainclude $(UTSBASE)/intel/Makefile.intel
16309N/A
16309N/A# set signing mode
16309N/AELFSIGN_MOD = $(ELFSIGN_CRYPTO)
16309N/A
16309N/A#
16309N/A# Define targets
16309N/A#
16309N/AALL_TARGET = $(BINARY) $(SRC_CONFFILE)
16309N/ALINT_TARGET = $(MODULE).lint
16309N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
16309N/A
16309N/A# C99 mode is needed for dca
16309N/ACFLAGS += $(C99_ENABLE)
16309N/A
16309N/A#
16309N/A# For now, disable these lint checks; maintainers should endeavor
16309N/A# to investigate and remove these for maximum lint coverage.
16309N/A# Please do not carry these forward to new Makefiles.
16309N/A#
16309N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
16309N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
16309N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
16309N/A
16309N/ACERRWARN += -_gcc=-Wno-parentheses
16309N/ACERRWARN += -_gcc=-Wno-unused-variable
16309N/A
16309N/A#
16309N/A# Default build targets.
16309N/A#
16309N/A.KEEP_STATE:
16309N/A
16309N/Adef: $(DEF_DEPS)
16309N/A
16309N/Aall: $(ALL_DEPS)
16309N/A
16309N/Aclean: $(CLEAN_DEPS)
16309N/A
16309N/Aclobber: $(CLOBBER_DEPS)
16309N/A
16309N/Alint: $(LINT_DEPS)
16309N/A
16309N/Amodlintlib: $(MODLINTLIB_DEPS)
16309N/A
16309N/Aclean.lint: $(CLEAN_LINT_DEPS)
16309N/A
16309N/Ainstall: $(INSTALL_DEPS)
16309N/A
16309N/A$(ROOTLINK): $(ROOT_CRYPTO_DIR) $(ROOTMODULE)
16309N/A -$(RM) $@; ln $(ROOTMODULE) $@
16309N/A
16309N/A#
16309N/A# Include common targets.
16309N/A#
16309N/Ainclude $(UTSBASE)/intel/Makefile.targ
16309N/A