xref: /freebsd/crypto/heimdal/appl/telnet/libtelnet/Makefile.in (revision 42c159fe388a3765f69860c84183700af37aca8a)
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.9 2001/08/28 08:31:23 assar 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) -I$(srcdir)/.. $(INCLUDE_krb4) $(INCLUDE_des)
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
200noinst_LIBRARIES = libtelnet.a
201
202libtelnet_a_SOURCES = \
203	auth-proto.h	\
204	auth.c		\
205	auth.h		\
206	enc-proto.h	\
207	enc_des.c	\
208	encrypt.c	\
209	encrypt.h	\
210	genget.c	\
211	kerberos.c	\
212	kerberos5.c	\
213	misc-proto.h	\
214	misc.c		\
215	misc.h
216
217
218EXTRA_DIST = krb4encpwd.c rsaencpwd.c spx.c
219subdir = appl/telnet/libtelnet
220mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
221CONFIG_HEADER = $(top_builddir)/include/config.h
222CONFIG_CLEAN_FILES =
223LIBRARIES = $(noinst_LIBRARIES)
224
225libtelnet_a_AR = $(AR) cru
226libtelnet_a_LIBADD =
227am_libtelnet_a_OBJECTS = auth.$(OBJEXT) enc_des.$(OBJEXT) \
228	encrypt.$(OBJEXT) genget.$(OBJEXT) kerberos.$(OBJEXT) \
229	kerberos5.$(OBJEXT) misc.$(OBJEXT)
230libtelnet_a_OBJECTS = $(am_libtelnet_a_OBJECTS)
231
232DEFS = @DEFS@
233DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
234CPPFLAGS = @CPPFLAGS@
235LDFLAGS = @LDFLAGS@
236depcomp =
237COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
238	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
239LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
240	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
241CCLD = $(CC)
242LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
243	$(AM_LDFLAGS) $(LDFLAGS) -o $@
244CFLAGS = @CFLAGS@
245DIST_SOURCES = $(libtelnet_a_SOURCES)
246DIST_COMMON = Makefile.am Makefile.in
247SOURCES = $(libtelnet_a_SOURCES)
248
249all: all-am
250
251.SUFFIXES:
252.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .lo .o .obj
253
254mostlyclean-libtool:
255	-rm -f *.lo
256
257clean-libtool:
258	-rm -rf .libs _libs
259
260distclean-libtool:
261	-rm -f libtool
262$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
263	cd $(top_srcdir) && \
264	  $(AUTOMAKE) --foreign  appl/telnet/libtelnet/Makefile
265Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
266	cd $(top_builddir) && \
267	  CONFIG_HEADERS= CONFIG_LINKS= \
268	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
269
270AR = ar
271
272clean-noinstLIBRARIES:
273	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
274libtelnet.a: $(libtelnet_a_OBJECTS) $(libtelnet_a_DEPENDENCIES)
275	-rm -f libtelnet.a
276	$(libtelnet_a_AR) libtelnet.a $(libtelnet_a_OBJECTS) $(libtelnet_a_LIBADD)
277	$(RANLIB) libtelnet.a
278
279mostlyclean-compile:
280	-rm -f *.$(OBJEXT) core *.core
281
282distclean-compile:
283	-rm -f *.tab.c
284
285.c.o:
286	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
287
288.c.obj:
289	$(COMPILE) -c `cygpath -w $<`
290
291.c.lo:
292	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
293uninstall-info-am:
294
295tags: TAGS
296
297ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
298	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
299	unique=`for i in $$list; do \
300	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
301	  done | \
302	  $(AWK) '    { files[$$0] = 1; } \
303	       END { for (i in files) print i; }'`; \
304	mkid -fID $$unique $(LISP)
305
306TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
307		$(TAGS_FILES) $(LISP)
308	tags=; \
309	here=`pwd`; \
310	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
311	unique=`for i in $$list; do \
312	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
313	  done | \
314	  $(AWK) '    { files[$$0] = 1; } \
315	       END { for (i in files) print i; }'`; \
316	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
317	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
318
319GTAGS:
320	here=`CDPATH=: && cd $(top_builddir) && pwd` \
321	  && cd $(top_srcdir) \
322	  && gtags -i $(GTAGS_ARGS) $$here
323
324distclean-tags:
325	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
326
327DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
328
329top_distdir = ../../..
330distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
331
332distdir: $(DISTFILES)
333	@for file in $(DISTFILES); do \
334	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
335	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
336	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
337	    $(mkinstalldirs) "$(distdir)/$$dir"; \
338	  fi; \
339	  if test -d $$d/$$file; then \
340	    cp -pR $$d/$$file $(distdir) \
341	    || exit 1; \
342	  else \
343	    test -f $(distdir)/$$file \
344	    || cp -p $$d/$$file $(distdir)/$$file \
345	    || exit 1; \
346	  fi; \
347	done
348	$(MAKE) $(AM_MAKEFLAGS) \
349	  top_distdir="${top_distdir}" distdir="$(distdir)" \
350	  dist-hook
351check-am: all-am
352	$(MAKE) $(AM_MAKEFLAGS) check-local
353check: check-am
354all-am: Makefile $(LIBRARIES) all-local
355
356installdirs:
357
358install: install-am
359install-exec: install-exec-am
360install-data: install-data-am
361uninstall: uninstall-am
362
363install-am: all-am
364	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
365
366installcheck: installcheck-am
367install-strip:
368	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
369	  `test -z '$(STRIP)' || \
370	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
371mostlyclean-generic:
372
373clean-generic:
374
375distclean-generic:
376	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
377
378maintainer-clean-generic:
379	@echo "This command is intended for maintainers to use"
380	@echo "it deletes files that may require special tools to rebuild."
381clean: clean-am
382
383clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \
384	mostlyclean-am
385
386distclean: distclean-am
387
388distclean-am: clean-am distclean-compile distclean-generic \
389	distclean-libtool distclean-tags
390
391dvi: dvi-am
392
393dvi-am:
394
395info: info-am
396
397info-am:
398
399install-data-am: install-data-local
400
401install-exec-am:
402	@$(NORMAL_INSTALL)
403	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
404
405install-info: install-info-am
406
407install-man:
408
409installcheck-am:
410
411maintainer-clean: maintainer-clean-am
412
413maintainer-clean-am: distclean-am maintainer-clean-generic
414
415mostlyclean: mostlyclean-am
416
417mostlyclean-am: mostlyclean-compile mostlyclean-generic \
418	mostlyclean-libtool
419
420uninstall-am: uninstall-info-am
421
422.PHONY: GTAGS all all-am all-local check check-am check-local clean \
423	clean-generic clean-libtool clean-noinstLIBRARIES distclean \
424	distclean-compile distclean-generic distclean-libtool \
425	distclean-tags distdir dvi dvi-am info info-am install \
426	install-am install-data install-data-am install-data-local \
427	install-exec install-exec-am install-info install-info-am \
428	install-man install-strip installcheck installcheck-am \
429	installdirs maintainer-clean maintainer-clean-generic \
430	mostlyclean mostlyclean-compile mostlyclean-generic \
431	mostlyclean-libtool tags uninstall uninstall-am \
432	uninstall-info-am
433
434
435install-suid-programs:
436	@foo='$(bin_SUIDS)'; \
437	for file in $$foo; do \
438	x=$(DESTDIR)$(bindir)/$$file; \
439	if chown 0:0 $$x && chmod u+s $$x; then :; else \
440	echo "*"; \
441	echo "* Failed to install $$x setuid root"; \
442	echo "*"; \
443	fi; done
444
445install-exec-hook: install-suid-programs
446
447install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
448	@foo='$(include_HEADERS) $(build_HEADERZ)'; \
449	for f in $$foo; do \
450		f=`basename $$f`; \
451		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
452		else file="$$f"; fi; \
453		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
454		: ; else \
455			echo " $(CP) $$file $(buildinclude)/$$f"; \
456			$(CP) $$file $(buildinclude)/$$f; \
457		fi ; \
458	done
459
460all-local: install-build-headers
461#NROFF_MAN = nroff -man
462.1.cat1:
463	$(NROFF_MAN) $< > $@
464.3.cat3:
465	$(NROFF_MAN) $< > $@
466.5.cat5:
467	$(NROFF_MAN) $< > $@
468.8.cat8:
469	$(NROFF_MAN) $< > $@
470
471dist-cat1-mans:
472	@foo='$(man1_MANS)'; \
473	bar='$(man_MANS)'; \
474	for i in $$bar; do \
475	case $$i in \
476	*.1) foo="$$foo $$i";; \
477	esac; done ;\
478	for i in $$foo; do \
479		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
480		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
481		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
482	done
483
484dist-cat3-mans:
485	@foo='$(man3_MANS)'; \
486	bar='$(man_MANS)'; \
487	for i in $$bar; do \
488	case $$i in \
489	*.3) foo="$$foo $$i";; \
490	esac; done ;\
491	for i in $$foo; do \
492		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
493		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
494		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
495	done
496
497dist-cat5-mans:
498	@foo='$(man5_MANS)'; \
499	bar='$(man_MANS)'; \
500	for i in $$bar; do \
501	case $$i in \
502	*.5) foo="$$foo $$i";; \
503	esac; done ;\
504	for i in $$foo; do \
505		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
506		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
507		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
508	done
509
510dist-cat8-mans:
511	@foo='$(man8_MANS)'; \
512	bar='$(man_MANS)'; \
513	for i in $$bar; do \
514	case $$i in \
515	*.8) foo="$$foo $$i";; \
516	esac; done ;\
517	for i in $$foo; do \
518		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
519		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
520		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
521	done
522
523dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
524
525install-cat-mans:
526	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
527
528install-data-local: install-cat-mans
529
530.et.h:
531	$(COMPILE_ET) $<
532.et.c:
533	$(COMPILE_ET) $<
534
535.x.c:
536	@cmp -s $< $@ 2> /dev/null || cp $< $@
537
538check-local::
539	@foo='$(CHECK_LOCAL)'; \
540	  if test "$$foo"; then \
541	  failed=0; all=0; \
542	  for i in $$foo; do \
543	    all=`expr $$all + 1`; \
544	    if ./$$i --version > /dev/null 2>&1; then \
545	      echo "PASS: $$i"; \
546	    else \
547	      echo "FAIL: $$i"; \
548	      failed=`expr $$failed + 1`; \
549	    fi; \
550	  done; \
551	  if test "$$failed" -eq 0; then \
552	    banner="All $$all tests passed"; \
553	  else \
554	    banner="$$failed of $$all tests failed"; \
555	  fi; \
556	  dashes=`echo "$$banner" | sed s/./=/g`; \
557	  echo "$$dashes"; \
558	  echo "$$banner"; \
559	  echo "$$dashes"; \
560	  test "$$failed" -eq 0; \
561	fi
562# Tell versions [3.59,3.63) of GNU make to not export all variables.
563# Otherwise a system limit (for SysV at least) may be exceeded.
564.NOEXPORT:
565