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@
71 AUTOMAKE_OPTIONS = foreign
73 DIST_SUBDIRS = util odr z39.50 asn ill zutil comstack ccl tab retrieval server lib include client ztest doc
75 SUBDIRS = @SUBDIRS_VAR@
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
83 SCRIPTS = $(noinst_SCRIPTS)
85 DIST_COMMON = README Makefile.am Makefile.in TODO aclocal.m4 configure \
86 configure.in install-sh missing mkinstalldirs
89 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
95 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
96 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
98 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
100 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
102 $(ACLOCAL_M4): configure.in
103 cd $(srcdir) && $(ACLOCAL)
105 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
106 $(SHELL) ./config.status --recheck
107 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
108 cd $(srcdir) && $(AUTOCONF)
110 # This directory's subdirectories are mostly independent; you can cd
111 # into them and run `make' without going through this Makefile.
112 # To change the values of `make' variables: instead of editing Makefiles,
113 # (1) if the variable is set in `config.status', edit `config.status'
114 # (which will cause the Makefiles to be regenerated when you run `make');
115 # (2) otherwise, pass the desired values on the `make' command line.
119 all-recursive install-data-recursive install-exec-recursive \
120 installdirs-recursive install-recursive uninstall-recursive \
121 check-recursive installcheck-recursive info-recursive dvi-recursive:
122 @set fnord $(MAKEFLAGS); amf=$$2; \
124 target=`echo $@ | sed s/-recursive//`; \
125 list='$(SUBDIRS)'; for subdir in $$list; do \
126 echo "Making $$target in $$subdir"; \
127 if test "$$subdir" = "."; then \
129 local_target="$$target-am"; \
131 local_target="$$target"; \
133 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
134 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
136 if test "$$dot_seen" = "no"; then \
137 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
140 mostlyclean-recursive clean-recursive distclean-recursive \
141 maintainer-clean-recursive:
142 @set fnord $(MAKEFLAGS); amf=$$2; \
144 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
145 rev="$$subdir $$rev"; \
146 test "$$subdir" = "." && dot_seen=yes; \
148 test "$$dot_seen" = "no" && rev=". $$rev"; \
149 target=`echo $@ | sed s/-recursive//`; \
150 for subdir in $$rev; do \
151 echo "Making $$target in $$subdir"; \
152 if test "$$subdir" = "."; then \
153 local_target="$$target-am"; \
155 local_target="$$target"; \
157 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
158 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
159 done && test -z "$$fail"
161 list='$(SUBDIRS)'; for subdir in $$list; do \
162 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
167 ID: $(HEADERS) $(SOURCES) $(LISP)
168 list='$(SOURCES) $(HEADERS)'; \
169 unique=`for i in $$list; do echo $$i; done | \
170 awk ' { files[$$0] = 1; } \
171 END { for (i in files) print i; }'`; \
172 here=`pwd` && cd $(srcdir) \
173 && mkid -f$$here/ID $$unique $(LISP)
175 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
178 list='$(SUBDIRS)'; for subdir in $$list; do \
179 if test "$$subdir" = .; then :; else \
180 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
183 list='$(SOURCES) $(HEADERS)'; \
184 unique=`for i in $$list; do echo $$i; done | \
185 awk ' { files[$$0] = 1; } \
186 END { for (i in files) print i; }'`; \
187 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
188 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
197 maintainer-clean-tags:
199 distdir = $(PACKAGE)-$(VERSION)
200 top_distdir = $(distdir)
202 # This target untars the dist file and tries a VPATH configuration. Then
203 # it guarantees that the distribution is self-contained by making another
207 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
208 mkdir $(distdir)/=build
209 mkdir $(distdir)/=inst
210 dc_install_base=`cd $(distdir)/=inst && pwd`; \
211 cd $(distdir)/=build \
212 && ../configure --srcdir=.. --prefix=$$dc_install_base \
213 && $(MAKE) $(AM_MAKEFLAGS) \
214 && $(MAKE) $(AM_MAKEFLAGS) dvi \
215 && $(MAKE) $(AM_MAKEFLAGS) check \
216 && $(MAKE) $(AM_MAKEFLAGS) install \
217 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
218 && $(MAKE) $(AM_MAKEFLAGS) dist
220 @banner="$(distdir).tar.gz is ready for distribution"; \
221 dashes=`echo "$$banner" | sed s/./=/g`; \
226 -chmod -R a+r $(distdir)
227 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
230 -chmod -R a+r $(distdir)
231 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
233 distdir: $(DISTFILES)
236 -chmod 777 $(distdir)
237 here=`cd $(top_builddir) && pwd`; \
238 top_distdir=`cd $(distdir) && pwd`; \
239 distdir=`cd $(distdir) && pwd`; \
241 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
242 @for file in $(DISTFILES); do \
244 if test -d $$d/$$file; then \
245 cp -pr $$/$$file $(distdir)/$$file; \
247 test -f $(distdir)/$$file \
248 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
249 || cp -p $$d/$$file $(distdir)/$$file || :; \
252 for subdir in $(DIST_SUBDIRS); do \
253 if test "$$subdir" = .; then :; else \
254 test -d $(distdir)/$$subdir \
255 || mkdir $(distdir)/$$subdir \
257 chmod 777 $(distdir)/$$subdir; \
258 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
262 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
268 check: check-recursive
270 installcheck: installcheck-recursive
272 install-exec: install-exec-recursive
275 install-data: install-data-recursive
278 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
279 install: install-recursive
281 uninstall: uninstall-recursive
282 all-am: Makefile $(SCRIPTS)
283 all-redirect: all-recursive
285 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
286 installdirs: installdirs-recursive
295 -rm -f Makefile $(CONFIG_CLEAN_FILES)
296 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
298 maintainer-clean-generic:
299 mostlyclean-am: mostlyclean-tags mostlyclean-generic
301 mostlyclean: mostlyclean-recursive
303 clean-am: clean-tags clean-generic mostlyclean-am
305 clean: clean-recursive
307 distclean-am: distclean-tags distclean-generic clean-am
309 distclean: distclean-recursive
312 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
314 @echo "This command is intended for maintainers to use;"
315 @echo "it deletes files that may require special tools to rebuild."
317 maintainer-clean: maintainer-clean-recursive
320 .PHONY: install-data-recursive uninstall-data-recursive \
321 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
322 uninstalldirs-recursive all-recursive check-recursive \
323 installcheck-recursive info-recursive dvi-recursive \
324 mostlyclean-recursive distclean-recursive clean-recursive \
325 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
326 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
327 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
328 install-exec install-data-am install-data install-am install \
329 uninstall-am uninstall all-redirect all-am all installdirs-am \
330 installdirs mostlyclean-generic distclean-generic clean-generic \
331 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
335 @echo "#!/bin/sh" >yaz-config
336 @echo "# YAZ settings for developers" >>yaz-config
337 @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
338 @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
339 @echo "YAZLIB=\"-L`pwd`/lib -lyaz @LIBS@\"" >>yaz-config
340 @echo "YAZINC=\"-I`pwd`/include\"" >>yaz-config
346 -cp $(srcdir)/win/* $(distdir)/win
348 rpm: $(PACKAGE)-$(VERSION).tar.gz
349 cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
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.