71
72 # Over ticotsord we do zero retries. Over ticlts we do 5
73 # retries. Hence, a default of 25 seconds for ticotsord is
74 # too little. 125 = 25 + 6 * MAXTIMO (from clnt_clts.c).
75 #
76 $(RPCGEN) -M -l gssd.x | sed -e \
77 's;#include..gssd.h.;#include "gssd_prot.h";' \
78 | sed 's/TIMEOUT/gssd_timeout/' \
79 | sed 's/{ 25, 0 }/{ 125, 0 }/' \
80 | grep -v stdlib.h | grep -v stdio.h > $@
81
82 gssd_xdr.c: gssd.x
83 $(RM) $@
84 $(RPCGEN) -M -c gssd.x | sed -e \
85 's;#include..gssd.h.;#include "gssd_prot.h";' > $@
86
87 check: $(CHECKHDRS)
88
89 clean:
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
|
71
72 # Over ticotsord we do zero retries. Over ticlts we do 5
73 # retries. Hence, a default of 25 seconds for ticotsord is
74 # too little. 125 = 25 + 6 * MAXTIMO (from clnt_clts.c).
75 #
76 $(RPCGEN) -M -l gssd.x | sed -e \
77 's;#include..gssd.h.;#include "gssd_prot.h";' \
78 | sed 's/TIMEOUT/gssd_timeout/' \
79 | sed 's/{ 25, 0 }/{ 125, 0 }/' \
80 | grep -v stdlib.h | grep -v stdio.h > $@
81
82 gssd_xdr.c: gssd.x
83 $(RM) $@
84 $(RPCGEN) -M -c gssd.x | sed -e \
85 's;#include..gssd.h.;#include "gssd_prot.h";' > $@
86
87 check: $(CHECKHDRS)
88
89 clean:
90 $(RM) $(DERIVED_FILES)
|