Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0 (initial commit, openssl 1.0.1h)
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/krb5/plugins/preauth/pkinit/Makefile.com
+++ new/usr/src/lib/krb5/plugins/preauth/pkinit/Makefile.com
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 25 #
26 26
27 27 LIBRARY= pkinit.a
28 28 VERS= .1
29 29
30 30 PKINIT_OBJS= \
31 31 pkinit_accessor.o \
32 32 pkinit_clnt.o \
33 33 pkinit_crypto_openssl.o \
34 34 pkinit_identity.o \
35 35 pkinit_lib.o \
36 36 pkinit_matching.o \
37 37 pkinit_profile.o \
38 38 pkinit_srv.o
39 39
40 40
41 41 OBJECTS= $(PKINIT_OBJS)
42 42
43 43 # include library definitions
44 44 include $(SRC)/lib/krb5/Makefile.lib
45 45
46 46 SRCS= $(PKINIT_OBJS:%.o=../%.c)
47 47
48 48 LIBS= $(DYNLIB)
49 49
50 50 include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
51 51
52 52 POFILE = $(LIBRARY:%.a=%.po)
53 53 POFILES = generic.po
54 54
55 55 #override liblink
56 56 INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
57 57
58 58
59 59 CPPFLAGS += -I$(SRC)/lib/krb5 \
60 60 -I$(SRC)/lib/krb5/kdb \
61 61 -I$(SRC)/lib/gss_mechs/mech_krb5/include \
62 62 -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \
↓ open down ↓ |
62 lines elided |
↑ open up ↑ |
63 63 -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
64 64 -I$(SRC)/uts/common/gssapi/include/ \
65 65 -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
66 66 -I$(SRC)
67 67
68 68 CERRWARN += -_gcc=-Wno-uninitialized
69 69 CERRWARN += -_gcc=-Wno-unused-function
70 70
71 71 CFLAGS += $(CCVERBOSE) -I..
72 72 DYNFLAGS += $(KRUNPATH) $(KMECHLIB) -znodelete
73 -LDLIBS += -L $(ROOTLIBDIR) -lcrypto -lc
73 +LDLIBS += -L $(ROOTLIBDIR) -lsunw_crypto -lc
74 74
75 75 ROOTLIBDIR= $(ROOT)/usr/lib/krb5/plugins/preauth
76 76
77 77 $(ROOTLIBDIR):
78 78 $(INS.dir)
79 79
80 80 .KEEP_STATE:
81 81
82 82 all: $(LIBS)
83 83
84 84 lint: lintcheck
85 85
86 86 # include library targets
87 87 include $(SRC)/lib/krb5/Makefile.targ
88 88
89 89 FRC:
90 90
91 91 generic.po: FRC
92 92 $(RM) messages.po
93 93 $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../*.[ch]`
94 94 $(SED) "/^domain/d" messages.po > $@
95 95 $(RM) messages.po
↓ open down ↓ |
12 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX