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 READLINE_LIBS = @READLINE_LIBS@
78 SUBDIRS_VAR = @SUBDIRS_VAR@
80 YAZ_SRC_ROOT = @YAZ_SRC_ROOT@
82 lib_LTLIBRARIES = libyaz.la
84 # If the line below is omitted the LINK variable is
85 # not set in Makefile.in and it will NOT work ..
86 EXTRA_libyaz_la_SOURCES = x.c
91 LDFLAGS = -version-info 1:0:0
93 bin_SCRIPTS = yaz-config
95 libyaz_la_LIBADD = ../odr/libodr.la ../$(ASNMODULE)/libasn.la ../comstack/libcomstack.la ../server/libserver.la ../zutil/libzutil.la ../util/libutil.la ../ccl/libccl.la ../retrieval/libret.la $(ILLLIB)
97 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
98 CONFIG_CLEAN_FILES = yaz-config
99 LTLIBRARIES = $(lib_LTLIBRARIES)
102 DEFS = @DEFS@ -I. -I$(srcdir)
103 CPPFLAGS = @CPPFLAGS@
106 libyaz_la_DEPENDENCIES = ../odr/libodr.la ../$(ASNMODULE)/libasn.la \
107 ../comstack/libcomstack.la ../server/libserver.la ../zutil/libzutil.la \
108 ../util/libutil.la ../ccl/libccl.la ../retrieval/libret.la
110 SCRIPTS = $(bin_SCRIPTS)
113 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
114 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
116 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
117 DIST_COMMON = Makefile.am Makefile.in yaz-config.in
120 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
124 DEP_FILES = .deps/x.P
125 SOURCES = $(libyaz_la_SOURCES) $(EXTRA_libyaz_la_SOURCES)
126 OBJECTS = $(libyaz_la_OBJECTS)
130 .SUFFIXES: .S .c .lo .o .s
131 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
132 cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile
134 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
136 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
138 yaz-config: $(top_builddir)/config.status yaz-config.in
139 cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
141 mostlyclean-libLTLIBRARIES:
143 clean-libLTLIBRARIES:
144 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
146 distclean-libLTLIBRARIES:
148 maintainer-clean-libLTLIBRARIES:
150 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
152 $(mkinstalldirs) $(DESTDIR)$(libdir)
153 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
154 if test -f $$p; then \
155 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
156 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
160 uninstall-libLTLIBRARIES:
162 list='$(lib_LTLIBRARIES)'; for p in $$list; do \
163 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
173 -rm -f *.o core *.core
180 maintainer-clean-compile:
183 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
186 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
196 maintainer-clean-libtool:
198 libyaz.la: $(libyaz_la_OBJECTS) $(libyaz_la_DEPENDENCIES)
199 $(LINK) -rpath $(libdir) $(libyaz_la_LDFLAGS) $(libyaz_la_OBJECTS) $(libyaz_la_LIBADD) $(LIBS)
201 install-binSCRIPTS: $(bin_SCRIPTS)
203 $(mkinstalldirs) $(DESTDIR)$(bindir)
204 @list='$(bin_SCRIPTS)'; for p in $$list; do \
205 if test -f $$p; then \
206 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
207 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
208 else if test -f $(srcdir)/$$p; then \
209 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
210 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
214 uninstall-binSCRIPTS:
216 list='$(bin_SCRIPTS)'; for p in $$list; do \
217 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
222 ID: $(HEADERS) $(SOURCES) $(LISP)
223 list='$(SOURCES) $(HEADERS)'; \
224 unique=`for i in $$list; do echo $$i; done | \
225 awk ' { files[$$0] = 1; } \
226 END { for (i in files) print i; }'`; \
227 here=`pwd` && cd $(srcdir) \
228 && mkid -f$$here/ID $$unique $(LISP)
230 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
233 list='$(SOURCES) $(HEADERS)'; \
234 unique=`for i in $$list; do echo $$i; done | \
235 awk ' { files[$$0] = 1; } \
236 END { for (i in files) print i; }'`; \
237 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
238 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
247 maintainer-clean-tags:
249 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
253 distdir: $(DISTFILES)
254 here=`cd $(top_builddir) && pwd`; \
255 top_distdir=`cd $(top_distdir) && pwd`; \
256 distdir=`cd $(distdir) && pwd`; \
258 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu lib/Makefile
259 @for file in $(DISTFILES); do \
261 if test -d $$d/$$file; then \
262 cp -pr $$/$$file $(distdir)/$$file; \
264 test -f $(distdir)/$$file \
265 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
266 || cp -p $$d/$$file $(distdir)/$$file || :; \
270 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
272 -include $(DEP_FILES)
281 maintainer-clean-depend:
284 @echo '$(COMPILE) -c $<'; \
285 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
286 @-cp .deps/$(*F).pp .deps/$(*F).P; \
287 tr ' ' '\012' < .deps/$(*F).pp \
288 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
293 @echo '$(LTCOMPILE) -c $<'; \
294 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
295 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
296 < .deps/$(*F).pp > .deps/$(*F).P; \
297 tr ' ' '\012' < .deps/$(*F).pp \
298 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
308 installcheck: installcheck-am
309 install-exec-am: install-libLTLIBRARIES install-binSCRIPTS
310 install-exec: install-exec-am
313 install-data: install-data-am
316 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
318 uninstall-am: uninstall-libLTLIBRARIES uninstall-binSCRIPTS
319 uninstall: uninstall-am
320 all-am: Makefile $(LTLIBRARIES) $(SCRIPTS)
323 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
325 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir)
333 -rm -f Makefile $(CONFIG_CLEAN_FILES)
334 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
336 maintainer-clean-generic:
337 mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
338 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
341 mostlyclean: mostlyclean-am
343 clean-am: clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
344 clean-depend clean-generic mostlyclean-am
348 distclean-am: distclean-libLTLIBRARIES distclean-compile \
349 distclean-libtool distclean-tags distclean-depend \
350 distclean-generic clean-am
353 distclean: distclean-am
355 maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
356 maintainer-clean-compile maintainer-clean-libtool \
357 maintainer-clean-tags maintainer-clean-depend \
358 maintainer-clean-generic distclean-am
359 @echo "This command is intended for maintainers to use;"
360 @echo "it deletes files that may require special tools to rebuild."
362 maintainer-clean: maintainer-clean-am
364 .PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
365 clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
366 uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
367 distclean-compile clean-compile maintainer-clean-compile \
368 mostlyclean-libtool distclean-libtool clean-libtool \
369 maintainer-clean-libtool uninstall-binSCRIPTS install-binSCRIPTS tags \
370 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
371 distdir mostlyclean-depend distclean-depend clean-depend \
372 maintainer-clean-depend info-am info dvi-am dvi check check-am \
373 installcheck-am installcheck install-exec-am install-exec \
374 install-data-am install-data install-am install uninstall-am uninstall \
375 all-redirect all-am all installdirs mostlyclean-generic \
376 distclean-generic clean-generic maintainer-clean-generic clean \
377 mostlyclean distclean maintainer-clean
380 # Tell versions [3.59,3.63) of GNU make to not export all variables.
381 # Otherwise a system limit (for SysV at least) may be exceeded.