5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25
26 LIBRARY= libpkcs11.a
27 VERS= .1
28
29
30 OBJECTS= \
31 metaAttrManager.o \
32 metaCrypt.o \
33 metaDigest.o \
34 metaDualCrypt.o \
35 metaGeneral.o \
36 metaKeys.o \
37 metaMechManager.o \
38 metaObject.o \
39 metaObjectManager.o \
40 metaRand.o \
41 metaSession.o \
42 metaSessionManager.o \
43 metaSign.o \
44 metaSlotManager.o \
61 pkcs11Sessionlist.o \
62 pkcs11SUNWExtensions.o
63
64 include ../../../Makefile.lib
65
66 SRCDIR= ../common
67 INCDIR= ../../include
68
69 LIBS = $(DYNLIB) $(LINTLIB)
70 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
71 LDLIBS += -lcryptoutil -lc
72
73 CFLAGS += $(CCVERBOSE)
74 CPPFLAGS += -I$(INCDIR) -I$(SRCDIR) -D_REENTRANT
75
76 LINTFLAGS64 += -errchk=longptr64
77
78 CERRWARN += -_gcc=-Wno-unused-label
79 CERRWARN += -_gcc=-Wno-uninitialized
80
81 .KEEP_STATE:
82
83 all: $(LIBS)
84
85 lint: lintcheck
86
87 include $(SRC)/lib/Makefile.targ
|
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 # Copyright (c) 2018, Joyent, Inc.
26
27 LIBRARY= libpkcs11.a
28 VERS= .1
29
30
31 OBJECTS= \
32 metaAttrManager.o \
33 metaCrypt.o \
34 metaDigest.o \
35 metaDualCrypt.o \
36 metaGeneral.o \
37 metaKeys.o \
38 metaMechManager.o \
39 metaObject.o \
40 metaObjectManager.o \
41 metaRand.o \
42 metaSession.o \
43 metaSessionManager.o \
44 metaSign.o \
45 metaSlotManager.o \
62 pkcs11Sessionlist.o \
63 pkcs11SUNWExtensions.o
64
65 include ../../../Makefile.lib
66
67 SRCDIR= ../common
68 INCDIR= ../../include
69
70 LIBS = $(DYNLIB) $(LINTLIB)
71 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
72 LDLIBS += -lcryptoutil -lc
73
74 CFLAGS += $(CCVERBOSE)
75 CPPFLAGS += -I$(INCDIR) -I$(SRCDIR) -D_REENTRANT
76
77 LINTFLAGS64 += -errchk=longptr64
78
79 CERRWARN += -_gcc=-Wno-unused-label
80 CERRWARN += -_gcc=-Wno-uninitialized
81
82 # not linted
83 SMATCH=off
84
85 .KEEP_STATE:
86
87 all: $(LIBS)
88
89 lint: lintcheck
90
91 include $(SRC)/lib/Makefile.targ
|