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