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# 2599ebb4caSwyllys# Makefile for KMF Plugins 2699ebb4caSwyllys# 2799ebb4caSwyllys 2899ebb4caSwyllysLIBRARY= kmf_nss.a 2999ebb4caSwyllysVERS= .1 3099ebb4caSwyllys 3199ebb4caSwyllysOBJECTS= nss_spi.o 3299ebb4caSwyllys 3399ebb4caSwyllysinclude $(SRC)/lib/Makefile.lib 3499ebb4caSwyllys 3599ebb4caSwyllysMPSDIR= /usr/lib/mps 3699ebb4caSwyllysKMFINC= -I../../../include -I../../../ber_der/inc 37*494f7e12SKeith M WesolowskiNSSINC= -I$(ADJUNCT_PROTO)/usr/include/mps 3899ebb4caSwyllysBERLIB= -lkmf -lkmfberder 3999ebb4caSwyllysBERLIB64= $(BERLIB) 4099ebb4caSwyllys 41*494f7e12SKeith M WesolowskiNSSLIBS= $(BERLIB) -L$(ADJUNCT_PROTO)$(MPSDIR) -R$(MPSDIR) \ 42*494f7e12SKeith M Wesolowski -lnss3 -lnspr4 -lsmime3 -lc 43*494f7e12SKeith M WesolowskiNSSLIBS64= $(BERLIB64) -L$(ADJUNCT_PROTO)$(MPSDIR)/$(MACH64) \ 44*494f7e12SKeith M Wesolowski -R$(MPSDIR)/$(MACH64) -lnss3 -lnspr4 -lsmime3 -lc 4599ebb4caSwyllys 4699ebb4caSwyllysSRCDIR= ../common 4799ebb4caSwyllysINCDIR= ../../include 4899ebb4caSwyllys 4999ebb4caSwyllysCFLAGS += $(CCVERBOSE) 5099ebb4caSwyllysCPPFLAGS += -D_REENTRANT $(KMFINC) $(NSSINC) \ 51*494f7e12SKeith M Wesolowski -I$(INCDIR) -I$(ADJUNCT_PROTO)/usr/include/libxml2 5299ebb4caSwyllys 5399ebb4caSwyllysPICS= $(OBJECTS:%=pics/%) 5499ebb4caSwyllys 5546e62cfaSwyllysLINTFLAGS += -erroff=E_STATIC_UNUSED 5646e62cfaSwyllysLINTFLAGS64 += -erroff=E_STATIC_UNUSED 5746e62cfaSwyllys 587014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-label 597014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-value 607014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 617014882cSRichard Lowe 6299ebb4caSwyllyslint:= NSSLIBS = $(BERLIB) 6399ebb4caSwyllyslint:= NSSLIBS64 = $(BERLIB64) 6499ebb4caSwyllys 6599ebb4caSwyllysLDLIBS32 += $(NSSLIBS) 6699ebb4caSwyllys 6799ebb4caSwyllysLIBS = $(DYNLIB) 6899ebb4caSwyllys 69257873cfSJohn.Zolnowsky@Sun.COMROOTLIBDIR= $(ROOTFS_LIBDIR)/crypto 70257873cfSJohn.Zolnowsky@Sun.COMROOTLIBDIR64= $(ROOTFS_LIBDIR)/crypto/$(MACH64) 7199ebb4caSwyllys 7299ebb4caSwyllys.KEEP_STATE: 7399ebb4caSwyllys 7499ebb4caSwyllysall: $(LIBS) $(LINTLIB) 7599ebb4caSwyllys 7699ebb4caSwyllyslint: lintcheck 7799ebb4caSwyllys 7899ebb4caSwyllysFRC: 7999ebb4caSwyllys 8099ebb4caSwyllysinclude $(SRC)/lib/Makefile.targ 81