Makefile revision 160abee025ef30c34521b981edd40ffcaab560aa
2271N/A#
2271N/A# CDDL HEADER START
2271N/A#
2271N/A# The contents of this file are subject to the terms of the
2271N/A# Common Development and Distribution License (the "License").
2271N/A# You may not use this file except in compliance with the License.
2271N/A#
2271N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2271N/A# or http://www.opensolaris.org/os/licensing.
2271N/A# See the License for the specific language governing permissions
2271N/A# and limitations under the License.
2271N/A#
2271N/A# When distributing Covered Code, include this CDDL HEADER in each
2271N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2271N/A# If applicable, add the following below this CDDL HEADER, with the
2271N/A# fields enclosed by brackets "[]" replaced with your own identifying
2271N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2271N/A#
2271N/A# CDDL HEADER END
2271N/A#
3996N/A#
2271N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2271N/A# Use is subject to license terms.
2271N/A#
2271N/A#ident "%Z%%M% %I% %E% SMI"
2271N/A#
2271N/A# This makefile drives the production of the Blowfish KEF provider.
2271N/A#
2271N/A# intel implementation architecture dependent
2271N/A#
2271N/A
2271N/A#
2271N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
2271N/A#
3661N/AUTSBASE = ../..
3661N/ACOM_DIR = $(COMMONBASE)/crypto/blowfish
3996N/A
3996N/A#
3996N/A# Define the module and object file sets.
2271N/A#
2271N/AMODULE = blowfish448
2271N/AOBJECTS = $(BLOWFISHPROV_OBJS:%=$(OBJS_DIR)/%)
2271N/ALINTS = $(BLOWFISHPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
2271N/AROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
2271N/A
2271N/A#
2271N/A# Include common rules.
2271N/A#
2271N/Ainclude $(UTSBASE)/intel/Makefile.intel
2271N/A
# set signing mode
ELFSIGN_MOD = $(ELFSIGN_CRYPTO)
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Linkage dependencies
#
LDFLAGS += -dy
CPPFLAGS += -I$(COM_DIR)
CPPFLAGS += -DCRYPTO_UNLIMITED -DCRYPTO_PROVIDER_NAME=\"$(MODULE)\"
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ