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 ASNMODULE = @ASNMODULE@
64 ILLMODULE = @ILLMODULE@
68 SUBDIRS_VAR = @SUBDIRS_VAR@
70 have_sgml2html = @have_sgml2html@
71 have_sgml2latex = @have_sgml2latex@
72 have_sgml2txt = @have_sgml2txt@
74 AUTOMAKE_OPTIONS = foreign
76 DIST_SUBDIRS = util odr z39.50 asn ill zutil comstack ccl tab retrieval server lib include client ztest doc
78 SUBDIRS = @SUBDIRS_VAR@
80 noinst_SCRIPTS = yaz-config
81 SPEC_FILE = $(PACKAGE).spec
82 EXTRA_DIST = $(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt
83 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
84 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
86 SCRIPTS = $(noinst_SCRIPTS)
88 DIST_COMMON = README Makefile.am Makefile.in TODO aclocal.m4 configure \
89 configure.in install-sh missing mkinstalldirs
92 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
98 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
99 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
101 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
103 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
105 $(ACLOCAL_M4): configure.in
106 cd $(srcdir) && $(ACLOCAL)
108 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
109 $(SHELL) ./config.status --recheck
110 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
111 cd $(srcdir) && $(AUTOCONF)
113 # This directory's subdirectories are mostly independent; you can cd
114 # into them and run `make' without going through this Makefile.
115 # To change the values of `make' variables: instead of editing Makefiles,
116 # (1) if the variable is set in `config.status', edit `config.status'
117 # (which will cause the Makefiles to be regenerated when you run `make');
118 # (2) otherwise, pass the desired values on the `make' command line.
122 all-recursive install-data-recursive install-exec-recursive \
123 installdirs-recursive install-recursive uninstall-recursive \
124 check-recursive installcheck-recursive info-recursive dvi-recursive:
125 @set fnord $(MAKEFLAGS); amf=$$2; \
127 target=`echo $@ | sed s/-recursive//`; \
128 list='$(SUBDIRS)'; for subdir in $$list; do \
129 echo "Making $$target in $$subdir"; \
130 if test "$$subdir" = "."; then \
132 local_target="$$target-am"; \
134 local_target="$$target"; \
136 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
137 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
139 if test "$$dot_seen" = "no"; then \
140 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
143 mostlyclean-recursive clean-recursive distclean-recursive \
144 maintainer-clean-recursive:
145 @set fnord $(MAKEFLAGS); amf=$$2; \
147 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
148 rev="$$subdir $$rev"; \
149 test "$$subdir" = "." && dot_seen=yes; \
151 test "$$dot_seen" = "no" && rev=". $$rev"; \
152 target=`echo $@ | sed s/-recursive//`; \
153 for subdir in $$rev; do \
154 echo "Making $$target in $$subdir"; \
155 if test "$$subdir" = "."; then \
156 local_target="$$target-am"; \
158 local_target="$$target"; \
160 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
161 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
162 done && test -z "$$fail"
164 list='$(SUBDIRS)'; for subdir in $$list; do \
165 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
170 ID: $(HEADERS) $(SOURCES) $(LISP)
171 list='$(SOURCES) $(HEADERS)'; \
172 unique=`for i in $$list; do echo $$i; done | \
173 awk ' { files[$$0] = 1; } \
174 END { for (i in files) print i; }'`; \
175 here=`pwd` && cd $(srcdir) \
176 && mkid -f$$here/ID $$unique $(LISP)
178 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
181 list='$(SUBDIRS)'; for subdir in $$list; do \
182 if test "$$subdir" = .; then :; else \
183 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
186 list='$(SOURCES) $(HEADERS)'; \
187 unique=`for i in $$list; do echo $$i; done | \
188 awk ' { files[$$0] = 1; } \
189 END { for (i in files) print i; }'`; \
190 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
191 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
200 maintainer-clean-tags:
202 distdir = $(PACKAGE)-$(VERSION)
203 top_distdir = $(distdir)
205 # This target untars the dist file and tries a VPATH configuration. Then
206 # it guarantees that the distribution is self-contained by making another
210 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
211 mkdir $(distdir)/=build
212 mkdir $(distdir)/=inst
213 dc_install_base=`cd $(distdir)/=inst && pwd`; \
214 cd $(distdir)/=build \
215 && ../configure --srcdir=.. --prefix=$$dc_install_base \
216 && $(MAKE) $(AM_MAKEFLAGS) \
217 && $(MAKE) $(AM_MAKEFLAGS) dvi \
218 && $(MAKE) $(AM_MAKEFLAGS) check \
219 && $(MAKE) $(AM_MAKEFLAGS) install \
220 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
221 && $(MAKE) $(AM_MAKEFLAGS) dist
223 @banner="$(distdir).tar.gz is ready for distribution"; \
224 dashes=`echo "$$banner" | sed s/./=/g`; \
229 -chmod -R a+r $(distdir)
230 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
233 -chmod -R a+r $(distdir)
234 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
236 distdir: $(DISTFILES)
239 -chmod 777 $(distdir)
240 here=`cd $(top_builddir) && pwd`; \
241 top_distdir=`cd $(distdir) && pwd`; \
242 distdir=`cd $(distdir) && pwd`; \
244 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
245 @for file in $(DISTFILES); do \
247 if test -d $$d/$$file; then \
248 cp -pr $$/$$file $(distdir)/$$file; \
250 test -f $(distdir)/$$file \
251 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
252 || cp -p $$d/$$file $(distdir)/$$file || :; \
255 for subdir in $(DIST_SUBDIRS); do \
256 if test "$$subdir" = .; then :; else \
257 test -d $(distdir)/$$subdir \
258 || mkdir $(distdir)/$$subdir \
260 chmod 777 $(distdir)/$$subdir; \
261 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
265 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
271 check: check-recursive
273 installcheck: installcheck-recursive
275 install-exec: install-exec-recursive
278 install-data: install-data-recursive
281 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
282 install: install-recursive
284 uninstall: uninstall-recursive
285 all-am: Makefile $(SCRIPTS)
286 all-redirect: all-recursive
288 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
289 installdirs: installdirs-recursive
298 -rm -f Makefile $(CONFIG_CLEAN_FILES)
299 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
301 maintainer-clean-generic:
302 mostlyclean-am: mostlyclean-tags mostlyclean-generic
304 mostlyclean: mostlyclean-recursive
306 clean-am: clean-tags clean-generic mostlyclean-am
308 clean: clean-recursive
310 distclean-am: distclean-tags distclean-generic clean-am
312 distclean: distclean-recursive
315 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
317 @echo "This command is intended for maintainers to use;"
318 @echo "it deletes files that may require special tools to rebuild."
320 maintainer-clean: maintainer-clean-recursive
323 .PHONY: install-data-recursive uninstall-data-recursive \
324 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
325 uninstalldirs-recursive all-recursive check-recursive \
326 installcheck-recursive info-recursive dvi-recursive \
327 mostlyclean-recursive distclean-recursive clean-recursive \
328 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
329 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
330 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
331 install-exec install-data-am install-data install-am install \
332 uninstall-am uninstall all-redirect all-am all installdirs-am \
333 installdirs mostlyclean-generic distclean-generic clean-generic \
334 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
338 @echo "#!/bin/sh" >yaz-config
339 @echo "# YAZ settings for developers" >>yaz-config
340 @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
341 @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
342 @echo "YAZLIB=\"-L`pwd`/lib -lyaz @LIBS@\"" >>yaz-config
343 @echo "YAZINC=\"-I`pwd`/include\"" >>yaz-config
348 -cp $(srcdir)/win/* $(distdir)/win
350 rpm: $(PACKAGE)-$(VERSION).tar.gz
351 cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
354 # Tell versions [3.59,3.63) of GNU make to not export all variables.
355 # Otherwise a system limit (for SysV at least) may be exceeded.