Print this page
750 Add the LOGIN authenticator to libsasl
Reviewed by: Albert Lee <trisk@opensolaris.org>
Reviewed by: Roland Mainz <roland.mainz@nrubsig.org>
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/lib/libsasl/Makefile
+++ new/usr/src/lib/libsasl/Makefile
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.
|
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
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 #
23 23 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 +# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
25 26 #
26 -# ident "%Z%%M% %I% %E% SMI"
27 -#
28 27
29 28 include ../Makefile.lib
30 29
31 30 HDRS= sasl.h saslplug.h saslutil.h prop.h
32 31 HDRDIR= include
33 32 ROOTHDRDIR= $(ROOT)/usr/include/sasl
34 33
35 34 SUBDIRS = $(MACH)
36 35 $(BUILD64)SUBDIRS += $(MACH64)
37 36
38 37 all := TARGET= all
39 38 clean := TARGET= clean
40 39 clobber := TARGET= clobber
41 40 install := TARGET= install
|
↓ open down ↓ |
4 lines elided |
↑ open up ↑ |
42 41 lint := TARGET= lint
43 42
44 43 LIBRARY= libsasl.a
45 44 POFILE= $(LIBRARY:.a=.po)
46 45 MSGFILES= lib/canonusr.c lib/checkpw.c lib/client.c lib/common.c \
47 46 lib/external.c lib/server.c lib/seterror.c \
48 47 plugin/plugin_common.c \
49 48 $(SRC)/lib/sasl_plugins/cram/cram.c \
50 49 $(SRC)/lib/sasl_plugins/digestmd5/digestmd5.c \
51 50 $(SRC)/lib/sasl_plugins/gssapi/gssapi.c \
51 + $(SRC)/lib/sasl_plugins/login/login.c \
52 52 $(SRC)/lib/sasl_plugins/plain/plain.c
53 53
54 54 .KEEP_STATE:
55 55
56 56 all clean clobber install lint: $(SUBDIRS)
57 57
58 58 all install: THIRDPARTYLICENSE
59 59
60 60 install_h: $(ROOTHDRS)
61 61
62 62 check: $(CHECKHDRS)
63 63
64 64 $(POFILE): $(MSGFILES)
65 65 $(BUILDPO.msgfiles)
66 66
67 67 _msg: $(MSGDOMAINPOFILE)
68 68
69 69 include $(SRC)/Makefile.msg.targ
70 70
71 71 $(SUBDIRS): FRC
72 72 @cd $@; pwd; $(MAKE) $(TARGET)
73 73
74 74 FRC:
75 75
76 76 THIRDPARTYLICENSE: LICENSE.txt
77 77 $(SED) -n '/Carnegie Mellon/,$$p' LICENSE.txt > $@
78 78
79 79 CLOBBERFILES += THIRDPARTYLICENSE
80 80
81 81 # EXPORT DELETE START
82 82 # CRYPT DELETE START
83 83 # Special target to clean up the source tree for export distribution
84 84 # Warning: This target changes the source tree
85 85 EXPORT_SRC:
86 86 $(RM) Makefile+ \
87 87 lib/client.c+ \
88 88 lib/server.c+ \
89 89 lib/common.c+ \
90 90 lib/saslint.h+ \
91 91 include/plugin_common.h+
92 92
93 93 $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
94 94 < lib/client.c > lib/client.c+
95 95 $(MV) lib/client.c+ lib/client.c
96 96
97 97 $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
98 98 < lib/server.c > lib/server.c+
99 99 $(MV) lib/server.c+ lib/server.c
100 100
101 101 $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
102 102 < lib/common.c > lib/common.c+
103 103 $(MV) lib/common.c+ lib/common.c
104 104
105 105 $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
106 106 < lib/saslint.h > lib/saslint.h+
107 107 $(MV) lib/saslint.h+ lib/saslint.h
108 108
109 109 $(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
110 110 < include/plugin_common.h > include/plugin_common.h+
111 111 $(MV) include/plugin_common.h+ include/plugin_common.h
112 112
113 113 $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
114 114 < Makefile > Makefile+
115 115 $(MV) Makefile+ Makefile
116 116
117 117 $(CHMOD) 444 Makefile \
118 118 lib/client.c \
119 119 lib/server.c \
120 120 lib/common.c \
121 121 lib/saslint.h \
122 122 include/plugin_common.h
123 123
124 124 CRYPT_SRC:
125 125 $(RM) Makefile+ lib/common.c+
126 126
127 127 $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
128 128 < lib/common.c | $(SED) -e "/EXPORT DELETE/d" \
129 129 > lib/common.c+
130 130 $(MV) lib/common.c+ lib/common.c
131 131
132 132 $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
133 133 < lib/client.c | $(SED) -e "/EXPORT DELETE/d" \
134 134 > lib/client.c+
135 135 $(MV) lib/client.c+ lib/client.c
136 136
137 137 $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
138 138 < lib/server.c | $(SED) -e "/EXPORT DELETE/d" \
139 139 > lib/server.c+
140 140 $(MV) lib/server.c+ lib/server.c
141 141
142 142 $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
143 143 < lib/saslint.h | $(SED) -e "/EXPORT DELETE/d" \
144 144 > lib/saslint.h+
145 145 $(MV) lib/saslint.h+ lib/saslint.h
146 146
147 147 $(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
148 148 < include/plugin_common.h | $(SED) -e "/EXPORT DELETE/d" \
149 149 > include/plugin_common.h+
150 150 $(MV) include/plugin_common.h+ include/plugin_common.h
151 151
152 152 $(SED) -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \
153 153 < Makefile | $(SED) -e "/^# EXPORT DELETE/d" > Makefile+
154 154 $(MV) Makefile+ Makefile
155 155
156 156 $(CHMOD) 444 Makefile \
157 157 lib/client.c \
158 158 lib/server.c \
159 159 lib/common.c \
160 160 lib/saslint.h \
161 161 include/plugin_common.h
162 162
163 163 # CRYPT DELETE END
164 164 # EXPORT DELETE END
165 165
166 166 include ../Makefile.targ
167 167
168 168 .PARALLEL: $(SUBDIRS)
|
↓ open down ↓ |
107 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX