states/hl/Makefile.am: New hldir variable to replace local install rules.
[enscript.git] / states / Makefile.in
1 # Makefile.in generated by automake 1.7 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 #
18 # Makefile for states.
19 # Copyright (c) 1997-2003 Markku Rossi
20 #
21 # Author: Markku Rossi <mtr@iki.fi>
22 #
23
24 #
25 # This file is part of GNU enscript.
26 #
27 # This program is free software; you can redistribute it and/or modify
28 # it under the terms of the GNU General Public License as published by
29 # the Free Software Foundation; either version 2, or (at your option)
30 # any later version.
31 #
32 # This program is distributed in the hope that it will be useful,
33 # but WITHOUT ANY WARRANTY; without even the implied warranty of
34 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
35 # GNU General Public License for more details.
36 #
37 # You should have received a copy of the GNU General Public License
38 # along with this program; see the file COPYING.  If not, write to
39 # the Free Software Foundation, 51 Franklin Street, Fifth Floor,
40 # Boston, MA 02110-1301, USA.
41 #
42
43 srcdir = @srcdir@
44 top_srcdir = @top_srcdir@
45 VPATH = @srcdir@
46 pkgdatadir = $(datadir)/@PACKAGE@
47 pkglibdir = $(libdir)/@PACKAGE@
48 pkgincludedir = $(includedir)/@PACKAGE@
49 top_builddir = ..
50
51 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
52 INSTALL = @INSTALL@
53 install_sh_DATA = $(install_sh) -c -m 644
54 install_sh_PROGRAM = $(install_sh) -c
55 install_sh_SCRIPT = $(install_sh) -c
56 INSTALL_HEADER = $(INSTALL_DATA)
57 transform = $(program_transform_name)
58 NORMAL_INSTALL = :
59 PRE_INSTALL = :
60 POST_INSTALL = :
61 NORMAL_UNINSTALL = :
62 PRE_UNINSTALL = :
63 POST_UNINSTALL = :
64 host_triplet = @host@
65 ACLOCAL = @ACLOCAL@
66 ALLOCA = @ALLOCA@
67 AMDEP_FALSE = @AMDEP_FALSE@
68 AMDEP_TRUE = @AMDEP_TRUE@
69 AMTAR = @AMTAR@
70 AUTOCONF = @AUTOCONF@
71 AUTOHEADER = @AUTOHEADER@
72 AUTOMAKE = @AUTOMAKE@
73 AWK = @AWK@
74 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
75 CATOBJEXT = @CATOBJEXT@
76 CC = @CC@
77 CCDEPMODE = @CCDEPMODE@
78 CFLAGS = @CFLAGS@
79 CPP = @CPP@
80 CPPFLAGS = @CPPFLAGS@
81 CYGPATH_W = @CYGPATH_W@
82 DATADIRNAME = @DATADIRNAME@
83 DEFS = @DEFS@
84 DEPDIR = @DEPDIR@
85 ECHO_C = @ECHO_C@
86 ECHO_N = @ECHO_N@
87 ECHO_T = @ECHO_T@
88 EGREP = @EGREP@
89 EXEEXT = @EXEEXT@
90 GENCAT = @GENCAT@
91 GLIBC21 = @GLIBC21@
92 GMSGFMT = @GMSGFMT@
93 INSTALL_DATA = @INSTALL_DATA@
94 INSTALL_PROGRAM = @INSTALL_PROGRAM@
95 INSTALL_SCRIPT = @INSTALL_SCRIPT@
96 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
97 INSTOBJEXT = @INSTOBJEXT@
98 INTLBISON = @INTLBISON@
99 INTLLIBS = @INTLLIBS@
100 INTLOBJS = @INTLOBJS@
101 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
102 LDFLAGS = @LDFLAGS@
103 LEX = @LEX@
104 LEXLIB = @LEXLIB@
105 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
106 LIBICONV = @LIBICONV@
107 LIBINTL = @LIBINTL@
108 LIBOBJS = @LIBOBJS@
109 LIBS = @LIBS@
110 LTLIBICONV = @LTLIBICONV@
111 LTLIBINTL = @LTLIBINTL@
112 LTLIBOBJS = @LTLIBOBJS@
113 MAKEINFO = @MAKEINFO@
114 MEDIA = @MEDIA@
115 MKINSTALLDIRS = @MKINSTALLDIRS@
116 MSGFMT = @MSGFMT@
117 MSGMERGE = @MSGMERGE@
118 OBJEXT = @OBJEXT@
119 PACKAGE = @PACKAGE@
120 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
121 PACKAGE_NAME = @PACKAGE_NAME@
122 PACKAGE_STRING = @PACKAGE_STRING@
123 PACKAGE_TARNAME = @PACKAGE_TARNAME@
124 PACKAGE_VERSION = @PACKAGE_VERSION@
125 PATH_SEPARATOR = @PATH_SEPARATOR@
126 PERL = @PERL@
127 POSUB = @POSUB@
128 PSLEVEL = @PSLEVEL@
129 RANLIB = @RANLIB@
130 SET_MAKE = @SET_MAKE@
131 SHELL = @SHELL@
132 SPOOLER = @SPOOLER@
133 STRIP = @STRIP@
134 U = @U@
135 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
136 USE_NLS = @USE_NLS@
137 VERSION = @VERSION@
138 XGETTEXT = @XGETTEXT@
139 YACC = @YACC@
140 ac_ct_CC = @ac_ct_CC@
141 ac_ct_RANLIB = @ac_ct_RANLIB@
142 ac_ct_STRIP = @ac_ct_STRIP@
143 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
144 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
145 am__include = @am__include@
146 am__quote = @am__quote@
147 bindir = @bindir@
148 build = @build@
149 build_alias = @build_alias@
150 build_cpu = @build_cpu@
151 build_os = @build_os@
152 build_vendor = @build_vendor@
153 datadir = @datadir@
154 exec_prefix = @exec_prefix@
155 host = @host@
156 host_alias = @host_alias@
157 host_cpu = @host_cpu@
158 host_os = @host_os@
159 host_vendor = @host_vendor@
160 includedir = @includedir@
161 infodir = @infodir@
162 install_sh = @install_sh@
163 libdir = @libdir@
164 libexecdir = @libexecdir@
165 localstatedir = @localstatedir@
166 mandir = @mandir@
167 oldincludedir = @oldincludedir@
168 prefix = @prefix@
169 program_transform_name = @program_transform_name@
170 sbindir = @sbindir@
171 sharedstatedir = @sharedstatedir@
172 sysconfdir = @sysconfdir@
173 target_alias = @target_alias@
174
175 SUBDIRS = hl tests
176
177 AUTOMAKE_OPTIONS = 
178
179 bin_PROGRAMS = states
180
181 states_SOURCES = main.c utils.c prims.c process.c gram.y lex.l
182 states_SOURCES_windelta = \
183         -gram.y \
184         +gram.c \
185         -lex.l  \
186         +lex.c
187
188
189 LDADD = ../afmlib/libafm.a @LIBINTL@ ../compat/libcompat.a @LEXLIB@
190 states_DEPENDENCIES = ../compat/libcompat.a
191
192 noinst_HEADERS = defs.h gram.h
193
194 EXTRA_DIST = TODO over.in enscript.el
195
196 localedir = $(prefix)/share/locale
197
198 bin_SCRIPTS = over
199
200 AM_YFLAGS = -d
201
202 INCLUDES = -I$(srcdir)/../compat -I$(srcdir)/../afmlib  \
203 -I$(srcdir)/../intl -I../intl -DLOCALEDIR=\"$(localedir)\"
204
205
206 INCLUDES_windelta = \
207         +-I../w32       \
208         --DLOCALEDIR=\"$(localedir)\"
209
210 subdir = states
211 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
212 CONFIG_HEADER = $(top_builddir)/config.h
213 CONFIG_CLEAN_FILES =
214 bin_PROGRAMS = states$(EXEEXT)
215 PROGRAMS = $(bin_PROGRAMS)
216
217 am_states_OBJECTS = main.$(OBJEXT) utils.$(OBJEXT) prims.$(OBJEXT) \
218         process.$(OBJEXT) gram.$(OBJEXT) lex.$(OBJEXT)
219 states_OBJECTS = $(am_states_OBJECTS)
220 states_LDADD = $(LDADD)
221 states_LDFLAGS =
222 SCRIPTS = $(bin_SCRIPTS)
223
224
225 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
226 depcomp = $(SHELL) $(top_srcdir)/depcomp
227 am__depfiles_maybe = depfiles
228 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/gram.Po ./$(DEPDIR)/lex.Po \
229 @AMDEP_TRUE@    ./$(DEPDIR)/main.Po ./$(DEPDIR)/prims.Po \
230 @AMDEP_TRUE@    ./$(DEPDIR)/process.Po ./$(DEPDIR)/utils.Po
231 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
232         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
233 CCLD = $(CC)
234 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
235 LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
236 YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
237 DIST_SOURCES = $(states_SOURCES)
238 HEADERS = $(noinst_HEADERS)
239
240
241 RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
242         ps-recursive install-info-recursive uninstall-info-recursive \
243         all-recursive install-data-recursive install-exec-recursive \
244         installdirs-recursive install-recursive uninstall-recursive \
245         check-recursive installcheck-recursive
246 DIST_COMMON = $(noinst_HEADERS) ChangeLog Makefile.am Makefile.in TODO \
247         gram.c gram.h lex.c
248 DIST_SUBDIRS = $(SUBDIRS)
249 SOURCES = $(states_SOURCES)
250
251 all: all-recursive
252
253 .SUFFIXES:
254 .SUFFIXES: .c .l .o .obj .y
255 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
256         cd $(top_srcdir) && \
257           $(AUTOMAKE) --gnu  states/Makefile
258 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
259         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
260 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
261 install-binPROGRAMS: $(bin_PROGRAMS)
262         @$(NORMAL_INSTALL)
263         $(mkinstalldirs) $(DESTDIR)$(bindir)
264         @list='$(bin_PROGRAMS)'; for p in $$list; do \
265           p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
266           if test -f $$p \
267           ; then \
268             f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
269            echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
270            $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
271           else :; fi; \
272         done
273
274 uninstall-binPROGRAMS:
275         @$(NORMAL_UNINSTALL)
276         @list='$(bin_PROGRAMS)'; for p in $$list; do \
277           f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
278           echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
279           rm -f $(DESTDIR)$(bindir)/$$f; \
280         done
281
282 clean-binPROGRAMS:
283         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
284 gram.h: gram.c
285         @if test ! -f $@; then \
286           rm -f gram.c; \
287           $(MAKE) gram.c; \
288         else :; fi
289 states$(EXEEXT): $(states_OBJECTS) $(states_DEPENDENCIES) 
290         @rm -f states$(EXEEXT)
291         $(LINK) $(states_LDFLAGS) $(states_OBJECTS) $(states_LDADD) $(LIBS)
292 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
293 install-binSCRIPTS: $(bin_SCRIPTS)
294         @$(NORMAL_INSTALL)
295         $(mkinstalldirs) $(DESTDIR)$(bindir)
296         @list='$(bin_SCRIPTS)'; for p in $$list; do \
297           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
298           if test -f $$d$$p; then \
299             f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
300             echo " $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f"; \
301             $(binSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(bindir)/$$f; \
302           else :; fi; \
303         done
304
305 uninstall-binSCRIPTS:
306         @$(NORMAL_UNINSTALL)
307         @list='$(bin_SCRIPTS)'; for p in $$list; do \
308           f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
309           echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
310           rm -f $(DESTDIR)$(bindir)/$$f; \
311         done
312
313 mostlyclean-compile:
314         -rm -f *.$(OBJEXT) core *.core
315
316 distclean-compile:
317         -rm -f *.tab.c
318
319 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gram.Po@am__quote@
320 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lex.Po@am__quote@
321 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
322 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prims.Po@am__quote@
323 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process.Po@am__quote@
324 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utils.Po@am__quote@
325
326 distclean-depend:
327         -rm -rf ./$(DEPDIR)
328
329 .c.o:
330 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
331 @am__fastdepCC_TRUE@      -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
332 @am__fastdepCC_TRUE@    then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
333 @am__fastdepCC_TRUE@    else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
334 @am__fastdepCC_TRUE@    fi
335 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
336 @AMDEP_TRUE@@am__fastdepCC_FALSE@       depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
337 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
338 @am__fastdepCC_FALSE@   $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
339
340 .c.obj:
341 @am__fastdepCC_TRUE@    if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
342 @am__fastdepCC_TRUE@      -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`; \
343 @am__fastdepCC_TRUE@    then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
344 @am__fastdepCC_TRUE@    else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
345 @am__fastdepCC_TRUE@    fi
346 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
347 @AMDEP_TRUE@@am__fastdepCC_FALSE@       depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
348 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
349 @am__fastdepCC_FALSE@   $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'`
350
351 .l.c:
352         $(LEXCOMPILE) `test -f $< || echo '$(srcdir)/'`$<
353         sed '/^#/ s|$(LEX_OUTPUT_ROOT)\.c|$@|' $(LEX_OUTPUT_ROOT).c >$@
354         rm -f $(LEX_OUTPUT_ROOT).c
355
356 .y.c:
357         $(YACCCOMPILE) `test -f '$<' || echo '$(srcdir)/'`$<
358         sed '/^#/ s|y\.tab\.c|$@|' y.tab.c >$@
359         rm -f y.tab.c
360         if test -f y.tab.h; then \
361           to=`echo "$*_H" | sed \
362                 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
363                 -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
364           sed "/^#/ s/Y_TAB_H/$$to/g" y.tab.h >$*.ht; \
365           rm -f y.tab.h; \
366           if cmp -s $*.ht $*.h; then \
367             rm -f $*.ht ;\
368           else \
369             mv $*.ht $*.h; \
370           fi; \
371         fi
372         if test -f y.output; then \
373           mv y.output $*.output; \
374         fi
375 uninstall-info-am:
376
377 # This directory's subdirectories are mostly independent; you can cd
378 # into them and run `make' without going through this Makefile.
379 # To change the values of `make' variables: instead of editing Makefiles,
380 # (1) if the variable is set in `config.status', edit `config.status'
381 #     (which will cause the Makefiles to be regenerated when you run `make');
382 # (2) otherwise, pass the desired values on the `make' command line.
383 $(RECURSIVE_TARGETS):
384         @set fnord $$MAKEFLAGS; amf=$$2; \
385         dot_seen=no; \
386         target=`echo $@ | sed s/-recursive//`; \
387         list='$(SUBDIRS)'; for subdir in $$list; do \
388           echo "Making $$target in $$subdir"; \
389           if test "$$subdir" = "."; then \
390             dot_seen=yes; \
391             local_target="$$target-am"; \
392           else \
393             local_target="$$target"; \
394           fi; \
395           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
396            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
397         done; \
398         if test "$$dot_seen" = "no"; then \
399           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
400         fi; test -z "$$fail"
401
402 mostlyclean-recursive clean-recursive distclean-recursive \
403 maintainer-clean-recursive:
404         @set fnord $$MAKEFLAGS; amf=$$2; \
405         dot_seen=no; \
406         case "$@" in \
407           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
408           *) list='$(SUBDIRS)' ;; \
409         esac; \
410         rev=''; for subdir in $$list; do \
411           if test "$$subdir" = "."; then :; else \
412             rev="$$subdir $$rev"; \
413           fi; \
414         done; \
415         rev="$$rev ."; \
416         target=`echo $@ | sed s/-recursive//`; \
417         for subdir in $$rev; do \
418           echo "Making $$target in $$subdir"; \
419           if test "$$subdir" = "."; then \
420             local_target="$$target-am"; \
421           else \
422             local_target="$$target"; \
423           fi; \
424           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
425            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
426         done && test -z "$$fail"
427 tags-recursive:
428         list='$(SUBDIRS)'; for subdir in $$list; do \
429           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
430         done
431 ctags-recursive:
432         list='$(SUBDIRS)'; for subdir in $$list; do \
433           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
434         done
435
436 ETAGS = etags
437 ETAGSFLAGS =
438
439 CTAGS = ctags
440 CTAGSFLAGS =
441
442 tags: TAGS
443
444 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
445         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
446         unique=`for i in $$list; do \
447             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
448           done | \
449           $(AWK) '    { files[$$0] = 1; } \
450                END { for (i in files) print i; }'`; \
451         mkid -fID $$unique
452
453 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
454                 $(TAGS_FILES) $(LISP)
455         tags=; \
456         here=`pwd`; \
457         list='$(SUBDIRS)'; for subdir in $$list; do \
458           if test "$$subdir" = .; then :; else \
459             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
460           fi; \
461         done; \
462         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
463         unique=`for i in $$list; do \
464             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
465           done | \
466           $(AWK) '    { files[$$0] = 1; } \
467                END { for (i in files) print i; }'`; \
468         test -z "$(ETAGS_ARGS)$$tags$$unique" \
469           || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
470              $$tags $$unique
471
472 ctags: CTAGS
473 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
474                 $(TAGS_FILES) $(LISP)
475         tags=; \
476         here=`pwd`; \
477         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
478         unique=`for i in $$list; do \
479             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
480           done | \
481           $(AWK) '    { files[$$0] = 1; } \
482                END { for (i in files) print i; }'`; \
483         test -z "$(CTAGS_ARGS)$$tags$$unique" \
484           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
485              $$tags $$unique
486
487 GTAGS:
488         here=`$(am__cd) $(top_builddir) && pwd` \
489           && cd $(top_srcdir) \
490           && gtags -i $(GTAGS_ARGS) $$here
491
492 distclean-tags:
493         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
494 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
495
496 top_distdir = ..
497 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
498
499 distdir: $(DISTFILES)
500         @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
501         list='$(DISTFILES)'; for file in $$list; do \
502           case $$file in \
503             $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
504           esac; \
505           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
506           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
507           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
508             dir="/$$dir"; \
509             $(mkinstalldirs) "$(distdir)$$dir"; \
510           else \
511             dir=''; \
512           fi; \
513           if test -d $$d/$$file; then \
514             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
515               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
516             fi; \
517             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
518           else \
519             test -f $(distdir)/$$file \
520             || cp -p $$d/$$file $(distdir)/$$file \
521             || exit 1; \
522           fi; \
523         done
524         list='$(SUBDIRS)'; for subdir in $$list; do \
525           if test "$$subdir" = .; then :; else \
526             test -d $(distdir)/$$subdir \
527             || mkdir $(distdir)/$$subdir \
528             || exit 1; \
529             (cd $$subdir && \
530               $(MAKE) $(AM_MAKEFLAGS) \
531                 top_distdir="$(top_distdir)" \
532                 distdir=../$(distdir)/$$subdir \
533                 distdir) \
534               || exit 1; \
535           fi; \
536         done
537 check-am: all-am
538 check: check-recursive
539 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(HEADERS)
540 installdirs: installdirs-recursive
541 installdirs-am:
542         $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir)
543
544 install: install-recursive
545 install-exec: install-exec-recursive
546 install-data: install-data-recursive
547 uninstall: uninstall-recursive
548
549 install-am: all-am
550         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
551
552 installcheck: installcheck-recursive
553 install-strip:
554         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
555           INSTALL_STRIP_FLAG=-s \
556           `test -z '$(STRIP)' || \
557             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
558 mostlyclean-generic:
559
560 clean-generic:
561
562 distclean-generic:
563         -rm -f Makefile $(CONFIG_CLEAN_FILES)
564
565 maintainer-clean-generic:
566         @echo "This command is intended for maintainers to use"
567         @echo "it deletes files that may require special tools to rebuild."
568         -rm -f gram.h
569         -rm -f lex.c
570         -rm -f gram.c
571 clean: clean-recursive
572
573 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
574
575 distclean: distclean-recursive
576
577 distclean-am: clean-am distclean-compile distclean-depend \
578         distclean-generic distclean-tags
579
580 dvi: dvi-recursive
581
582 dvi-am:
583
584 info: info-recursive
585
586 info-am:
587
588 install-data-am:
589
590 install-exec-am: install-binPROGRAMS install-binSCRIPTS
591
592 install-info: install-info-recursive
593
594 install-man:
595
596 installcheck-am:
597
598 maintainer-clean: maintainer-clean-recursive
599
600 maintainer-clean-am: distclean-am maintainer-clean-generic
601
602 mostlyclean: mostlyclean-recursive
603
604 mostlyclean-am: mostlyclean-compile mostlyclean-generic
605
606 pdf: pdf-recursive
607
608 pdf-am:
609
610 ps: ps-recursive
611
612 ps-am:
613
614 uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \
615         uninstall-info-am
616
617 uninstall-info: uninstall-info-recursive
618
619 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
620         clean-binPROGRAMS clean-generic clean-recursive ctags \
621         ctags-recursive distclean distclean-compile distclean-depend \
622         distclean-generic distclean-recursive distclean-tags distdir \
623         dvi dvi-am dvi-recursive info info-am info-recursive install \
624         install-am install-binPROGRAMS install-binSCRIPTS install-data \
625         install-data-am install-data-recursive install-exec \
626         install-exec-am install-exec-recursive install-info \
627         install-info-am install-info-recursive install-man \
628         install-recursive install-strip installcheck installcheck-am \
629         installdirs installdirs-am installdirs-recursive \
630         maintainer-clean maintainer-clean-generic \
631         maintainer-clean-recursive mostlyclean mostlyclean-compile \
632         mostlyclean-generic mostlyclean-recursive pdf pdf-am \
633         pdf-recursive ps ps-am ps-recursive tags tags-recursive \
634         uninstall uninstall-am uninstall-binPROGRAMS \
635         uninstall-binSCRIPTS uninstall-info-am uninstall-info-recursive \
636         uninstall-recursive
637
638
639 over: $(srcdir)/over.in
640         sed 's%@LIBRARYDIR@%$(prefix)/share/enscript%g' \
641         $(srcdir)/over.in > over
642 # Tell versions [3.59,3.63) of GNU make to not export all variables.
643 # Otherwise a system limit (for SysV at least) may be exceeded.
644 .NOEXPORT: