xref: /freebsd/crypto/heimdal/appl/rsh/Makefile.in (revision 4137ff4cc173ea2e05227027e1c9e0ea42bcc0dc)
1# Makefile.in generated automatically by automake 1.5 from Makefile.am.
2
3# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4# Free Software Foundation, Inc.
5# This Makefile.in is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14@SET_MAKE@
15
16# $Id: Makefile.am,v 1.17 2001/07/31 09:12:03 joda Exp $
17
18
19# $Id: Makefile.am.common,v 1.3 1999/04/01 14:58:43 joda Exp $
20
21
22# $Id: Makefile.am.common,v 1.31 2001/09/01 11:12:18 assar Exp $
23
24SHELL = @SHELL@
25
26srcdir = @srcdir@
27top_srcdir = @top_srcdir@
28VPATH = @srcdir@
29prefix = @prefix@
30exec_prefix = @exec_prefix@
31
32bindir = @bindir@
33sbindir = @sbindir@
34libexecdir = @libexecdir@
35datadir = @datadir@
36sysconfdir = @sysconfdir@
37sharedstatedir = @sharedstatedir@
38localstatedir = @localstatedir@
39libdir = @libdir@
40infodir = @infodir@
41mandir = @mandir@
42includedir = @includedir@
43oldincludedir = /usr/include
44pkgdatadir = $(datadir)/@PACKAGE@
45pkglibdir = $(libdir)/@PACKAGE@
46pkgincludedir = $(includedir)/@PACKAGE@
47top_builddir = ../..
48
49ACLOCAL = @ACLOCAL@
50AUTOCONF = @AUTOCONF@
51AUTOMAKE = @AUTOMAKE@
52AUTOHEADER = @AUTOHEADER@
53
54INSTALL = @INSTALL@
55INSTALL_PROGRAM = @INSTALL_PROGRAM@
56INSTALL_DATA = @INSTALL_DATA@
57INSTALL_SCRIPT = @INSTALL_SCRIPT@
58INSTALL_HEADER = $(INSTALL_DATA)
59transform = @program_transform_name@
60NORMAL_INSTALL = :
61PRE_INSTALL = :
62POST_INSTALL = :
63NORMAL_UNINSTALL = :
64PRE_UNINSTALL = :
65POST_UNINSTALL = :
66host_alias = @host_alias@
67host_triplet = @host@
68AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
69AMTAR = @AMTAR@
70AS = @AS@
71AWK = @AWK@
72CANONICAL_HOST = @CANONICAL_HOST@
73CATMAN = @CATMAN@
74CATMANEXT = @CATMANEXT@
75CC = @CC@
76COMPILE_ET = @COMPILE_ET@
77CPP = @CPP@
78DBLIB = @DBLIB@
79DEPDIR = @DEPDIR@
80DIR_com_err = @DIR_com_err@
81DIR_des = @DIR_des@
82DIR_roken = @DIR_roken@
83DLLTOOL = @DLLTOOL@
84EXEEXT = @EXEEXT@
85EXTRA_LIB45 = @EXTRA_LIB45@
86GROFF = @GROFF@
87INCLUDES_roken = @INCLUDES_roken@
88INCLUDE_ = @INCLUDE_@
89INCLUDE_des = @INCLUDE_des@
90INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
91LEX = @LEX@
92LIBOBJS = @LIBOBJS@
93LIBTOOL = @LIBTOOL@
94LIB_ = @LIB_@
95LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
96LIB_NDBM = @LIB_NDBM@
97LIB_com_err = @LIB_com_err@
98LIB_com_err_a = @LIB_com_err_a@
99LIB_com_err_so = @LIB_com_err_so@
100LIB_des = @LIB_des@
101LIB_des_a = @LIB_des_a@
102LIB_des_appl = @LIB_des_appl@
103LIB_des_so = @LIB_des_so@
104LIB_kdb = @LIB_kdb@
105LIB_otp = @LIB_otp@
106LIB_roken = @LIB_roken@
107LIB_security = @LIB_security@
108LN_S = @LN_S@
109LTLIBOBJS = @LTLIBOBJS@
110NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
111NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
112NROFF = @NROFF@
113OBJDUMP = @OBJDUMP@
114OBJEXT = @OBJEXT@
115PACKAGE = @PACKAGE@
116RANLIB = @RANLIB@
117VERSION = @VERSION@
118VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
119WFLAGS = @WFLAGS@
120WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
121WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
122X_CFLAGS = @X_CFLAGS@
123X_EXTRA_LIBS = @X_EXTRA_LIBS@
124X_LIBS = @X_LIBS@
125X_PRE_LIBS = @X_PRE_LIBS@
126YACC = @YACC@
127am__include = @am__include@
128am__quote = @am__quote@
129dpagaix_CFLAGS = @dpagaix_CFLAGS@
130dpagaix_LDADD = @dpagaix_LDADD@
131install_sh = @install_sh@
132
133AUTOMAKE_OPTIONS = foreign no-dependencies 1.4b
134
135SUFFIXES = .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x
136
137INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(INCLUDE_krb4) -I$(srcdir)/../login
138
139AM_CFLAGS = $(WFLAGS)
140
141CP = cp
142
143buildinclude = $(top_builddir)/include
144
145LIB_XauReadAuth = @LIB_XauReadAuth@
146LIB_crypt = @LIB_crypt@
147LIB_dbm_firstkey = @LIB_dbm_firstkey@
148LIB_dbopen = @LIB_dbopen@
149LIB_dlopen = @LIB_dlopen@
150LIB_dn_expand = @LIB_dn_expand@
151LIB_el_init = @LIB_el_init@
152LIB_getattr = @LIB_getattr@
153LIB_gethostbyname = @LIB_gethostbyname@
154LIB_getpwent_r = @LIB_getpwent_r@
155LIB_getpwnam_r = @LIB_getpwnam_r@
156LIB_getsockopt = @LIB_getsockopt@
157LIB_logout = @LIB_logout@
158LIB_logwtmp = @LIB_logwtmp@
159LIB_odm_initialize = @LIB_odm_initialize@
160LIB_openpty = @LIB_openpty@
161LIB_pidfile = @LIB_pidfile@
162LIB_res_search = @LIB_res_search@
163LIB_setpcred = @LIB_setpcred@
164LIB_setsockopt = @LIB_setsockopt@
165LIB_socket = @LIB_socket@
166LIB_syslog = @LIB_syslog@
167LIB_tgetent = @LIB_tgetent@
168
169LIBS = @LIBS@
170
171HESIODLIB = @HESIODLIB@
172HESIODINCLUDE = @HESIODINCLUDE@
173INCLUDE_hesiod = @INCLUDE_hesiod@
174LIB_hesiod = @LIB_hesiod@
175
176INCLUDE_krb4 = @INCLUDE_krb4@
177LIB_krb4 = @LIB_krb4@
178
179INCLUDE_openldap = @INCLUDE_openldap@
180LIB_openldap = @LIB_openldap@
181
182INCLUDE_readline = @INCLUDE_readline@
183LIB_readline = @LIB_readline@
184
185LEXLIB = @LEXLIB@
186
187NROFF_MAN = groff -mandoc -Tascii
188
189@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
190
191@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
192@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
193
194@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
195
196@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
197
198CHECK_LOCAL = $(PROGRAMS)
199
200bin_PROGRAMS = rsh
201
202man_MANS = rsh.1 rshd.8
203
204libexec_PROGRAMS = rshd
205
206rsh_SOURCES = rsh.c common.c rsh_locl.h
207
208rshd_SOURCES = rshd.c common.c login_access.c rsh_locl.h
209
210LDADD = $(LIB_kafs) \
211	$(LIB_krb5) \
212	$(LIB_krb4) \
213	$(LIB_des) \
214	$(LIB_roken) \
215	$(LIB_kdfs)
216
217subdir = appl/rsh
218mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
219CONFIG_HEADER = $(top_builddir)/include/config.h
220CONFIG_CLEAN_FILES =
221bin_PROGRAMS = rsh$(EXEEXT)
222libexec_PROGRAMS = rshd$(EXEEXT)
223PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS)
224
225am_rsh_OBJECTS = rsh.$(OBJEXT) common.$(OBJEXT)
226rsh_OBJECTS = $(am_rsh_OBJECTS)
227rsh_LDADD = $(LDADD)
228@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES = \
229@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
230@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
231@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES =
232@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES = \
233@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
234@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
235@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
236@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES = \
237@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
238@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rsh_DEPENDENCIES = \
239@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
240@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la \
241@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
242@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rsh_DEPENDENCIES = \
243@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
244@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rsh_DEPENDENCIES = \
245@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
246@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
247@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la \
248@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
249@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rsh_DEPENDENCIES = \
250@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la \
251@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
252rsh_LDFLAGS =
253am_rshd_OBJECTS = rshd.$(OBJEXT) common.$(OBJEXT) login_access.$(OBJEXT)
254rshd_OBJECTS = $(am_rshd_OBJECTS)
255rshd_LDADD = $(LDADD)
256@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES = \
257@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
258@DCE_FALSE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
259@DCE_FALSE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES =
260@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES = \
261@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
262@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
263@DCE_FALSE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
264@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES = \
265@DCE_FALSE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la
266@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@rshd_DEPENDENCIES = \
267@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
268@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la \
269@DCE_TRUE@@KRB4_FALSE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
270@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@rshd_DEPENDENCIES = \
271@DCE_TRUE@@KRB4_FALSE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
272@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@rshd_DEPENDENCIES = \
273@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kafs/libkafs.la \
274@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/krb5/libkrb5.la \
275@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la \
276@DCE_TRUE@@KRB4_TRUE@@KRB5_TRUE@	$(top_builddir)/lib/kdfs/libkdfs.la
277@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@rshd_DEPENDENCIES = \
278@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kafs/libkafs.la \
279@DCE_TRUE@@KRB4_TRUE@@KRB5_FALSE@	$(top_builddir)/lib/kdfs/libkdfs.la
280rshd_LDFLAGS =
281
282DEFS = @DEFS@
283DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
284CPPFLAGS = @CPPFLAGS@
285LDFLAGS = @LDFLAGS@
286depcomp =
287COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
288	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
289LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
290	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
291CCLD = $(CC)
292LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
293	$(AM_LDFLAGS) $(LDFLAGS) -o $@
294CFLAGS = @CFLAGS@
295DIST_SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
296
297NROFF = nroff
298MANS = $(man_MANS)
299DIST_COMMON = ChangeLog Makefile.am Makefile.in
300SOURCES = $(rsh_SOURCES) $(rshd_SOURCES)
301
302all: all-am
303
304.SUFFIXES:
305.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
306
307mostlyclean-libtool:
308	-rm -f *.lo
309
310clean-libtool:
311	-rm -rf .libs _libs
312
313distclean-libtool:
314	-rm -f libtool
315$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
316	cd $(top_srcdir) && \
317	  $(AUTOMAKE) --foreign  appl/rsh/Makefile
318Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
319	cd $(top_builddir) && \
320	  CONFIG_HEADERS= CONFIG_LINKS= \
321	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
322install-binPROGRAMS: $(bin_PROGRAMS)
323	@$(NORMAL_INSTALL)
324	$(mkinstalldirs) $(DESTDIR)$(bindir)
325	@list='$(bin_PROGRAMS)'; for p in $$list; do \
326	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
327	  if test -f $$p \
328	     || test -f $$p1 \
329	  ; then \
330	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
331	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
332	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
333	  else :; fi; \
334	done
335
336uninstall-binPROGRAMS:
337	@$(NORMAL_UNINSTALL)
338	@list='$(bin_PROGRAMS)'; for p in $$list; do \
339	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
340	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
341	  rm -f $(DESTDIR)$(bindir)/$$f; \
342	done
343
344clean-binPROGRAMS:
345	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
346install-libexecPROGRAMS: $(libexec_PROGRAMS)
347	@$(NORMAL_INSTALL)
348	$(mkinstalldirs) $(DESTDIR)$(libexecdir)
349	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
350	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
351	  if test -f $$p \
352	     || test -f $$p1 \
353	  ; then \
354	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
355	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f"; \
356	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/$$f; \
357	  else :; fi; \
358	done
359
360uninstall-libexecPROGRAMS:
361	@$(NORMAL_UNINSTALL)
362	@list='$(libexec_PROGRAMS)'; for p in $$list; do \
363	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
364	  echo " rm -f $(DESTDIR)$(libexecdir)/$$f"; \
365	  rm -f $(DESTDIR)$(libexecdir)/$$f; \
366	done
367
368clean-libexecPROGRAMS:
369	-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
370rsh$(EXEEXT): $(rsh_OBJECTS) $(rsh_DEPENDENCIES)
371	@rm -f rsh$(EXEEXT)
372	$(LINK) $(rsh_LDFLAGS) $(rsh_OBJECTS) $(rsh_LDADD) $(LIBS)
373rshd$(EXEEXT): $(rshd_OBJECTS) $(rshd_DEPENDENCIES)
374	@rm -f rshd$(EXEEXT)
375	$(LINK) $(rshd_LDFLAGS) $(rshd_OBJECTS) $(rshd_LDADD) $(LIBS)
376
377mostlyclean-compile:
378	-rm -f *.$(OBJEXT) core *.core
379
380distclean-compile:
381	-rm -f *.tab.c
382
383.c.o:
384	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
385
386.c.obj:
387	$(COMPILE) -c `cygpath -w $<`
388
389.c.lo:
390	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
391uninstall-info-am:
392
393man1dir = $(mandir)/man1
394install-man1: $(man1_MANS) $(man_MANS)
395	@$(NORMAL_INSTALL)
396	$(mkinstalldirs) $(DESTDIR)$(man1dir)
397	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
398	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
399	for i in $$l2; do \
400	  case "$$i" in \
401	    *.1*) list="$$list $$i" ;; \
402	  esac; \
403	done; \
404	for i in $$list; do \
405	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
406	  else file=$$i; fi; \
407	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
408	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
409	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
410	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
411	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
412	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
413	done
414uninstall-man1:
415	@$(NORMAL_UNINSTALL)
416	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
417	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
418	for i in $$l2; do \
419	  case "$$i" in \
420	    *.1*) list="$$list $$i" ;; \
421	  esac; \
422	done; \
423	for i in $$list; do \
424	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
425	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
426	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
427	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
428	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
429	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
430	done
431
432man8dir = $(mandir)/man8
433install-man8: $(man8_MANS) $(man_MANS)
434	@$(NORMAL_INSTALL)
435	$(mkinstalldirs) $(DESTDIR)$(man8dir)
436	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
437	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
438	for i in $$l2; do \
439	  case "$$i" in \
440	    *.8*) list="$$list $$i" ;; \
441	  esac; \
442	done; \
443	for i in $$list; do \
444	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
445	  else file=$$i; fi; \
446	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
447	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
448	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
449	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
450	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
451	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
452	done
453uninstall-man8:
454	@$(NORMAL_UNINSTALL)
455	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
456	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
457	for i in $$l2; do \
458	  case "$$i" in \
459	    *.8*) list="$$list $$i" ;; \
460	  esac; \
461	done; \
462	for i in $$list; do \
463	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
464	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
465	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
466	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
467	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
468	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
469	done
470
471tags: TAGS
472
473ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
474	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
475	unique=`for i in $$list; do \
476	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
477	  done | \
478	  $(AWK) '    { files[$$0] = 1; } \
479	       END { for (i in files) print i; }'`; \
480	mkid -fID $$unique $(LISP)
481
482TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
483		$(TAGS_FILES) $(LISP)
484	tags=; \
485	here=`pwd`; \
486	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
487	unique=`for i in $$list; do \
488	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
489	  done | \
490	  $(AWK) '    { files[$$0] = 1; } \
491	       END { for (i in files) print i; }'`; \
492	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
493	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
494
495GTAGS:
496	here=`CDPATH=: && cd $(top_builddir) && pwd` \
497	  && cd $(top_srcdir) \
498	  && gtags -i $(GTAGS_ARGS) $$here
499
500distclean-tags:
501	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
502
503DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
504
505top_distdir = ../..
506distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
507
508distdir: $(DISTFILES)
509	@for file in $(DISTFILES); do \
510	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
511	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
512	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
513	    $(mkinstalldirs) "$(distdir)/$$dir"; \
514	  fi; \
515	  if test -d $$d/$$file; then \
516	    cp -pR $$d/$$file $(distdir) \
517	    || exit 1; \
518	  else \
519	    test -f $(distdir)/$$file \
520	    || cp -p $$d/$$file $(distdir)/$$file \
521	    || exit 1; \
522	  fi; \
523	done
524	$(MAKE) $(AM_MAKEFLAGS) \
525	  top_distdir="${top_distdir}" distdir="$(distdir)" \
526	  dist-hook
527check-am: all-am
528	$(MAKE) $(AM_MAKEFLAGS) check-local
529check: check-am
530all-am: Makefile $(PROGRAMS) $(MANS) all-local
531
532installdirs:
533	$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(libexecdir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man8dir)
534
535install: install-am
536install-exec: install-exec-am
537install-data: install-data-am
538uninstall: uninstall-am
539
540install-am: all-am
541	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
542
543installcheck: installcheck-am
544install-strip:
545	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
546	  `test -z '$(STRIP)' || \
547	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
548mostlyclean-generic:
549
550clean-generic:
551
552distclean-generic:
553	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
554
555maintainer-clean-generic:
556	@echo "This command is intended for maintainers to use"
557	@echo "it deletes files that may require special tools to rebuild."
558clean: clean-am
559
560clean-am: clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
561	clean-libtool mostlyclean-am
562
563distclean: distclean-am
564
565distclean-am: clean-am distclean-compile distclean-generic \
566	distclean-libtool distclean-tags
567
568dvi: dvi-am
569
570dvi-am:
571
572info: info-am
573
574info-am:
575
576install-data-am: install-data-local install-man
577
578install-exec-am: install-binPROGRAMS install-libexecPROGRAMS
579	@$(NORMAL_INSTALL)
580	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
581
582install-info: install-info-am
583
584install-man: install-man1 install-man8
585
586installcheck-am:
587
588maintainer-clean: maintainer-clean-am
589
590maintainer-clean-am: distclean-am maintainer-clean-generic
591
592mostlyclean: mostlyclean-am
593
594mostlyclean-am: mostlyclean-compile mostlyclean-generic \
595	mostlyclean-libtool
596
597uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
598	uninstall-libexecPROGRAMS uninstall-man
599
600uninstall-man: uninstall-man1 uninstall-man8
601
602.PHONY: GTAGS all all-am all-local check check-am check-local clean \
603	clean-binPROGRAMS clean-generic clean-libexecPROGRAMS \
604	clean-libtool distclean distclean-compile distclean-generic \
605	distclean-libtool distclean-tags distdir dvi dvi-am info \
606	info-am install install-am install-binPROGRAMS install-data \
607	install-data-am install-data-local install-exec install-exec-am \
608	install-info install-info-am install-libexecPROGRAMS \
609	install-man install-man1 install-man8 install-strip \
610	installcheck installcheck-am installdirs maintainer-clean \
611	maintainer-clean-generic mostlyclean mostlyclean-compile \
612	mostlyclean-generic mostlyclean-libtool tags uninstall \
613	uninstall-am uninstall-binPROGRAMS uninstall-info-am \
614	uninstall-libexecPROGRAMS uninstall-man uninstall-man1 \
615	uninstall-man8
616
617
618install-suid-programs:
619	@foo='$(bin_SUIDS)'; \
620	for file in $$foo; do \
621	x=$(DESTDIR)$(bindir)/$$file; \
622	if chown 0:0 $$x && chmod u+s $$x; then :; else \
623	echo "*"; \
624	echo "* Failed to install $$x setuid root"; \
625	echo "*"; \
626	fi; done
627
628install-exec-hook: install-suid-programs
629
630install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
631	@foo='$(include_HEADERS) $(build_HEADERZ)'; \
632	for f in $$foo; do \
633		f=`basename $$f`; \
634		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
635		else file="$$f"; fi; \
636		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
637		: ; else \
638			echo " $(CP) $$file $(buildinclude)/$$f"; \
639			$(CP) $$file $(buildinclude)/$$f; \
640		fi ; \
641	done
642
643all-local: install-build-headers
644#NROFF_MAN = nroff -man
645.1.cat1:
646	$(NROFF_MAN) $< > $@
647.3.cat3:
648	$(NROFF_MAN) $< > $@
649.5.cat5:
650	$(NROFF_MAN) $< > $@
651.8.cat8:
652	$(NROFF_MAN) $< > $@
653
654dist-cat1-mans:
655	@foo='$(man1_MANS)'; \
656	bar='$(man_MANS)'; \
657	for i in $$bar; do \
658	case $$i in \
659	*.1) foo="$$foo $$i";; \
660	esac; done ;\
661	for i in $$foo; do \
662		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
663		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
664		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
665	done
666
667dist-cat3-mans:
668	@foo='$(man3_MANS)'; \
669	bar='$(man_MANS)'; \
670	for i in $$bar; do \
671	case $$i in \
672	*.3) foo="$$foo $$i";; \
673	esac; done ;\
674	for i in $$foo; do \
675		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
676		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
677		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
678	done
679
680dist-cat5-mans:
681	@foo='$(man5_MANS)'; \
682	bar='$(man_MANS)'; \
683	for i in $$bar; do \
684	case $$i in \
685	*.5) foo="$$foo $$i";; \
686	esac; done ;\
687	for i in $$foo; do \
688		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
689		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
690		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
691	done
692
693dist-cat8-mans:
694	@foo='$(man8_MANS)'; \
695	bar='$(man_MANS)'; \
696	for i in $$bar; do \
697	case $$i in \
698	*.8) foo="$$foo $$i";; \
699	esac; done ;\
700	for i in $$foo; do \
701		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
702		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
703		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
704	done
705
706dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
707
708install-cat-mans:
709	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
710
711install-data-local: install-cat-mans
712
713.et.h:
714	$(COMPILE_ET) $<
715.et.c:
716	$(COMPILE_ET) $<
717
718.x.c:
719	@cmp -s $< $@ 2> /dev/null || cp $< $@
720
721check-local::
722	@foo='$(CHECK_LOCAL)'; \
723	  if test "$$foo"; then \
724	  failed=0; all=0; \
725	  for i in $$foo; do \
726	    all=`expr $$all + 1`; \
727	    if ./$$i --version > /dev/null 2>&1; then \
728	      echo "PASS: $$i"; \
729	    else \
730	      echo "FAIL: $$i"; \
731	      failed=`expr $$failed + 1`; \
732	    fi; \
733	  done; \
734	  if test "$$failed" -eq 0; then \
735	    banner="All $$all tests passed"; \
736	  else \
737	    banner="$$failed of $$all tests failed"; \
738	  fi; \
739	  dashes=`echo "$$banner" | sed s/./=/g`; \
740	  echo "$$dashes"; \
741	  echo "$$banner"; \
742	  echo "$$dashes"; \
743	  test "$$failed" -eq 0; \
744	fi
745
746login_access.c:
747	$(LN_S) $(srcdir)/../login/login_access.c .
748# Tell versions [3.59,3.63) of GNU make to not export all variables.
749# Otherwise a system limit (for SysV at least) may be exceeded.
750.NOEXPORT:
751