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