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