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