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