Using YAZ_INIT for autoconf. Added template code for isamb.
[idzebra-moved-to-github.git] / index / Makefile.in
1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
2
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.
7
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
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DESTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = ..
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 CC = @CC@
61 CPP = @CPP@
62 DEFS = @DEFS@
63 MAKEINFO = @MAKEINFO@
64 PACKAGE = @PACKAGE@
65 PROGPREFIX = @PROGPREFIX@
66 RANLIB = @RANLIB@
67 SUBLIBS = @SUBLIBS@
68 TCL_INCLUDE = @TCL_INCLUDE@
69 TCL_LIB = @TCL_LIB@
70 VERSION = @VERSION@
71 YAZINC = @YAZINC@
72 YAZLALIB = @YAZLALIB@
73 YAZLIB = @YAZLIB@
74 YAZVERSION = @YAZVERSION@
75 yazconfig = @yazconfig@
76
77 noinst_PROGRAMS = apitest
78 @ISZMBOL_TRUE@bin_PROGRAMS = zmbolidx zmbolsrv 
79 @ISZMBOL_FALSE@bin_PROGRAMS = zebraidx zebrasrv
80 @ISZMBOL_TRUE@zmbolidx_SOURCES = main.c dir.c dirs.c trav.c extract.c kinput.c kcompare.c  symtab.c recindex.c recstat.c lockutil.c lockidx.c  zinfo.c invstat.c sortidx.c compact.c  index.h recindex.h recindxp.h zebraapi.h zinfo.h zserver.h
81
82 @ISZMBOL_TRUE@zmbolsrv_SOURCES = zserver.c kcompare.c zrpn.c zsets.c attribute.c recindex.c  lockutil.c locksrv.c zinfo.c trunc.c sortidx.c rank1.c zebraapi.c  retrieve.c kinput.c  index.h recindex.h recindxp.h zebraapi.h zinfo.h zserver.h
83 @ISZMBOL_FALSE@zebraidx_SOURCES = main.c dir.c dirs.c trav.c extract.c kinput.c kcompare.c  symtab.c recindex.c recstat.c lockutil.c lockidx.c  zinfo.c invstat.c sortidx.c compact.c  index.h recindex.h recindxp.h zebraapi.h zinfo.h zserver.h
84
85 @ISZMBOL_FALSE@zebrasrv_SOURCES = zserver.c kcompare.c zrpn.c zsets.c attribute.c recindex.c  lockutil.c locksrv.c zinfo.c trunc.c sortidx.c rank1.c zebraapi.c  retrieve.c kinput.c  index.h recindex.h recindxp.h zebraapi.h zinfo.h zserver.h
86
87 apitest_SOURCES = apitest.c kcompare.c zrpn.c zsets.c attribute.c recindex.c  lockutil.c locksrv.c zinfo.c trunc.c sortidx.c rank1.c zebraapi.c  retrieve.c kinput.c  index.h recindex.h recindxp.h zebraapi.h zinfo.h zserver.h
88
89
90 INCLUDES = -I$(srcdir)/../include $(YAZINC) $(TCL_INCLUDE)
91
92 LDADD = @SUBLIBS@ $(YAZLIB) $(TCL_LIB)
93 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
94 CONFIG_CLEAN_FILES = 
95 PROGRAMS =  $(bin_PROGRAMS) $(noinst_PROGRAMS)
96
97 CPPFLAGS = @CPPFLAGS@
98 LDFLAGS = @LDFLAGS@
99 LIBS = @LIBS@
100 @ISZMBOL_TRUE@zmbolidx_OBJECTS =  main.o dir.o dirs.o trav.o extract.o \
101 @ISZMBOL_TRUE@kinput.o kcompare.o symtab.o recindex.o recstat.o \
102 @ISZMBOL_TRUE@lockutil.o lockidx.o zinfo.o invstat.o sortidx.o \
103 @ISZMBOL_TRUE@compact.o
104 zmbolidx_LDADD = $(LDADD)
105 zmbolidx_DEPENDENCIES = 
106 zmbolidx_LDFLAGS = 
107 @ISZMBOL_TRUE@zmbolsrv_OBJECTS =  zserver.o kcompare.o zrpn.o zsets.o \
108 @ISZMBOL_TRUE@attribute.o recindex.o lockutil.o locksrv.o zinfo.o \
109 @ISZMBOL_TRUE@trunc.o sortidx.o rank1.o zebraapi.o retrieve.o kinput.o
110 zmbolsrv_LDADD = $(LDADD)
111 zmbolsrv_DEPENDENCIES = 
112 zmbolsrv_LDFLAGS = 
113 @ISZMBOL_FALSE@zebraidx_OBJECTS =  main.o dir.o dirs.o trav.o extract.o \
114 @ISZMBOL_FALSE@kinput.o kcompare.o symtab.o recindex.o recstat.o \
115 @ISZMBOL_FALSE@lockutil.o lockidx.o zinfo.o invstat.o sortidx.o \
116 @ISZMBOL_FALSE@compact.o
117 zebraidx_LDADD = $(LDADD)
118 zebraidx_DEPENDENCIES = 
119 zebraidx_LDFLAGS = 
120 @ISZMBOL_FALSE@zebrasrv_OBJECTS =  zserver.o kcompare.o zrpn.o zsets.o \
121 @ISZMBOL_FALSE@attribute.o recindex.o lockutil.o locksrv.o zinfo.o \
122 @ISZMBOL_FALSE@trunc.o sortidx.o rank1.o zebraapi.o retrieve.o kinput.o
123 zebrasrv_LDADD = $(LDADD)
124 zebrasrv_DEPENDENCIES = 
125 zebrasrv_LDFLAGS = 
126 apitest_OBJECTS =  apitest.o kcompare.o zrpn.o zsets.o attribute.o \
127 recindex.o lockutil.o locksrv.o zinfo.o trunc.o sortidx.o rank1.o \
128 zebraapi.o retrieve.o kinput.o
129 apitest_LDADD = $(LDADD)
130 apitest_DEPENDENCIES = 
131 apitest_LDFLAGS = 
132 CFLAGS = @CFLAGS@
133 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
134 CCLD = $(CC)
135 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
136 DIST_COMMON =  Makefile.am Makefile.in
137
138
139 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
140
141 TAR = gtar
142 GZIP_ENV = --best
143 DEP_FILES =  .deps/apitest.P .deps/attribute.P .deps/compact.P \
144 .deps/dir.P .deps/dirs.P .deps/extract.P .deps/invstat.P \
145 .deps/kcompare.P .deps/kinput.P .deps/lockidx.P .deps/locksrv.P \
146 .deps/lockutil.P .deps/main.P .deps/rank1.P .deps/recindex.P \
147 .deps/recstat.P .deps/retrieve.P .deps/sortidx.P .deps/symtab.P \
148 .deps/trav.P .deps/trunc.P .deps/zebraapi.P .deps/zinfo.P .deps/zrpn.P \
149 .deps/zserver.P .deps/zsets.P
150 SOURCES = $(zmbolidx_SOURCES) $(zmbolsrv_SOURCES) $(zebraidx_SOURCES) $(zebrasrv_SOURCES) $(apitest_SOURCES)
151 OBJECTS = $(zmbolidx_OBJECTS) $(zmbolsrv_OBJECTS) $(zebraidx_OBJECTS) $(zebrasrv_OBJECTS) $(apitest_OBJECTS)
152
153 all: all-redirect
154 .SUFFIXES:
155 .SUFFIXES: .S .c .o .s
156 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
157         cd $(top_srcdir) && $(AUTOMAKE) --gnu index/Makefile
158
159 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
160         cd $(top_builddir) \
161           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
162
163
164 mostlyclean-binPROGRAMS:
165
166 clean-binPROGRAMS:
167         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
168
169 distclean-binPROGRAMS:
170
171 maintainer-clean-binPROGRAMS:
172
173 install-binPROGRAMS: $(bin_PROGRAMS)
174         @$(NORMAL_INSTALL)
175         $(mkinstalldirs) $(DESTDIR)$(bindir)
176         @list='$(bin_PROGRAMS)'; for p in $$list; do \
177           if test -f $$p; then \
178             echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
179              $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
180           else :; fi; \
181         done
182
183 uninstall-binPROGRAMS:
184         @$(NORMAL_UNINSTALL)
185         list='$(bin_PROGRAMS)'; for p in $$list; do \
186           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
187         done
188
189 mostlyclean-noinstPROGRAMS:
190
191 clean-noinstPROGRAMS:
192         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
193
194 distclean-noinstPROGRAMS:
195
196 maintainer-clean-noinstPROGRAMS:
197
198 .s.o:
199         $(COMPILE) -c $<
200
201 .S.o:
202         $(COMPILE) -c $<
203
204 mostlyclean-compile:
205         -rm -f *.o core *.core
206
207 clean-compile:
208
209 distclean-compile:
210         -rm -f *.tab.c
211
212 maintainer-clean-compile:
213
214 zmbolidx: $(zmbolidx_OBJECTS) $(zmbolidx_DEPENDENCIES)
215         @rm -f zmbolidx
216         $(LINK) $(zmbolidx_LDFLAGS) $(zmbolidx_OBJECTS) $(zmbolidx_LDADD) $(LIBS)
217
218 zmbolsrv: $(zmbolsrv_OBJECTS) $(zmbolsrv_DEPENDENCIES)
219         @rm -f zmbolsrv
220         $(LINK) $(zmbolsrv_LDFLAGS) $(zmbolsrv_OBJECTS) $(zmbolsrv_LDADD) $(LIBS)
221
222 zebraidx: $(zebraidx_OBJECTS) $(zebraidx_DEPENDENCIES)
223         @rm -f zebraidx
224         $(LINK) $(zebraidx_LDFLAGS) $(zebraidx_OBJECTS) $(zebraidx_LDADD) $(LIBS)
225
226 zebrasrv: $(zebrasrv_OBJECTS) $(zebrasrv_DEPENDENCIES)
227         @rm -f zebrasrv
228         $(LINK) $(zebrasrv_LDFLAGS) $(zebrasrv_OBJECTS) $(zebrasrv_LDADD) $(LIBS)
229
230 apitest: $(apitest_OBJECTS) $(apitest_DEPENDENCIES)
231         @rm -f apitest
232         $(LINK) $(apitest_LDFLAGS) $(apitest_OBJECTS) $(apitest_LDADD) $(LIBS)
233
234 tags: TAGS
235
236 ID: $(HEADERS) $(SOURCES) $(LISP)
237         list='$(SOURCES) $(HEADERS)'; \
238         unique=`for i in $$list; do echo $$i; done | \
239           awk '    { files[$$0] = 1; } \
240                END { for (i in files) print i; }'`; \
241         here=`pwd` && cd $(srcdir) \
242           && mkid -f$$here/ID $$unique $(LISP)
243
244 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
245         tags=; \
246         here=`pwd`; \
247         list='$(SOURCES) $(HEADERS)'; \
248         unique=`for i in $$list; do echo $$i; done | \
249           awk '    { files[$$0] = 1; } \
250                END { for (i in files) print i; }'`; \
251         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
252           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
253
254 mostlyclean-tags:
255
256 clean-tags:
257
258 distclean-tags:
259         -rm -f TAGS ID
260
261 maintainer-clean-tags:
262
263 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
264
265 subdir = index
266
267 distdir: $(DISTFILES)
268         here=`cd $(top_builddir) && pwd`; \
269         top_distdir=`cd $(top_distdir) && pwd`; \
270         distdir=`cd $(distdir) && pwd`; \
271         cd $(top_srcdir) \
272           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu index/Makefile
273         @for file in $(DISTFILES); do \
274           d=$(srcdir); \
275           if test -d $$d/$$file; then \
276             cp -pr $$/$$file $(distdir)/$$file; \
277           else \
278             test -f $(distdir)/$$file \
279             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
280             || cp -p $$d/$$file $(distdir)/$$file || :; \
281           fi; \
282         done
283
284 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
285
286 -include $(DEP_FILES)
287
288 mostlyclean-depend:
289
290 clean-depend:
291
292 distclean-depend:
293         -rm -rf .deps
294
295 maintainer-clean-depend:
296
297 %.o: %.c
298         @echo '$(COMPILE) -c $<'; \
299         $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
300         @-cp .deps/$(*F).pp .deps/$(*F).P; \
301         tr ' ' '\012' < .deps/$(*F).pp \
302           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
303             >> .deps/$(*F).P; \
304         rm .deps/$(*F).pp
305
306 %.lo: %.c
307         @echo '$(LTCOMPILE) -c $<'; \
308         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
309         @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
310           < .deps/$(*F).pp > .deps/$(*F).P; \
311         tr ' ' '\012' < .deps/$(*F).pp \
312           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
313             >> .deps/$(*F).P; \
314         rm -f .deps/$(*F).pp
315 info-am:
316 info: info-am
317 dvi-am:
318 dvi: dvi-am
319 check-am: all-am
320 check: check-am
321 installcheck-am:
322 installcheck: installcheck-am
323 install-exec-am: install-binPROGRAMS
324 install-exec: install-exec-am
325
326 install-data-am:
327 install-data: install-data-am
328
329 install-am: all-am
330         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
331 install: install-am
332 uninstall-am: uninstall-binPROGRAMS
333 uninstall: uninstall-am
334 all-am: Makefile $(PROGRAMS)
335 all-redirect: all-am
336 install-strip:
337         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
338 installdirs:
339         $(mkinstalldirs)  $(DESTDIR)$(bindir)
340
341
342 mostlyclean-generic:
343
344 clean-generic:
345
346 distclean-generic:
347         -rm -f Makefile $(CONFIG_CLEAN_FILES)
348         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
349
350 maintainer-clean-generic:
351 mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
352                 mostlyclean-compile mostlyclean-tags mostlyclean-depend \
353                 mostlyclean-generic
354
355 mostlyclean: mostlyclean-am
356
357 clean-am:  clean-binPROGRAMS clean-noinstPROGRAMS clean-compile \
358                 clean-tags clean-depend clean-generic mostlyclean-am
359
360 clean: clean-am
361
362 distclean-am:  distclean-binPROGRAMS distclean-noinstPROGRAMS \
363                 distclean-compile distclean-tags distclean-depend \
364                 distclean-generic clean-am
365
366 distclean: distclean-am
367
368 maintainer-clean-am:  maintainer-clean-binPROGRAMS \
369                 maintainer-clean-noinstPROGRAMS \
370                 maintainer-clean-compile maintainer-clean-tags \
371                 maintainer-clean-depend maintainer-clean-generic \
372                 distclean-am
373         @echo "This command is intended for maintainers to use;"
374         @echo "it deletes files that may require special tools to rebuild."
375
376 maintainer-clean: maintainer-clean-am
377
378 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
379 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
380 mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
381 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
382 mostlyclean-compile distclean-compile clean-compile \
383 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
384 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
385 distclean-depend clean-depend maintainer-clean-depend info-am info \
386 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
387 install-exec install-data-am install-data install-am install \
388 uninstall-am uninstall all-redirect all-am all installdirs \
389 mostlyclean-generic distclean-generic clean-generic \
390 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
391
392
393 # Tell versions [3.59,3.63) of GNU make to not export all variables.
394 # Otherwise a system limit (for SysV at least) may be exceeded.
395 .NOEXPORT: