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
82 CONFIG_HEADER = ./include/yaz/config.h
84 SCRIPTS = $(noinst_SCRIPTS)
86 DIST_COMMON = README Makefile.am Makefile.in TODO aclocal.m4 configure \
87 configure.in install-sh missing mkinstalldirs
90 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
96 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
97 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
99 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
101 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
103 $(ACLOCAL_M4): configure.in
104 cd $(srcdir) && $(ACLOCAL)
106 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
107 $(SHELL) ./config.status --recheck
108 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
109 cd $(srcdir) && $(AUTOCONF)
111 # This directory's subdirectories are mostly independent; you can cd
112 # into them and run `make' without going through this Makefile.
113 # To change the values of `make' variables: instead of editing Makefiles,
114 # (1) if the variable is set in `config.status', edit `config.status'
115 # (which will cause the Makefiles to be regenerated when you run `make');
116 # (2) otherwise, pass the desired values on the `make' command line.
120 all-recursive install-data-recursive install-exec-recursive \
121 installdirs-recursive install-recursive uninstall-recursive \
122 check-recursive installcheck-recursive info-recursive dvi-recursive:
123 @set fnord $(MAKEFLAGS); amf=$$2; \
125 target=`echo $@ | sed s/-recursive//`; \
126 list='$(SUBDIRS)'; for subdir in $$list; do \
127 echo "Making $$target in $$subdir"; \
128 if test "$$subdir" = "."; then \
130 local_target="$$target-am"; \
132 local_target="$$target"; \
134 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
135 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
137 if test "$$dot_seen" = "no"; then \
138 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
141 mostlyclean-recursive clean-recursive distclean-recursive \
142 maintainer-clean-recursive:
143 @set fnord $(MAKEFLAGS); amf=$$2; \
145 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
146 rev="$$subdir $$rev"; \
147 test "$$subdir" = "." && dot_seen=yes; \
149 test "$$dot_seen" = "no" && rev=". $$rev"; \
150 target=`echo $@ | sed s/-recursive//`; \
151 for subdir in $$rev; do \
152 echo "Making $$target in $$subdir"; \
153 if test "$$subdir" = "."; then \
154 local_target="$$target-am"; \
156 local_target="$$target"; \
158 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
159 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
160 done && test -z "$$fail"
162 list='$(SUBDIRS)'; for subdir in $$list; do \
163 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
168 ID: $(HEADERS) $(SOURCES) $(LISP)
169 list='$(SOURCES) $(HEADERS)'; \
170 unique=`for i in $$list; do echo $$i; done | \
171 awk ' { files[$$0] = 1; } \
172 END { for (i in files) print i; }'`; \
173 here=`pwd` && cd $(srcdir) \
174 && mkid -f$$here/ID $$unique $(LISP)
176 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
179 list='$(SUBDIRS)'; for subdir in $$list; do \
180 if test "$$subdir" = .; then :; else \
181 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
184 list='$(SOURCES) $(HEADERS)'; \
185 unique=`for i in $$list; do echo $$i; done | \
186 awk ' { files[$$0] = 1; } \
187 END { for (i in files) print i; }'`; \
188 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
189 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
198 maintainer-clean-tags:
200 distdir = $(PACKAGE)-$(VERSION)
201 top_distdir = $(distdir)
203 # This target untars the dist file and tries a VPATH configuration. Then
204 # it guarantees that the distribution is self-contained by making another
208 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
209 mkdir $(distdir)/=build
210 mkdir $(distdir)/=inst
211 dc_install_base=`cd $(distdir)/=inst && pwd`; \
212 cd $(distdir)/=build \
213 && ../configure --srcdir=.. --prefix=$$dc_install_base \
214 && $(MAKE) $(AM_MAKEFLAGS) \
215 && $(MAKE) $(AM_MAKEFLAGS) dvi \
216 && $(MAKE) $(AM_MAKEFLAGS) check \
217 && $(MAKE) $(AM_MAKEFLAGS) install \
218 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
219 && $(MAKE) $(AM_MAKEFLAGS) dist
221 @banner="$(distdir).tar.gz is ready for distribution"; \
222 dashes=`echo "$$banner" | sed s/./=/g`; \
227 -chmod -R a+r $(distdir)
228 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
231 -chmod -R a+r $(distdir)
232 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
234 distdir: $(DISTFILES)
237 -chmod 777 $(distdir)
238 here=`cd $(top_builddir) && pwd`; \
239 top_distdir=`cd $(distdir) && pwd`; \
240 distdir=`cd $(distdir) && pwd`; \
242 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
243 @for file in $(DISTFILES); do \
245 if test -d $$d/$$file; then \
246 cp -pr $$/$$file $(distdir)/$$file; \
248 test -f $(distdir)/$$file \
249 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
250 || cp -p $$d/$$file $(distdir)/$$file || :; \
253 for subdir in $(DIST_SUBDIRS); do \
254 if test "$$subdir" = .; then :; else \
255 test -d $(distdir)/$$subdir \
256 || mkdir $(distdir)/$$subdir \
258 chmod 777 $(distdir)/$$subdir; \
259 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
263 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
269 check: check-recursive
271 installcheck: installcheck-recursive
273 install-exec: install-exec-recursive
276 install-data: install-data-recursive
279 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
280 install: install-recursive
282 uninstall: uninstall-recursive
283 all-am: Makefile $(SCRIPTS)
284 all-redirect: all-recursive
286 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
287 installdirs: installdirs-recursive
296 -rm -f Makefile $(CONFIG_CLEAN_FILES)
297 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
299 maintainer-clean-generic:
300 mostlyclean-am: mostlyclean-tags mostlyclean-generic
302 mostlyclean: mostlyclean-recursive
304 clean-am: clean-tags clean-generic mostlyclean-am
306 clean: clean-recursive
308 distclean-am: distclean-tags distclean-generic clean-am
310 distclean: distclean-recursive
313 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
315 @echo "This command is intended for maintainers to use;"
316 @echo "it deletes files that may require special tools to rebuild."
318 maintainer-clean: maintainer-clean-recursive
321 .PHONY: install-data-recursive uninstall-data-recursive \
322 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
323 uninstalldirs-recursive all-recursive check-recursive \
324 installcheck-recursive info-recursive dvi-recursive \
325 mostlyclean-recursive distclean-recursive clean-recursive \
326 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
327 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
328 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
329 install-exec install-data-am install-data install-am install \
330 uninstall-am uninstall all-redirect all-am all installdirs-am \
331 installdirs mostlyclean-generic distclean-generic clean-generic \
332 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
336 @echo "#!/bin/sh" >yaz-config
337 @echo "# YAZ settings for developers" >>yaz-config
338 @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
339 @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
340 @echo "YAZLIB=\"-L`pwd`/lib -lyaz @LIBS@\"" >>yaz-config
341 @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.