xref: /freebsd/crypto/heimdal/lib/sl/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.27 2001/08/31 18:26:53 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) $(IS)
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
200@do_roken_rename_TRUE@IS = -DROKEN_RENAME
201@do_roken_rename_TRUE@ES = strtok_r.c snprintf.c strdup.c strupr.c getprogname.c
202
203YFLAGS = -d
204
205include_HEADERS = sl.h
206
207lib_LTLIBRARIES = libsl.la libss.la
208libsl_la_LDFLAGS = -version-info 1:2:1
209libss_la_LDFLAGS = -version-info 1:4:1
210
211libsl_la_LIBADD = @LIB_readline@
212libss_la_LIBADD = @LIB_readline@ @LIB_com_err@
213
214libsl_la_SOURCES = sl_locl.h sl.c $(ES)
215libss_la_SOURCES = $(libsl_la_SOURCES) ss.c ss.h
216
217
218# install these?
219bin_PROGRAMS = mk_cmds
220
221mk_cmds_SOURCES = make_cmds.c make_cmds.h parse.y lex.l $(ES)
222
223ssincludedir = $(includedir)/ss
224ssinclude_HEADERS = ss.h
225
226CLEANFILES = lex.c parse.c parse.h snprintf.c strtok_r.c strdup.c strupr.c getprogname.c
227
228LDADD = \
229	$(LIB_roken)				\
230	$(LEXLIB)
231
232subdir = lib/sl
233mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
234CONFIG_HEADER = $(top_builddir)/include/config.h
235CONFIG_CLEAN_FILES =
236LTLIBRARIES = $(lib_LTLIBRARIES)
237
238libsl_la_DEPENDENCIES =
239@do_roken_rename_TRUE@am_libsl_la_OBJECTS = sl.lo strtok_r.lo \
240@do_roken_rename_TRUE@	snprintf.lo strdup.lo strupr.lo \
241@do_roken_rename_TRUE@	getprogname.lo
242@do_roken_rename_FALSE@am_libsl_la_OBJECTS = sl.lo
243libsl_la_OBJECTS = $(am_libsl_la_OBJECTS)
244libss_la_DEPENDENCIES =
245@do_roken_rename_TRUE@am_libss_la_OBJECTS = sl.lo strtok_r.lo \
246@do_roken_rename_TRUE@	snprintf.lo strdup.lo strupr.lo \
247@do_roken_rename_TRUE@	getprogname.lo ss.lo
248@do_roken_rename_FALSE@am_libss_la_OBJECTS = sl.lo ss.lo
249libss_la_OBJECTS = $(am_libss_la_OBJECTS)
250bin_PROGRAMS = mk_cmds$(EXEEXT)
251PROGRAMS = $(bin_PROGRAMS)
252
253@do_roken_rename_TRUE@am_mk_cmds_OBJECTS = make_cmds.$(OBJEXT) \
254@do_roken_rename_TRUE@	parse.$(OBJEXT) lex.$(OBJEXT) \
255@do_roken_rename_TRUE@	strtok_r.$(OBJEXT) snprintf.$(OBJEXT) \
256@do_roken_rename_TRUE@	strdup.$(OBJEXT) strupr.$(OBJEXT) \
257@do_roken_rename_TRUE@	getprogname.$(OBJEXT)
258@do_roken_rename_FALSE@am_mk_cmds_OBJECTS = make_cmds.$(OBJEXT) \
259@do_roken_rename_FALSE@	parse.$(OBJEXT) lex.$(OBJEXT)
260mk_cmds_OBJECTS = $(am_mk_cmds_OBJECTS)
261mk_cmds_LDADD = $(LDADD)
262mk_cmds_DEPENDENCIES =
263mk_cmds_LDFLAGS =
264
265DEFS = @DEFS@
266DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)/include
267CPPFLAGS = @CPPFLAGS@
268LDFLAGS = @LDFLAGS@
269depcomp =
270COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
271	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
272LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
273	$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
274CCLD = $(CC)
275LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
276	$(AM_LDFLAGS) $(LDFLAGS) -o $@
277CFLAGS = @CFLAGS@
278LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
279LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
280YLWRAP = $(top_srcdir)/ylwrap
281YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
282LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
283DIST_SOURCES = $(libsl_la_SOURCES) $(libss_la_SOURCES) \
284	$(mk_cmds_SOURCES)
285HEADERS = $(include_HEADERS) $(ssinclude_HEADERS)
286
287DIST_COMMON = $(include_HEADERS) $(ssinclude_HEADERS) ChangeLog \
288	Makefile.am Makefile.in lex.c parse.c parse.h
289SOURCES = $(libsl_la_SOURCES) $(libss_la_SOURCES) $(mk_cmds_SOURCES)
290
291all: all-am
292
293.SUFFIXES:
294.SUFFIXES: .et .h .1 .3 .5 .8 .cat1 .cat3 .cat5 .cat8 .x .c .l .lo .o .obj .y
295
296mostlyclean-libtool:
297	-rm -f *.lo
298
299clean-libtool:
300	-rm -rf .libs _libs
301
302distclean-libtool:
303	-rm -f libtool
304$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/Makefile.am.common $(top_srcdir)/cf/Makefile.am.common $(top_srcdir)/configure.in $(ACLOCAL_M4)
305	cd $(top_srcdir) && \
306	  $(AUTOMAKE) --foreign  lib/sl/Makefile
307Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
308	cd $(top_builddir) && \
309	  CONFIG_HEADERS= CONFIG_LINKS= \
310	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
311install-libLTLIBRARIES: $(lib_LTLIBRARIES)
312	@$(NORMAL_INSTALL)
313	$(mkinstalldirs) $(DESTDIR)$(libdir)
314	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
315	  if test -f $$p; then \
316	    echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
317	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
318	  else :; fi; \
319	done
320
321uninstall-libLTLIBRARIES:
322	@$(NORMAL_UNINSTALL)
323	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
324	  echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
325	  $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
326	done
327
328clean-libLTLIBRARIES:
329	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
330libsl.la: $(libsl_la_OBJECTS) $(libsl_la_DEPENDENCIES)
331	$(LINK) -rpath $(libdir) $(libsl_la_LDFLAGS) $(libsl_la_OBJECTS) $(libsl_la_LIBADD) $(LIBS)
332libss.la: $(libss_la_OBJECTS) $(libss_la_DEPENDENCIES)
333	$(LINK) -rpath $(libdir) $(libss_la_LDFLAGS) $(libss_la_OBJECTS) $(libss_la_LIBADD) $(LIBS)
334install-binPROGRAMS: $(bin_PROGRAMS)
335	@$(NORMAL_INSTALL)
336	$(mkinstalldirs) $(DESTDIR)$(bindir)
337	@list='$(bin_PROGRAMS)'; for p in $$list; do \
338	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
339	  if test -f $$p \
340	     || test -f $$p1 \
341	  ; then \
342	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
343	   echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
344	   $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
345	  else :; fi; \
346	done
347
348uninstall-binPROGRAMS:
349	@$(NORMAL_UNINSTALL)
350	@list='$(bin_PROGRAMS)'; for p in $$list; do \
351	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
352	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
353	  rm -f $(DESTDIR)$(bindir)/$$f; \
354	done
355
356clean-binPROGRAMS:
357	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
358parse.h: parse.c
359parse.h: parse.c
360mk_cmds$(EXEEXT): $(mk_cmds_OBJECTS) $(mk_cmds_DEPENDENCIES)
361	@rm -f mk_cmds$(EXEEXT)
362	$(LINK) $(mk_cmds_LDFLAGS) $(mk_cmds_OBJECTS) $(mk_cmds_LDADD) $(LIBS)
363
364mostlyclean-compile:
365	-rm -f *.$(OBJEXT) core *.core
366
367distclean-compile:
368	-rm -f *.tab.c
369
370.c.o:
371	$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
372
373.c.obj:
374	$(COMPILE) -c `cygpath -w $<`
375
376.c.lo:
377	$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
378
379LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
380
381.l.c:
382	$(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE)
383
384.y.c:
385	$(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h -- $(YACCCOMPILE)
386uninstall-info-am:
387install-includeHEADERS: $(include_HEADERS)
388	@$(NORMAL_INSTALL)
389	$(mkinstalldirs) $(DESTDIR)$(includedir)
390	@list='$(include_HEADERS)'; for p in $$list; do \
391	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
392	  f="`echo $$p | sed -e 's|^.*/||'`"; \
393	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
394	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
395	done
396
397uninstall-includeHEADERS:
398	@$(NORMAL_UNINSTALL)
399	@list='$(include_HEADERS)'; for p in $$list; do \
400	  f="`echo $$p | sed -e 's|^.*/||'`"; \
401	  echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
402	  rm -f $(DESTDIR)$(includedir)/$$f; \
403	done
404install-ssincludeHEADERS: $(ssinclude_HEADERS)
405	@$(NORMAL_INSTALL)
406	$(mkinstalldirs) $(DESTDIR)$(ssincludedir)
407	@list='$(ssinclude_HEADERS)'; for p in $$list; do \
408	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
409	  f="`echo $$p | sed -e 's|^.*/||'`"; \
410	  echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(ssincludedir)/$$f"; \
411	  $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(ssincludedir)/$$f; \
412	done
413
414uninstall-ssincludeHEADERS:
415	@$(NORMAL_UNINSTALL)
416	@list='$(ssinclude_HEADERS)'; for p in $$list; do \
417	  f="`echo $$p | sed -e 's|^.*/||'`"; \
418	  echo " rm -f $(DESTDIR)$(ssincludedir)/$$f"; \
419	  rm -f $(DESTDIR)$(ssincludedir)/$$f; \
420	done
421
422tags: TAGS
423
424ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
425	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
426	unique=`for i in $$list; do \
427	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
428	  done | \
429	  $(AWK) '    { files[$$0] = 1; } \
430	       END { for (i in files) print i; }'`; \
431	mkid -fID $$unique $(LISP)
432
433TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
434		$(TAGS_FILES) $(LISP)
435	tags=; \
436	here=`pwd`; \
437	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
438	unique=`for i in $$list; do \
439	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
440	  done | \
441	  $(AWK) '    { files[$$0] = 1; } \
442	       END { for (i in files) print i; }'`; \
443	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
444	  || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
445
446GTAGS:
447	here=`CDPATH=: && cd $(top_builddir) && pwd` \
448	  && cd $(top_srcdir) \
449	  && gtags -i $(GTAGS_ARGS) $$here
450
451distclean-tags:
452	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
453
454DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
455
456top_distdir = ../..
457distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
458
459distdir: $(DISTFILES)
460	@for file in $(DISTFILES); do \
461	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
462	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
463	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
464	    $(mkinstalldirs) "$(distdir)/$$dir"; \
465	  fi; \
466	  if test -d $$d/$$file; then \
467	    cp -pR $$d/$$file $(distdir) \
468	    || exit 1; \
469	  else \
470	    test -f $(distdir)/$$file \
471	    || cp -p $$d/$$file $(distdir)/$$file \
472	    || exit 1; \
473	  fi; \
474	done
475	$(MAKE) $(AM_MAKEFLAGS) \
476	  top_distdir="${top_distdir}" distdir="$(distdir)" \
477	  dist-hook
478check-am: all-am
479	$(MAKE) $(AM_MAKEFLAGS) check-local
480check: check-am
481all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS) all-local
482install-binPROGRAMS: install-libLTLIBRARIES
483
484
485installdirs:
486	$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) $(DESTDIR)$(ssincludedir)
487
488install: install-am
489install-exec: install-exec-am
490install-data: install-data-am
491uninstall: uninstall-am
492
493install-am: all-am
494	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
495
496installcheck: installcheck-am
497install-strip:
498	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
499	  `test -z '$(STRIP)' || \
500	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
501mostlyclean-generic:
502
503clean-generic:
504	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
505
506distclean-generic:
507	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
508
509maintainer-clean-generic:
510	@echo "This command is intended for maintainers to use"
511	@echo "it deletes files that may require special tools to rebuild."
512	-test -z "parse.hparse.h" || rm -f parse.h parse.h
513clean: clean-am
514
515clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
516	clean-libtool mostlyclean-am
517
518distclean: distclean-am
519
520distclean-am: clean-am distclean-compile distclean-generic \
521	distclean-libtool distclean-tags
522
523dvi: dvi-am
524
525dvi-am:
526
527info: info-am
528
529info-am:
530
531install-data-am: install-data-local install-includeHEADERS \
532	install-ssincludeHEADERS
533
534install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
535	@$(NORMAL_INSTALL)
536	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
537
538install-info: install-info-am
539
540install-man:
541
542installcheck-am:
543
544maintainer-clean: maintainer-clean-am
545
546maintainer-clean-am: distclean-am maintainer-clean-generic
547
548mostlyclean: mostlyclean-am
549
550mostlyclean-am: mostlyclean-compile mostlyclean-generic \
551	mostlyclean-libtool
552
553uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
554	uninstall-info-am uninstall-libLTLIBRARIES \
555	uninstall-ssincludeHEADERS
556
557.PHONY: GTAGS all all-am all-local check check-am check-local clean \
558	clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
559	clean-libtool distclean distclean-compile distclean-generic \
560	distclean-libtool distclean-tags distdir dvi dvi-am info \
561	info-am install install-am install-binPROGRAMS install-data \
562	install-data-am install-data-local install-exec install-exec-am \
563	install-includeHEADERS install-info install-info-am \
564	install-libLTLIBRARIES install-man install-ssincludeHEADERS \
565	install-strip installcheck installcheck-am installdirs \
566	maintainer-clean maintainer-clean-generic mostlyclean \
567	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
568	tags uninstall uninstall-am uninstall-binPROGRAMS \
569	uninstall-includeHEADERS uninstall-info-am \
570	uninstall-libLTLIBRARIES uninstall-ssincludeHEADERS
571
572
573install-suid-programs:
574	@foo='$(bin_SUIDS)'; \
575	for file in $$foo; do \
576	x=$(DESTDIR)$(bindir)/$$file; \
577	if chown 0:0 $$x && chmod u+s $$x; then :; else \
578	echo "*"; \
579	echo "* Failed to install $$x setuid root"; \
580	echo "*"; \
581	fi; done
582
583install-exec-hook: install-suid-programs
584
585install-build-headers:: $(include_HEADERS) $(build_HEADERZ)
586	@foo='$(include_HEADERS) $(build_HEADERZ)'; \
587	for f in $$foo; do \
588		f=`basename $$f`; \
589		if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
590		else file="$$f"; fi; \
591		if cmp -s  $$file $(buildinclude)/$$f 2> /dev/null ; then \
592		: ; else \
593			echo " $(CP) $$file $(buildinclude)/$$f"; \
594			$(CP) $$file $(buildinclude)/$$f; \
595		fi ; \
596	done
597
598all-local: install-build-headers
599#NROFF_MAN = nroff -man
600.1.cat1:
601	$(NROFF_MAN) $< > $@
602.3.cat3:
603	$(NROFF_MAN) $< > $@
604.5.cat5:
605	$(NROFF_MAN) $< > $@
606.8.cat8:
607	$(NROFF_MAN) $< > $@
608
609dist-cat1-mans:
610	@foo='$(man1_MANS)'; \
611	bar='$(man_MANS)'; \
612	for i in $$bar; do \
613	case $$i in \
614	*.1) foo="$$foo $$i";; \
615	esac; done ;\
616	for i in $$foo; do \
617		x=`echo $$i | sed 's/\.[^.]*$$/.cat1/'`; \
618		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
619		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
620	done
621
622dist-cat3-mans:
623	@foo='$(man3_MANS)'; \
624	bar='$(man_MANS)'; \
625	for i in $$bar; do \
626	case $$i in \
627	*.3) foo="$$foo $$i";; \
628	esac; done ;\
629	for i in $$foo; do \
630		x=`echo $$i | sed 's/\.[^.]*$$/.cat3/'`; \
631		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
632		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
633	done
634
635dist-cat5-mans:
636	@foo='$(man5_MANS)'; \
637	bar='$(man_MANS)'; \
638	for i in $$bar; do \
639	case $$i in \
640	*.5) foo="$$foo $$i";; \
641	esac; done ;\
642	for i in $$foo; do \
643		x=`echo $$i | sed 's/\.[^.]*$$/.cat5/'`; \
644		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
645		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
646	done
647
648dist-cat8-mans:
649	@foo='$(man8_MANS)'; \
650	bar='$(man_MANS)'; \
651	for i in $$bar; do \
652	case $$i in \
653	*.8) foo="$$foo $$i";; \
654	esac; done ;\
655	for i in $$foo; do \
656		x=`echo $$i | sed 's/\.[^.]*$$/.cat8/'`; \
657		echo "$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x"; \
658		$(NROFF_MAN) $(srcdir)/$$i > $(distdir)/$$x; \
659	done
660
661dist-hook: dist-cat1-mans dist-cat3-mans dist-cat5-mans dist-cat8-mans
662
663install-cat-mans:
664	$(SHELL) $(top_srcdir)/cf/install-catman.sh "$(INSTALL_DATA)" "$(mkinstalldirs)" "$(srcdir)" "$(DESTDIR)$(mandir)" '$(CATMANEXT)' $(man_MANS) $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
665
666install-data-local: install-cat-mans
667
668.et.h:
669	$(COMPILE_ET) $<
670.et.c:
671	$(COMPILE_ET) $<
672
673.x.c:
674	@cmp -s $< $@ 2> /dev/null || cp $< $@
675
676check-local::
677	@foo='$(CHECK_LOCAL)'; \
678	  if test "$$foo"; then \
679	  failed=0; all=0; \
680	  for i in $$foo; do \
681	    all=`expr $$all + 1`; \
682	    if ./$$i --version > /dev/null 2>&1; then \
683	      echo "PASS: $$i"; \
684	    else \
685	      echo "FAIL: $$i"; \
686	      failed=`expr $$failed + 1`; \
687	    fi; \
688	  done; \
689	  if test "$$failed" -eq 0; then \
690	    banner="All $$all tests passed"; \
691	  else \
692	    banner="$$failed of $$all tests failed"; \
693	  fi; \
694	  dashes=`echo "$$banner" | sed s/./=/g`; \
695	  echo "$$dashes"; \
696	  echo "$$banner"; \
697	  echo "$$dashes"; \
698	  test "$$failed" -eq 0; \
699	fi
700
701$(mk_cmds_OBJECTS): parse.h parse.c
702
703strtok_r.c:
704	$(LN_S) $(srcdir)/../roken/strtok_r.c .
705snprintf.c:
706	$(LN_S) $(srcdir)/../roken/snprintf.c .
707strdup.c:
708	$(LN_S) $(srcdir)/../roken/strdup.c .
709strupr.c:
710	$(LN_S) $(srcdir)/../roken/strupr.c .
711getprogname.c:
712	$(LN_S) $(srcdir)/../roken/getprogname.c .
713# Tell versions [3.59,3.63) of GNU make to not export all variables.
714# Otherwise a system limit (for SysV at least) may be exceeded.
715.NOEXPORT:
716