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@
70 LIBTHREAD = @LIBTHREAD@
78 READLINE_LIBS = @READLINE_LIBS@
79 SUBDIRS_VAR = @SUBDIRS_VAR@
81 YAZ_SRC_ROOT = @YAZ_SRC_ROOT@
83 bin_PROGRAMS = yaz-client
85 yaz_client_SOURCES = client.c admin.c admin.h
87 yaz_client_LDADD = ../lib/libyaz.la $(READLINE_LIBS)
89 INCLUDES = -I$(srcdir)/../include -DCCL2RPN=1
90 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
92 PROGRAMS = $(bin_PROGRAMS)
95 DEFS = @DEFS@ -I. -I$(srcdir)
99 yaz_client_OBJECTS = client.o admin.o
100 yaz_client_DEPENDENCIES = ../lib/libyaz.la
103 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
104 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
106 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
107 DIST_COMMON = Makefile.am Makefile.in
110 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
114 DEP_FILES = .deps/admin.P .deps/client.P
115 SOURCES = $(yaz_client_SOURCES)
116 OBJECTS = $(yaz_client_OBJECTS)
120 .SUFFIXES: .S .c .lo .o .s
121 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
122 cd $(top_srcdir) && $(AUTOMAKE) --gnu client/Makefile
124 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
126 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
129 mostlyclean-binPROGRAMS:
132 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
134 distclean-binPROGRAMS:
136 maintainer-clean-binPROGRAMS:
138 install-binPROGRAMS: $(bin_PROGRAMS)
140 $(mkinstalldirs) $(DESTDIR)$(bindir)
141 @list='$(bin_PROGRAMS)'; for p in $$list; do \
142 if test -f $$p; then \
143 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
144 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
148 uninstall-binPROGRAMS:
150 list='$(bin_PROGRAMS)'; for p in $$list; do \
151 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
161 -rm -f *.o core *.core
168 maintainer-clean-compile:
171 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
174 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
184 maintainer-clean-libtool:
186 yaz-client: $(yaz_client_OBJECTS) $(yaz_client_DEPENDENCIES)
188 $(LINK) $(yaz_client_LDFLAGS) $(yaz_client_OBJECTS) $(yaz_client_LDADD) $(LIBS)
192 ID: $(HEADERS) $(SOURCES) $(LISP)
193 list='$(SOURCES) $(HEADERS)'; \
194 unique=`for i in $$list; do echo $$i; done | \
195 awk ' { files[$$0] = 1; } \
196 END { for (i in files) print i; }'`; \
197 here=`pwd` && cd $(srcdir) \
198 && mkid -f$$here/ID $$unique $(LISP)
200 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
203 list='$(SOURCES) $(HEADERS)'; \
204 unique=`for i in $$list; do echo $$i; done | \
205 awk ' { files[$$0] = 1; } \
206 END { for (i in files) print i; }'`; \
207 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
208 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
217 maintainer-clean-tags:
219 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
223 distdir: $(DISTFILES)
224 here=`cd $(top_builddir) && pwd`; \
225 top_distdir=`cd $(top_distdir) && pwd`; \
226 distdir=`cd $(distdir) && pwd`; \
228 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu client/Makefile
229 @for file in $(DISTFILES); do \
231 if test -d $$d/$$file; then \
232 cp -pr $$/$$file $(distdir)/$$file; \
234 test -f $(distdir)/$$file \
235 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
236 || cp -p $$d/$$file $(distdir)/$$file || :; \
240 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
242 -include $(DEP_FILES)
251 maintainer-clean-depend:
254 @echo '$(COMPILE) -c $<'; \
255 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
256 @-cp .deps/$(*F).pp .deps/$(*F).P; \
257 tr ' ' '\012' < .deps/$(*F).pp \
258 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
263 @echo '$(LTCOMPILE) -c $<'; \
264 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
265 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
266 < .deps/$(*F).pp > .deps/$(*F).P; \
267 tr ' ' '\012' < .deps/$(*F).pp \
268 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
278 installcheck: installcheck-am
279 install-exec-am: install-binPROGRAMS
280 install-exec: install-exec-am
283 install-data: install-data-am
286 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
288 uninstall-am: uninstall-binPROGRAMS
289 uninstall: uninstall-am
290 all-am: Makefile $(PROGRAMS)
293 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
295 $(mkinstalldirs) $(DESTDIR)$(bindir)
303 -rm -f Makefile $(CONFIG_CLEAN_FILES)
304 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
306 maintainer-clean-generic:
307 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
308 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
311 mostlyclean: mostlyclean-am
313 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
314 clean-depend clean-generic mostlyclean-am
318 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
319 distclean-tags distclean-depend distclean-generic \
323 distclean: distclean-am
325 maintainer-clean-am: maintainer-clean-binPROGRAMS \
326 maintainer-clean-compile maintainer-clean-libtool \
327 maintainer-clean-tags maintainer-clean-depend \
328 maintainer-clean-generic distclean-am
329 @echo "This command is intended for maintainers to use;"
330 @echo "it deletes files that may require special tools to rebuild."
332 maintainer-clean: maintainer-clean-am
334 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
335 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
336 mostlyclean-compile distclean-compile clean-compile \
337 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
338 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
339 distclean-tags clean-tags maintainer-clean-tags distdir \
340 mostlyclean-depend distclean-depend clean-depend \
341 maintainer-clean-depend info-am info dvi-am dvi check check-am \
342 installcheck-am installcheck install-exec-am install-exec \
343 install-data-am install-data install-am install uninstall-am uninstall \
344 all-redirect all-am all installdirs mostlyclean-generic \
345 distclean-generic clean-generic maintainer-clean-generic clean \
346 mostlyclean distclean maintainer-clean
349 # Tell versions [3.59,3.63) of GNU make to not export all variables.
350 # Otherwise a system limit (for SysV at least) may be exceeded.