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.15 2000-02-28 11:20: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
85 BINDIR = $(exec_prefix)/bin
86 # Public libraries and header files
87 LIBDIR = $(exec_prefix)/lib
88 INCDIR = $(prefix)/include
90 YAZTAB = $(pkgdatadir)/tab
91 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
92 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
93 CONFIG_HEADER = ./include/yaz/config.h
95 SCRIPTS = $(noinst_SCRIPTS)
97 DIST_COMMON = README Makefile.am Makefile.in TODO aclocal.m4 configure \
98 configure.in install-sh missing mkinstalldirs
101 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
107 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
108 cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
110 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
112 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
114 $(ACLOCAL_M4): configure.in
115 cd $(srcdir) && $(ACLOCAL)
117 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
118 $(SHELL) ./config.status --recheck
119 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
120 cd $(srcdir) && $(AUTOCONF)
122 # This directory's subdirectories are mostly independent; you can cd
123 # into them and run `make' without going through this Makefile.
124 # To change the values of `make' variables: instead of editing Makefiles,
125 # (1) if the variable is set in `config.status', edit `config.status'
126 # (which will cause the Makefiles to be regenerated when you run `make');
127 # (2) otherwise, pass the desired values on the `make' command line.
131 all-recursive install-data-recursive install-exec-recursive \
132 installdirs-recursive install-recursive uninstall-recursive \
133 check-recursive installcheck-recursive info-recursive dvi-recursive:
134 @set fnord $(MAKEFLAGS); amf=$$2; \
136 target=`echo $@ | sed s/-recursive//`; \
137 list='$(SUBDIRS)'; for subdir in $$list; do \
138 echo "Making $$target in $$subdir"; \
139 if test "$$subdir" = "."; then \
141 local_target="$$target-am"; \
143 local_target="$$target"; \
145 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
146 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
148 if test "$$dot_seen" = "no"; then \
149 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
152 mostlyclean-recursive clean-recursive distclean-recursive \
153 maintainer-clean-recursive:
154 @set fnord $(MAKEFLAGS); amf=$$2; \
156 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
157 rev="$$subdir $$rev"; \
158 test "$$subdir" = "." && dot_seen=yes; \
160 test "$$dot_seen" = "no" && rev=". $$rev"; \
161 target=`echo $@ | sed s/-recursive//`; \
162 for subdir in $$rev; do \
163 echo "Making $$target in $$subdir"; \
164 if test "$$subdir" = "."; then \
165 local_target="$$target-am"; \
167 local_target="$$target"; \
169 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
170 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
171 done && test -z "$$fail"
173 list='$(SUBDIRS)'; for subdir in $$list; do \
174 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
179 ID: $(HEADERS) $(SOURCES) $(LISP)
180 list='$(SOURCES) $(HEADERS)'; \
181 unique=`for i in $$list; do echo $$i; done | \
182 awk ' { files[$$0] = 1; } \
183 END { for (i in files) print i; }'`; \
184 here=`pwd` && cd $(srcdir) \
185 && mkid -f$$here/ID $$unique $(LISP)
187 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
190 list='$(SUBDIRS)'; for subdir in $$list; do \
191 if test "$$subdir" = .; then :; else \
192 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
195 list='$(SOURCES) $(HEADERS)'; \
196 unique=`for i in $$list; do echo $$i; done | \
197 awk ' { files[$$0] = 1; } \
198 END { for (i in files) print i; }'`; \
199 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
200 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
209 maintainer-clean-tags:
211 distdir = $(PACKAGE)-$(VERSION)
212 top_distdir = $(distdir)
214 # This target untars the dist file and tries a VPATH configuration. Then
215 # it guarantees that the distribution is self-contained by making another
219 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
220 mkdir $(distdir)/=build
221 mkdir $(distdir)/=inst
222 dc_install_base=`cd $(distdir)/=inst && pwd`; \
223 cd $(distdir)/=build \
224 && ../configure --srcdir=.. --prefix=$$dc_install_base \
225 && $(MAKE) $(AM_MAKEFLAGS) \
226 && $(MAKE) $(AM_MAKEFLAGS) dvi \
227 && $(MAKE) $(AM_MAKEFLAGS) check \
228 && $(MAKE) $(AM_MAKEFLAGS) install \
229 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
230 && $(MAKE) $(AM_MAKEFLAGS) dist
232 @banner="$(distdir).tar.gz is ready for distribution"; \
233 dashes=`echo "$$banner" | sed s/./=/g`; \
238 -chmod -R a+r $(distdir)
239 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
242 -chmod -R a+r $(distdir)
243 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
245 distdir: $(DISTFILES)
248 -chmod 777 $(distdir)
249 here=`cd $(top_builddir) && pwd`; \
250 top_distdir=`cd $(distdir) && pwd`; \
251 distdir=`cd $(distdir) && pwd`; \
253 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
254 @for file in $(DISTFILES); do \
256 if test -d $$d/$$file; then \
257 cp -pr $$/$$file $(distdir)/$$file; \
259 test -f $(distdir)/$$file \
260 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
261 || cp -p $$d/$$file $(distdir)/$$file || :; \
264 for subdir in $(DIST_SUBDIRS); do \
265 if test "$$subdir" = .; then :; else \
266 test -d $(distdir)/$$subdir \
267 || mkdir $(distdir)/$$subdir \
269 chmod 777 $(distdir)/$$subdir; \
270 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
274 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
280 check: check-recursive
282 installcheck: installcheck-recursive
284 install-exec: install-exec-recursive
287 install-data: install-data-recursive
290 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
291 install: install-recursive
293 uninstall: uninstall-recursive
294 all-am: Makefile $(SCRIPTS)
295 all-redirect: all-recursive
297 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
298 installdirs: installdirs-recursive
307 -rm -f Makefile $(CONFIG_CLEAN_FILES)
308 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
310 maintainer-clean-generic:
311 mostlyclean-am: mostlyclean-tags mostlyclean-generic
313 mostlyclean: mostlyclean-recursive
315 clean-am: clean-tags clean-generic mostlyclean-am
317 clean: clean-recursive
319 distclean-am: distclean-tags distclean-generic clean-am
321 distclean: distclean-recursive
324 maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \
326 @echo "This command is intended for maintainers to use;"
327 @echo "it deletes files that may require special tools to rebuild."
329 maintainer-clean: maintainer-clean-recursive
332 .PHONY: install-data-recursive uninstall-data-recursive \
333 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
334 uninstalldirs-recursive all-recursive check-recursive \
335 installcheck-recursive info-recursive dvi-recursive \
336 mostlyclean-recursive distclean-recursive clean-recursive \
337 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
338 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
339 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
340 install-exec install-data-am install-data install-am install \
341 uninstall-am uninstall all-redirect all-am all installdirs-am \
342 installdirs mostlyclean-generic distclean-generic clean-generic \
343 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
347 @echo "#!/bin/sh" >yaz-config
348 @echo "# YAZ settings for developers" >>yaz-config
349 @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
350 @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
351 @echo "YAZLIB=\"-L`pwd`/lib -lyaz @LIBS@\"" >>yaz-config
352 @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.