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@
81 lib_LTLIBRARIES = libyaz.la
83 bin_SCRIPTS = yaz-config
85 # If the line below is omitted the LINK variable is
86 # not set in Makefile.in and it will NOT work ..
87 EXTRA_libyaz_la_SOURCES = x.c
92 LDFLAGS = -version-info 0:0:0
94 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 # Public libraries and header files
98 LIBDIR = $(exec_prefix)/lib
99 INCDIR = $(prefix)/include
100 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
102 LTLIBRARIES = $(lib_LTLIBRARIES)
105 DEFS = @DEFS@ -I. -I$(srcdir)
106 CPPFLAGS = @CPPFLAGS@
109 libyaz_la_DEPENDENCIES = ../odr/libodr.la ../$(ASNMODULE)/libasn.la \
110 ../comstack/libcomstack.la ../server/libserver.la ../zutil/libzutil.la \
111 ../util/libutil.la ../ccl/libccl.la ../retrieval/libret.la
113 SCRIPTS = $(bin_SCRIPTS)
116 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
117 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
119 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
120 DIST_COMMON = Makefile.am Makefile.in
123 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
127 DEP_FILES = .deps/x.P
128 SOURCES = $(libyaz_la_SOURCES) $(EXTRA_libyaz_la_SOURCES)
129 OBJECTS = $(libyaz_la_OBJECTS)
133 .SUFFIXES: .S .c .lo .o .s
134 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
135 cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile
137 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
139 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
142 mostlyclean-libLTLIBRARIES:
144 clean-libLTLIBRARIES:
145 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
147 distclean-libLTLIBRARIES:
149 maintainer-clean-libLTLIBRARIES:
151 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
153 $(mkinstalldirs) $(DESTDIR)$(libdir)
154 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
155 if test -f $$p; then \
156 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
157 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
161 uninstall-libLTLIBRARIES:
163 list='$(lib_LTLIBRARIES)'; for p in $$list; do \
164 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
174 -rm -f *.o core *.core
181 maintainer-clean-compile:
184 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
187 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
197 maintainer-clean-libtool:
199 libyaz.la: $(libyaz_la_OBJECTS) $(libyaz_la_DEPENDENCIES)
200 $(LINK) -rpath $(libdir) $(libyaz_la_LDFLAGS) $(libyaz_la_OBJECTS) $(libyaz_la_LIBADD) $(LIBS)
202 install-binSCRIPTS: $(bin_SCRIPTS)
204 $(mkinstalldirs) $(DESTDIR)$(bindir)
205 @list='$(bin_SCRIPTS)'; for p in $$list; do \
206 if test -f $$p; then \
207 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
208 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
209 else if test -f $(srcdir)/$$p; then \
210 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
211 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
215 uninstall-binSCRIPTS:
217 list='$(bin_SCRIPTS)'; for p in $$list; do \
218 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
223 ID: $(HEADERS) $(SOURCES) $(LISP)
224 list='$(SOURCES) $(HEADERS)'; \
225 unique=`for i in $$list; do echo $$i; done | \
226 awk ' { files[$$0] = 1; } \
227 END { for (i in files) print i; }'`; \
228 here=`pwd` && cd $(srcdir) \
229 && mkid -f$$here/ID $$unique $(LISP)
231 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
234 list='$(SOURCES) $(HEADERS)'; \
235 unique=`for i in $$list; do echo $$i; done | \
236 awk ' { files[$$0] = 1; } \
237 END { for (i in files) print i; }'`; \
238 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
239 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
248 maintainer-clean-tags:
250 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
254 distdir: $(DISTFILES)
255 here=`cd $(top_builddir) && pwd`; \
256 top_distdir=`cd $(top_distdir) && pwd`; \
257 distdir=`cd $(distdir) && pwd`; \
259 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu lib/Makefile
260 @for file in $(DISTFILES); do \
262 if test -d $$d/$$file; then \
263 cp -pr $$/$$file $(distdir)/$$file; \
265 test -f $(distdir)/$$file \
266 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
267 || cp -p $$d/$$file $(distdir)/$$file || :; \
271 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
273 -include $(DEP_FILES)
282 maintainer-clean-depend:
285 @echo '$(COMPILE) -c $<'; \
286 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
287 @-cp .deps/$(*F).pp .deps/$(*F).P; \
288 tr ' ' '\012' < .deps/$(*F).pp \
289 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
294 @echo '$(LTCOMPILE) -c $<'; \
295 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
296 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
297 < .deps/$(*F).pp > .deps/$(*F).P; \
298 tr ' ' '\012' < .deps/$(*F).pp \
299 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
309 installcheck: installcheck-am
310 install-exec-am: install-libLTLIBRARIES install-binSCRIPTS
311 install-exec: install-exec-am
314 install-data: install-data-am
317 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
319 uninstall-am: uninstall-libLTLIBRARIES uninstall-binSCRIPTS
320 uninstall: uninstall-am
321 all-am: Makefile $(LTLIBRARIES) $(SCRIPTS)
324 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
326 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir)
334 -rm -f Makefile $(CONFIG_CLEAN_FILES)
335 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
337 maintainer-clean-generic:
338 mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
339 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
342 mostlyclean: mostlyclean-am
344 clean-am: clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
345 clean-depend clean-generic mostlyclean-am
349 distclean-am: distclean-libLTLIBRARIES distclean-compile \
350 distclean-libtool distclean-tags distclean-depend \
351 distclean-generic clean-am
354 distclean: distclean-am
356 maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
357 maintainer-clean-compile maintainer-clean-libtool \
358 maintainer-clean-tags maintainer-clean-depend \
359 maintainer-clean-generic distclean-am
360 @echo "This command is intended for maintainers to use;"
361 @echo "it deletes files that may require special tools to rebuild."
363 maintainer-clean: maintainer-clean-am
365 .PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
366 clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
367 uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
368 distclean-compile clean-compile maintainer-clean-compile \
369 mostlyclean-libtool distclean-libtool clean-libtool \
370 maintainer-clean-libtool uninstall-binSCRIPTS install-binSCRIPTS tags \
371 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
372 distdir mostlyclean-depend distclean-depend clean-depend \
373 maintainer-clean-depend info-am info dvi-am dvi check check-am \
374 installcheck-am installcheck install-exec-am install-exec \
375 install-data-am install-data install-am install uninstall-am uninstall \
376 all-redirect all-am all installdirs mostlyclean-generic \
377 distclean-generic clean-generic maintainer-clean-generic clean \
378 mostlyclean distclean maintainer-clean
382 @echo "#!/bin/sh" >yaz-config
383 @echo "# YAZ settings for developers" >>yaz-config
384 @echo "YAZBIN='$(bindir)'" >>yaz-config
385 @echo "YAZTAB='$(pkgdatadir)/tab'" >>yaz-config
386 @echo "YAZLIB='-L$(libdir) -lyaz $(LIBS)'" >>yaz-config
387 @echo "YAZINC='-I$(includedir)'" >>yaz-config
390 # Tell versions [3.59,3.63) of GNU make to not export all variables.
391 # Otherwise a system limit (for SysV at least) may be exceeded.