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# 2199ebb4caSwyllys# 22257873cfSJohn.Zolnowsky@Sun.COM# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 2399ebb4caSwyllys# Use is subject to license terms. 2499ebb4caSwyllys# 2505ede3dbSJohn Levon# Copyright (c) 2018, Joyent, Inc. 2699ebb4caSwyllys 2799ebb4caSwyllysLIBRARY= kmf_nss.a 2899ebb4caSwyllysVERS= .1 2999ebb4caSwyllys 3099ebb4caSwyllysOBJECTS= nss_spi.o 3199ebb4caSwyllys 3299ebb4caSwyllysinclude $(SRC)/lib/Makefile.lib 3399ebb4caSwyllys 3499ebb4caSwyllysMPSDIR= /usr/lib/mps 3599ebb4caSwyllysKMFINC= -I../../../include -I../../../ber_der/inc 36494f7e12SKeith M WesolowskiNSSINC= -I$(ADJUNCT_PROTO)/usr/include/mps 3799ebb4caSwyllysBERLIB= -lkmf -lkmfberder 3899ebb4caSwyllysBERLIB64= $(BERLIB) 3999ebb4caSwyllys 40494f7e12SKeith M WesolowskiNSSLIBS= $(BERLIB) -L$(ADJUNCT_PROTO)$(MPSDIR) -R$(MPSDIR) \ 41494f7e12SKeith M Wesolowski -lnss3 -lnspr4 -lsmime3 -lc 42494f7e12SKeith M WesolowskiNSSLIBS64= $(BERLIB64) -L$(ADJUNCT_PROTO)$(MPSDIR)/$(MACH64) \ 43494f7e12SKeith M Wesolowski -R$(MPSDIR)/$(MACH64) -lnss3 -lnspr4 -lsmime3 -lc 4499ebb4caSwyllys 4599ebb4caSwyllysSRCDIR= ../common 4699ebb4caSwyllysINCDIR= ../../include 4799ebb4caSwyllys 4805ede3dbSJohn LevonCFLAGS += $(CCVERBOSE) 4999ebb4caSwyllysCPPFLAGS += -D_REENTRANT $(KMFINC) $(NSSINC) \ 50494f7e12SKeith M Wesolowski -I$(INCDIR) -I$(ADJUNCT_PROTO)/usr/include/libxml2 5199ebb4caSwyllys 5299ebb4caSwyllysPICS= $(OBJECTS:%=pics/%) 5399ebb4caSwyllys 5446e62cfaSwyllys 557014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-label 567014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-value 57d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 587014882cSRichard Lowe 5905ede3dbSJohn Levon# not linted 6005ede3dbSJohn LevonSMATCH=off 6105ede3dbSJohn Levon 6299ebb4caSwyllysLDLIBS32 += $(NSSLIBS) 6399ebb4caSwyllys 6499ebb4caSwyllysLIBS = $(DYNLIB) 6599ebb4caSwyllys 66257873cfSJohn.Zolnowsky@Sun.COMROOTLIBDIR= $(ROOTFS_LIBDIR)/crypto 67257873cfSJohn.Zolnowsky@Sun.COMROOTLIBDIR64= $(ROOTFS_LIBDIR)/crypto/$(MACH64) 6899ebb4caSwyllys 6999ebb4caSwyllys.KEEP_STATE: 7099ebb4caSwyllys 71*241c90a0SRichard Loweall: $(LIBS) 7299ebb4caSwyllys 7399ebb4caSwyllys 7499ebb4caSwyllysFRC: 7599ebb4caSwyllys 7699ebb4caSwyllysinclude $(SRC)/lib/Makefile.targ 77