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 lib_LIBRARIES = libyaz.a
73 bin_SCRIPTS = yaz-config
79 YAZLIBS = ../odr/libodr.a ../@ASNMODULE@/libasn.a ../comstack/libcomstack.a ../server/libserver.a ../zutil/libzutil.a ../util/libutil.a ../ccl/libccl.a ../retrieval/libret.a @ILLLIB@
82 # Public libraries and header files
83 LIBDIR = $(exec_prefix)/lib
84 INCDIR = $(prefix)/include
85 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
86 CONFIG_HEADER = ../include/yaz/config.h
88 LIBRARIES = $(lib_LIBRARIES)
91 DEFS = @DEFS@ -I. -I$(srcdir) -I../include/yaz
98 SCRIPTS = $(bin_SCRIPTS)
100 DIST_COMMON = Makefile.am Makefile.in
103 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
107 SOURCES = $(libyaz_a_SOURCES)
108 OBJECTS = $(libyaz_a_OBJECTS)
112 .SUFFIXES: .S .c .o .s
113 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
114 cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile
116 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
118 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
121 mostlyclean-libLIBRARIES:
124 -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
126 distclean-libLIBRARIES:
128 maintainer-clean-libLIBRARIES:
130 install-libLIBRARIES: $(lib_LIBRARIES)
132 $(mkinstalldirs) $(DESTDIR)$(libdir)
133 @list='$(lib_LIBRARIES)'; for p in $$list; do \
134 if test -f $$p; then \
135 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
136 $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
140 @list='$(lib_LIBRARIES)'; for p in $$list; do \
141 if test -f $$p; then \
142 echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
143 $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
147 uninstall-libLIBRARIES:
149 list='$(lib_LIBRARIES)'; for p in $$list; do \
150 rm -f $(DESTDIR)$(libdir)/$$p; \
160 -rm -f *.o core *.core
167 maintainer-clean-compile:
169 install-binSCRIPTS: $(bin_SCRIPTS)
171 $(mkinstalldirs) $(DESTDIR)$(bindir)
172 @list='$(bin_SCRIPTS)'; for p in $$list; do \
173 if test -f $$p; then \
174 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
175 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
176 else if test -f $(srcdir)/$$p; then \
177 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
178 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
182 uninstall-binSCRIPTS:
184 list='$(bin_SCRIPTS)'; for p in $$list; do \
185 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
191 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
195 distdir: $(DISTFILES)
196 here=`cd $(top_builddir) && pwd`; \
197 top_distdir=`cd $(top_distdir) && pwd`; \
198 distdir=`cd $(distdir) && pwd`; \
200 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu lib/Makefile
201 @for file in $(DISTFILES); do \
203 if test -d $$d/$$file; then \
204 cp -pr $$/$$file $(distdir)/$$file; \
206 test -f $(distdir)/$$file \
207 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
208 || cp -p $$d/$$file $(distdir)/$$file || :; \
218 installcheck: installcheck-am
219 install-exec-am: install-libLIBRARIES install-binSCRIPTS
220 install-exec: install-exec-am
223 install-data: install-data-am
226 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
228 uninstall-am: uninstall-libLIBRARIES uninstall-binSCRIPTS
229 uninstall: uninstall-am
230 all-am: Makefile $(LIBRARIES) $(SCRIPTS)
233 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
235 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir)
243 -rm -f Makefile $(CONFIG_CLEAN_FILES)
244 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
246 maintainer-clean-generic:
247 mostlyclean-am: mostlyclean-libLIBRARIES mostlyclean-compile \
250 mostlyclean: mostlyclean-am
252 clean-am: clean-libLIBRARIES clean-compile clean-generic mostlyclean-am
256 distclean-am: distclean-libLIBRARIES distclean-compile \
257 distclean-generic clean-am
259 distclean: distclean-am
261 maintainer-clean-am: maintainer-clean-libLIBRARIES \
262 maintainer-clean-compile maintainer-clean-generic \
264 @echo "This command is intended for maintainers to use;"
265 @echo "it deletes files that may require special tools to rebuild."
267 maintainer-clean: maintainer-clean-am
269 .PHONY: mostlyclean-libLIBRARIES distclean-libLIBRARIES \
270 clean-libLIBRARIES maintainer-clean-libLIBRARIES uninstall-libLIBRARIES \
271 install-libLIBRARIES mostlyclean-compile distclean-compile \
272 clean-compile maintainer-clean-compile uninstall-binSCRIPTS \
273 install-binSCRIPTS tags distdir info-am info dvi-am dvi check check-am \
274 installcheck-am installcheck install-exec-am install-exec \
275 install-data-am install-data install-am install uninstall-am uninstall \
276 all-redirect all-am all installdirs mostlyclean-generic \
277 distclean-generic clean-generic maintainer-clean-generic clean \
278 mostlyclean distclean maintainer-clean
283 for i in $(YAZLIBS); do echo $$i; ar x $$i; rm -f __*; done
289 @echo "#!/bin/sh" >yaz-config
290 @echo "# YAZ settings for developers" >>yaz-config
291 @echo "YAZBIN='$(bindir)'" >>yaz-config
292 @echo "YAZTAB='$(pkgdatadir)/tab'" >>yaz-config
293 @echo "YAZLIB='-L$(libdir) -lyaz $(LIBS)'" >>yaz-config
294 @echo "YAZINC='-I$(includedir)'" >>yaz-config
297 # Tell versions [3.59,3.63) of GNU make to not export all variables.
298 # Otherwise a system limit (for SysV at least) may be exceeded.