1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
65 PROGPREFIX = @PROGPREFIX@
67 TCL_INCLUDE = @TCL_INCLUDE@
73 YAZVERSION = @YAZVERSION@
74 yazconfig = @yazconfig@
76 noinst_LIBRARIES = libdfa.a
78 noinst_PROGRAMS = agrep lexer grepper
80 INCLUDES = -I$(srcdir)/../include @YAZINC@
81 LDADD = libdfa.a ../util/libutil.a @YAZLIB@ @LIBS@
83 agrep_SOURCES = agrep.c
85 lexer_SOURCES = lexer.c readfile.c
87 grepper_SOURCES = grepper.c
89 libdfa_a_SOURCES = dfa.c imalloc.c states.c set.c bset.c dfap.h imalloc.h lexer.h
91 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
93 LIBRARIES = $(noinst_LIBRARIES)
99 libdfa_a_OBJECTS = dfa.o imalloc.o states.o set.o bset.o
101 PROGRAMS = $(noinst_PROGRAMS)
103 agrep_OBJECTS = agrep.o
104 agrep_LDADD = $(LDADD)
105 agrep_DEPENDENCIES = libdfa.a ../util/libutil.a
107 lexer_OBJECTS = lexer.o readfile.o
108 lexer_LDADD = $(LDADD)
109 lexer_DEPENDENCIES = libdfa.a ../util/libutil.a
111 grepper_OBJECTS = grepper.o
112 grepper_LDADD = $(LDADD)
113 grepper_DEPENDENCIES = libdfa.a ../util/libutil.a
116 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
118 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
119 DIST_COMMON = Makefile.am Makefile.in
122 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
126 DEP_FILES = .deps/agrep.P .deps/bset.P .deps/dfa.P .deps/grepper.P \
127 .deps/imalloc.P .deps/lexer.P .deps/readfile.P .deps/set.P \
129 SOURCES = $(libdfa_a_SOURCES) $(agrep_SOURCES) $(lexer_SOURCES) $(grepper_SOURCES)
130 OBJECTS = $(libdfa_a_OBJECTS) $(agrep_OBJECTS) $(lexer_OBJECTS) $(grepper_OBJECTS)
134 .SUFFIXES: .S .c .o .s
135 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
136 cd $(top_srcdir) && $(AUTOMAKE) --gnu dfa/Makefile
138 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
140 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
143 mostlyclean-noinstLIBRARIES:
145 clean-noinstLIBRARIES:
146 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
148 distclean-noinstLIBRARIES:
150 maintainer-clean-noinstLIBRARIES:
159 -rm -f *.o core *.core
166 maintainer-clean-compile:
168 libdfa.a: $(libdfa_a_OBJECTS) $(libdfa_a_DEPENDENCIES)
170 $(AR) cru libdfa.a $(libdfa_a_OBJECTS) $(libdfa_a_LIBADD)
173 mostlyclean-noinstPROGRAMS:
175 clean-noinstPROGRAMS:
176 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
178 distclean-noinstPROGRAMS:
180 maintainer-clean-noinstPROGRAMS:
182 agrep: $(agrep_OBJECTS) $(agrep_DEPENDENCIES)
184 $(LINK) $(agrep_LDFLAGS) $(agrep_OBJECTS) $(agrep_LDADD) $(LIBS)
186 lexer: $(lexer_OBJECTS) $(lexer_DEPENDENCIES)
188 $(LINK) $(lexer_LDFLAGS) $(lexer_OBJECTS) $(lexer_LDADD) $(LIBS)
190 grepper: $(grepper_OBJECTS) $(grepper_DEPENDENCIES)
192 $(LINK) $(grepper_LDFLAGS) $(grepper_OBJECTS) $(grepper_LDADD) $(LIBS)
196 ID: $(HEADERS) $(SOURCES) $(LISP)
197 list='$(SOURCES) $(HEADERS)'; \
198 unique=`for i in $$list; do echo $$i; done | \
199 awk ' { files[$$0] = 1; } \
200 END { for (i in files) print i; }'`; \
201 here=`pwd` && cd $(srcdir) \
202 && mkid -f$$here/ID $$unique $(LISP)
204 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
207 list='$(SOURCES) $(HEADERS)'; \
208 unique=`for i in $$list; do echo $$i; done | \
209 awk ' { files[$$0] = 1; } \
210 END { for (i in files) print i; }'`; \
211 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
212 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
221 maintainer-clean-tags:
223 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
227 distdir: $(DISTFILES)
228 here=`cd $(top_builddir) && pwd`; \
229 top_distdir=`cd $(top_distdir) && pwd`; \
230 distdir=`cd $(distdir) && pwd`; \
232 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu dfa/Makefile
233 @for file in $(DISTFILES); do \
235 if test -d $$d/$$file; then \
236 cp -pr $$/$$file $(distdir)/$$file; \
238 test -f $(distdir)/$$file \
239 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
240 || cp -p $$d/$$file $(distdir)/$$file || :; \
244 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
246 -include $(DEP_FILES)
255 maintainer-clean-depend:
258 @echo '$(COMPILE) -c $<'; \
259 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
260 @-cp .deps/$(*F).pp .deps/$(*F).P; \
261 tr ' ' '\012' < .deps/$(*F).pp \
262 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
267 @echo '$(LTCOMPILE) -c $<'; \
268 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
269 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
270 < .deps/$(*F).pp > .deps/$(*F).P; \
271 tr ' ' '\012' < .deps/$(*F).pp \
272 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
282 installcheck: installcheck-am
284 install-exec: install-exec-am
287 install-data: install-data-am
290 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
293 uninstall: uninstall-am
294 all-am: Makefile $(LIBRARIES) $(PROGRAMS)
297 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
306 -rm -f Makefile $(CONFIG_CLEAN_FILES)
307 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
309 maintainer-clean-generic:
310 mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
311 mostlyclean-noinstPROGRAMS mostlyclean-tags \
312 mostlyclean-depend mostlyclean-generic
314 mostlyclean: mostlyclean-am
316 clean-am: clean-noinstLIBRARIES clean-compile clean-noinstPROGRAMS \
317 clean-tags clean-depend clean-generic mostlyclean-am
321 distclean-am: distclean-noinstLIBRARIES distclean-compile \
322 distclean-noinstPROGRAMS distclean-tags \
323 distclean-depend distclean-generic clean-am
325 distclean: distclean-am
327 maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
328 maintainer-clean-compile \
329 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
330 maintainer-clean-depend maintainer-clean-generic \
332 @echo "This command is intended for maintainers to use;"
333 @echo "it deletes files that may require special tools to rebuild."
335 maintainer-clean: maintainer-clean-am
337 .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
338 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
339 mostlyclean-compile distclean-compile clean-compile \
340 maintainer-clean-compile mostlyclean-noinstPROGRAMS \
341 distclean-noinstPROGRAMS clean-noinstPROGRAMS \
342 maintainer-clean-noinstPROGRAMS tags mostlyclean-tags distclean-tags \
343 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
344 distclean-depend clean-depend maintainer-clean-depend info-am info \
345 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
346 install-exec install-data-am install-data install-am install \
347 uninstall-am uninstall all-redirect all-am all installdirs \
348 mostlyclean-generic distclean-generic clean-generic \
349 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
352 # Tell versions [3.59,3.63) of GNU make to not export all variables.
353 # Otherwise a system limit (for SysV at least) may be exceeded.