xref: /freebsd/crypto/heimdal/lib/asn1/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.67 2001/09/02 16:56:45 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)
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
200YFLAGS = -d
201
202lib_LTLIBRARIES = libasn1.la
203libasn1_la_LDFLAGS = -version-info 5:0:0
204
205libasn1_la_LIBADD = @LIB_com_err@
206
207BUILT_SOURCES = \
208	$(gen_files:.x=.c)	\
209	asn1_err.h		\
210	asn1_err.c
211
212
213gen_files = \
214	asn1_APOptions.x			\
215	asn1_AP_REP.x				\
216	asn1_AP_REQ.x				\
217	asn1_AS_REP.x				\
218	asn1_AS_REQ.x				\
219	asn1_Authenticator.x			\
220	asn1_AuthorizationData.x		\
221	asn1_CKSUMTYPE.x			\
222	asn1_Checksum.x				\
223	asn1_ENCTYPE.x				\
224	asn1_ETYPE_INFO.x			\
225	asn1_ETYPE_INFO_ENTRY.x			\
226	asn1_EncAPRepPart.x			\
227	asn1_EncASRepPart.x			\
228	asn1_EncKDCRepPart.x			\
229	asn1_EncKrbCredPart.x			\
230	asn1_EncKrbPrivPart.x			\
231	asn1_EncTGSRepPart.x			\
232	asn1_EncTicketPart.x			\
233	asn1_EncryptedData.x			\
234	asn1_EncryptionKey.x			\
235	asn1_HostAddress.x			\
236	asn1_HostAddresses.x			\
237	asn1_KDCOptions.x			\
238	asn1_KDC_REP.x				\
239	asn1_KDC_REQ.x				\
240	asn1_KDC_REQ_BODY.x			\
241	asn1_KRB_CRED.x				\
242	asn1_KRB_ERROR.x			\
243	asn1_KRB_PRIV.x				\
244	asn1_KRB_SAFE.x				\
245	asn1_KRB_SAFE_BODY.x			\
246	asn1_KerberosTime.x			\
247	asn1_KrbCredInfo.x			\
248	asn1_LastReq.x				\
249	asn1_LR_TYPE.x				\
250	asn1_MESSAGE_TYPE.x			\
251	asn1_METHOD_DATA.x			\
252	asn1_NAME_TYPE.x			\
253	asn1_PADATA_TYPE.x			\
254	asn1_PA_DATA.x				\
255	asn1_PA_ENC_TS_ENC.x			\
256	asn1_Principal.x			\
257	asn1_PrincipalName.x			\
258	asn1_Realm.x				\
259	asn1_TGS_REP.x				\
260	asn1_TGS_REQ.x				\
261	asn1_Ticket.x				\
262	asn1_TicketFlags.x			\
263	asn1_TransitedEncoding.x		\
264	asn1_UNSIGNED.x
265
266
267noinst_PROGRAMS = asn1_compile asn1_print
268check_PROGRAMS = check-der
269TESTS = check-der
270
271asn1_compile_SOURCES = \
272	gen.c					\
273	gen_copy.c				\
274	gen_decode.c				\
275	gen_encode.c				\
276	gen_free.c				\
277	gen_glue.c				\
278	gen_length.c				\
279	hash.c					\
280	lex.l					\
281	main.c					\
282	parse.y					\
283	symbol.c
284
285
286libasn1_la_SOURCES = \
287	der_get.c				\
288	der_put.c				\
289	der_free.c				\
290	der_length.c				\
291	der_copy.c				\
292	timegm.c				\
293	$(BUILT_SOURCES)
294
295
296asn1_compile_LDADD = \
297	$(LIB_roken) $(LEXLIB)
298
299
300check_der_LDADD = \
301	libasn1.la \
302	$(LIB_roken)
303
304
305asn1_print_LDADD = $(check_der_LDADD)
306
307CLEANFILES = lex.c parse.c parse.h krb5_asn1.h $(BUILT_SOURCES) \
308	$(gen_files) asn1_files
309
310
311include_HEADERS = krb5_asn1.h asn1_err.h der.h
312
313EXTRA_DIST = asn1_err.et
314subdir = lib/asn1
315mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
316CONFIG_HEADER = $(top_builddir)/include/config.h
317CONFIG_CLEAN_FILES =
318LTLIBRARIES = $(lib_LTLIBRARIES)
319
320libasn1_la_DEPENDENCIES =
321am_libasn1_la_OBJECTS = der_get.lo der_put.lo der_free.lo der_length.lo \
322	der_copy.lo timegm.lo asn1_APOptions.lo asn1_AP_REP.lo \
323	asn1_AP_REQ.lo asn1_AS_REP.lo asn1_AS_REQ.lo \
324	asn1_Authenticator.lo asn1_AuthorizationData.lo \
325	asn1_CKSUMTYPE.lo asn1_Checksum.lo asn1_ENCTYPE.lo \
326	asn1_ETYPE_INFO.lo asn1_ETYPE_INFO_ENTRY.lo \
327	asn1_EncAPRepPart.lo asn1_EncASRepPart.lo asn1_EncKDCRepPart.lo \
328	asn1_EncKrbCredPart.lo asn1_EncKrbPrivPart.lo \
329	asn1_EncTGSRepPart.lo asn1_EncTicketPart.lo \
330	asn1_EncryptedData.lo asn1_EncryptionKey.lo asn1_HostAddress.lo \
331	asn1_HostAddresses.lo asn1_KDCOptions.lo asn1_KDC_REP.lo \
332	asn1_KDC_REQ.lo asn1_KDC_REQ_BODY.lo asn1_KRB_CRED.lo \
333	asn1_KRB_ERROR.lo asn1_KRB_PRIV.lo asn1_KRB_SAFE.lo \
334	asn1_KRB_SAFE_BODY.lo asn1_KerberosTime.lo asn1_KrbCredInfo.lo \
335	asn1_LastReq.lo asn1_LR_TYPE.lo asn1_MESSAGE_TYPE.lo \
336	asn1_METHOD_DATA.lo asn1_NAME_TYPE.lo asn1_PADATA_TYPE.lo \
337	asn1_PA_DATA.lo asn1_PA_ENC_TS_ENC.lo asn1_Principal.lo \
338	asn1_PrincipalName.lo asn1_Realm.lo asn1_TGS_REP.lo \
339	asn1_TGS_REQ.lo asn1_Ticket.lo asn1_TicketFlags.lo \
340	asn1_TransitedEncoding.lo asn1_UNSIGNED.lo asn1_err.lo
341libasn1_la_OBJECTS = $(am_libasn1_la_OBJECTS)
342check_PROGRAMS = check-der$(EXEEXT)
343noinst_PROGRAMS = asn1_compile$(EXEEXT) asn1_print$(EXEEXT)
344PROGRAMS = $(noinst_PROGRAMS)
345
346am_asn1_compile_OBJECTS = gen.$(OBJEXT) gen_copy.$(OBJEXT) \
347	gen_decode.$(OBJEXT) gen_encode.$(OBJEXT) gen_free.$(OBJEXT) \
348	gen_glue.$(OBJEXT) gen_length.$(OBJEXT) hash.$(OBJEXT) \
349	lex.$(OBJEXT) main.$(OBJEXT) parse.$(OBJEXT) symbol.$(OBJEXT)
350asn1_compile_OBJECTS = $(am_asn1_compile_OBJECTS)
351asn1_compile_DEPENDENCIES =
352asn1_compile_LDFLAGS =
353asn1_print_SOURCES = asn1_print.c
354asn1_print_OBJECTS = asn1_print.$(OBJEXT)
355asn1_print_DEPENDENCIES = libasn1.la
356asn1_print_LDFLAGS =
357check_der_SOURCES = check-der.c
358check_der_OBJECTS = check-der.$(OBJEXT)
359check_der_DEPENDENCIES = libasn1.la
360check_der_LDFLAGS =
361
362DEFS = @DEFS@
363DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
364CPPFLAGS = @CPPFLAGS@
365LDFLAGS = @LDFLAGS@
366depcomp =
367COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
368	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
369LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
370	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
371CCLD = $(CC)
372LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
373	$(AM_LDFLAGS) $(LDFLAGS) -o $@
374CFLAGS = @CFLAGS@
375LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
376LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
377YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
378LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
379DIST_SOURCES = $(libasn1_la_SOURCES) $(asn1_compile_SOURCES) \
380	asn1_print.c check-der.c
381HEADERS = $(include_HEADERS)
382
383DIST_COMMON = $(include_HEADERS) Makefile.am Makefile.in lex.c parse.c \
384	parse.h
385SOURCES = $(libasn1_la_SOURCES) $(asn1_compile_SOURCES) asn1_print.c check-der.c
386
387all: $(BUILT_SOURCES)
388	$(MAKE) $(AM_MAKEFLAGS) all-am
389
390.SUFFIXES:
391.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
392
393mostlyclean-libtool:
394	-rm -f *.lo
395
396clean-libtool:
397	-rm -rf .libs _libs
398
399distclean-libtool:
400	-rm -f libtool
401$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
402	cd $(top_srcdir) && \
403	  $(AUTOMAKE) --foreign  lib/asn1/Makefile
404Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
405	cd $(top_builddir) && \
406	  CONFIG_HEADERS= CONFIG_LINKS= \
407	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
408install-libLTLIBRARIES: $(lib_LTLIBRARIES)
409	@$(NORMAL_INSTALL)
410	$(mkinstalldirs) $(DESTDIR)$(libdir)
411	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
412	  if test -f $$p; then \
413	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
414	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
415	  else :; fi; \
416	done
417
418uninstall-libLTLIBRARIES:
419	@$(NORMAL_UNINSTALL)
420	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
421	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
422	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
423	done
424
425clean-libLTLIBRARIES:
426	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
427libasn1.la: $(libasn1_la_OBJECTS) $(libasn1_la_DEPENDENCIES)
428	$(LINK) -rpath $(libdir) $(libasn1_la_LDFLAGS) $(libasn1_la_OBJECTS) $(libasn1_la_LIBADD) $(LIBS)
429
430clean-checkPROGRAMS:
431	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
432
433clean-noinstPROGRAMS:
434	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
435parse.h: parse.c
436asn1_compile$(EXEEXT): $(asn1_compile_OBJECTS) $(asn1_compile_DEPENDENCIES)
437	@rm -f asn1_compile$(EXEEXT)
438	$(LINK) $(asn1_compile_LDFLAGS) $(asn1_compile_OBJECTS) $(asn1_compile_LDADD) $(LIBS)
439asn1_print$(EXEEXT): $(asn1_print_OBJECTS) $(asn1_print_DEPENDENCIES)
440	@rm -f asn1_print$(EXEEXT)
441	$(LINK) $(asn1_print_LDFLAGS) $(asn1_print_OBJECTS) $(asn1_print_LDADD) $(LIBS)
442check-der$(EXEEXT): $(check_der_OBJECTS) $(check_der_DEPENDENCIES)
443	@rm -f check-der$(EXEEXT)
444	$(LINK) $(check_der_LDFLAGS) $(check_der_OBJECTS) $(check_der_LDADD) $(LIBS)
445
446mostlyclean-compile:
447	-rm -f *.$(OBJEXT) core *.core
448
449distclean-compile:
450	-rm -f *.tab.c
451
452.c.o:
453	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
454
455.c.obj:
456	$(COMPILE) -c `cygpath -w $<`
457
458.c.lo:
459	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
460
461LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
462
463.l.c:
464	$(LEXCOMPILE) $< && mv $(LEX_OUTPUT_ROOT).c $@
465
466.y.c:
467	$(YACCCOMPILE) $< && mv y.tab.c $@
468	if test -f y.tab.h; then \
469	  if cmp -s y.tab.h $*.h; then \
470	    rm -f y.tab.h; \
471	  else \
472	    mv y.tab.h $*.h; \
473	  fi; \
474	fi
475uninstall-info-am:
476install-includeHEADERS: $(include_HEADERS)
477	@$(NORMAL_INSTALL)
478	$(mkinstalldirs) $(DESTDIR)$(includedir)
479	@list='$(include_HEADERS)'; for p in $$list; do \
480	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
481	  f="`echo $$p | sed -e 's|^.*/||'`"; \
482	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
483	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
484	done
485
486uninstall-includeHEADERS:
487	@$(NORMAL_UNINSTALL)
488	@list='$(include_HEADERS)'; for p in $$list; do \
489	  f="`echo $$p | sed -e 's|^.*/||'`"; \
490	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
491	  rm -f $(DESTDIR)$(includedir)/$$f; \
492	done
493
494tags: TAGS
495
496ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
497	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
498	unique=`for i in $$list; do \
499	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
500	  done | \
501	  $(AWK) '    { files[$$0] = 1; } \
502	       END { for (i in files) print i; }'`; \
503	mkid -fID $$unique $(LISP)
504
505TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
506		$(TAGS_FILES) $(LISP)
507	tags=; \
508	here=`pwd`; \
509	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
510	unique=`for i in $$list; do \
511	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
512	  done | \
513	  $(AWK) '    { files[$$0] = 1; } \
514	       END { for (i in files) print i; }'`; \
515	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
516	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
517
518GTAGS:
519	here=`CDPATH=: && cd $(top_builddir) && pwd` \
520	  && cd $(top_srcdir) \
521	  && gtags -i $(GTAGS_ARGS) $$here
522
523distclean-tags:
524	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
525
526check-TESTS: $(TESTS)
527	@failed=0; all=0; xfail=0; xpass=0; \
528	srcdir=$(srcdir); export srcdir; \
529	list='$(TESTS)'; \
530	if test -n "$$list"; then \
531	  for tst in $$list; do \
532	    if test -f ./$$tst; then dir=./; \
533	    elif test -f $$tst; then dir=; \
534	    else dir="$(srcdir)/"; fi; \
535	    if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
536	      all=`expr $$all + 1`; \
537	      case " $(XFAIL_TESTS) " in \
538	      *" $$tst "*) \
539	        xpass=`expr $$xpass + 1`; \
540	        failed=`expr $$failed + 1`; \
541	        echo "XPASS: $$tst"; \
542	      ;; \
543	      *) \
544	        echo "PASS: $$tst"; \
545	      ;; \
546	      esac; \
547	    elif test $$? -ne 77; then \
548	      all=`expr $$all + 1`; \
549	      case " $(XFAIL_TESTS) " in \
550	      *" $$tst "*) \
551	        xfail=`expr $$xfail + 1`; \
552	        echo "XFAIL: $$tst"; \
553	      ;; \
554	      *) \
555	        failed=`expr $$failed + 1`; \
556	        echo "FAIL: $$tst"; \
557	      ;; \
558	      esac; \
559	    fi; \
560	  done; \
561	  if test "$$failed" -eq 0; then \
562	    if test "$$xfail" -eq 0; then \
563	      banner="All $$all tests passed"; \
564	    else \
565	      banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
566	    fi; \
567	  else \
568	    if test "$$xpass" -eq 0; then \
569	      banner="$$failed of $$all tests failed"; \
570	    else \
571	      banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
572	    fi; \
573	  fi; \
574	  dashes=`echo "$$banner" | sed s/./=/g`; \
575	  echo "$$dashes"; \
576	  echo "$$banner"; \
577	  echo "$$dashes"; \
578	  test "$$failed" -eq 0; \
579	fi
580
581DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
582
583top_distdir = ../..
584distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
585
586distdir: $(DISTFILES)
587	@for file in $(DISTFILES); do \
588	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
589	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
590	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
591	    $(mkinstalldirs) "$(distdir)/$$dir"; \
592	  fi; \
593	  if test -d $$d/$$file; then \
594	    cp -pR $$d/$$file $(distdir) \
595	    || exit 1; \
596	  else \
597	    test -f $(distdir)/$$file \
598	    || cp -p $$d/$$file $(distdir)/$$file \
599	    || exit 1; \
600	  fi; \
601	done
602	$(MAKE) $(AM_MAKEFLAGS) \
603	  top_distdir="${top_distdir}" distdir="$(distdir)" \
604	  dist-hook
605check-am: all-am
606	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
607	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
608check: check-am
609all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
610
611installdirs:
612	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
613
614install: install-am
615install-exec: install-exec-am
616install-data: install-data-am
617uninstall: uninstall-am
618
619install-am: all-am
620	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
621
622installcheck: installcheck-am
623install-strip:
624	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
625	  `test -z '$(STRIP)' || \
626	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
627mostlyclean-generic:
628
629clean-generic:
630	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
631
632distclean-generic:
633	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
634
635maintainer-clean-generic:
636	@echo "This command is intended for maintainers to use"
637	@echo "it deletes files that may require special tools to rebuild."
638	-test -z "parse.h$(BUILT_SOURCES)" || rm -f parse.h $(BUILT_SOURCES)
639clean: clean-am
640
641clean-am: clean-checkPROGRAMS clean-generic clean-libLTLIBRARIES \
642	clean-libtool clean-noinstPROGRAMS mostlyclean-am
643
644distclean: distclean-am
645
646distclean-am: clean-am distclean-compile distclean-generic \
647	distclean-libtool distclean-tags
648
649dvi: dvi-am
650
651dvi-am:
652
653info: info-am
654
655info-am:
656
657install-data-am: install-data-local install-includeHEADERS
658
659install-exec-am: install-libLTLIBRARIES
660	@$(NORMAL_INSTALL)
661	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
662
663install-info: install-info-am
664
665install-man:
666
667installcheck-am:
668
669maintainer-clean: maintainer-clean-am
670
671maintainer-clean-am: distclean-am maintainer-clean-generic
672
673mostlyclean: mostlyclean-am
674
675mostlyclean-am: mostlyclean-compile mostlyclean-generic \
676	mostlyclean-libtool
677
678uninstall-am: uninstall-includeHEADERS uninstall-info-am \
679	uninstall-libLTLIBRARIES
680
681.PHONY: GTAGS all all-am all-local check check-TESTS check-am \
682	check-local clean clean-checkPROGRAMS clean-generic \
683	clean-libLTLIBRARIES clean-libtool clean-noinstPROGRAMS \
684	distclean distclean-compile distclean-generic distclean-libtool \
685	distclean-tags distdir dvi dvi-am info info-am install \
686	install-am install-data install-data-am install-data-local \
687	install-exec install-exec-am install-includeHEADERS \
688	install-info install-info-am install-libLTLIBRARIES install-man \
689	install-strip installcheck installcheck-am installdirs \
690	maintainer-clean maintainer-clean-generic mostlyclean \
691	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
692	tags uninstall uninstall-am uninstall-includeHEADERS \
693	uninstall-info-am uninstall-libLTLIBRARIES
694
695
696install-suid-programs:
697	@foo='$(bin_SUIDS)'; \
698	for file in $$foo; do \
699	x=$(DESTDIR)$(bindir)/$$file; \
700	if chown 0:0 $$x && chmod u+s $$x; then :; else \
701	echo "*"; \
702	echo "* Failed to install $$x setuid root"; \
703	echo "*"; \
704	fi; done
705
706install-exec-hook: install-suid-programs
707
708install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
709	@foo='$(include_HEADERS) $(build_HEADERZ)'; \
710	for f in $$foo; do \
711		f=`basename $$f`; \
712		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
713		else file="$$f"; fi; \
714		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
715		: ; else \
716			echo " $(CP) $$file $(buildinclude)/$$f"; \
717			$(CP) $$file $(buildinclude)/$$f; \
718		fi ; \
719	done
720
721all-local: install-build-headers
722#NROFF_MAN = nroff -man
723.1.cat1:
724	$(NROFF_MAN) $< > $@
725.3.cat3:
726	$(NROFF_MAN) $< > $@
727.5.cat5:
728	$(NROFF_MAN) $< > $@
729.8.cat8:
730	$(NROFF_MAN) $< > $@
731
732dist-cat1-mans:
733	@foo='$(man1_MANS)'; \
734	bar='$(man_MANS)'; \
735	for i in $$bar; do \
736	case $$i in \
737	*.1) foo="$$foo $$i";; \
738	esac; done ;\
739	for i in $$foo; do \
740		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
741		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
742		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
743	done
744
745dist-cat3-mans:
746	@foo='$(man3_MANS)'; \
747	bar='$(man_MANS)'; \
748	for i in $$bar; do \
749	case $$i in \
750	*.3) foo="$$foo $$i";; \
751	esac; done ;\
752	for i in $$foo; do \
753		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
754		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
755		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
756	done
757
758dist-cat5-mans:
759	@foo='$(man5_MANS)'; \
760	bar='$(man_MANS)'; \
761	for i in $$bar; do \
762	case $$i in \
763	*.5) foo="$$foo $$i";; \
764	esac; done ;\
765	for i in $$foo; do \
766		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
767		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
768		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
769	done
770
771dist-cat8-mans:
772	@foo='$(man8_MANS)'; \
773	bar='$(man_MANS)'; \
774	for i in $$bar; do \
775	case $$i in \
776	*.8) foo="$$foo $$i";; \
777	esac; done ;\
778	for i in $$foo; do \
779		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
780		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
781		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
782	done
783
784dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
785
786install-cat-mans:
787	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
788
789install-data-local: install-cat-mans
790
791.et.h:
792	$(COMPILE_ET) $<
793.et.c:
794	$(COMPILE_ET) $<
795
796.x.c:
797	@cmp -s $< $@ 2> /dev/null || cp $< $@
798
799check-local::
800	@foo='$(CHECK_LOCAL)'; \
801	  if test "$$foo"; then \
802	  failed=0; all=0; \
803	  for i in $$foo; do \
804	    all=`expr $$all + 1`; \
805	    if ./$$i --version > /dev/null 2>&1; then \
806	      echo "PASS: $$i"; \
807	    else \
808	      echo "FAIL: $$i"; \
809	      failed=`expr $$failed + 1`; \
810	    fi; \
811	  done; \
812	  if test "$$failed" -eq 0; then \
813	    banner="All $$all tests passed"; \
814	  else \
815	    banner="$$failed of $$all tests failed"; \
816	  fi; \
817	  dashes=`echo "$$banner" | sed s/./=/g`; \
818	  echo "$$dashes"; \
819	  echo "$$banner"; \
820	  echo "$$dashes"; \
821	  test "$$failed" -eq 0; \
822	fi
823
824$(asn1_compile_OBJECTS): parse.h parse.c
825
826$(gen_files) krb5_asn1.h: asn1_files
827
828asn1_files: asn1_compile$(EXEEXT) $(srcdir)/k5.asn1
829	./asn1_compile$(EXEEXT) $(srcdir)/k5.asn1 krb5_asn1
830
831$(libasn1_la_OBJECTS): krb5_asn1.h asn1_err.h
832
833$(asn1_print_OBJECTS): krb5_asn1.h
834# Tell versions [3.59,3.63) of GNU make to not export all variables.
835# Otherwise a system limit (for SysV at least) may be exceeded.
836.NOEXPORT:
837