Makefile.com revision 726fad2a65f16c200a03969c29cb5c86c2d427db
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# CDDL HEADER START
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# The contents of this file are subject to the terms of the
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# Common Development and Distribution License (the "License").
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# You may not use this file except in compliance with the License.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# or http://www.opensolaris.org/os/licensing.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# See the License for the specific language governing permissions
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# and limitations under the License.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# When distributing Covered Code, include this CDDL HEADER in each
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# If applicable, add the following below this CDDL HEADER, with the
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# fields enclosed by brackets "[]" replaced with your own identifying
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# information: Portions Copyright [yyyy] [name of copyright owner]
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# CDDL HEADER END
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod GunjikarASFLAGS = $(AS_PICFLAGS) -P -D__STDC__ -D_ASM $(CPPFLAGS)
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar ec.o ec2_163.o ec2_mont.o ecdecode.o ecl_mult.o ecp_384.o \
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar ecp_jac.o ec2_193.o ecl.o ecp_192.o ecp_521.o \
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar ecp_jm.o ec2_233.o ecl_curve.o ecp_224.o ecp_aff.o ecp_mont.o \
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar ec2_aff.o ec_naf.o ecl_gf.o ecp_256.o oid.o secitem.o \
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod GunjikarMPI_COBJECTS = mp_gf2m.o mpi.o mplogic.o mpmontg.o mpprime.o
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod GunjikarFIPS_COBJECTS = fips_aes_util.o fips_des_util.o \
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod GunjikarECC_OBJECTS = $(ECC_COBJECTS) $(ECC_PSR_OBJECTS)
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod GunjikarMPI_OBJECTS = $(MPI_COBJECTS) $(MPI_PSR_OBJECTS)
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod GunjikarBER_OBJECTS = bprint.o decode.o encode.o io.o
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# set signing mode
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar# libelfsign needs a static pkcs11_softtoken
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod GunjikarLDLIBS += -lc -lmd -lcryptoutil -lsoftcrypto -lgen
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod GunjikarCPPFLAGS += -I$(AESDIR) -I$(BLOWFISHDIR) -I$(ARCFOURDIR) -I$(DESDIR) \
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar -I$(DHDIR) -I$(DSADIR) -I$(ECCDIR) -I$(SRC)/common/crypto \
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar -I$(FIPSDIR) -I$(SHA1DIR) -I$(SHA2DIR) -I$(SRCDIR) \
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar -I$(BIGNUMDIR) -I$(PADDIR) -D_POSIX_PTHREAD_SEMANTICS \
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar -DMP_API_COMPATIBLE -DNSS_ECC_MORE_THAN_SUITE_B
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod GunjikarROOTLIBDIR64= $(ROOT)/usr/lib/security/$(MACH64)
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar $(LINT.c) $(LINTCHECKFLAGS) $(LINTSRC) $(LDLIBS)
c39526b769298791ff5b0b6c5e761f49aabaeb4ePramod Gunjikar $(COMPILE.c) -o $@ $< -D_SOLARIS_SDK -I$(BERDIR) \