chiark / gitweb /
Import upstream sources.
[cparse] / Makefile.in
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 #
17 # This file is part of DisOrder.
18 # Copyright (C) 2004 Richard Kettlewell
19 #
20 # This program is free software; you can redistribute it and/or modify
21 # it under the terms of the GNU General Public License as published by
22 # the Free Software Foundation; either version 2 of the License, or
23 # (at your option) any later version.
24 #
25 # This program is distributed in the hope that it will be useful, but
26 # WITHOUT ANY WARRANTY; without even the implied warranty of
27 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
28 # General Public License for more details.
29 #
30 # You should have received a copy of the GNU General Public License
31 # along with this program; if not, write to the Free Software
32 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
33 # USA
34 #
35
36 SHELL = @SHELL@
37
38 srcdir = @srcdir@
39 top_srcdir = @top_srcdir@
40 VPATH = @srcdir@
41 prefix = @prefix@
42 exec_prefix = @exec_prefix@
43
44 bindir = @bindir@
45 sbindir = @sbindir@
46 libexecdir = @libexecdir@
47 datadir = @datadir@
48 sysconfdir = @sysconfdir@
49 sharedstatedir = @sharedstatedir@
50 localstatedir = @localstatedir@
51 libdir = @libdir@
52 infodir = @infodir@
53 mandir = @mandir@
54 includedir = @includedir@
55 oldincludedir = /usr/include
56 pkgdatadir = $(datadir)/@PACKAGE@
57 pkglibdir = $(libdir)/@PACKAGE@
58 pkgincludedir = $(includedir)/@PACKAGE@
59 top_builddir = .
60
61 ACLOCAL = @ACLOCAL@
62 AUTOCONF = @AUTOCONF@
63 AUTOMAKE = @AUTOMAKE@
64 AUTOHEADER = @AUTOHEADER@
65
66 INSTALL = @INSTALL@
67 INSTALL_PROGRAM = @INSTALL_PROGRAM@
68 INSTALL_DATA = @INSTALL_DATA@
69 INSTALL_SCRIPT = @INSTALL_SCRIPT@
70 INSTALL_HEADER = $(INSTALL_DATA)
71 transform = @program_transform_name@
72 NORMAL_INSTALL = :
73 PRE_INSTALL = :
74 POST_INSTALL = :
75 NORMAL_UNINSTALL = :
76 PRE_UNINSTALL = :
77 POST_UNINSTALL = :
78 host_alias = @host_alias@
79 host_triplet = @host@
80 AMTAR = @AMTAR@
81 AS = @AS@
82 AWK = @AWK@
83 CC = @CC@
84 DEPDIR = @DEPDIR@
85 DLLTOOL = @DLLTOOL@
86 ECHO = @ECHO@
87 EXEEXT = @EXEEXT@
88 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
89 LEX = @LEX@
90 LIBGC = @LIBGC@
91 LIBTOOL = @LIBTOOL@
92 LN_S = @LN_S@
93 OBJDUMP = @OBJDUMP@
94 OBJEXT = @OBJEXT@
95 PACKAGE = @PACKAGE@
96 RANLIB = @RANLIB@
97 STRIP = @STRIP@
98 VERSION = @VERSION@
99 YACC = @YACC@
100 am__include = @am__include@
101 am__quote = @am__quote@
102 install_sh = @install_sh@
103
104 bin_PROGRAMS = cparse cprototypes
105 lib_LTLIBRARIES = libcparse.la
106
107 libcparse_la_SOURCES = c-lex.l \
108         c-parse.y \
109         mem.c \
110         log.c \
111         globals.c \
112         dict.c \
113         dump.c \
114         constraints.c \
115         parse.c \
116         number.c \
117         type.c \
118         expr.c \
119         scope.c \
120         gcc.c \
121         constraints.h \
122         cparse.h \
123         platform.h
124
125 libcparse_la_LIBADD = $(LIBGC)
126
127 cparse_SOURCES = cparse.c
128 cparse_LDADD = libcparse.la
129
130 cprototypes_SOURCES = cprototypes.c
131 cprototypes_LDADD = libcparse.la
132
133 EXTRA_DIST = c-parse.h tests.bash
134
135 SUBDIRS = tests
136
137 ALL_CFLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
138         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
139
140 subdir = .
141 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
142 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
143 CONFIG_HEADER = config.h
144 CONFIG_CLEAN_FILES =
145 LTLIBRARIES = $(lib_LTLIBRARIES)
146
147 libcparse_la_LDFLAGS =
148 libcparse_la_DEPENDENCIES =
149 am_libcparse_la_OBJECTS = c-lex.lo c-parse.lo mem.lo log.lo globals.lo \
150         dict.lo dump.lo constraints.lo parse.lo number.lo type.lo \
151         expr.lo scope.lo gcc.lo
152 libcparse_la_OBJECTS = $(am_libcparse_la_OBJECTS)
153 bin_PROGRAMS = cparse$(EXEEXT) cprototypes$(EXEEXT)
154 PROGRAMS = $(bin_PROGRAMS)
155
156 am_cparse_OBJECTS = cparse.$(OBJEXT)
157 cparse_OBJECTS = $(am_cparse_OBJECTS)
158 cparse_DEPENDENCIES = libcparse.la
159 cparse_LDFLAGS =
160 am_cprototypes_OBJECTS = cprototypes.$(OBJEXT)
161 cprototypes_OBJECTS = $(am_cprototypes_OBJECTS)
162 cprototypes_DEPENDENCIES = libcparse.la
163 cprototypes_LDFLAGS =
164
165 DEFS = @DEFS@
166 DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
167 CPPFLAGS = @CPPFLAGS@
168 LDFLAGS = @LDFLAGS@
169 LIBS = @LIBS@
170 depcomp = $(SHELL) $(top_srcdir)/depcomp
171 @AMDEP_TRUE@DEP_FILES = $(DEPDIR)/c-lex.Plo $(DEPDIR)/c-parse.Plo \
172 @AMDEP_TRUE@    $(DEPDIR)/constraints.Plo $(DEPDIR)/cparse.Po \
173 @AMDEP_TRUE@    $(DEPDIR)/cprototypes.Po $(DEPDIR)/dict.Plo \
174 @AMDEP_TRUE@    $(DEPDIR)/dump.Plo $(DEPDIR)/expr.Plo \
175 @AMDEP_TRUE@    $(DEPDIR)/gcc.Plo $(DEPDIR)/globals.Plo \
176 @AMDEP_TRUE@    $(DEPDIR)/log.Plo $(DEPDIR)/mem.Plo \
177 @AMDEP_TRUE@    $(DEPDIR)/number.Plo $(DEPDIR)/parse.Plo \
178 @AMDEP_TRUE@    $(DEPDIR)/scope.Plo $(DEPDIR)/type.Plo
179 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
180         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
181 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
182         $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
183 CCLD = $(CC)
184 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
185         $(AM_LDFLAGS) $(LDFLAGS) -o $@
186 CFLAGS = @CFLAGS@
187 LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS)
188 LTLEXCOMPILE = $(LIBTOOL) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS)
189 YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
190 LTYACCCOMPILE = $(LIBTOOL) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
191 DIST_SOURCES = $(libcparse_la_SOURCES) $(cparse_SOURCES) \
192         $(cprototypes_SOURCES)
193
194 RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
195         uninstall-info-recursive all-recursive install-data-recursive \
196         install-exec-recursive installdirs-recursive install-recursive \
197         uninstall-recursive check-recursive installcheck-recursive
198 DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
199         Makefile.am Makefile.in NEWS TODO acinclude.m4 aclocal.m4 \
200         c-lex.c c-parse.c config.guess config.h.in config.sub configure \
201         configure.ac depcomp install-sh ltmain.sh missing mkinstalldirs
202 DIST_SUBDIRS = $(SUBDIRS)
203 SOURCES = $(libcparse_la_SOURCES) $(cparse_SOURCES) $(cprototypes_SOURCES)
204
205 all: config.h
206         $(MAKE) $(AM_MAKEFLAGS) all-recursive
207
208 .SUFFIXES:
209 .SUFFIXES: .c .l .lo .o .obj .y
210
211 mostlyclean-libtool:
212         -rm -f *.lo
213
214 clean-libtool:
215         -rm -rf .libs _libs
216
217 distclean-libtool:
218         -rm -f libtool
219 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
220         cd $(top_srcdir) && \
221           $(AUTOMAKE) --gnu  Makefile
222 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
223         cd $(top_builddir) && \
224           CONFIG_HEADERS= CONFIG_LINKS= \
225           CONFIG_FILES=$@ $(SHELL) ./config.status
226
227 $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
228         $(SHELL) ./config.status --recheck
229 $(srcdir)/configure:  $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
230         cd $(srcdir) && $(AUTOCONF)
231
232 $(ACLOCAL_M4):  configure.ac acinclude.m4
233         cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
234 config.h: stamp-h
235         @if test ! -f $@; then \
236                 rm -f stamp-h; \
237                 $(MAKE) stamp-h; \
238         else :; fi
239 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
240         @rm -f stamp-h stamp-hT
241         @echo timestamp > stamp-hT 2> /dev/null
242         cd $(top_builddir) \
243           && CONFIG_FILES= CONFIG_HEADERS=config.h \
244              $(SHELL) ./config.status
245         @mv stamp-hT stamp-h
246 $(srcdir)/config.h.in:  $(srcdir)/./stamp-h.in
247         @if test ! -f $@; then \
248                 rm -f $(srcdir)/./stamp-h.in; \
249                 $(MAKE) $(srcdir)/./stamp-h.in; \
250         else :; fi
251 $(srcdir)/./stamp-h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
252         @rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
253         @echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
254         cd $(top_srcdir) && $(AUTOHEADER)
255         @mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
256
257 distclean-hdr:
258         -rm -f config.h
259 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
260         @$(NORMAL_INSTALL)
261         $(mkinstalldirs) $(DESTDIR)$(libdir)
262         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
263           if test -f $$p; then \
264             echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
265             $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
266           else :; fi; \
267         done
268
269 uninstall-libLTLIBRARIES:
270         @$(NORMAL_UNINSTALL)
271         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
272           echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
273           $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
274         done
275
276 clean-libLTLIBRARIES:
277         -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
278 libcparse.la: $(libcparse_la_OBJECTS) $(libcparse_la_DEPENDENCIES) 
279         $(LINK) -rpath $(libdir) $(libcparse_la_LDFLAGS) $(libcparse_la_OBJECTS) $(libcparse_la_LIBADD) $(LIBS)
280 install-binPROGRAMS: $(bin_PROGRAMS)
281         @$(NORMAL_INSTALL)
282         $(mkinstalldirs) $(DESTDIR)$(bindir)
283         @list='$(bin_PROGRAMS)'; for p in $$list; do \
284           p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
285           if test -f $$p \
286              || test -f $$p1 \
287           ; then \
288             f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
289            echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \
290            $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \
291           else :; fi; \
292         done
293
294 uninstall-binPROGRAMS:
295         @$(NORMAL_UNINSTALL)
296         @list='$(bin_PROGRAMS)'; for p in $$list; do \
297           f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
298           echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
299           rm -f $(DESTDIR)$(bindir)/$$f; \
300         done
301
302 clean-binPROGRAMS:
303         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
304 cparse$(EXEEXT): $(cparse_OBJECTS) $(cparse_DEPENDENCIES) 
305         @rm -f cparse$(EXEEXT)
306         $(LINK) $(cparse_LDFLAGS) $(cparse_OBJECTS) $(cparse_LDADD) $(LIBS)
307 cprototypes$(EXEEXT): $(cprototypes_OBJECTS) $(cprototypes_DEPENDENCIES) 
308         @rm -f cprototypes$(EXEEXT)
309         $(LINK) $(cprototypes_LDFLAGS) $(cprototypes_OBJECTS) $(cprototypes_LDADD) $(LIBS)
310
311 mostlyclean-compile:
312         -rm -f *.$(OBJEXT) core *.core
313
314 distclean-compile:
315         -rm -f *.tab.c
316
317 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/c-lex.Plo@am__quote@
318 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/c-parse.Plo@am__quote@
319 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/constraints.Plo@am__quote@
320 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/cparse.Po@am__quote@
321 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/cprototypes.Po@am__quote@
322 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/dict.Plo@am__quote@
323 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/dump.Plo@am__quote@
324 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/expr.Plo@am__quote@
325 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/gcc.Plo@am__quote@
326 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/globals.Plo@am__quote@
327 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/log.Plo@am__quote@
328 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mem.Plo@am__quote@
329 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/number.Plo@am__quote@
330 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/parse.Plo@am__quote@
331 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/scope.Plo@am__quote@
332 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/type.Plo@am__quote@
333
334 distclean-depend:
335         -rm -rf $(DEPDIR)
336
337 .c.o:
338 @AMDEP_TRUE@    source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
339 @AMDEP_TRUE@    depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
340 @AMDEP_TRUE@    $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
341         $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
342
343 .c.obj:
344 @AMDEP_TRUE@    source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
345 @AMDEP_TRUE@    depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
346 @AMDEP_TRUE@    $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
347         $(COMPILE) -c `cygpath -w $<`
348
349 .c.lo:
350 @AMDEP_TRUE@    source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
351 @AMDEP_TRUE@    depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
352 @AMDEP_TRUE@    $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
353         $(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
354 CCDEPMODE = @CCDEPMODE@
355
356 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
357 LEXLIB = @LEXLIB@
358
359 .l.c:
360         $(LEXCOMPILE) $< && mv $(LEX_OUTPUT_ROOT).c $@
361
362 .y.c:
363         $(YACCCOMPILE) $< && mv y.tab.c $@
364         if test -f y.tab.h; then \
365           if cmp -s y.tab.h $*.h; then \
366             rm -f y.tab.h; \
367           else \
368             mv y.tab.h $*.h; \
369           fi; \
370         fi
371 uninstall-info-am:
372
373 # This directory's subdirectories are mostly independent; you can cd
374 # into them and run `make' without going through this Makefile.
375 # To change the values of `make' variables: instead of editing Makefiles,
376 # (1) if the variable is set in `config.status', edit `config.status'
377 #     (which will cause the Makefiles to be regenerated when you run `make');
378 # (2) otherwise, pass the desired values on the `make' command line.
379 $(RECURSIVE_TARGETS):
380         @set fnord $(MAKEFLAGS); amf=$$2; \
381         dot_seen=no; \
382         target=`echo $@ | sed s/-recursive//`; \
383         list='$(SUBDIRS)'; for subdir in $$list; do \
384           echo "Making $$target in $$subdir"; \
385           if test "$$subdir" = "."; then \
386             dot_seen=yes; \
387             local_target="$$target-am"; \
388           else \
389             local_target="$$target"; \
390           fi; \
391           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
392            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
393         done; \
394         if test "$$dot_seen" = "no"; then \
395           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
396         fi; test -z "$$fail"
397
398 mostlyclean-recursive clean-recursive distclean-recursive \
399 maintainer-clean-recursive:
400         @set fnord $(MAKEFLAGS); amf=$$2; \
401         dot_seen=no; \
402         case "$@" in \
403           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
404           *) list='$(SUBDIRS)' ;; \
405         esac; \
406         rev=''; for subdir in $$list; do \
407           if test "$$subdir" = "."; then :; else \
408             rev="$$subdir $$rev"; \
409           fi; \
410         done; \
411         rev="$$rev ."; \
412         target=`echo $@ | sed s/-recursive//`; \
413         for subdir in $$rev; do \
414           echo "Making $$target in $$subdir"; \
415           if test "$$subdir" = "."; then \
416             local_target="$$target-am"; \
417           else \
418             local_target="$$target"; \
419           fi; \
420           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
421            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
422         done && test -z "$$fail"
423 tags-recursive:
424         list='$(SUBDIRS)'; for subdir in $$list; do \
425           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
426         done
427
428 tags: TAGS
429
430 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
431         list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
432         unique=`for i in $$list; do \
433             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
434           done | \
435           $(AWK) '    { files[$$0] = 1; } \
436                END { for (i in files) print i; }'`; \
437         mkid -fID $$unique $(LISP)
438
439 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
440                 $(TAGS_FILES) $(LISP)
441         tags=; \
442         here=`pwd`; \
443         list='$(SUBDIRS)'; for subdir in $$list; do \
444           if test "$$subdir" = .; then :; else \
445             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
446           fi; \
447         done; \
448         list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
449         unique=`for i in $$list; do \
450             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
451           done | \
452           $(AWK) '    { files[$$0] = 1; } \
453                END { for (i in files) print i; }'`; \
454         test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
455           || etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)
456
457 GTAGS:
458         here=`CDPATH=: && cd $(top_builddir) && pwd` \
459           && cd $(top_srcdir) \
460           && gtags -i $(GTAGS_ARGS) $$here
461
462 distclean-tags:
463         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
464
465 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
466
467 top_distdir = .
468 # Avoid unsightly `./'.
469 distdir = $(PACKAGE)-$(VERSION)
470
471 GZIP_ENV = --best
472
473 distdir: $(DISTFILES)
474         -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
475         mkdir $(distdir)
476         @for file in $(DISTFILES); do \
477           if test -f $$file; then d=.; else d=$(srcdir); fi; \
478           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
479           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
480             $(mkinstalldirs) "$(distdir)/$$dir"; \
481           fi; \
482           if test -d $$d/$$file; then \
483             cp -pR $$d/$$file $(distdir) \
484             || exit 1; \
485           else \
486             test -f $(distdir)/$$file \
487             || cp -p $$d/$$file $(distdir)/$$file \
488             || exit 1; \
489           fi; \
490         done
491         for subdir in $(SUBDIRS); do \
492           if test "$$subdir" = .; then :; else \
493             test -d $(distdir)/$$subdir \
494             || mkdir $(distdir)/$$subdir \
495             || exit 1; \
496             (cd $$subdir && \
497               $(MAKE) $(AM_MAKEFLAGS) \
498                 top_distdir="$(top_distdir)" \
499                 distdir=../$(distdir)/$$subdir \
500                 distdir) \
501               || exit 1; \
502           fi; \
503         done
504         -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
505           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
506           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
507           ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
508         || chmod -R a+r $(distdir)
509 dist: distdir
510         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
511         -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
512
513 # This target untars the dist file and tries a VPATH configuration.  Then
514 # it guarantees that the distribution is self-contained by making another
515 # tarfile.
516 distcheck: dist
517         -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
518         GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
519         chmod -R a-w $(distdir); chmod a+w $(distdir)
520         mkdir $(distdir)/=build
521         mkdir $(distdir)/=inst
522         chmod a-w $(distdir)
523         dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
524           && cd $(distdir)/=build \
525           && ../configure --srcdir=.. --prefix=$$dc_install_base \
526           && $(MAKE) $(AM_MAKEFLAGS) \
527           && $(MAKE) $(AM_MAKEFLAGS) dvi \
528           && $(MAKE) $(AM_MAKEFLAGS) check \
529           && $(MAKE) $(AM_MAKEFLAGS) install \
530           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
531           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
532           && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
533              || (echo "Error: files left after uninstall" 1>&2; \
534                  exit 1) ) \
535           && $(MAKE) $(AM_MAKEFLAGS) dist \
536           && $(MAKE) $(AM_MAKEFLAGS) distclean \
537           && rm -f $(distdir).tar.gz \
538           && (test `find . -type f -print | wc -l` -eq 0 \
539              || (echo "Error: files left after distclean" 1>&2; \
540                  exit 1) )
541         -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
542         @echo "$(distdir).tar.gz is ready for distribution" | \
543           sed 'h;s/./=/g;p;x;p;x'
544 check-am: all-am
545 check: check-recursive
546 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) config.h
547 install-binPROGRAMS: install-libLTLIBRARIES
548
549 installdirs: installdirs-recursive
550 installdirs-am:
551         $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir)
552
553 install: install-recursive
554 install-exec: install-exec-recursive
555 install-data: install-data-recursive
556 uninstall: uninstall-recursive
557
558 install-am: all-am
559         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
560
561 installcheck: installcheck-recursive
562 install-strip:
563         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
564           `test -z '$(STRIP)' || \
565             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
566 mostlyclean-generic:
567
568 clean-generic:
569
570 distclean-generic:
571         -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
572
573 maintainer-clean-generic:
574         @echo "This command is intended for maintainers to use"
575         @echo "it deletes files that may require special tools to rebuild."
576 clean: clean-recursive
577
578 clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
579         clean-libtool mostlyclean-am
580
581 dist-all: distdir
582         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
583         -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
584 distclean: distclean-recursive
585         -rm -f config.status config.cache config.log
586 distclean-am: clean-am distclean-compile distclean-depend \
587         distclean-generic distclean-hdr distclean-libtool \
588         distclean-tags
589
590 dvi: dvi-recursive
591
592 dvi-am:
593
594 info: info-recursive
595
596 info-am:
597
598 install-data-am:
599
600 install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
601
602 install-info: install-info-recursive
603
604 install-man:
605
606 installcheck-am:
607
608 maintainer-clean: maintainer-clean-recursive
609
610 maintainer-clean-am: distclean-am maintainer-clean-generic
611
612 mostlyclean: mostlyclean-recursive
613
614 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
615         mostlyclean-libtool
616
617 uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
618         uninstall-libLTLIBRARIES
619
620 uninstall-info: uninstall-info-recursive
621
622 .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
623         clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
624         clean-libtool clean-recursive dist dist-all distcheck distclean \
625         distclean-compile distclean-depend distclean-generic \
626         distclean-hdr distclean-libtool distclean-recursive \
627         distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
628         info-recursive install install-am install-binPROGRAMS \
629         install-data install-data-am install-data-recursive \
630         install-exec install-exec-am install-exec-recursive \
631         install-info install-info-am install-info-recursive \
632         install-libLTLIBRARIES install-man install-recursive \
633         install-strip installcheck installcheck-am installdirs \
634         installdirs-am installdirs-recursive maintainer-clean \
635         maintainer-clean-generic maintainer-clean-recursive mostlyclean \
636         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
637         mostlyclean-recursive tags tags-recursive uninstall \
638         uninstall-am uninstall-binPROGRAMS uninstall-info-am \
639         uninstall-info-recursive uninstall-libLTLIBRARIES \
640         uninstall-recursive
641
642
643 $(libcparse_la_OBJECTS): c-parse.h
644
645 c-parse.h: c-parse.c
646
647 test: all
648         ./tests.bash
649
650 test-x: all
651         bash -x ./tests.bash
652 export ALL_CFLAGS CC
653 # Tell versions [3.59,3.63) of GNU make to not export all variables.
654 # Otherwise a system limit (for SysV at least) may be exceeded.
655 .NOEXPORT: