xref: /freebsd/crypto/heimdal/lib/asn1/Makefile.in (revision 77a0943ded95b9e6438f7db70c4a28e4d93946d4)
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.54 1999/12/21 17:03:42 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
176YFLAGS = -d
177
178lib_LTLIBRARIES = libasn1.la
179libasn1_la_LDFLAGS = -version-info 1:4:0
180
181BUILT_SOURCES =  	$(gen_files:.x=.c)		asn1_err.h			asn1_err.c
182
183
184gen_files =  	asn1_APOptions.x			asn1_AP_REP.x				asn1_AP_REQ.x				asn1_AS_REP.x				asn1_AS_REQ.x				asn1_Authenticator.x			asn1_AuthorizationData.x		asn1_Checksum.x				asn1_EncAPRepPart.x			asn1_EncASRepPart.x			asn1_EncKDCRepPart.x			asn1_EncKrbCredPart.x			asn1_EncKrbPrivPart.x			asn1_EncTGSRepPart.x			asn1_EncTicketPart.x			asn1_EncryptedData.x			asn1_EncryptionKey.x			asn1_ETYPE_INFO.x			asn1_ETYPE_INFO_ENTRY.x			asn1_HostAddress.x			asn1_HostAddresses.x			asn1_KDCOptions.x			asn1_KDC_REP.x				asn1_KDC_REQ.x				asn1_KDC_REQ_BODY.x			asn1_KRB_CRED.x				asn1_KRB_ERROR.x			asn1_KRB_PRIV.x				asn1_KRB_SAFE.x				asn1_KRB_SAFE_BODY.x			asn1_KerberosTime.x			asn1_KrbCredInfo.x			asn1_LastReq.x				asn1_METHOD_DATA.x			asn1_PA_DATA.x				asn1_PA_ENC_TS_ENC.x			asn1_Principal.x			asn1_PrincipalName.x			asn1_Realm.x				asn1_TGS_REP.x				asn1_TGS_REQ.x				asn1_Ticket.x				asn1_TicketFlags.x			asn1_TransitedEncoding.x
185
186
187noinst_PROGRAMS = asn1_compile asn1_print
188check_PROGRAMS = check-der
189
190TESTS = check-der
191
192asn1_compile_SOURCES = parse.y lex.l main.c hash.c symbol.c gen.c 	gen_encode.c gen_decode.c gen_free.c gen_length.c gen_copy.c 	gen_glue.c
193
194
195libasn1_la_SOURCES =  	der_get.c 	der_put.c 	der_free.c 	der_length.c 	der_copy.c 	timegm.c 	$(BUILT_SOURCES)
196
197
198asn1_compile_LDADD =  	$(LIB_roken) $(LEXLIB)
199
200
201check_der_LDADD =  	libasn1.la 	../com_err/libcom_err.la 	$(LIB_roken)
202
203
204asn1_print_LDADD = $(check_der_LDADD)
205
206CLEANFILES = lex.c parse.c parse.h asn1.h $(BUILT_SOURCES) 	$(gen_files) asn1_files
207
208
209include_HEADERS = asn1.h asn1_err.h der.h
210
211EXTRA_DIST = asn1_err.et
212mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
213CONFIG_HEADER = ../../include/config.h
214CONFIG_CLEAN_FILES =
215LTLIBRARIES =  $(lib_LTLIBRARIES)
216
217
218DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
219CPPFLAGS = @CPPFLAGS@
220LDFLAGS = @LDFLAGS@
221LIBS = @LIBS@
222X_CFLAGS = @X_CFLAGS@
223X_LIBS = @X_LIBS@
224X_EXTRA_LIBS = @X_EXTRA_LIBS@
225X_PRE_LIBS = @X_PRE_LIBS@
226libasn1_la_LIBADD =
227libasn1_la_OBJECTS =  der_get.lo der_put.lo der_free.lo der_length.lo \
228der_copy.lo timegm.lo asn1_APOptions.lo asn1_AP_REP.lo asn1_AP_REQ.lo \
229asn1_AS_REP.lo asn1_AS_REQ.lo asn1_Authenticator.lo \
230asn1_AuthorizationData.lo asn1_Checksum.lo asn1_EncAPRepPart.lo \
231asn1_EncASRepPart.lo asn1_EncKDCRepPart.lo asn1_EncKrbCredPart.lo \
232asn1_EncKrbPrivPart.lo asn1_EncTGSRepPart.lo asn1_EncTicketPart.lo \
233asn1_EncryptedData.lo asn1_EncryptionKey.lo asn1_ETYPE_INFO.lo \
234asn1_ETYPE_INFO_ENTRY.lo asn1_HostAddress.lo asn1_HostAddresses.lo \
235asn1_KDCOptions.lo asn1_KDC_REP.lo asn1_KDC_REQ.lo asn1_KDC_REQ_BODY.lo \
236asn1_KRB_CRED.lo asn1_KRB_ERROR.lo asn1_KRB_PRIV.lo asn1_KRB_SAFE.lo \
237asn1_KRB_SAFE_BODY.lo asn1_KerberosTime.lo asn1_KrbCredInfo.lo \
238asn1_LastReq.lo asn1_METHOD_DATA.lo asn1_PA_DATA.lo \
239asn1_PA_ENC_TS_ENC.lo asn1_Principal.lo asn1_PrincipalName.lo \
240asn1_Realm.lo asn1_TGS_REP.lo asn1_TGS_REQ.lo asn1_Ticket.lo \
241asn1_TicketFlags.lo asn1_TransitedEncoding.lo asn1_err.lo
242check_PROGRAMS =  check-der$(EXEEXT)
243noinst_PROGRAMS =  asn1_compile$(EXEEXT) asn1_print$(EXEEXT)
244PROGRAMS =  $(noinst_PROGRAMS)
245
246check_der_SOURCES = check-der.c
247check_der_OBJECTS =  check-der.$(OBJEXT)
248check_der_DEPENDENCIES =  libasn1.la ../com_err/libcom_err.la
249check_der_LDFLAGS =
250asn1_compile_OBJECTS =  parse.$(OBJEXT) lex.$(OBJEXT) main.$(OBJEXT) \
251hash.$(OBJEXT) symbol.$(OBJEXT) gen.$(OBJEXT) gen_encode.$(OBJEXT) \
252gen_decode.$(OBJEXT) gen_free.$(OBJEXT) gen_length.$(OBJEXT) \
253gen_copy.$(OBJEXT) gen_glue.$(OBJEXT)
254asn1_compile_DEPENDENCIES =
255asn1_compile_LDFLAGS =
256asn1_print_SOURCES = asn1_print.c
257asn1_print_OBJECTS =  asn1_print.$(OBJEXT)
258asn1_print_DEPENDENCIES =  libasn1.la ../com_err/libcom_err.la
259asn1_print_LDFLAGS =
260LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
261CFLAGS = @CFLAGS@
262COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
263LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
264CCLD = $(CC)
265LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
266HEADERS =  $(include_HEADERS)
267
268DIST_COMMON =  Makefile.am Makefile.in lex.c parse.c
269
270
271DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
272
273TAR = tar
274GZIP_ENV = --best
275SOURCES = $(libasn1_la_SOURCES) check-der.c $(asn1_compile_SOURCES) asn1_print.c
276OBJECTS = $(libasn1_la_OBJECTS) check-der.$(OBJEXT) $(asn1_compile_OBJECTS) asn1_print.$(OBJEXT)
277
278all: all-redirect
279.SUFFIXES:
280.SUFFIXES: .1 .3 .5 .8 .S .c .cat1 .cat3 .cat5 .cat8 .et .h .l .lo .o .obj .s .x .y
281$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common
282	cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/asn1/Makefile
283
284Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
285	cd $(top_builddir) \
286	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
287
288
289mostlyclean-libLTLIBRARIES:
290
291clean-libLTLIBRARIES:
292	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
293
294distclean-libLTLIBRARIES:
295
296maintainer-clean-libLTLIBRARIES:
297
298install-libLTLIBRARIES: $(lib_LTLIBRARIES)
299	@$(NORMAL_INSTALL)
300	$(mkinstalldirs) $(DESTDIR)$(libdir)
301	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
302	  if test -f $$p; then \
303	    echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
304	    $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
305	  else :; fi; \
306	done
307
308uninstall-libLTLIBRARIES:
309	@$(NORMAL_UNINSTALL)
310	list='$(lib_LTLIBRARIES)'; for p in $$list; do \
311	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
312	done
313
314.c.o:
315	$(COMPILE) -c $<
316
317# FIXME: We should only use cygpath when building on Windows,
318# and only if it is available.
319.c.obj:
320	$(COMPILE) -c `cygpath -w $<`
321
322.s.o:
323	$(COMPILE) -c $<
324
325.S.o:
326	$(COMPILE) -c $<
327
328mostlyclean-compile:
329	-rm -f *.o core *.core
330	-rm -f *.$(OBJEXT)
331
332clean-compile:
333
334distclean-compile:
335	-rm -f *.tab.c
336
337maintainer-clean-compile:
338
339.c.lo:
340	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
341
342.s.lo:
343	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
344
345.S.lo:
346	$(LIBTOOL) --mode=compile $(COMPILE) -c $<
347
348mostlyclean-libtool:
349	-rm -f *.lo
350
351clean-libtool:
352	-rm -rf .libs _libs
353
354distclean-libtool:
355
356maintainer-clean-libtool:
357
358libasn1.la: $(libasn1_la_OBJECTS) $(libasn1_la_DEPENDENCIES)
359	$(LINK) -rpath $(libdir) $(libasn1_la_LDFLAGS) $(libasn1_la_OBJECTS) $(libasn1_la_LIBADD) $(LIBS)
360
361mostlyclean-checkPROGRAMS:
362
363clean-checkPROGRAMS:
364	-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
365
366distclean-checkPROGRAMS:
367
368maintainer-clean-checkPROGRAMS:
369
370mostlyclean-noinstPROGRAMS:
371
372clean-noinstPROGRAMS:
373	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
374
375distclean-noinstPROGRAMS:
376
377maintainer-clean-noinstPROGRAMS:
378
379check-der$(EXEEXT): $(check_der_OBJECTS) $(check_der_DEPENDENCIES)
380	@rm -f check-der$(EXEEXT)
381	$(LINK) $(check_der_LDFLAGS) $(check_der_OBJECTS) $(check_der_LDADD) $(LIBS)
382
383asn1_compile$(EXEEXT): $(asn1_compile_OBJECTS) $(asn1_compile_DEPENDENCIES)
384	@rm -f asn1_compile$(EXEEXT)
385	$(LINK) $(asn1_compile_LDFLAGS) $(asn1_compile_OBJECTS) $(asn1_compile_LDADD) $(LIBS)
386
387asn1_print$(EXEEXT): $(asn1_print_OBJECTS) $(asn1_print_DEPENDENCIES)
388	@rm -f asn1_print$(EXEEXT)
389	$(LINK) $(asn1_print_LDFLAGS) $(asn1_print_OBJECTS) $(asn1_print_LDADD) $(LIBS)
390.l.c:
391	$(LEX) $(AM_LFLAGS) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
392.y.c:
393	$(YACC) $(AM_YFLAGS) $(YFLAGS) $< && mv y.tab.c $*.c
394	if test -f y.tab.h; then \
395	if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
396	else :; fi
397parse.h: parse.c
398
399
400install-includeHEADERS: $(include_HEADERS)
401	@$(NORMAL_INSTALL)
402	$(mkinstalldirs) $(DESTDIR)$(includedir)
403	@list='$(include_HEADERS)'; for p in $$list; do \
404	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
405	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \
406	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \
407	done
408
409uninstall-includeHEADERS:
410	@$(NORMAL_UNINSTALL)
411	list='$(include_HEADERS)'; for p in $$list; do \
412	  rm -f $(DESTDIR)$(includedir)/$$p; \
413	done
414
415tags: TAGS
416
417ID: $(HEADERS) $(SOURCES) $(LISP)
418	list='$(SOURCES) $(HEADERS)'; \
419	unique=`for i in $$list; do echo $$i; done | \
420	  awk '    { files[$$0] = 1; } \
421	       END { for (i in files) print i; }'`; \
422	here=`pwd` && cd $(srcdir) \
423	  && mkid -f$$here/ID $$unique $(LISP)
424
425TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
426	tags=; \
427	here=`pwd`; \
428	list='$(SOURCES) $(HEADERS)'; \
429	unique=`for i in $$list; do echo $$i; done | \
430	  awk '    { files[$$0] = 1; } \
431	       END { for (i in files) print i; }'`; \
432	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
433	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
434
435mostlyclean-tags:
436
437clean-tags:
438
439distclean-tags:
440	-rm -f TAGS ID
441
442maintainer-clean-tags:
443
444distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
445
446subdir = lib/asn1
447
448distdir: $(DISTFILES)
449	@for file in $(DISTFILES); do \
450	  d=$(srcdir); \
451	  if test -d $$d/$$file; then \
452	    cp -pr $$/$$file $(distdir)/$$file; \
453	  else \
454	    test -f $(distdir)/$$file \
455	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
456	    || cp -p $$d/$$file $(distdir)/$$file || :; \
457	  fi; \
458	done
459	$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
460check-TESTS: $(TESTS)
461	@failed=0; all=0; \
462	srcdir=$(srcdir); export srcdir; \
463	for tst in $(TESTS); do \
464	  if test -f $$tst; then dir=.; \
465	  else dir="$(srcdir)"; fi; \
466	  if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
467	    all=`expr $$all + 1`; \
468	    echo "PASS: $$tst"; \
469	  elif test $$? -ne 77; then \
470	    all=`expr $$all + 1`; \
471	    failed=`expr $$failed + 1`; \
472	    echo "FAIL: $$tst"; \
473	  fi; \
474	done; \
475	if test "$$failed" -eq 0; then \
476	  banner="All $$all tests passed"; \
477	else \
478	  banner="$$failed of $$all tests failed"; \
479	fi; \
480	dashes=`echo "$$banner" | sed s/./=/g`; \
481	echo "$$dashes"; \
482	echo "$$banner"; \
483	echo "$$dashes"; \
484	test "$$failed" -eq 0
485info-am:
486info: info-am
487dvi-am:
488dvi: dvi-am
489check-am: all-am
490	$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
491	$(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
492check: check-am
493installcheck-am:
494installcheck: installcheck-am
495install-exec-am: install-libLTLIBRARIES
496	@$(NORMAL_INSTALL)
497	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
498install-exec: install-exec-am
499
500install-data-am: install-includeHEADERS 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-libLTLIBRARIES uninstall-includeHEADERS
507uninstall: uninstall-am
508all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
509all-redirect: all-am
510install-strip:
511	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
512installdirs:
513	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
514
515
516mostlyclean-generic:
517
518clean-generic:
519	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
520
521distclean-generic:
522	-rm -f Makefile $(CONFIG_CLEAN_FILES)
523	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
524
525maintainer-clean-generic:
526	-test -z "lexlparsehparsec$(BUILT_SOURCES)" || rm -f lexl parseh parsec $(BUILT_SOURCES)
527mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
528		mostlyclean-libtool mostlyclean-checkPROGRAMS \
529		mostlyclean-noinstPROGRAMS mostlyclean-tags \
530		mostlyclean-generic
531
532mostlyclean: mostlyclean-am
533
534clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
535		clean-checkPROGRAMS clean-noinstPROGRAMS clean-tags \
536		clean-generic mostlyclean-am
537
538clean: clean-am
539
540distclean-am:  distclean-libLTLIBRARIES distclean-compile \
541		distclean-libtool distclean-checkPROGRAMS \
542		distclean-noinstPROGRAMS distclean-tags \
543		distclean-generic clean-am
544	-rm -f libtool
545
546distclean: distclean-am
547
548maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
549		maintainer-clean-compile maintainer-clean-libtool \
550		maintainer-clean-checkPROGRAMS \
551		maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
552		maintainer-clean-generic distclean-am
553	@echo "This command is intended for maintainers to use;"
554	@echo "it deletes files that may require special tools to rebuild."
555
556maintainer-clean: maintainer-clean-am
557
558.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
559clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
560uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
561distclean-compile clean-compile maintainer-clean-compile \
562mostlyclean-libtool distclean-libtool clean-libtool \
563maintainer-clean-libtool mostlyclean-checkPROGRAMS \
564distclean-checkPROGRAMS clean-checkPROGRAMS \
565maintainer-clean-checkPROGRAMS mostlyclean-noinstPROGRAMS \
566distclean-noinstPROGRAMS clean-noinstPROGRAMS \
567maintainer-clean-noinstPROGRAMS uninstall-includeHEADERS \
568install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \
569maintainer-clean-tags distdir check-TESTS info-am info dvi-am dvi \
570check-local check check-am installcheck-am installcheck install-exec-am \
571install-exec install-data-local install-data-am install-data install-am \
572install uninstall-am uninstall all-local all-redirect all-am all \
573installdirs mostlyclean-generic distclean-generic clean-generic \
574maintainer-clean-generic clean mostlyclean distclean maintainer-clean
575
576
577install-suid-programs:
578	@foo='$(bin_SUIDS)'; \
579	for file in $$foo; do \
580	x=$(DESTDIR)$(bindir)/$$file; \
581	if chown 0:0 $$x && chmod u+s $$x; then :; else \
582	chmod 0 $$x; 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-cat1-mans:
665	@ext=1;\
666	foo='$(man1_MANS)'; \
667	bar='$(man_MANS)'; \
668	for i in $$bar; do \
669	case $$i in \
670	*.1) foo="$$foo $$i";; \
671	esac; done; \
672	if test "$$foo"; then \
673		$(mkinstalldirs) $(DESTDIR)$(cat1dir); \
674		for x in $$foo; do \
675			f=`echo $$x | sed 's/\.[^.]*$$/.cat1/'`; \
676			if test -f "$(srcdir)/$$f"; then \
677				b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
678				echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat1dir)/$$b.$(CATSUFFIX)";\
679				$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat1dir)/$$b.$(CATSUFFIX);\
680			 fi; \
681		done ;\
682	fi
683
684install-cat3-mans:
685	@ext=3;\
686	foo='$(man3_MANS)'; \
687	bar='$(man_MANS)'; \
688	for i in $$bar; do \
689	case $$i in \
690	*.3) foo="$$foo $$i";; \
691	esac; done; \
692	if test "$$foo"; then \
693		$(mkinstalldirs) $(DESTDIR)$(cat3dir); \
694		for x in $$foo; do \
695			f=`echo $$x | sed 's/\.[^.]*$$/.cat3/'`; \
696			if test -f "$(srcdir)/$$f"; then \
697				b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
698				echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat3dir)/$$b.$(CATSUFFIX)";\
699				$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat3dir)/$$b.$(CATSUFFIX);\
700			 fi; \
701		done ;\
702	fi
703
704install-cat5-mans:
705	@ext=5;\
706	foo='$(man5_MANS)'; \
707	bar='$(man_MANS)'; \
708	for i in $$bar; do \
709	case $$i in \
710	*.5) foo="$$foo $$i";; \
711	esac; done; \
712	if test "$$foo"; then \
713		$(mkinstalldirs) $(DESTDIR)$(cat5dir); \
714		for x in $$foo; do \
715			f=`echo $$x | sed 's/\.[^.]*$$/.cat5/'`; \
716			if test -f "$(srcdir)/$$f"; then \
717				b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
718				echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat5dir)/$$b.$(CATSUFFIX)";\
719				$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat5dir)/$$b.$(CATSUFFIX);\
720			 fi; \
721		done ;\
722	fi
723
724install-cat8-mans:
725	@ext=8;\
726	foo='$(man8_MANS)'; \
727	bar='$(man_MANS)'; \
728	for i in $$bar; do \
729	case $$i in \
730	*.8) foo="$$foo $$i";; \
731	esac; done; \
732	if test "$$foo"; then \
733		$(mkinstalldirs) $(DESTDIR)$(cat8dir); \
734		for x in $$foo; do \
735			f=`echo $$x | sed 's/\.[^.]*$$/.cat8/'`; \
736			if test -f "$(srcdir)/$$f"; then \
737				b=`echo $$x | sed 's!$(MANRX)!\1!'`; \
738				echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(cat8dir)/$$b.$(CATSUFFIX)";\
739				$(INSTALL_DATA) $(srcdir)/$$g $(DESTDIR)$(cat8dir)/$$b.$(CATSUFFIX);\
740			 fi; \
741		done ;\
742	fi
743
744install-cat-mans: install-cat1-mans install-cat3-mans install-cat5-mans install-cat8-mans
745
746install-data-local: install-cat-mans
747
748.et.h:
749	$(COMPILE_ET) $<
750.et.c:
751	$(COMPILE_ET) $<
752
753.x.c:
754	@cmp -s $< $@ 2> /dev/null || cp $< $@
755
756check-local::
757	@foo='$(CHECK_LOCAL)'; \
758	  if test "$$foo"; then \
759	  failed=0; all=0; \
760	  for i in $$foo; do \
761	    all=`expr $$all + 1`; \
762	    if ./$$i --version > /dev/null 2>&1; then \
763	      echo "PASS: $$i"; \
764	    else \
765	      echo "FAIL: $$i"; \
766	      failed=`expr $$failed + 1`; \
767	    fi; \
768	  done; \
769	  if test "$$failed" -eq 0; then \
770	    banner="All $$all tests passed"; \
771	  else \
772	    banner="$$failed of $$all tests failed"; \
773	  fi; \
774	  dashes=`echo "$$banner" | sed s/./=/g`; \
775	  echo "$$dashes"; \
776	  echo "$$banner"; \
777	  echo "$$dashes"; \
778	  test "$$failed" -eq 0; \
779	fi
780
781$(asn1_compile_OBJECTS): parse.h
782
783$(gen_files) asn1.h: asn1_files
784
785asn1_files: asn1_compile$(EXEEXT) $(srcdir)/k5.asn1
786	./asn1_compile$(EXEEXT) $(srcdir)/k5.asn1
787
788$(libasn1_la_OBJECTS): asn1.h asn1_err.h
789
790$(asn1_print_OBJECTS): asn1.h
791
792# Tell versions [3.59,3.63) of GNU make to not export all variables.
793# Otherwise a system limit (for SysV at least) may be exceeded.
794.NOEXPORT:
795