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