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 SUBDIRS_VAR = @SUBDIRS_VAR@
80 AUTOMAKE_OPTIONS = foreign
82 DIST_SUBDIRS = util odr z39.50 asn ill zutil comstack ccl tab retrieval server lib include client ztest doc
84 SUBDIRS = @SUBDIRS_VAR@
86 noinst_SCRIPTS = yaz-config
87 SPEC_FILE = $(PACKAGE).spec
88 EXTRA_DIST = $(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt
89 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
90 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
92 SCRIPTS = $(noinst_SCRIPTS)
94 DIST_COMMON = README Makefile.am Makefile.in TODO aclocal.m4 \
95 config.guess config.sub configure configure.in install-sh ltconfig \
96 ltmain.sh missing mkinstalldirs
99 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
105 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
106 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
108 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
110 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
112 $(ACLOCAL_M4): configure.in
113 cd $(srcdir) && $(ACLOCAL)
115 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
116 $(SHELL) ./config.status --recheck
117 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
118 cd $(srcdir) && $(AUTOCONF)
120 # This directory's subdirectories are mostly independent; you can cd
121 # into them and run `make' without going through this Makefile.
122 # To change the values of `make' variables: instead of editing Makefiles,
123 # (1) if the variable is set in `config.status', edit `config.status'
124 # (which will cause the Makefiles to be regenerated when you run `make');
125 # (2) otherwise, pass the desired values on the `make' command line.
129 all-recursive install-data-recursive install-exec-recursive \
130 installdirs-recursive install-recursive uninstall-recursive \
131 check-recursive installcheck-recursive info-recursive dvi-recursive:
132 @set fnord $(MAKEFLAGS); amf=$$2; \
134 target=`echo $@ | sed s/-recursive//`; \
135 list='$(SUBDIRS)'; for subdir in $$list; do \
136 echo "Making $$target in $$subdir"; \
137 if test "$$subdir" = "."; then \
139 local_target="$$target-am"; \
141 local_target="$$target"; \
143 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
144 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
146 if test "$$dot_seen" = "no"; then \
147 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
150 mostlyclean-recursive clean-recursive distclean-recursive \
151 maintainer-clean-recursive:
152 @set fnord $(MAKEFLAGS); amf=$$2; \
154 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
155 rev="$$subdir $$rev"; \
156 test "$$subdir" = "." && dot_seen=yes; \
158 test "$$dot_seen" = "no" && rev=". $$rev"; \
159 target=`echo $@ | sed s/-recursive//`; \
160 for subdir in $$rev; do \
161 echo "Making $$target in $$subdir"; \
162 if test "$$subdir" = "."; then \
163 local_target="$$target-am"; \
165 local_target="$$target"; \
167 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
168 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
169 done && test -z "$$fail"
171 list='$(SUBDIRS)'; for subdir in $$list; do \
172 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
177 ID: $(HEADERS) $(SOURCES) $(LISP)
178 list='$(SOURCES) $(HEADERS)'; \
179 unique=`for i in $$list; do echo $$i; done | \
180 awk ' { files[$$0] = 1; } \
181 END { for (i in files) print i; }'`; \
182 here=`pwd` && cd $(srcdir) \
183 && mkid -f$$here/ID $$unique $(LISP)
185 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
188 list='$(SUBDIRS)'; for subdir in $$list; do \
189 if test "$$subdir" = .; then :; else \
190 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
193 list='$(SOURCES) $(HEADERS)'; \
194 unique=`for i in $$list; do echo $$i; done | \
195 awk ' { files[$$0] = 1; } \
196 END { for (i in files) print i; }'`; \
197 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
198 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
207 maintainer-clean-tags:
209 distdir = $(PACKAGE)-$(VERSION)
210 top_distdir = $(distdir)
212 # This target untars the dist file and tries a VPATH configuration. Then
213 # it guarantees that the distribution is self-contained by making another
217 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
218 mkdir $(distdir)/=build
219 mkdir $(distdir)/=inst
220 dc_install_base=`cd $(distdir)/=inst && pwd`; \
221 cd $(distdir)/=build \
222 && ../configure --srcdir=.. --prefix=$$dc_install_base \
223 && $(MAKE) $(AM_MAKEFLAGS) \
224 && $(MAKE) $(AM_MAKEFLAGS) dvi \
225 && $(MAKE) $(AM_MAKEFLAGS) check \
226 && $(MAKE) $(AM_MAKEFLAGS) install \
227 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
228 && $(MAKE) $(AM_MAKEFLAGS) dist
230 @banner="$(distdir).tar.gz is ready for distribution"; \
231 dashes=`echo "$$banner" | sed s/./=/g`; \
236 -chmod -R a+r $(distdir)
237 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
240 -chmod -R a+r $(distdir)
241 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
243 distdir: $(DISTFILES)
246 -chmod 777 $(distdir)
247 here=`cd $(top_builddir) && pwd`; \
248 top_distdir=`cd $(distdir) && pwd`; \
249 distdir=`cd $(distdir) && pwd`; \
251 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
252 @for file in $(DISTFILES); do \
254 if test -d $$d/$$file; then \
255 cp -pr $$/$$file $(distdir)/$$file; \
257 test -f $(distdir)/$$file \
258 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
259 || cp -p $$d/$$file $(distdir)/$$file || :; \
262 for subdir in $(DIST_SUBDIRS); do \
263 if test "$$subdir" = .; then :; else \
264 test -d $(distdir)/$$subdir \
265 || mkdir $(distdir)/$$subdir \
267 chmod 777 $(distdir)/$$subdir; \
268 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
272 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
278 check: check-recursive
280 installcheck: installcheck-recursive
282 install-exec: install-exec-recursive
285 install-data: install-data-recursive
288 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
289 install: install-recursive
291 uninstall: uninstall-recursive
292 all-am: Makefile $(SCRIPTS)
293 all-redirect: all-recursive
295 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
296 installdirs: installdirs-recursive
305 -rm -f Makefile $(CONFIG_CLEAN_FILES)
306 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
308 maintainer-clean-generic:
309 mostlyclean-am: mostlyclean-tags mostlyclean-generic
311 mostlyclean: mostlyclean-recursive
313 clean-am: clean-tags clean-generic mostlyclean-am
315 clean: clean-recursive
317 distclean-am: distclean-tags distclean-generic clean-am
320 distclean: distclean-recursive
323 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
325 @echo "This command is intended for maintainers to use;"
326 @echo "it deletes files that may require special tools to rebuild."
328 maintainer-clean: maintainer-clean-recursive
331 .PHONY: install-data-recursive uninstall-data-recursive \
332 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
333 uninstalldirs-recursive all-recursive check-recursive \
334 installcheck-recursive info-recursive dvi-recursive \
335 mostlyclean-recursive distclean-recursive clean-recursive \
336 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
337 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
338 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
339 install-exec install-data-am install-data install-am install \
340 uninstall-am uninstall all-redirect all-am all installdirs-am \
341 installdirs mostlyclean-generic distclean-generic clean-generic \
342 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
346 @echo "#!/bin/sh" >yaz-config
347 @echo "# YAZ settings for developers" >>yaz-config
348 @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
349 @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
350 @echo "YAZLIB=\"-L`pwd`/lib/.libs -lyaz @LIBS@\"" >>yaz-config
351 @echo "YAZINC=\"-I`pwd`/include\"" >>yaz-config
357 -cp $(srcdir)/win/* $(distdir)/win
359 rpm: $(PACKAGE)-$(VERSION).tar.gz
360 cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
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.