8af8e6fed70048a6f0ebccd70f45545c9f85c4c0
[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 no-dependencies
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
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         @for file in $(DISTFILES); do \
238           d=$(srcdir); \
239           if test -d $$d/$$file; then \
240             cp -pr $$/$$file $(distdir)/$$file; \
241           else \
242             test -f $(distdir)/$$file \
243             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
244             || cp -p $$d/$$file $(distdir)/$$file || :; \
245           fi; \
246         done
247         for subdir in $(DIST_SUBDIRS); do \
248           if test "$$subdir" = .; then :; else \
249             test -d $(distdir)/$$subdir \
250             || mkdir $(distdir)/$$subdir \
251             || exit 1; \
252             chmod 777 $(distdir)/$$subdir; \
253             (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
254               || exit 1; \
255           fi; \
256         done
257         $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
258 info-am:
259 info: info-recursive
260 dvi-am:
261 dvi: dvi-recursive
262 check-am: all-am
263 check: check-recursive
264 installcheck-am:
265 installcheck: installcheck-recursive
266 install-exec-am:
267 install-exec: install-exec-recursive
268
269 install-data-am:
270 install-data: install-data-recursive
271
272 install-am: all-am
273         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
274 install: install-recursive
275 uninstall-am:
276 uninstall: uninstall-recursive
277 all-am: Makefile $(SCRIPTS)
278 all-redirect: all-recursive
279 install-strip:
280         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
281 installdirs: installdirs-recursive
282 installdirs-am:
283
284
285 mostlyclean-generic:
286
287 clean-generic:
288
289 distclean-generic:
290         -rm -f Makefile $(CONFIG_CLEAN_FILES)
291         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
292
293 maintainer-clean-generic:
294 mostlyclean-am:  mostlyclean-tags mostlyclean-generic
295
296 mostlyclean: mostlyclean-recursive
297
298 clean-am:  clean-tags clean-generic mostlyclean-am
299
300 clean: clean-recursive
301
302 distclean-am:  distclean-tags distclean-generic clean-am
303
304 distclean: distclean-recursive
305         -rm -f config.status
306
307 maintainer-clean-am:  maintainer-clean-tags maintainer-clean-generic \
308                 distclean-am
309         @echo "This command is intended for maintainers to use;"
310         @echo "it deletes files that may require special tools to rebuild."
311
312 maintainer-clean: maintainer-clean-recursive
313         -rm -f config.status
314
315 .PHONY: install-data-recursive uninstall-data-recursive \
316 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
317 uninstalldirs-recursive all-recursive check-recursive \
318 installcheck-recursive info-recursive dvi-recursive \
319 mostlyclean-recursive distclean-recursive clean-recursive \
320 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
321 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
322 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
323 install-exec install-data-am install-data install-am install \
324 uninstall-am uninstall all-redirect all-am all installdirs-am \
325 installdirs mostlyclean-generic distclean-generic clean-generic \
326 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
327
328
329 yaz-config:
330         @echo "#!/bin/sh" >yaz-config
331         @echo "# YAZ settings for developers" >>yaz-config
332         @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
333         @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
334         @echo "YAZLIB=\"-L`pwd`/lib -lyaz @LIBS@\"" >>yaz-config
335         @echo "YAZINC=\"-I`pwd`/include\"" >>yaz-config
336         chmod +x yaz-config
337
338 dist-hook:
339         mkdir $(distdir)/win
340         -cp $(srcdir)/win/* $(distdir)/win
341
342 rpm: $(PACKAGE)-$(VERSION).tar.gz
343         cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
344         rpm -ba $(SPEC_FILE)
345
346 # Tell versions [3.59,3.63) of GNU make to not export all variables.
347 # Otherwise a system limit (for SysV at least) may be exceeded.
348 .NOEXPORT: