Defined READLINE_LIBS for the yaz-client.
[yaz-moved-to-github.git] / 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 host_alias = @host_alias@
61 host_triplet = @host@
62 AS = @AS@
63 ASNMODULE = @ASNMODULE@
64 CC = @CC@
65 CPP = @CPP@
66 DLLTOOL = @DLLTOOL@
67 ILLLIB = @ILLLIB@
68 ILLMODULE = @ILLMODULE@
69 LD = @LD@
70 LIBTOOL = @LIBTOOL@
71 LN_S = @LN_S@
72 MAKEINFO = @MAKEINFO@
73 NM = @NM@
74 OBJDUMP = @OBJDUMP@
75 PACKAGE = @PACKAGE@
76 RANLIB = @RANLIB@
77 READLINE_LIBS = @READLINE_LIBS@
78 SUBDIRS_VAR = @SUBDIRS_VAR@
79 VERSION = @VERSION@
80
81 AUTOMAKE_OPTIONS = foreign 
82
83 DIST_SUBDIRS = util odr z39.50 asn ill zutil comstack ccl tab retrieval server lib include client ztest doc
84
85 SUBDIRS = @SUBDIRS_VAR@
86
87 noinst_SCRIPTS = yaz-config
88 SPEC_FILE = $(PACKAGE).spec
89 EXTRA_DIST = $(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt
90 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
91 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
92 CONFIG_CLEAN_FILES = 
93 SCRIPTS =  $(noinst_SCRIPTS)
94
95 DIST_COMMON =  README Makefile.am Makefile.in TODO aclocal.m4 \
96 config.guess config.sub configure configure.in install-sh ltconfig \
97 ltmain.sh missing mkinstalldirs
98
99
100 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
101
102 TAR = gtar
103 GZIP_ENV = --best
104 all: all-redirect
105 .SUFFIXES:
106 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
107         cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
108
109 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
110         cd $(top_builddir) \
111           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
112
113 $(ACLOCAL_M4):  configure.in 
114         cd $(srcdir) && $(ACLOCAL)
115
116 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
117         $(SHELL) ./config.status --recheck
118 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
119         cd $(srcdir) && $(AUTOCONF)
120
121 # This directory's subdirectories are mostly independent; you can cd
122 # into them and run `make' without going through this Makefile.
123 # To change the values of `make' variables: instead of editing Makefiles,
124 # (1) if the variable is set in `config.status', edit `config.status'
125 #     (which will cause the Makefiles to be regenerated when you run `make');
126 # (2) otherwise, pass the desired values on the `make' command line.
127
128 @SET_MAKE@
129
130 all-recursive install-data-recursive install-exec-recursive \
131 installdirs-recursive install-recursive uninstall-recursive  \
132 check-recursive installcheck-recursive info-recursive dvi-recursive:
133         @set fnord $(MAKEFLAGS); amf=$$2; \
134         dot_seen=no; \
135         target=`echo $@ | sed s/-recursive//`; \
136         list='$(SUBDIRS)'; for subdir in $$list; do \
137           echo "Making $$target in $$subdir"; \
138           if test "$$subdir" = "."; then \
139             dot_seen=yes; \
140             local_target="$$target-am"; \
141           else \
142             local_target="$$target"; \
143           fi; \
144           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
145            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
146         done; \
147         if test "$$dot_seen" = "no"; then \
148           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
149         fi; test -z "$$fail"
150
151 mostlyclean-recursive clean-recursive distclean-recursive \
152 maintainer-clean-recursive:
153         @set fnord $(MAKEFLAGS); amf=$$2; \
154         dot_seen=no; \
155         rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
156           rev="$$subdir $$rev"; \
157           test "$$subdir" = "." && dot_seen=yes; \
158         done; \
159         test "$$dot_seen" = "no" && rev=". $$rev"; \
160         target=`echo $@ | sed s/-recursive//`; \
161         for subdir in $$rev; do \
162           echo "Making $$target in $$subdir"; \
163           if test "$$subdir" = "."; then \
164             local_target="$$target-am"; \
165           else \
166             local_target="$$target"; \
167           fi; \
168           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
169            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
170         done && test -z "$$fail"
171 tags-recursive:
172         list='$(SUBDIRS)'; for subdir in $$list; do \
173           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
174         done
175
176 tags: TAGS
177
178 ID: $(HEADERS) $(SOURCES) $(LISP)
179         list='$(SOURCES) $(HEADERS)'; \
180         unique=`for i in $$list; do echo $$i; done | \
181           awk '    { files[$$0] = 1; } \
182                END { for (i in files) print i; }'`; \
183         here=`pwd` && cd $(srcdir) \
184           && mkid -f$$here/ID $$unique $(LISP)
185
186 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
187         tags=; \
188         here=`pwd`; \
189         list='$(SUBDIRS)'; for subdir in $$list; do \
190    if test "$$subdir" = .; then :; else \
191             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
192    fi; \
193         done; \
194         list='$(SOURCES) $(HEADERS)'; \
195         unique=`for i in $$list; do echo $$i; done | \
196           awk '    { files[$$0] = 1; } \
197                END { for (i in files) print i; }'`; \
198         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
199           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
200
201 mostlyclean-tags:
202
203 clean-tags:
204
205 distclean-tags:
206         -rm -f TAGS ID
207
208 maintainer-clean-tags:
209
210 distdir = $(PACKAGE)-$(VERSION)
211 top_distdir = $(distdir)
212
213 # This target untars the dist file and tries a VPATH configuration.  Then
214 # it guarantees that the distribution is self-contained by making another
215 # tarfile.
216 distcheck: dist
217         -rm -rf $(distdir)
218         GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
219         mkdir $(distdir)/=build
220         mkdir $(distdir)/=inst
221         dc_install_base=`cd $(distdir)/=inst && pwd`; \
222         cd $(distdir)/=build \
223           && ../configure --srcdir=.. --prefix=$$dc_install_base \
224           && $(MAKE) $(AM_MAKEFLAGS) \
225           && $(MAKE) $(AM_MAKEFLAGS) dvi \
226           && $(MAKE) $(AM_MAKEFLAGS) check \
227           && $(MAKE) $(AM_MAKEFLAGS) install \
228           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
229           && $(MAKE) $(AM_MAKEFLAGS) dist
230         -rm -rf $(distdir)
231         @banner="$(distdir).tar.gz is ready for distribution"; \
232         dashes=`echo "$$banner" | sed s/./=/g`; \
233         echo "$$dashes"; \
234         echo "$$banner"; \
235         echo "$$dashes"
236 dist: distdir
237         -chmod -R a+r $(distdir)
238         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
239         -rm -rf $(distdir)
240 dist-all: distdir
241         -chmod -R a+r $(distdir)
242         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
243         -rm -rf $(distdir)
244 distdir: $(DISTFILES)
245         -rm -rf $(distdir)
246         mkdir $(distdir)
247         -chmod 777 $(distdir)
248         here=`cd $(top_builddir) && pwd`; \
249         top_distdir=`cd $(distdir) && pwd`; \
250         distdir=`cd $(distdir) && pwd`; \
251         cd $(top_srcdir) \
252           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
253         @for file in $(DISTFILES); do \
254           d=$(srcdir); \
255           if test -d $$d/$$file; then \
256             cp -pr $$/$$file $(distdir)/$$file; \
257           else \
258             test -f $(distdir)/$$file \
259             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
260             || cp -p $$d/$$file $(distdir)/$$file || :; \
261           fi; \
262         done
263         for subdir in $(DIST_SUBDIRS); do \
264           if test "$$subdir" = .; then :; else \
265             test -d $(distdir)/$$subdir \
266             || mkdir $(distdir)/$$subdir \
267             || exit 1; \
268             chmod 777 $(distdir)/$$subdir; \
269             (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
270               || exit 1; \
271           fi; \
272         done
273         $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
274 info-am:
275 info: info-recursive
276 dvi-am:
277 dvi: dvi-recursive
278 check-am: all-am
279 check: check-recursive
280 installcheck-am:
281 installcheck: installcheck-recursive
282 install-exec-am:
283 install-exec: install-exec-recursive
284
285 install-data-am:
286 install-data: install-data-recursive
287
288 install-am: all-am
289         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
290 install: install-recursive
291 uninstall-am:
292 uninstall: uninstall-recursive
293 all-am: Makefile $(SCRIPTS)
294 all-redirect: all-recursive
295 install-strip:
296         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
297 installdirs: installdirs-recursive
298 installdirs-am:
299
300
301 mostlyclean-generic:
302
303 clean-generic:
304
305 distclean-generic:
306         -rm -f Makefile $(CONFIG_CLEAN_FILES)
307         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
308
309 maintainer-clean-generic:
310 mostlyclean-am:  mostlyclean-tags mostlyclean-generic
311
312 mostlyclean: mostlyclean-recursive
313
314 clean-am:  clean-tags clean-generic mostlyclean-am
315
316 clean: clean-recursive
317
318 distclean-am:  distclean-tags distclean-generic clean-am
319         -rm -f libtool
320
321 distclean: distclean-recursive
322         -rm -f config.status
323
324 maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
325                 distclean-am
326         @echo "This command is intended for maintainers to use;"
327         @echo "it deletes files that may require special tools to rebuild."
328
329 maintainer-clean: maintainer-clean-recursive
330         -rm -f config.status
331
332 .PHONY: install-data-recursive uninstall-data-recursive \
333 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
334 uninstalldirs-recursive all-recursive check-recursive \
335 installcheck-recursive info-recursive dvi-recursive \
336 mostlyclean-recursive distclean-recursive clean-recursive \
337 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
338 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
339 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
340 install-exec install-data-am install-data install-am install \
341 uninstall-am uninstall all-redirect all-am all installdirs-am \
342 installdirs mostlyclean-generic distclean-generic clean-generic \
343 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
344
345
346 yaz-config: Makefile
347         @echo "#!/bin/sh" >yaz-config
348         @echo "# YAZ settings for developers" >>yaz-config
349         @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
350         @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
351         @echo "YAZLIB=\"-L`pwd`/lib/.libs -lyaz @LIBS@\"" >>yaz-config
352         @echo "YAZINC=\"-I`pwd`/include\"" >>yaz-config
353         chmod +x yaz-config
354
355 dist-hook:
356         cd doc; make
357         mkdir $(distdir)/win
358         -cp $(srcdir)/win/* $(distdir)/win
359
360 rpm: $(PACKAGE)-$(VERSION).tar.gz
361         cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
362         rpm -ba $(SPEC_FILE)
363
364 # Tell versions [3.59,3.63) of GNU make to not export all variables.
365 # Otherwise a system limit (for SysV at least) may be exceeded.
366 .NOEXPORT: