xref: /freebsd/crypto/heimdal/lib/sl/Makefile.in (revision a3e8fd0b7f663db7eafff527d5c3ca3bcfa8a537)
1# Makefile.in generated by automake 1.6.3 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5# Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17# $Id: Makefile.am,v 1.29 2002/08/13 13:48:17 joda Exp $
18
19# $Id: Makefile.am.common,v 1.5 2002/05/19 18:35:37 joda Exp $
20
21# $Id: Makefile.am.common,v 1.36 2002/08/19 16:10:25 joda Exp $
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
42pkgdatadir = $(datadir)/@PACKAGE@
43pkglibdir = $(libdir)/@PACKAGE@
44pkgincludedir = $(includedir)/@PACKAGE@
45top_builddir = ../..
46
47ACLOCAL = @ACLOCAL@
48AUTOCONF = @AUTOCONF@
49AUTOMAKE = @AUTOMAKE@
50AUTOHEADER = @AUTOHEADER@
51
52am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
53INSTALL = @INSTALL@
54INSTALL_PROGRAM = @INSTALL_PROGRAM@
55INSTALL_DATA = @INSTALL_DATA@
56install_sh_DATA = $(install_sh) -c -m 644
57install_sh_PROGRAM = $(install_sh) -c
58install_sh_SCRIPT = $(install_sh) -c
59INSTALL_SCRIPT = @INSTALL_SCRIPT@
60INSTALL_HEADER = $(INSTALL_DATA)
61transform = @program_transform_name@
62NORMAL_INSTALL = :
63PRE_INSTALL = :
64POST_INSTALL = :
65NORMAL_UNINSTALL = :
66PRE_UNINSTALL = :
67POST_UNINSTALL = :
68host_alias = @host_alias@
69host_triplet = @host@
70
71EXEEXT = @EXEEXT@
72OBJEXT = @OBJEXT@
73PATH_SEPARATOR = @PATH_SEPARATOR@
74AIX_EXTRA_KAFS = @AIX_EXTRA_KAFS@
75AMTAR = @AMTAR@
76AS = @AS@
77AWK = @AWK@
78CANONICAL_HOST = @CANONICAL_HOST@
79CATMAN = @CATMAN@
80CATMANEXT = @CATMANEXT@
81CC = @CC@
82COMPILE_ET = @COMPILE_ET@
83CPP = @CPP@
84DBLIB = @DBLIB@
85DEPDIR = @DEPDIR@
86DIR_com_err = @DIR_com_err@
87DIR_des = @DIR_des@
88DIR_roken = @DIR_roken@
89DLLTOOL = @DLLTOOL@
90ECHO = @ECHO@
91EXTRA_LIB45 = @EXTRA_LIB45@
92GROFF = @GROFF@
93INCLUDES_roken = @INCLUDES_roken@
94INCLUDE_ = @INCLUDE_@
95INCLUDE_des = @INCLUDE_des@
96INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
97LEX = @LEX@
98
99LEXLIB = @LEXLIB@
100LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
101LIBTOOL = @LIBTOOL@
102LIB_ = @LIB_@
103LIB_AUTH_SUBDIRS = @LIB_AUTH_SUBDIRS@
104LIB_NDBM = @LIB_NDBM@
105LIB_com_err = @LIB_com_err@
106LIB_com_err_a = @LIB_com_err_a@
107LIB_com_err_so = @LIB_com_err_so@
108LIB_des = @LIB_des@
109LIB_des_a = @LIB_des_a@
110LIB_des_appl = @LIB_des_appl@
111LIB_des_so = @LIB_des_so@
112LIB_kdb = @LIB_kdb@
113LIB_otp = @LIB_otp@
114LIB_roken = @LIB_roken@
115LIB_security = @LIB_security@
116LN_S = @LN_S@
117LTLIBOBJS = @LTLIBOBJS@
118NEED_WRITEAUTH_FALSE = @NEED_WRITEAUTH_FALSE@
119NEED_WRITEAUTH_TRUE = @NEED_WRITEAUTH_TRUE@
120NROFF = @NROFF@
121OBJDUMP = @OBJDUMP@
122PACKAGE = @PACKAGE@
123RANLIB = @RANLIB@
124STRIP = @STRIP@
125VERSION = @VERSION@
126VOID_RETSIGTYPE = @VOID_RETSIGTYPE@
127WFLAGS = @WFLAGS@
128WFLAGS_NOIMPLICITINT = @WFLAGS_NOIMPLICITINT@
129WFLAGS_NOUNUSED = @WFLAGS_NOUNUSED@
130X_CFLAGS = @X_CFLAGS@
131X_EXTRA_LIBS = @X_EXTRA_LIBS@
132X_LIBS = @X_LIBS@
133X_PRE_LIBS = @X_PRE_LIBS@
134YACC = @YACC@
135am__include = @am__include@
136am__quote = @am__quote@
137dpagaix_cflags = @dpagaix_cflags@
138dpagaix_ldadd = @dpagaix_ldadd@
139dpagaix_ldflags = @dpagaix_ldflags@
140install_sh = @install_sh@
141
142AUTOMAKE_OPTIONS = foreign no-dependencies 1.6
143
144SUFFIXES = .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8
145
146INCLUDES = -I$(top_builddir)/include $(INCLUDES_roken) $(ROKEN_RENAME)
147
148@do_roken_rename_TRUE@ROKEN_RENAME = -DROKEN_RENAME
149
150AM_CFLAGS = $(WFLAGS)
151
152CP = cp
153
154buildinclude = $(top_builddir)/include
155
156LIB_XauReadAuth = @LIB_XauReadAuth@
157LIB_crypt = @LIB_crypt@
158LIB_dbm_firstkey = @LIB_dbm_firstkey@
159LIB_dbopen = @LIB_dbopen@
160LIB_dlopen = @LIB_dlopen@
161LIB_dn_expand = @LIB_dn_expand@
162LIB_el_init = @LIB_el_init@
163LIB_getattr = @LIB_getattr@
164LIB_gethostbyname = @LIB_gethostbyname@
165LIB_getpwent_r = @LIB_getpwent_r@
166LIB_getpwnam_r = @LIB_getpwnam_r@
167LIB_getsockopt = @LIB_getsockopt@
168LIB_logout = @LIB_logout@
169LIB_logwtmp = @LIB_logwtmp@
170LIB_odm_initialize = @LIB_odm_initialize@
171LIB_openpty = @LIB_openpty@
172LIB_pidfile = @LIB_pidfile@
173LIB_res_search = @LIB_res_search@
174LIB_setpcred = @LIB_setpcred@
175LIB_setsockopt = @LIB_setsockopt@
176LIB_socket = @LIB_socket@
177LIB_syslog = @LIB_syslog@
178LIB_tgetent = @LIB_tgetent@
179
180HESIODLIB = @HESIODLIB@
181HESIODINCLUDE = @HESIODINCLUDE@
182INCLUDE_hesiod = @INCLUDE_hesiod@
183LIB_hesiod = @LIB_hesiod@
184
185INCLUDE_krb4 = @INCLUDE_krb4@
186LIB_krb4 = @LIB_krb4@
187
188INCLUDE_openldap = @INCLUDE_openldap@
189LIB_openldap = @LIB_openldap@
190
191INCLUDE_readline = @INCLUDE_readline@
192LIB_readline = @LIB_readline@
193
194NROFF_MAN = groff -mandoc -Tascii
195
196@KRB4_TRUE@LIB_kafs = $(top_builddir)/lib/kafs/libkafs.la $(AIX_EXTRA_KAFS)
197
198@KRB5_TRUE@LIB_krb5 = $(top_builddir)/lib/krb5/libkrb5.la \
199@KRB5_TRUE@	$(top_builddir)/lib/asn1/libasn1.la
200
201@KRB5_TRUE@LIB_gssapi = $(top_builddir)/lib/gssapi/libgssapi.la
202
203@DCE_TRUE@LIB_kdfs = $(top_builddir)/lib/kdfs/libkdfs.la
204
205@do_roken_rename_TRUE@ES = strtok_r.c snprintf.c strdup.c strupr.c getprogname.c
206
207YFLAGS = -d
208
209include_HEADERS = sl.h
210
211lib_LTLIBRARIES = libsl.la libss.la
212libsl_la_LDFLAGS = -version-info 1:2:1
213libss_la_LDFLAGS = -version-info 1:4:1
214
215libsl_la_LIBADD = @LIB_readline@
216libss_la_LIBADD = @LIB_readline@ @LIB_com_err@
217
218libsl_la_SOURCES = sl_locl.h sl.c $(ES)
219libss_la_SOURCES = $(libsl_la_SOURCES) ss.c ss.h
220
221
222# install these?
223bin_PROGRAMS = mk_cmds
224
225mk_cmds_SOURCES = make_cmds.c make_cmds.h parse.y lex.l
226mk_cmds_LDADD = libsl.la $(LDADD)
227
228ssincludedir = $(includedir)/ss
229ssinclude_HEADERS = ss.h
230
231CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c strdup.c strupr.c getprogname.c
232
233LDADD = \
234	$(LIB_roken)				\
235	$(LEXLIB)
236
237subdir = lib/sl
238mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
239CONFIG_HEADER = $(top_builddir)/include/config.h
240CONFIG_CLEAN_FILES =
241LTLIBRARIES = $(lib_LTLIBRARIES)
242
243libsl_la_DEPENDENCIES =
244@do_roken_rename_TRUE@am__objects_1 = strtok_r.lo snprintf.lo strdup.lo \
245@do_roken_rename_TRUE@	strupr.lo getprogname.lo
246am_libsl_la_OBJECTS = sl.lo $(am__objects_1)
247libsl_la_OBJECTS = $(am_libsl_la_OBJECTS)
248libss_la_DEPENDENCIES =
249am__objects_2 = sl.lo $(am__objects_1)
250am_libss_la_OBJECTS = $(am__objects_2) ss.lo
251libss_la_OBJECTS = $(am_libss_la_OBJECTS)
252bin_PROGRAMS = mk_cmds$(EXEEXT)
253PROGRAMS = $(bin_PROGRAMS)
254
255am_mk_cmds_OBJECTS = make_cmds.$(OBJEXT) parse.$(OBJEXT) lex.$(OBJEXT)
256mk_cmds_OBJECTS = $(am_mk_cmds_OBJECTS)
257mk_cmds_DEPENDENCIES = libsl.la
258mk_cmds_LDFLAGS =
259
260DEFS = @DEFS@
261DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
262CPPFLAGS = @CPPFLAGS@
263LDFLAGS = @LDFLAGS@
264LIBS = @LIBS@
265depcomp =
266am__depfiles_maybe =
267COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
268	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
269LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
270	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
271CCLD = $(CC)
272LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
273	$(AM_LDFLAGS) $(LDFLAGS) -o $@
274CFLAGS = @CFLAGS@
275LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
276LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
277YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
278LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
279DIST_SOURCES = $(libsl_la_SOURCES) $(libss_la_SOURCES) \
280	$(mk_cmds_SOURCES)
281HEADERS = $(include_HEADERS) $(ssinclude_HEADERS)
282
283DIST_COMMON = $(include_HEADERS) $(ssinclude_HEADERS) ChangeLog \
284	Makefile.am Makefile.in lex.c parse.c parse.h
285SOURCES = $(libsl_la_SOURCES) $(libss_la_SOURCES) $(mk_cmds_SOURCES)
286
287all: all-am
288
289.SUFFIXES:
290.SUFFIXES: .et .h .x .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .c .l .lo .o .obj .y
291$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
292	cd $(top_srcdir) && \
293	  $(AUTOMAKE) --foreign  lib/sl/Makefile
294Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
295	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
296libLTLIBRARIES_INSTALL = $(INSTALL)
297install-libLTLIBRARIES: $(lib_LTLIBRARIES)
298	@$(NORMAL_INSTALL)
299	$(mkinstalldirs) $(DESTDIR)$(libdir)
300	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
301	  if test -f $$p; then \
302	    f="`echo $$p | sed -e 's|^.*/||'`"; \
303	    echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
304	    $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
305	  else :; fi; \
306	done
307
308uninstall-libLTLIBRARIES:
309	@$(NORMAL_UNINSTALL)
310	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
311	    p="`echo $$p | sed -e 's|^.*/||'`"; \
312	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
313	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
314	done
315
316clean-libLTLIBRARIES:
317	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
318	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
319	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
320	  test -z "$dir" && dir=.; \
321	  echo "rm -f \"$${dir}/so_locations\""; \
322	  rm -f "$${dir}/so_locations"; \
323	done
324libsl.la: $(libsl_la_OBJECTS) $(libsl_la_DEPENDENCIES)
325	$(LINK) -rpath $(libdir) $(libsl_la_LDFLAGS) $(libsl_la_OBJECTS) $(libsl_la_LIBADD) $(LIBS)
326libss.la: $(libss_la_OBJECTS) $(libss_la_DEPENDENCIES)
327	$(LINK) -rpath $(libdir) $(libss_la_LDFLAGS) $(libss_la_OBJECTS) $(libss_la_LIBADD) $(LIBS)
328binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
329install-binPROGRAMS: $(bin_PROGRAMS)
330	@$(NORMAL_INSTALL)
331	$(mkinstalldirs) $(DESTDIR)$(bindir)
332	@list='$(bin_PROGRAMS)'; for p in $$list; do \
333	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
334	  if test -f $$p \
335	     || test -f $$p1 \
336	  ; then \
337	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
338	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
339	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
340	  else :; fi; \
341	done
342
343uninstall-binPROGRAMS:
344	@$(NORMAL_UNINSTALL)
345	@list='$(bin_PROGRAMS)'; for p in $$list; do \
346	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
347	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
348	  rm -f $(DESTDIR)$(bindir)/$$f; \
349	done
350
351clean-binPROGRAMS:
352	@list='$(bin_PROGRAMS)'; for p in $$list; do \
353	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
354	  echo " rm -f $$p $$f"; \
355	  rm -f $$p $$f ; \
356	done
357parse.h: parse.c
358	@if test ! -f $@; then \
359	  rm -f parse.c; \
360	  $(MAKE) parse.c; \
361	else :; fi
362mk_cmds$(EXEEXT): $(mk_cmds_OBJECTS) $(mk_cmds_DEPENDENCIES)
363	@rm -f mk_cmds$(EXEEXT)
364	$(LINK) $(mk_cmds_LDFLAGS) $(mk_cmds_OBJECTS) $(mk_cmds_LDADD) $(LIBS)
365
366mostlyclean-compile:
367	-rm -f *.$(OBJEXT) core *.core
368
369distclean-compile:
370	-rm -f *.tab.c
371
372.c.o:
373	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
374
375.c.obj:
376	$(COMPILE) -c `cygpath -w $<`
377
378.c.lo:
379	$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
380
381.l.c:
382	$(LEXCOMPILE) `test -f $< || echo '$(srcdir)/'`$<
383	sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@
384	rm -f $(LEX_OUTPUT_ROOT).c
385
386.y.c:
387	$(YACCCOMPILE) `test -f '$<' || echo '$(srcdir)/'`$<
388	sed '/^#/ s|y\.tab\.c|$@|' y.tab.c >$@
389	rm -f y.tab.c
390	if test -f y.tab.h; then \
391	  to=`echo "$*_H" | sed \
392                -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
393                -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
394	  sed "/^#/ s/Y_TAB_H/$$to/g" y.tab.h >$*.ht; \
395	  rm -f y.tab.h; \
396	  if cmp -s $*.ht $*.h; then \
397	    rm -f $*.ht ;\
398	  else \
399	    mv $*.ht $*.h; \
400	  fi; \
401	fi
402	if test -f y.output; then \
403	  mv y.output $*.output; \
404	fi
405
406mostlyclean-libtool:
407	-rm -f *.lo
408
409clean-libtool:
410	-rm -rf .libs _libs
411
412distclean-libtool:
413	-rm -f libtool
414uninstall-info-am:
415includeHEADERS_INSTALL = $(INSTALL_HEADER)
416install-includeHEADERS: $(include_HEADERS)
417	@$(NORMAL_INSTALL)
418	$(mkinstalldirs) $(DESTDIR)$(includedir)
419	@list='$(include_HEADERS)'; for p in $$list; do \
420	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
421	  f="`echo $$p | sed -e 's|^.*/||'`"; \
422	  echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
423	  $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
424	done
425
426uninstall-includeHEADERS:
427	@$(NORMAL_UNINSTALL)
428	@list='$(include_HEADERS)'; for p in $$list; do \
429	  f="`echo $$p | sed -e 's|^.*/||'`"; \
430	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
431	  rm -f $(DESTDIR)$(includedir)/$$f; \
432	done
433ssincludeHEADERS_INSTALL = $(INSTALL_HEADER)
434install-ssincludeHEADERS: $(ssinclude_HEADERS)
435	@$(NORMAL_INSTALL)
436	$(mkinstalldirs) $(DESTDIR)$(ssincludedir)
437	@list='$(ssinclude_HEADERS)'; for p in $$list; do \
438	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
439	  f="`echo $$p | sed -e 's|^.*/||'`"; \
440	  echo " $(ssincludeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(ssincludedir)/$$f"; \
441	  $(ssincludeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(ssincludedir)/$$f; \
442	done
443
444uninstall-ssincludeHEADERS:
445	@$(NORMAL_UNINSTALL)
446	@list='$(ssinclude_HEADERS)'; for p in $$list; do \
447	  f="`echo $$p | sed -e 's|^.*/||'`"; \
448	  echo " rm -f $(DESTDIR)$(ssincludedir)/$$f"; \
449	  rm -f $(DESTDIR)$(ssincludedir)/$$f; \
450	done
451
452ETAGS = etags
453ETAGSFLAGS =
454
455tags: TAGS
456
457ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
458	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
459	unique=`for i in $$list; do \
460	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
461	  done | \
462	  $(AWK) '    { files[$$0] = 1; } \
463	       END { for (i in files) print i; }'`; \
464	mkid -fID $$unique
465
466TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
467		$(TAGS_FILES) $(LISP)
468	tags=; \
469	here=`pwd`; \
470	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
471	unique=`for i in $$list; do \
472	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
473	  done | \
474	  $(AWK) '    { files[$$0] = 1; } \
475	       END { for (i in files) print i; }'`; \
476	test -z "$(ETAGS_ARGS)$$tags$$unique" \
477	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
478	     $$tags $$unique
479
480GTAGS:
481	here=`$(am__cd) $(top_builddir) && pwd` \
482	  && cd $(top_srcdir) \
483	  && gtags -i $(GTAGS_ARGS) $$here
484
485distclean-tags:
486	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
487DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
488
489top_distdir = ../..
490distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
491
492distdir: $(DISTFILES)
493	@list='$(DISTFILES)'; for file in $$list; do \
494	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
495	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
496	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
497	    dir="/$$dir"; \
498	    $(mkinstalldirs) "$(distdir)$$dir"; \
499	  else \
500	    dir=''; \
501	  fi; \
502	  if test -d $$d/$$file; then \
503	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
504	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
505	    fi; \
506	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
507	  else \
508	    test -f $(distdir)/$$file \
509	    || cp -p $$d/$$file $(distdir)/$$file \
510	    || exit 1; \
511	  fi; \
512	done
513	$(MAKE) $(AM_MAKEFLAGS) \
514	  top_distdir="${top_distdir}" distdir="$(distdir)" \
515	  dist-hook
516check-am: all-am
517	$(MAKE) $(AM_MAKEFLAGS) check-local
518check: check-am
519all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
520install-binPROGRAMS: install-libLTLIBRARIES
521
522
523installdirs:
524	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) $(DESTDIR)$(ssincludedir)
525
526install: install-am
527install-exec: install-exec-am
528install-data: install-data-am
529uninstall: uninstall-am
530
531install-am: all-am
532	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
533
534installcheck: installcheck-am
535install-strip:
536	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
537	  INSTALL_STRIP_FLAG=-s \
538	  `test -z '$(STRIP)' || \
539	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
540mostlyclean-generic:
541
542clean-generic:
543	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
544
545distclean-generic:
546	-rm -f Makefile $(CONFIG_CLEAN_FILES)
547
548maintainer-clean-generic:
549	@echo "This command is intended for maintainers to use"
550	@echo "it deletes files that may require special tools to rebuild."
551	-test -z "parse.hparse.clex.c" || rm -f parse.h parse.c lex.c
552clean: clean-am
553
554clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
555	clean-libtool mostlyclean-am
556
557distclean: distclean-am
558
559distclean-am: clean-am distclean-compile distclean-generic \
560	distclean-libtool distclean-tags
561
562dvi: dvi-am
563
564dvi-am:
565
566info: info-am
567
568info-am:
569
570install-data-am: install-data-local install-includeHEADERS \
571	install-ssincludeHEADERS
572
573install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
574	@$(NORMAL_INSTALL)
575	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
576
577install-info: install-info-am
578
579install-man:
580
581installcheck-am:
582
583maintainer-clean: maintainer-clean-am
584
585maintainer-clean-am: distclean-am maintainer-clean-generic
586
587mostlyclean: mostlyclean-am
588
589mostlyclean-am: mostlyclean-compile mostlyclean-generic \
590	mostlyclean-libtool
591
592uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
593	uninstall-info-am uninstall-libLTLIBRARIES \
594	uninstall-ssincludeHEADERS
595
596.PHONY: GTAGS all all-am all-local check check-am check-local clean \
597	clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
598	clean-libtool distclean distclean-compile distclean-generic \
599	distclean-libtool distclean-tags distdir dvi dvi-am info \
600	info-am install install-am install-binPROGRAMS install-data \
601	install-data-am install-data-local install-exec install-exec-am \
602	install-includeHEADERS install-info install-info-am \
603	install-libLTLIBRARIES install-man install-ssincludeHEADERS \
604	install-strip installcheck installcheck-am installdirs \
605	maintainer-clean maintainer-clean-generic mostlyclean \
606	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
607	tags uninstall uninstall-am uninstall-binPROGRAMS \
608	uninstall-includeHEADERS uninstall-info-am \
609	uninstall-libLTLIBRARIES uninstall-ssincludeHEADERS
610
611
612install-suid-programs:
613	@foo='$(bin_SUIDS)'; \
614	for file in $$foo; do \
615	x=$(DESTDIR)$(bindir)/$$file; \
616	if chown 0:0 $$x && chmod u+s $$x; then :; else \
617	echo "*"; \
618	echo "* Failed to install $$x setuid root"; \
619	echo "*"; \
620	fi; done
621
622install-exec-hook: install-suid-programs
623
624install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
625	@foo='$(include_HEADERS) $(nodist_include_HEADERS) $(build_HEADERZ)'; \
626	for f in $$foo; do \
627		f=`basename $$f`; \
628		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
629		else file="$$f"; fi; \
630		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
631		: ; else \
632			echo " $(CP) $$file $(buildinclude)/$$f"; \
633			$(CP) $$file $(buildinclude)/$$f; \
634		fi ; \
635	done
636
637all-local: install-build-headers
638
639check-local::
640	@if test '$(CHECK_LOCAL)'; then \
641	  foo='$(CHECK_LOCAL)'; else \
642	  foo='$(PROGRAMS)'; fi; \
643	  if test "$$foo"; then \
644	  failed=0; all=0; \
645	  for i in $$foo; do \
646	    all=`expr $$all + 1`; \
647	    if ./$$i --version > /dev/null 2>&1; then \
648	      echo "PASS: $$i"; \
649	    else \
650	      echo "FAIL: $$i"; \
651	      failed=`expr $$failed + 1`; \
652	    fi; \
653	  done; \
654	  if test "$$failed" -eq 0; then \
655	    banner="All $$all tests passed"; \
656	  else \
657	    banner="$$failed of $$all tests failed"; \
658	  fi; \
659	  dashes=`echo "$$banner" | sed s/./=/g`; \
660	  echo "$$dashes"; \
661	  echo "$$banner"; \
662	  echo "$$dashes"; \
663	  test "$$failed" -eq 0; \
664	fi
665
666.x.c:
667	@cmp -s $< $@ 2> /dev/null || cp $< $@
668#NROFF_MAN = nroff -man
669.1.cat1:
670	$(NROFF_MAN) $< > $@
671.3.cat3:
672	$(NROFF_MAN) $< > $@
673.5.cat5:
674	$(NROFF_MAN) $< > $@
675.8.cat8:
676	$(NROFF_MAN) $< > $@
677
678dist-cat1-mans:
679	@foo='$(man1_MANS)'; \
680	bar='$(man_MANS)'; \
681	for i in $$bar; do \
682	case $$i in \
683	*.1) foo="$$foo $$i";; \
684	esac; done ;\
685	for i in $$foo; do \
686		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
687		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
688		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
689	done
690
691dist-cat3-mans:
692	@foo='$(man3_MANS)'; \
693	bar='$(man_MANS)'; \
694	for i in $$bar; do \
695	case $$i in \
696	*.3) foo="$$foo $$i";; \
697	esac; done ;\
698	for i in $$foo; do \
699		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
700		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
701		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
702	done
703
704dist-cat5-mans:
705	@foo='$(man5_MANS)'; \
706	bar='$(man_MANS)'; \
707	for i in $$bar; do \
708	case $$i in \
709	*.5) foo="$$foo $$i";; \
710	esac; done ;\
711	for i in $$foo; do \
712		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
713		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
714		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
715	done
716
717dist-cat8-mans:
718	@foo='$(man8_MANS)'; \
719	bar='$(man_MANS)'; \
720	for i in $$bar; do \
721	case $$i in \
722	*.8) foo="$$foo $$i";; \
723	esac; done ;\
724	for i in $$foo; do \
725		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
726		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
727		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
728	done
729
730dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
731
732install-cat-mans:
733	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
734
735install-data-local: install-cat-mans
736
737.et.h:
738	$(COMPILE_ET) $<
739.et.c:
740	$(COMPILE_ET) $<
741
742$(mk_cmds_OBJECTS): parse.h parse.c
743
744strtok_r.c:
745	$(LN_S) $(srcdir)/../roken/strtok_r.c .
746snprintf.c:
747	$(LN_S) $(srcdir)/../roken/snprintf.c .
748strdup.c:
749	$(LN_S) $(srcdir)/../roken/strdup.c .
750strupr.c:
751	$(LN_S) $(srcdir)/../roken/strupr.c .
752getprogname.c:
753	$(LN_S) $(srcdir)/../roken/getprogname.c .
754# Tell versions [3.59,3.63) of GNU make to not export all variables.
755# Otherwise a system limit (for SysV at least) may be exceeded.
756.NOEXPORT:
757