Imported Upstream version 1.6.9p14
[debian/sudo] / Makefile.in
1 #
2 # Copyright (c) 1996, 1998-2007 Todd C. Miller <Todd.Miller@courtesan.com>
3 #
4 # Permission to use, copy, modify, and distribute this software for any
5 # purpose with or without fee is hereby granted, provided that the above
6 # copyright notice and this permission notice appear in all copies.
7 #
8 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
16 #
17 # Sponsored in part by the Defense Advanced Research Projects
18 # Agency (DARPA) and Air Force Research Laboratory, Air Force
19 # Materiel Command, USAF, under agreement number F39502-99-1-0512.
20 #
21 # @configure_input@
22 #
23 # $Sudo: Makefile.in,v 1.246.2.28 2008/03/05 12:41:08 millert Exp $
24 #
25
26 #### Start of system configuration section. ####
27
28 srcdir = @srcdir@
29 authdir = $(srcdir)/auth
30 top_builddir = .
31 VPATH = @srcdir@
32
33 # Compiler & tools to use
34 CC = @CC@
35 LEX = flex
36 YACC = @YACC@
37 NROFF = nroff
38 LIBTOOL = @LIBTOOL@
39
40 # Our install program supports extra flags...
41 INSTALL = $(SHELL) $(srcdir)/install-sh -c
42
43 # Libraries
44 LIBS = @LIBS@
45 NET_LIBS = @NET_LIBS@
46 SUDO_LIBS = @SUDO_LIBS@ @AFS_LIBS@ @GETGROUPS_LIB@ $(LIBS) $(NET_LIBS)
47
48 # C preprocessor flags
49 CPPFLAGS = -I. -I$(srcdir) @CPPFLAGS@
50
51 # Usually -O and/or -g
52 CFLAGS = @CFLAGS@
53
54 # Flags to pass to the link stage
55 LDFLAGS = @LDFLAGS@
56 SUDO_LDFLAGS = @SUDO_LDFLAGS@ $(LDFLAGS)
57
58 # Where to install things...
59 prefix = @prefix@
60 exec_prefix = @exec_prefix@
61 bindir = @bindir@
62 sbindir = @sbindir@
63 sysconfdir = @sysconfdir@
64 mandir = @mandir@
65 noexecdir = @NOEXECDIR@
66 libexecdir = @libexecdir@
67 datarootdir = @datarootdir@
68
69 # Directory in which to install sudo.
70 sudodir = $(bindir)
71
72 # Directory in which to install visudo
73 visudodir = $(sbindir)
74
75 # Directory in which to install the sudoers file
76 sudoersdir = $(sysconfdir)
77
78 # Directory in which to install the man page
79 mantype = @MANTYPE@
80 mansectsu = @mansectsu@
81 mansectform = @mansectform@
82 mandirsu = $(mandir)/$(mantype)$(mansectsu)
83 mandirform = $(mandir)/$(mantype)$(mansectform)
84
85 # User and group ids the installed files should be "owned" by
86 install_uid = 0
87 install_gid = 0
88
89 # User, group, and mode the sudoers file should be "owned" by (configure)
90 sudoers_uid = @SUDOERS_UID@
91 sudoers_gid = @SUDOERS_GID@
92 sudoers_mode = @SUDOERS_MODE@
93
94 # Pass in paths and uid/gid + OS dependent defined
95 DEFS = @OSDEFS@ -D_PATH_SUDOERS=\"$(sudoersdir)/sudoers\" -D_PATH_SUDOERS_TMP=\"$(sudoersdir)/sudoers.tmp\" -DSUDOERS_UID=$(sudoers_uid) -DSUDOERS_GID=$(sudoers_gid) -DSUDOERS_MODE=$(sudoers_mode)
96
97 #### End of system configuration section. ####
98
99 SHELL = /bin/sh
100
101 PROGS = @PROGS@
102
103 SRCS = alloc.c alloca.c check.c closefrom.c def_data.c defaults.c env.c err.c \
104        fileops.c find_path.c fnmatch.c getcwd.c getprogname.c getspwuid.c \
105        gettime.c glob.c goodpath.c interfaces.c ldap.c lex.yy.c lsearch.c \
106        logging.c memrchr.c mkstemp.c parse.c parse.lex parse.yacc set_perms.c \
107        sigaction.c snprintf.c strcasecmp.c strerror.c strlcat.c strlcpy.c \
108        sudo.c sudo_noexec.c sudo.tab.c sudo_edit.c testsudoers.c tgetpass.c \
109        utimes.c visudo.c zero_bytes.c selinux.c sesh.c $(AUTH_SRCS)
110
111 AUTH_SRCS = auth/afs.c auth/aix_auth.c auth/bsdauth.c auth/dce.c auth/fwtk.c \
112             auth/kerb4.c auth/kerb5.c auth/pam.c auth/passwd.c auth/rfc1938.c \
113             auth/secureware.c auth/securid.c auth/securid5.c auth/sia.c \
114             auth/sudo_auth.c
115
116 HDRS = compat.h def_data.h defaults.h ins_2001.h ins_classic.h ins_csops.h \
117        ins_goons.h insults.h interfaces.h logging.h parse.h sudo.h sudo.tab.h \
118        version.h auth/sudo_auth.h emul/err.h emul/fnmatch.h emul/search.h \
119        emul/utime.h emul/glob.h emul/timespec.h
120
121 AUTH_OBJS = sudo_auth.o @AUTH_OBJS@
122
123 PARSEOBJS = sudo.tab.o lex.yy.o alloc.o defaults.o
124
125 SUDOBJS = check.o env.o getspwuid.o gettime.o goodpath.o fileops.o find_path.o \
126           interfaces.o logging.o parse.o set_perms.o sudo.o sudo_edit.o \
127           tgetpass.o zero_bytes.o @SUDO_OBJS@ $(AUTH_OBJS) $(PARSEOBJS)
128
129 VISUDOBJS = visudo.o fileops.o gettime.o goodpath.o find_path.o $(PARSEOBJS)
130
131 TESTOBJS = interfaces.o testsudoers.o $(PARSEOBJS)
132
133 LIBOBJS = @LIBOBJS@ @ALLOCA@
134
135 VERSION = 1.6.9p14
136
137 DISTFILES = $(SRCS) $(HDRS) BUGS CHANGES HISTORY INSTALL INSTALL.configure \
138             LICENSE Makefile.in PORTING README README.LDAP \
139             TROUBLESHOOTING UPGRADE aclocal.m4 acsite.m4 aixcrypt.exp \
140             config.guess config.h.in config.sub configure configure.in \
141             def_data.in fnmatch.3 indent.pro install-sh ltmain.sh \
142             mkdefaults mkinstalldirs pathnames.h.in sample.pam \
143             sample.syslog.conf sample.sudoers schema.OpenLDAP \
144             schema.iPlanet sudo.cat sudo.man.in sudo.pod sudoers \
145             sudoers.cat sudoers.man.in sudoers.pod sudoers2ldif \
146             visudo.cat visudo.man.in visudo.pod auth/API
147
148 BINFILES= BUGS CHANGES HISTORY LICENSE README TROUBLESHOOTING \
149           UPGRADE install-sh mkinstalldirs sample.syslog.conf sample.sudoers \
150           sudo sudo.cat sudo.man sudo.pod sudoers sudoers.cat sudoers.man \
151           sudoers.pod visudo visudo.cat visudo.man visudo.pod
152
153 BINSPECIAL= INSTALL.binary Makefile.binary libtool
154
155 SUDODEP = $(srcdir)/sudo.h $(srcdir)/compat.h $(srcdir)/defaults.h \
156           $(srcdir)/logging.h config.h def_data.h pathnames.h
157
158 AUTHDEP = $(SUDODEP) $(authdir)/sudo_auth.h
159
160 INSDEP = $(srcdir)/ins_2001.h $(srcdir)/ins_classic.h $(srcdir)/ins_csops.h \
161          $(srcdir)/ins_goons.h $(srcdir)/insults.h
162
163 all: $(PROGS)
164
165 .SUFFIXES: .o .c .h .lex .yacc .man .cat .lo
166
167 .c.o:
168         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $<
169
170 .c.lo:
171         $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $<
172
173 .man.cat:
174         @rm -f $(srcdir)/$@
175         $(NROFF) -man $< > $(srcdir)/$@
176
177 sudo: $(SUDOBJS) $(LIBOBJS)
178         $(CC) -o $@ $(SUDOBJS) $(LIBOBJS) $(SUDO_LDFLAGS) $(SUDO_LIBS)
179
180 visudo: $(VISUDOBJS) $(LIBOBJS)
181         $(CC) -o $@ $(VISUDOBJS) $(LIBOBJS) $(LDFLAGS) $(LIBS) $(NET_LIBS)
182
183 testsudoers: $(TESTOBJS) $(LIBOBJS)
184         $(CC) -o $@ $(TESTOBJS) $(LIBOBJS) $(LDFLAGS) $(LIBS) $(NET_LIBS)
185
186 sudo_noexec.lo: $(srcdir)/sudo_noexec.c
187         $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/sudo_noexec.c
188
189 sudo_noexec.la: sudo_noexec.lo
190         $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ sudo_noexec.lo -avoid-version -rpath $(noexecdir)
191
192 # Uncomment the following if you want "make distclean" to clean the parser
193 @DEV@PARSESRCS = sudo.tab.h sudo.tab.c lex.yy.c def_data.c def_data.h
194
195 # Uncomment the following if you intend to modify parse.yacc
196 @DEV@sudo.tab.c sudo.tab.h: parse.yacc
197 @DEV@   rm -f sudo.tab.h sudo.tab.c
198 @DEV@   $(YACC) -d -b sudo $(srcdir)/parse.yacc
199
200 # Uncomment the following if you intend to modify parse.lex
201 @DEV@lex.yy.c: parse.lex
202 @DEV@   rm -f lex.yy.c
203 @DEV@   $(LEX) $(srcdir)/parse.lex
204
205 # Uncomment the following if you intend to modify def_data.in
206 @DEV@def_data.h def_data.c: def_data.in
207 @DEV@   perl $(srcdir)/mkdefaults -o def_data $(srcdir)/def_data.in
208
209 # Dependencies (not counting auth functions)
210 alloc.o: alloc.c $(SUDODEP)
211 check.o: check.c $(SUDODEP)
212 closefrom.o: closefrom.c config.h
213 env.o: env.c $(SUDODEP)
214 err.o: err.c config.h compat.h emul/err.h
215 fileops.o: fileops.c $(SUDODEP)
216 find_path.o: find_path.c $(SUDODEP)
217 getprogname.o: getprogname.c config.h
218 getspwuid.o: getspwuid.c $(SUDODEP)
219 goodpath.o: goodpath.c $(SUDODEP)
220 logging.o: logging.c $(SUDODEP)
221 set_perms.o: set_perms.c $(SUDODEP)
222 tgetpass.o: tgetpass.c $(SUDODEP)
223 visudo.o: visudo.c $(SUDODEP) version.h
224 sudo.o: sudo.c $(SUDODEP) interfaces.h version.h
225 interfaces.o: interfaces.c $(SUDODEP) interfaces.h
226 testsudoers.o: testsudoers.c $(SUDODEP) parse.h interfaces.h
227 parse.o: parse.c $(SUDODEP) parse.h interfaces.h
228 lex.yy.o: lex.yy.c $(SUDODEP) parse.h sudo.tab.h
229 sudo.tab.o: sudo.tab.c $(SUDODEP) parse.h sudo.tab.c sudo.tab.h
230 defaults.o: defaults.c $(SUDODEP) def_data.c auth/sudo_auth.h
231 fnmatch.o: fnmatch.c config.h compat.h emul/fnmatch.h
232 getcwd.o: getcwd.c config.h compat.h
233 glob.o: glob.c config.h compat.h emul/glob.h
234 lsearch.o: lsearch.c config.h compat.h emul/search.h
235 memrchr.o: memrchr.c config.h compat.h
236 mkstemp.o: mkstemp.c config.h compat.h
237 selinux.o: selinux.c $(SUDODEP)
238 snprintf.o: snprintf.c config.h compat.h
239 strcasecmp.o: strcasecmp.c config.h
240 strlcat.o: strlcat.c config.h
241 strlcpy.o: strlcpy.c config.h
242 strerror.o: strerror.c config.h
243 utime.o: utime.c config.h pathnames.h compat.h emul/utime.h
244 ldap.o: ldap.c $(SUDODEP) parse.h
245 sudo_edit.o: sudo_edit.c $(SUDODEP)
246
247 # Authentication functions live in "auth" dir and so need extra care
248 sudo_auth.o: $(authdir)/sudo_auth.c $(AUTHDEP) $(INSDEP)
249         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/sudo_auth.c
250 afs.o: $(authdir)/afs.c $(AUTHDEP)
251         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/afs.c
252 aix_auth.o: $(authdir)/aix_auth.c $(AUTHDEP)
253         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/aix_auth.c
254 bsdauth.o: $(authdir)/bsdauth.c $(AUTHDEP)
255         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/bsdauth.c
256 dce.o: $(authdir)/dce.c $(AUTHDEP)
257         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/dce.c
258 fwtk.o: $(authdir)/fwtk.c $(AUTHDEP)
259         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/fwtk.c
260 kerb4.o: $(authdir)/kerb4.c $(AUTHDEP)
261         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/kerb4.c
262 kerb5.o: $(authdir)/kerb5.c $(AUTHDEP)
263         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/kerb5.c
264 pam.o: $(authdir)/pam.c $(AUTHDEP)
265         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/pam.c
266 passwd.o: $(authdir)/passwd.c $(AUTHDEP)
267         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/passwd.c
268 rfc1938.o: $(authdir)/rfc1938.c $(AUTHDEP)
269         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/rfc1938.c
270 secureware.o: $(authdir)/secureware.c $(AUTHDEP)
271         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/secureware.c
272 securid.o: $(authdir)/securid.c $(AUTHDEP)
273         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/securid.c
274 securid5.o: $(authdir)/securid5.c $(AUTHDEP)
275         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/securid5.c
276 sia.o: $(authdir)/sia.c $(AUTHDEP)
277         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/sia.c
278
279 sudo.man.in: $(srcdir)/sudo.pod
280         @rm -f $(srcdir)/$@
281         ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; sed -n -e '/^=pod/q' -e 's/^/.\\" /p' sudo.pod > $@; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectsu --release=$(VERSION) --center="MAINTENANCE COMMANDS" sudo.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" | perl -p sudo.man.pl >> $@ )
282
283 sudo.man: sudo.man.in
284         CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status
285
286 sudo.cat: sudo.man
287
288 visudo.man.in: $(srcdir)/visudo.pod
289         @rm -f $(srcdir)/$@
290         ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; sed -n -e '/^=pod/q' -e 's/^/.\\" /p' visudo.pod > $@; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectsu --release=$(VERSION) --center="MAINTENANCE COMMANDS" visudo.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" >> $@ )
291
292 visudo.man: visudo.man.in
293         CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status
294
295 visudo.cat: visudo.man
296
297 sudoers.man.in: $(srcdir)/sudoers.pod
298         @rm -f $(srcdir)/$@
299         ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; sed -n -e '/^=pod/q' -e 's/^/.\\" /p' sudoers.pod > $@; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectform --release=$(VERSION) --center="MAINTENANCE COMMANDS" sudoers.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" | perl -p sudoers.man.pl >> $@ )
300
301 sudoers.man:: sudoers.man.in
302         CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status
303
304 sudoers.cat: sudoers.man
305
306 install: install-dirs install-binaries @INSTALL_NOEXEC@ install-sudoers install-man
307
308 install-dirs:
309         $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(sudodir) \
310             $(DESTDIR)$(visudodir) $(DESTDIR)$(sudoersdir) \
311             $(DESTDIR)$(mandirsu) $(DESTDIR)$(mandirform) \
312             $(DESTDIR)$(noexecdir)
313
314 install-binaries: $(PROGS)
315         $(INSTALL) -O $(install_uid) -G $(install_gid) -M 4111 -s sudo $(DESTDIR)$(sudodir)/sudo
316         rm -f $(DESTDIR)$(sudodir)/sudoedit
317         ln $(DESTDIR)$(sudodir)/sudo $(DESTDIR)$(sudodir)/sudoedit
318         $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 -s visudo $(DESTDIR)$(visudodir)/visudo
319 @SELINUX@       $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 -s sesh $(DESTDIR)$(libexecdir)/sesh
320
321 install-noexec: sudo_noexec.la
322         $(LIBTOOL) --mode=install $(INSTALL) sudo_noexec.la $(DESTDIR)$(noexecdir)
323
324 bininst-noexec: sudo_noexec.la
325         $(LIBTOOL) --mode=install $(INSTALL) sudo_noexec.la $(DESTDIR)$(noexecdir)
326
327 install-sudoers:
328         test -f $(DESTDIR)$(sudoersdir)/sudoers || \
329             $(INSTALL) -O $(sudoers_uid) -G $(sudoers_gid) -M $(sudoers_mode) \
330                 $(srcdir)/sudoers $(DESTDIR)$(sudoersdir)/sudoers
331
332 install-man:
333         $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/sudo.$(mantype) $(DESTDIR)$(mandirsu)/sudo.$(mansectsu)
334         @rm -f $(DESTDIR)$(mandirsu)/sudoedit.$(mansectsu)
335         ln $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) $(DESTDIR)$(mandirsu)/sudoedit.$(mansectsu)
336         $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/visudo.$(mantype) $(DESTDIR)$(mandirsu)/visudo.$(mansectsu)
337         $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/sudoers.$(mantype) $(DESTDIR)$(mandirform)/sudoers.$(mansectform)
338 @MAN_POSTINSTALL@
339
340 check:
341         @echo nothing to check
342
343 tags: $(SRCS)
344         ctags $(SRCS)
345
346 TAGS: $(SRCS)
347         etags $(SRCS)
348
349 clean:
350         -rm -f *.o $(PROGS) testsudoers core sudo.core visudo.core \
351                testsudoers.core
352
353 mostlyclean: clean
354
355 distclean: clean
356         -rm -rf Makefile pathnames.h config.h config.status config.cache \
357                 config.log libtool sudo_noexec.lo .libs $(PARSESRCS) \
358                 sudo.man sudoers.man visudo.man
359
360 clobber: distclean
361
362 realclean: distclean
363         rm -f TAGS tags
364
365 cleandir: realclean
366
367 dist:
368         rm -f ../sudo-$(VERSION).tar.gz
369         ( cd .. ; TF="/tmp/sudo.dist$$$$" ; rm -f $$TF ; for i in $(DISTFILES) ; \
370           do echo sudo-$(VERSION)/$$i >> $$TF ; done ; \
371           tar Ocf sudo-$(VERSION).tar \
372           `cat $$TF` && gzip --best sudo-$(VERSION).tar && rm -f $$TF)
373         ls -l ../sudo-$(VERSION).tar.gz
374
375 bindist:
376         ( \
377           ARCH=`uname -m|sed 's:/:_:g'`+`uname -sr|sed 's/ /_/g'` ; \
378           mkdir tmp.$$ARCH ; \
379           tdir=tmp.$$ARCH/sudo-$(VERSION) ; \
380           mkdir $$tdir ; \
381           for i in $(BINFILES) ; do \
382             if [ -f $$i ]; then \
383               cp $$i $$tdir ; \
384             elif [ -f $(srcdir)/$$i ]; then \
385               cp $(srcdir)/$$i $$tdir ; \
386             else \
387               echo cannot find $$i ; \
388               exit 1 ; \
389             fi ; \
390           done ; \
391           if [ -f sudo_noexec.la ]; then \
392             cp libtool $$tdir ; \
393             $(LIBTOOL) --mode=install $(INSTALL) sudo_noexec.la `pwd`/$$tdir ; \
394             ln $$tdir/sudo_noexec.la $$tdir/sudo_noexec.lai ; \
395             ln -s . $$tdir/.libs ; \
396           fi ; \
397           cp $(srcdir)/INSTALL.binary $$tdir/INSTALL ; \
398           sh ./config.status --file=Makefile.binary && cp Makefile.binary $$tdir/Makefile ; \
399           strip sudo ; \
400           strip visudo ; \
401           cd tmp.$$ARCH && tar Ocf ../sudo-$(VERSION)-$$ARCH.tar sudo-$(VERSION) && cd .. ; \
402           gzip --best sudo-$(VERSION)-$$ARCH.tar ; \
403           rm -rf tmp.$$ARCH ; \
404         )