745fe64a1193bde8198d4f798f08c2e71baea9ac
[yaz-moved-to-github.git] / client / Makefile.in
1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
2
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.
7
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
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DESTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = ..
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 host_alias = @host_alias@
61 host_triplet = @host@
62 AS = @AS@
63 ASNMODULE = @ASNMODULE@
64 CC = @CC@
65 CPP = @CPP@
66 DLLTOOL = @DLLTOOL@
67 ILLLIB = @ILLLIB@
68 ILLMODULE = @ILLMODULE@
69 LD = @LD@
70 LIBTOOL = @LIBTOOL@
71 LN_S = @LN_S@
72 MAKEINFO = @MAKEINFO@
73 NM = @NM@
74 OBJDUMP = @OBJDUMP@
75 PACKAGE = @PACKAGE@
76 RANLIB = @RANLIB@
77 READLINE_LIBS = @READLINE_LIBS@
78 SUBDIRS_VAR = @SUBDIRS_VAR@
79 VERSION = @VERSION@
80 YAZ_SRC_ROOT = @YAZ_SRC_ROOT@
81
82 bin_PROGRAMS = yaz-client
83
84 yaz_client_SOURCES = client.c admin.c admin.h
85
86 yaz_client_LDADD = ../lib/libyaz.la $(READLINE_LIBS)
87
88 INCLUDES = -I$(srcdir)/../include -DCCL2RPN=1
89 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
90 CONFIG_CLEAN_FILES = 
91 PROGRAMS =  $(bin_PROGRAMS)
92
93
94 DEFS = @DEFS@ -I. -I$(srcdir) 
95 CPPFLAGS = @CPPFLAGS@
96 LDFLAGS = @LDFLAGS@
97 LIBS = @LIBS@
98 yaz_client_OBJECTS =  client.o admin.o
99 yaz_client_DEPENDENCIES =  ../lib/libyaz.la
100 yaz_client_LDFLAGS = 
101 CFLAGS = @CFLAGS@
102 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
103 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
104 CCLD = $(CC)
105 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
106 DIST_COMMON =  Makefile.am Makefile.in
107
108
109 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
110
111 TAR = gtar
112 GZIP_ENV = --best
113 DEP_FILES =  .deps/admin.P .deps/client.P
114 SOURCES = $(yaz_client_SOURCES)
115 OBJECTS = $(yaz_client_OBJECTS)
116
117 all: all-redirect
118 .SUFFIXES:
119 .SUFFIXES: .S .c .lo .o .s
120 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
121         cd $(top_srcdir) && $(AUTOMAKE) --gnu client/Makefile
122
123 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
124         cd $(top_builddir) \
125           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
126
127
128 mostlyclean-binPROGRAMS:
129
130 clean-binPROGRAMS:
131         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
132
133 distclean-binPROGRAMS:
134
135 maintainer-clean-binPROGRAMS:
136
137 install-binPROGRAMS: $(bin_PROGRAMS)
138         @$(NORMAL_INSTALL)
139         $(mkinstalldirs) $(DESTDIR)$(bindir)
140         @list='$(bin_PROGRAMS)'; for p in $$list; do \
141           if test -f $$p; then \
142             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
143             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
144           else :; fi; \
145         done
146
147 uninstall-binPROGRAMS:
148         @$(NORMAL_UNINSTALL)
149         list='$(bin_PROGRAMS)'; for p in $$list; do \
150           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
151         done
152
153 .s.o:
154         $(COMPILE) -c $<
155
156 .S.o:
157         $(COMPILE) -c $<
158
159 mostlyclean-compile:
160         -rm -f *.o core *.core
161
162 clean-compile:
163
164 distclean-compile:
165         -rm -f *.tab.c
166
167 maintainer-clean-compile:
168
169 .s.lo:
170         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
171
172 .S.lo:
173         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
174
175 mostlyclean-libtool:
176         -rm -f *.lo
177
178 clean-libtool:
179         -rm -rf .libs _libs
180
181 distclean-libtool:
182
183 maintainer-clean-libtool:
184
185 yaz-client: $(yaz_client_OBJECTS) $(yaz_client_DEPENDENCIES)
186         @rm -f yaz-client
187         $(LINK) $(yaz_client_LDFLAGS) $(yaz_client_OBJECTS) $(yaz_client_LDADD) $(LIBS)
188
189 tags: TAGS
190
191 ID: $(HEADERS) $(SOURCES) $(LISP)
192         list='$(SOURCES) $(HEADERS)'; \
193         unique=`for i in $$list; do echo $$i; done | \
194           awk '    { files[$$0] = 1; } \
195                END { for (i in files) print i; }'`; \
196         here=`pwd` && cd $(srcdir) \
197           && mkid -f$$here/ID $$unique $(LISP)
198
199 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
200         tags=; \
201         here=`pwd`; \
202         list='$(SOURCES) $(HEADERS)'; \
203         unique=`for i in $$list; do echo $$i; done | \
204           awk '    { files[$$0] = 1; } \
205                END { for (i in files) print i; }'`; \
206         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
207           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
208
209 mostlyclean-tags:
210
211 clean-tags:
212
213 distclean-tags:
214         -rm -f TAGS ID
215
216 maintainer-clean-tags:
217
218 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
219
220 subdir = client
221
222 distdir: $(DISTFILES)
223         here=`cd $(top_builddir) && pwd`; \
224         top_distdir=`cd $(top_distdir) && pwd`; \
225         distdir=`cd $(distdir) && pwd`; \
226         cd $(top_srcdir) \
227           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu client/Makefile
228         @for file in $(DISTFILES); do \
229           d=$(srcdir); \
230           if test -d $$d/$$file; then \
231             cp -pr $$/$$file $(distdir)/$$file; \
232           else \
233             test -f $(distdir)/$$file \
234             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
235             || cp -p $$d/$$file $(distdir)/$$file || :; \
236           fi; \
237         done
238
239 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
240
241 -include $(DEP_FILES)
242
243 mostlyclean-depend:
244
245 clean-depend:
246
247 distclean-depend:
248         -rm -rf .deps
249
250 maintainer-clean-depend:
251
252 %.o: %.c
253         @echo '$(COMPILE) -c $<'; \
254         $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
255         @-cp .deps/$(*F).pp .deps/$(*F).P; \
256         tr ' ' '\012' < .deps/$(*F).pp \
257           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
258             >> .deps/$(*F).P; \
259         rm .deps/$(*F).pp
260
261 %.lo: %.c
262         @echo '$(LTCOMPILE) -c $<'; \
263         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
264         @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
265           < .deps/$(*F).pp > .deps/$(*F).P; \
266         tr ' ' '\012' < .deps/$(*F).pp \
267           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
268             >> .deps/$(*F).P; \
269         rm -f .deps/$(*F).pp
270 info-am:
271 info: info-am
272 dvi-am:
273 dvi: dvi-am
274 check-am: all-am
275 check: check-am
276 installcheck-am:
277 installcheck: installcheck-am
278 install-exec-am: install-binPROGRAMS
279 install-exec: install-exec-am
280
281 install-data-am:
282 install-data: install-data-am
283
284 install-am: all-am
285         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
286 install: install-am
287 uninstall-am: uninstall-binPROGRAMS
288 uninstall: uninstall-am
289 all-am: Makefile $(PROGRAMS)
290 all-redirect: all-am
291 install-strip:
292         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
293 installdirs:
294         $(mkinstalldirs)  $(DESTDIR)$(bindir)
295
296
297 mostlyclean-generic:
298
299 clean-generic:
300
301 distclean-generic:
302         -rm -f Makefile $(CONFIG_CLEAN_FILES)
303         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
304
305 maintainer-clean-generic:
306 mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
307                 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
308                 mostlyclean-generic
309
310 mostlyclean: mostlyclean-am
311
312 clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
313                 clean-depend clean-generic mostlyclean-am
314
315 clean: clean-am
316
317 distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
318                 distclean-tags distclean-depend distclean-generic \
319                 clean-am
320         -rm -f libtool
321
322 distclean: distclean-am
323
324 maintainer-clean-am:  maintainer-clean-binPROGRAMS \
325                 maintainer-clean-compile maintainer-clean-libtool \
326                 maintainer-clean-tags maintainer-clean-depend \
327                 maintainer-clean-generic distclean-am
328         @echo "This command is intended for maintainers to use;"
329         @echo "it deletes files that may require special tools to rebuild."
330
331 maintainer-clean: maintainer-clean-am
332
333 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
334 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
335 mostlyclean-compile distclean-compile clean-compile \
336 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
337 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
338 distclean-tags clean-tags maintainer-clean-tags distdir \
339 mostlyclean-depend distclean-depend clean-depend \
340 maintainer-clean-depend info-am info dvi-am dvi check check-am \
341 installcheck-am installcheck install-exec-am install-exec \
342 install-data-am install-data install-am install uninstall-am uninstall \
343 all-redirect all-am all installdirs mostlyclean-generic \
344 distclean-generic clean-generic maintainer-clean-generic clean \
345 mostlyclean distclean maintainer-clean
346
347
348 # Tell versions [3.59,3.63) of GNU make to not export all variables.
349 # Otherwise a system limit (for SysV at least) may be exceeded.
350 .NOEXPORT: