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
13 # Copyright (C) 1995-2000, Index Data
14 # All rights reserved.
15 # $Id: Makefile.in,v 1.17 2000-02-28 11:29:05 adam Exp $
21 top_srcdir = @top_srcdir@
24 exec_prefix = @exec_prefix@
28 libexecdir = @libexecdir@
30 sysconfdir = @sysconfdir@
31 sharedstatedir = @sharedstatedir@
32 localstatedir = @localstatedir@
36 includedir = @includedir@
37 oldincludedir = /usr/include
41 pkgdatadir = $(datadir)/@PACKAGE@
42 pkglibdir = $(libdir)/@PACKAGE@
43 pkgincludedir = $(includedir)/@PACKAGE@
50 AUTOHEADER = @AUTOHEADER@
53 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
54 INSTALL_DATA = @INSTALL_DATA@
55 INSTALL_SCRIPT = @INSTALL_SCRIPT@
56 transform = @program_transform_name@
64 ASNMODULE = @ASNMODULE@
68 ILLMODULE = @ILLMODULE@
72 SUBDIRS_VAR = @SUBDIRS_VAR@
75 AUTOMAKE_OPTIONS = foreign
77 DIST_SUBDIRS = util odr z39.50 asn ill zutil comstack ccl tab retrieval server lib include client ztest doc
79 SUBDIRS = @SUBDIRS_VAR@
81 noinst_SCRIPTS = yaz-config
82 SPEC_FILE = $(PACKAGE).spec
83 EXTRA_DIST = $(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt
84 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
85 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
86 CONFIG_HEADER = ./include/yaz/config.h
88 SCRIPTS = $(noinst_SCRIPTS)
90 DIST_COMMON = README Makefile.am Makefile.in TODO aclocal.m4 configure \
91 configure.in install-sh missing mkinstalldirs
94 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
100 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
101 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
103 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
105 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
107 $(ACLOCAL_M4): configure.in
108 cd $(srcdir) && $(ACLOCAL)
110 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
111 $(SHELL) ./config.status --recheck
112 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
113 cd $(srcdir) && $(AUTOCONF)
115 # This directory's subdirectories are mostly independent; you can cd
116 # into them and run `make' without going through this Makefile.
117 # To change the values of `make' variables: instead of editing Makefiles,
118 # (1) if the variable is set in `config.status', edit `config.status'
119 # (which will cause the Makefiles to be regenerated when you run `make');
120 # (2) otherwise, pass the desired values on the `make' command line.
124 all-recursive install-data-recursive install-exec-recursive \
125 installdirs-recursive install-recursive uninstall-recursive \
126 check-recursive installcheck-recursive info-recursive dvi-recursive:
127 @set fnord $(MAKEFLAGS); amf=$$2; \
129 target=`echo $@ | sed s/-recursive//`; \
130 list='$(SUBDIRS)'; for subdir in $$list; do \
131 echo "Making $$target in $$subdir"; \
132 if test "$$subdir" = "."; then \
134 local_target="$$target-am"; \
136 local_target="$$target"; \
138 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
139 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
141 if test "$$dot_seen" = "no"; then \
142 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
145 mostlyclean-recursive clean-recursive distclean-recursive \
146 maintainer-clean-recursive:
147 @set fnord $(MAKEFLAGS); amf=$$2; \
149 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
150 rev="$$subdir $$rev"; \
151 test "$$subdir" = "." && dot_seen=yes; \
153 test "$$dot_seen" = "no" && rev=". $$rev"; \
154 target=`echo $@ | sed s/-recursive//`; \
155 for subdir in $$rev; do \
156 echo "Making $$target in $$subdir"; \
157 if test "$$subdir" = "."; then \
158 local_target="$$target-am"; \
160 local_target="$$target"; \
162 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
163 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
164 done && test -z "$$fail"
166 list='$(SUBDIRS)'; for subdir in $$list; do \
167 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
172 ID: $(HEADERS) $(SOURCES) $(LISP)
173 list='$(SOURCES) $(HEADERS)'; \
174 unique=`for i in $$list; do echo $$i; done | \
175 awk ' { files[$$0] = 1; } \
176 END { for (i in files) print i; }'`; \
177 here=`pwd` && cd $(srcdir) \
178 && mkid -f$$here/ID $$unique $(LISP)
180 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
183 list='$(SUBDIRS)'; for subdir in $$list; do \
184 if test "$$subdir" = .; then :; else \
185 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
188 list='$(SOURCES) $(HEADERS)'; \
189 unique=`for i in $$list; do echo $$i; done | \
190 awk ' { files[$$0] = 1; } \
191 END { for (i in files) print i; }'`; \
192 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
193 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
202 maintainer-clean-tags:
204 distdir = $(PACKAGE)-$(VERSION)
205 top_distdir = $(distdir)
207 # This target untars the dist file and tries a VPATH configuration. Then
208 # it guarantees that the distribution is self-contained by making another
212 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
213 mkdir $(distdir)/=build
214 mkdir $(distdir)/=inst
215 dc_install_base=`cd $(distdir)/=inst && pwd`; \
216 cd $(distdir)/=build \
217 && ../configure --srcdir=.. --prefix=$$dc_install_base \
218 && $(MAKE) $(AM_MAKEFLAGS) \
219 && $(MAKE) $(AM_MAKEFLAGS) dvi \
220 && $(MAKE) $(AM_MAKEFLAGS) check \
221 && $(MAKE) $(AM_MAKEFLAGS) install \
222 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
223 && $(MAKE) $(AM_MAKEFLAGS) dist
225 @banner="$(distdir).tar.gz is ready for distribution"; \
226 dashes=`echo "$$banner" | sed s/./=/g`; \
231 -chmod -R a+r $(distdir)
232 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
235 -chmod -R a+r $(distdir)
236 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
238 distdir: $(DISTFILES)
241 -chmod 777 $(distdir)
242 here=`cd $(top_builddir) && pwd`; \
243 top_distdir=`cd $(distdir) && pwd`; \
244 distdir=`cd $(distdir) && pwd`; \
246 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
247 @for file in $(DISTFILES); do \
249 if test -d $$d/$$file; then \
250 cp -pr $$/$$file $(distdir)/$$file; \
252 test -f $(distdir)/$$file \
253 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
254 || cp -p $$d/$$file $(distdir)/$$file || :; \
257 for subdir in $(DIST_SUBDIRS); do \
258 if test "$$subdir" = .; then :; else \
259 test -d $(distdir)/$$subdir \
260 || mkdir $(distdir)/$$subdir \
262 chmod 777 $(distdir)/$$subdir; \
263 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
267 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
273 check: check-recursive
275 installcheck: installcheck-recursive
277 install-exec: install-exec-recursive
280 install-data: install-data-recursive
283 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
284 install: install-recursive
286 uninstall: uninstall-recursive
287 all-am: Makefile $(SCRIPTS)
288 all-redirect: all-recursive
290 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
291 installdirs: installdirs-recursive
300 -rm -f Makefile $(CONFIG_CLEAN_FILES)
301 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
303 maintainer-clean-generic:
304 mostlyclean-am: mostlyclean-tags mostlyclean-generic
306 mostlyclean: mostlyclean-recursive
308 clean-am: clean-tags clean-generic mostlyclean-am
310 clean: clean-recursive
312 distclean-am: distclean-tags distclean-generic clean-am
314 distclean: distclean-recursive
317 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
319 @echo "This command is intended for maintainers to use;"
320 @echo "it deletes files that may require special tools to rebuild."
322 maintainer-clean: maintainer-clean-recursive
325 .PHONY: install-data-recursive uninstall-data-recursive \
326 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
327 uninstalldirs-recursive all-recursive check-recursive \
328 installcheck-recursive info-recursive dvi-recursive \
329 mostlyclean-recursive distclean-recursive clean-recursive \
330 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
331 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
332 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
333 install-exec install-data-am install-data install-am install \
334 uninstall-am uninstall all-redirect all-am all installdirs-am \
335 installdirs mostlyclean-generic distclean-generic clean-generic \
336 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
340 @echo "#!/bin/sh" >yaz-config
341 @echo "# YAZ settings for developers" >>yaz-config
342 @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
343 @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
344 @echo "YAZLIB=\"-L`pwd`/lib -lyaz @LIBS@\"" >>yaz-config
345 @echo "YAZINC=\"-I`pwd`/include\"" >>yaz-config
350 -cp $(srcdir)/win/* $(distdir)/win
352 rpm: $(PACKAGE)-$(VERSION).tar.gz
353 cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
356 # Tell versions [3.59,3.63) of GNU make to not export all variables.
357 # Otherwise a system limit (for SysV at least) may be exceeded.