Print this page
3882 remove xmod & friends
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/common/gssapi/Makefile
+++ new/usr/src/uts/common/gssapi/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, Version 1.0 only
6 6 # (the "License"). You may not use this file except in compliance
7 7 # with the License.
8 8 #
9 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 10 # or http://www.opensolaris.org/os/licensing.
11 11 # See the License for the specific language governing permissions
12 12 # and limitations under the License.
13 13 #
14 14 # When distributing Covered Code, include this CDDL HEADER in each
15 15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 16 # If applicable, add the following below this CDDL HEADER, with the
17 17 # fields enclosed by brackets "[]" replaced with your own identifying
18 18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 19 #
20 20 # CDDL HEADER END
21 21 #
22 22 #
23 23 # Copyright (c) 1989,1997,1999 by Sun Microsystems, Inc.
24 24 # All rights reserved.
25 25 #
26 26 # Copyright 2012 Milan Jurik. All rights reserved.
27 27 #
28 28 # uts/common/gssd/Makefile
29 29 #
30 30 # include global definitions
31 31 include ../../../Makefile.master
32 32
33 33
34 34 INSTALLED_HDRS= gssapi.h gssapi_ext.h
35 35 PRIVATE_HDRS= gssd.x gssd_prot.h
36 36 HDRS= $(INSTALLED_HDRS) $(PRIVATE_HDRS)
37 37
38 38 DERIVED_FILES= gssd_prot.h gssd_prot.c gssd_xdr.c
39 39
40 40 GSSDDIRS= $(ROOT)/usr/include/gssapi
41 41
42 42 GSSDHDRS= $(INSTALLED_HDRS:%=$(GSSDDIRS)/%)
43 43
44 44 CHECKHDRS= $(INSTALLED_HDRS:%.h=%.check)
45 45
46 46 # gssd_prot.h is rpcgen'ed and can never be made to pass
47 47 # cstyle so it is unchecked
48 48 UNCHECKED_HDRS= gss_prot.h
49 49
50 50 # install rule
51 51 $(GSSDDIRS)/%: %
52 52 $(INS.file)
53 53
54 54 .KEEP_STATE:
55 55
56 56 .PARALLEL: $(CHECKHDRS)
57 57
58 58 install_h: all_h $(GSSDDIRS) $(GSSDHDRS)
59 59
60 60 all_h: $(DERIVED_FILES)
61 61
62 62 $(GSSDDIRS):
63 63 $(INS.dir)
64 64
65 65 gssd_prot.h: gssd.x
66 66 $(RM) $@
67 67 $(RPCGEN) -CM -h gssd.x > $@
68 68
69 69 gssd_prot.c: gssd.x
70 70 $(RM) $@
71 71
72 72 # Over ticotsord we do zero retries. Over ticlts we do 5
73 73 # retries. Hence, a default of 25 seconds for ticotsord is
74 74 # too little. 125 = 25 + 6 * MAXTIMO (from clnt_clts.c).
75 75 #
76 76 $(RPCGEN) -M -l gssd.x | sed -e \
77 77 's;#include..gssd.h.;#include "gssd_prot.h";' \
78 78 | sed 's/TIMEOUT/gssd_timeout/' \
79 79 | sed 's/{ 25, 0 }/{ 125, 0 }/' \
80 80 | grep -v stdlib.h | grep -v stdio.h > $@
↓ open down ↓ |
80 lines elided |
↑ open up ↑ |
81 81
82 82 gssd_xdr.c: gssd.x
83 83 $(RM) $@
84 84 $(RPCGEN) -M -c gssd.x | sed -e \
85 85 's;#include..gssd.h.;#include "gssd_prot.h";' > $@
86 86
87 87 check: $(CHECKHDRS)
88 88
89 89 clean:
90 90 $(RM) $(DERIVED_FILES)
91 -
92 -# EXPORT DELETE START
93 -# Special target to clean up the source tree for export distribution
94 -# Warning: This target changes the source tree
95 -EXPORT_SRC:
96 - $(RM) Makefile+ gssd.x+ gssd_clnt_stubs.c+
97 - sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
98 - < gssd.x > gssd.x+
99 - $(MV) gssd.x+ gssd.x
100 - sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
101 - < gssd_clnt_stubs.c > gssd_clnt_stubs.c+
102 - $(MV) gssd_clnt_stubs.c+ gssd_clnt_stubs.c
103 - sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
104 - < Makefile > Makefile+
105 - $(MV) Makefile+ Makefile
106 - $(CHMOD) 444 Makefile gssd.x gssd_clnt_stubs.c
107 -
108 -# CRYPT DELETE START
109 -# Special target to clean up the source tree for domestic distribution
110 -# Warning: This target changes the source tree
111 -
112 -CRYPT_SRC:
113 - $(RM) Makefile+ gssd_clnt_stubs.c+
114 - sed -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \
115 - < Makefile > Makefile+
116 - $(MV) Makefile+ Makefile
117 - sed -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
118 - < gssd_clnt_stubs.c > gssd_clnt_stubs.c+
119 - $(MV) gssd_clnt_stubs.c+ gssd_clnt_stubs.c
120 - $(CHMOD) 444 Makefile gssd_clnt_stubs.c
121 -
122 -# CRYPT DELETE END
123 -# EXPORT DELETE END
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX