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