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