1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
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.
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
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 host_alias = @host_alias@
63 ASNMODULE = @ASNMODULE@
68 ILLMODULE = @ILLMODULE@
77 READLINE_LIBS = @READLINE_LIBS@
78 SUBDIRS_VAR = @SUBDIRS_VAR@
81 AUTOMAKE_OPTIONS = foreign
83 DIST_SUBDIRS = util odr z39.50 asn ill zutil comstack ccl tab retrieval server lib include client ztest doc
85 SUBDIRS = @SUBDIRS_VAR@
87 noinst_SCRIPTS = yaz-config
88 SPEC_FILE = $(PACKAGE).spec
89 EXTRA_DIST = $(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt
90 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
91 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
93 SCRIPTS = $(noinst_SCRIPTS)
95 DIST_COMMON = README Makefile.am Makefile.in TODO aclocal.m4 \
96 config.guess config.sub configure configure.in install-sh ltconfig \
97 ltmain.sh missing mkinstalldirs
100 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
106 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
107 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
109 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
111 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
113 $(ACLOCAL_M4): configure.in
114 cd $(srcdir) && $(ACLOCAL)
116 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
117 $(SHELL) ./config.status --recheck
118 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
119 cd $(srcdir) && $(AUTOCONF)
121 # This directory's subdirectories are mostly independent; you can cd
122 # into them and run `make' without going through this Makefile.
123 # To change the values of `make' variables: instead of editing Makefiles,
124 # (1) if the variable is set in `config.status', edit `config.status'
125 # (which will cause the Makefiles to be regenerated when you run `make');
126 # (2) otherwise, pass the desired values on the `make' command line.
130 all-recursive install-data-recursive install-exec-recursive \
131 installdirs-recursive install-recursive uninstall-recursive \
132 check-recursive installcheck-recursive info-recursive dvi-recursive:
133 @set fnord $(MAKEFLAGS); amf=$$2; \
135 target=`echo $@ | sed s/-recursive//`; \
136 list='$(SUBDIRS)'; for subdir in $$list; do \
137 echo "Making $$target in $$subdir"; \
138 if test "$$subdir" = "."; then \
140 local_target="$$target-am"; \
142 local_target="$$target"; \
144 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
145 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
147 if test "$$dot_seen" = "no"; then \
148 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
151 mostlyclean-recursive clean-recursive distclean-recursive \
152 maintainer-clean-recursive:
153 @set fnord $(MAKEFLAGS); amf=$$2; \
155 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
156 rev="$$subdir $$rev"; \
157 test "$$subdir" = "." && dot_seen=yes; \
159 test "$$dot_seen" = "no" && rev=". $$rev"; \
160 target=`echo $@ | sed s/-recursive//`; \
161 for subdir in $$rev; do \
162 echo "Making $$target in $$subdir"; \
163 if test "$$subdir" = "."; then \
164 local_target="$$target-am"; \
166 local_target="$$target"; \
168 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
169 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
170 done && test -z "$$fail"
172 list='$(SUBDIRS)'; for subdir in $$list; do \
173 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
178 ID: $(HEADERS) $(SOURCES) $(LISP)
179 list='$(SOURCES) $(HEADERS)'; \
180 unique=`for i in $$list; do echo $$i; done | \
181 awk ' { files[$$0] = 1; } \
182 END { for (i in files) print i; }'`; \
183 here=`pwd` && cd $(srcdir) \
184 && mkid -f$$here/ID $$unique $(LISP)
186 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
189 list='$(SUBDIRS)'; for subdir in $$list; do \
190 if test "$$subdir" = .; then :; else \
191 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
194 list='$(SOURCES) $(HEADERS)'; \
195 unique=`for i in $$list; do echo $$i; done | \
196 awk ' { files[$$0] = 1; } \
197 END { for (i in files) print i; }'`; \
198 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
199 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
208 maintainer-clean-tags:
210 distdir = $(PACKAGE)-$(VERSION)
211 top_distdir = $(distdir)
213 # This target untars the dist file and tries a VPATH configuration. Then
214 # it guarantees that the distribution is self-contained by making another
218 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
219 mkdir $(distdir)/=build
220 mkdir $(distdir)/=inst
221 dc_install_base=`cd $(distdir)/=inst && pwd`; \
222 cd $(distdir)/=build \
223 && ../configure --srcdir=.. --prefix=$$dc_install_base \
224 && $(MAKE) $(AM_MAKEFLAGS) \
225 && $(MAKE) $(AM_MAKEFLAGS) dvi \
226 && $(MAKE) $(AM_MAKEFLAGS) check \
227 && $(MAKE) $(AM_MAKEFLAGS) install \
228 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
229 && $(MAKE) $(AM_MAKEFLAGS) dist
231 @banner="$(distdir).tar.gz is ready for distribution"; \
232 dashes=`echo "$$banner" | sed s/./=/g`; \
237 -chmod -R a+r $(distdir)
238 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
241 -chmod -R a+r $(distdir)
242 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
244 distdir: $(DISTFILES)
247 -chmod 777 $(distdir)
248 here=`cd $(top_builddir) && pwd`; \
249 top_distdir=`cd $(distdir) && pwd`; \
250 distdir=`cd $(distdir) && pwd`; \
252 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
253 @for file in $(DISTFILES); do \
255 if test -d $$d/$$file; then \
256 cp -pr $$/$$file $(distdir)/$$file; \
258 test -f $(distdir)/$$file \
259 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
260 || cp -p $$d/$$file $(distdir)/$$file || :; \
263 for subdir in $(DIST_SUBDIRS); do \
264 if test "$$subdir" = .; then :; else \
265 test -d $(distdir)/$$subdir \
266 || mkdir $(distdir)/$$subdir \
268 chmod 777 $(distdir)/$$subdir; \
269 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
273 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
279 check: check-recursive
281 installcheck: installcheck-recursive
283 install-exec: install-exec-recursive
286 install-data: install-data-recursive
289 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
290 install: install-recursive
292 uninstall: uninstall-recursive
293 all-am: Makefile $(SCRIPTS)
294 all-redirect: all-recursive
296 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
297 installdirs: installdirs-recursive
306 -rm -f Makefile $(CONFIG_CLEAN_FILES)
307 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
309 maintainer-clean-generic:
310 mostlyclean-am: mostlyclean-tags mostlyclean-generic
312 mostlyclean: mostlyclean-recursive
314 clean-am: clean-tags clean-generic mostlyclean-am
316 clean: clean-recursive
318 distclean-am: distclean-tags distclean-generic clean-am
321 distclean: distclean-recursive
324 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
326 @echo "This command is intended for maintainers to use;"
327 @echo "it deletes files that may require special tools to rebuild."
329 maintainer-clean: maintainer-clean-recursive
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
348 @echo "#!/bin/sh" >yaz-config
349 @echo "# yaz-config for source tree" >>yaz-config
350 @echo "YAZVERSION=@VERSION@" >>yaz-config
351 @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
352 @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
353 @echo "YAZLIB=\"-L`pwd`/lib/.libs -lyaz @LIBS@\"" >>yaz-config
354 @echo "YAZINC=\"-I`pwd`/include\"" >>yaz-config
360 -cp $(srcdir)/win/* $(distdir)/win
362 rpm: $(PACKAGE)-$(VERSION).tar.gz
363 cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
366 # Tell versions [3.59,3.63) of GNU make to not export all variables.
367 # Otherwise a system limit (for SysV at least) may be exceeded.