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