171269a22SAnthony Scarpino# 271269a22SAnthony Scarpino# CDDL HEADER START 371269a22SAnthony Scarpino# 471269a22SAnthony Scarpino# The contents of this file are subject to the terms of the 571269a22SAnthony Scarpino# Common Development and Distribution License (the "License"). 671269a22SAnthony Scarpino# You may not use this file except in compliance with the License. 771269a22SAnthony Scarpino# 871269a22SAnthony Scarpino# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 971269a22SAnthony Scarpino# or http://www.opensolaris.org/os/licensing. 1071269a22SAnthony Scarpino# See the License for the specific language governing permissions 1171269a22SAnthony Scarpino# and limitations under the License. 1271269a22SAnthony Scarpino# 1371269a22SAnthony Scarpino# When distributing Covered Code, include this CDDL HEADER in each 1471269a22SAnthony Scarpino# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1571269a22SAnthony Scarpino# If applicable, add the following below this CDDL HEADER, with the 1671269a22SAnthony Scarpino# fields enclosed by brackets "[]" replaced with your own identifying 1771269a22SAnthony Scarpino# information: Portions Copyright [yyyy] [name of copyright owner] 1871269a22SAnthony Scarpino# 1971269a22SAnthony Scarpino# CDDL HEADER END 2071269a22SAnthony Scarpino# 21726fad2aSDina K Nimeh 22726fad2aSDina K Nimeh# 23726fad2aSDina K Nimeh# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. 2471269a22SAnthony Scarpino# 2505ede3dbSJohn Levon# Copyright (c) 2018, Joyent, Inc. 26726fad2aSDina K Nimeh 271e49577aSRod EvansLIBRARY = libsoftcrypto.a 281e49577aSRod EvansVERS = .1 291e49577aSRod Evans 301e49577aSRod Evansinclude ../Makefile.com 311e49577aSRod Evans 321e49577aSRod Evansinclude $(SRC)/lib/Makefile.lib 331e49577aSRod Evans 347014882cSRichard LoweCERRWARN += -_gcc=-Wno-type-limits 357014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses 36*d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 377014882cSRichard Lowe 3805ede3dbSJohn Levon# not linted 3905ede3dbSJohn LevonSMATCH=off 4005ede3dbSJohn Levon 411e49577aSRod Evans# Sources need to be redefined after Makefile.lib inclusion. 421e49577aSRod EvansSRCS = $(AES_SRC) $(ARCFOUR_SRC) $(BIGNUM_SRC) $(BLOWFISH_SRC) \ 431e49577aSRod Evans $(DES_SRC) $(MODES_SRC) $(DH_SRC) $(DSA_SRC) $(RSA_SRC) \ 441e49577aSRod Evans $(PAD_SRC) 451e49577aSRod Evans 461e49577aSRod EvansSRCDIR = $(SRC)/lib/pkcs11/libsoftcrypto/common 471e49577aSRod Evans 481e49577aSRod EvansLIBS = $(DYNLIB) $(LINTLIB) 491e49577aSRod EvansMAPFILEDIR = ../common 501e49577aSRod Evans 511e49577aSRod EvansCFLAGS += $(CCVERBOSE) 521e49577aSRod EvansCPPFLAGS += -I$(CRYPTODIR) -I$(UTSDIR) -D_POSIX_PTHREAD_SEMANTICS 531e49577aSRod EvansLDLIBS += -lcryptoutil -lc 541e49577aSRod EvansLINTFLAGS += $(EXTRA_LINT_FLAGS) 551e49577aSRod Evans 561e49577aSRod Evans# Symbol capabilities objects are i386. 571e49577aSRod EvansEXTPICS = ../capabilities/intel/i386/pics/symcap.o 5871269a22SAnthony Scarpino 591e49577aSRod Evans.KEEP_STATE: 6071269a22SAnthony Scarpino 611e49577aSRod Evansall: $(LIBS) 6271269a22SAnthony Scarpino 631e49577aSRod Evanslint: $(SRCS) 64726fad2aSDina K Nimeh 651e49577aSRod Evansinstall: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT) 6671269a22SAnthony Scarpino 671e49577aSRod Evansinclude ../Makefile.targ 68