Makefile revision 32e0ab73531b6e6e8957e9ecdbbd42603865f2d0
341N/A#
341N/A# CDDL HEADER START
1402N/A#
341N/A# The contents of this file are subject to the terms of the
341N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
341N/A#
341N/A#
341N/A# This makefile drives the production of the misx/bignum module.
341N/A#
493N/A# sparc implementation architecture dependent
341N/A#
341N/A
1370N/A#
341N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
911N/A#
1370N/AUTSBASE = ../..
1370N/ACRYPTODIR = $(COMMONBASE)/crypto
1370N/ACOM1_DIR = $(COMMONBASE)/bignum
911N/A
341N/A#
341N/A# Define the module and object file sets.
1402N/A#
1265N/AMODULE = bignum
1370N/AOBJECTS = $(BIGNUM_OBJS:%=$(OBJS_DIR)/%)
1370N/ALINTS = $(BIGNUM_OBJS:%.o=$(LINTS_DIR)/%.ln)
1370N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
1179N/A
1233N/A#
1265N/A# Include common rules.
1179N/A#
1370N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
1370N/A
1370N/A#
1370N/A# FIPS-140 Self Integrity Test
1179N/A#
1179N/APOST_PROCESS += ; $(FIPS140_CHECK)
1179N/A
1370N/A
1370N/A#
1370N/A# Define targets
1370N/A#
1370N/AALL_TARGET = $(BINARY)
1265N/ALINT_TARGET = $(MODULE).lint
1370N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
1370N/A
1370N/A#
1370N/A# Linkage dependencies
1370N/A#
1265N/ALDFLAGS += -dy -Nmisc/kcf
1370N/A
1370N/A#
1265N/A# lint pass one enforcement
1370N/A#
1370N/ACFLAGS += $(CCVERBOSE) -I$(CRYPTODIR) -I$(COM1_DIR)
1370N/ACFLAGS += -DUMUL64
1265N/ALINTFLAGS += -I$(CRYPTODIR) -I$(COM1_DIR)
1179N/A
1370N/A
1370N/A#
1370N/A# Default build targets.
1370N/A#
1370N/A.KEEP_STATE:
1370N/A
1370N/Adef: $(DEF_DEPS)
1370N/A
1370N/Aall: $(ALL_DEPS)
1370N/A
1370N/Aclean: $(CLEAN_DEPS)
1370N/A
1370N/Aclobber: $(CLOBBER_DEPS)
1370N/A
1370N/Alint: $(LINT_DEPS)
1370N/A
1370N/Amodlintlib: $(MODLINTLIB_DEPS)
1370N/A
1345N/Aclean.lint: $(CLEAN_LINT_DEPS)
341N/A
341N/Ainstall: $(INSTALL_DEPS)
341N/A
1339N/A#
1339N/A# Include common targets.
1345N/A#
1339N/Ainclude $(UTSBASE)/sparc/Makefile.targ
970N/A