199ebb4caSwyllys# 299ebb4caSwyllys# CDDL HEADER START 399ebb4caSwyllys# 499ebb4caSwyllys# The contents of this file are subject to the terms of the 599ebb4caSwyllys# Common Development and Distribution License (the "License"). 699ebb4caSwyllys# You may not use this file except in compliance with the License. 799ebb4caSwyllys# 899ebb4caSwyllys# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 999ebb4caSwyllys# or http://www.opensolaris.org/os/licensing. 1099ebb4caSwyllys# See the License for the specific language governing permissions 1199ebb4caSwyllys# and limitations under the License. 1299ebb4caSwyllys# 1399ebb4caSwyllys# When distributing Covered Code, include this CDDL HEADER in each 1499ebb4caSwyllys# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1599ebb4caSwyllys# If applicable, add the following below this CDDL HEADER, with the 1699ebb4caSwyllys# fields enclosed by brackets "[]" replaced with your own identifying 1799ebb4caSwyllys# information: Portions Copyright [yyyy] [name of copyright owner] 1899ebb4caSwyllys# 1999ebb4caSwyllys# CDDL HEADER END 2099ebb4caSwyllys# 21bda1f129SMark Phalan# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2299ebb4caSwyllys# Use is subject to license terms. 2399ebb4caSwyllys# 2405ede3dbSJohn Levon# Copyright (c) 2018, Joyent, Inc. 2599ebb4caSwyllys 2699ebb4caSwyllysLIBRARY= kmf_openssl.a 2799ebb4caSwyllysVERS= .1 2899ebb4caSwyllys 29300fdee2SAndy FiddamanOBJECTS= openssl_spi.o compat.o 3099ebb4caSwyllys 3199ebb4caSwyllysinclude $(SRC)/lib/Makefile.lib 3299ebb4caSwyllys 3399ebb4caSwyllysLIBLINKS= $(DYNLIB:.so.1=.so) 3499ebb4caSwyllysKMFINC= -I../../../include -I../../../ber_der/inc 3590c85bf8Swyllys 3667e3a03eSrieBERLIB= -lkmf -lkmfberder 3799ebb4caSwyllysBERLIB64= $(BERLIB) 3899ebb4caSwyllys 39257873cfSJohn.Zolnowsky@Sun.COMOPENSSLLIBS= $(BERLIB) -lcrypto -lcryptoutil -lc 40257873cfSJohn.Zolnowsky@Sun.COMOPENSSLLIBS64= $(BERLIB64) -lcrypto -lcryptoutil -lc 4199ebb4caSwyllys 42*5801b0f0SToomas SoomeNATIVE_LIBS += libcrypto.so 4337bbd7ccSRichard Lowe 4499ebb4caSwyllysSRCDIR= ../common 4599ebb4caSwyllysINCDIR= ../../include 4699ebb4caSwyllys 4705ede3dbSJohn LevonCFLAGS += $(CCVERBOSE) 48257873cfSJohn.Zolnowsky@Sun.COMCPPFLAGS += -D_REENTRANT $(KMFINC) \ 49494f7e12SKeith M Wesolowski -I$(INCDIR) -I$(ADJUNCT_PROTO)/usr/include/libxml2 5099ebb4caSwyllys 517014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-label 527014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-value 53d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 547014882cSRichard Lowe 5505ede3dbSJohn Levon# not linted 5605ede3dbSJohn LevonSMATCH=off 5705ede3dbSJohn Levon 5899ebb4caSwyllysPICS= $(OBJECTS:%=pics/%) 5999ebb4caSwyllys 60*5801b0f0SToomas SoomeLDLIBS32 += $(OPENSSLLIBS) 6199ebb4caSwyllys 62257873cfSJohn.Zolnowsky@Sun.COMROOTLIBDIR= $(ROOTFS_LIBDIR)/crypto 63257873cfSJohn.Zolnowsky@Sun.COMROOTLIBDIR64= $(ROOTFS_LIBDIR)/crypto/$(MACH64) 6499ebb4caSwyllys 6599ebb4caSwyllys.KEEP_STATE: 6699ebb4caSwyllys 6799ebb4caSwyllysLIBS = $(DYNLIB) 68*5801b0f0SToomas Soomeall: $(DYNLIB) 6999ebb4caSwyllys 7099ebb4caSwyllysFRC: 7199ebb4caSwyllys 7299ebb4caSwyllysinclude $(SRC)/lib/Makefile.targ 73