Defined READLINE_LIBS for the yaz-client.
[yaz-moved-to-github.git] / util / 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
81 noinst_LTLIBRARIES = libutil.la
82
83 bin_SCRIPTS = yaz-comp
84
85 EXTRA_DIST = yaz-comp
86
87 LIBS = 
88
89 INCLUDES = -I$(srcdir)/../include
90
91 libutil_la_SOURCES = options.c log.c marcdisp.c oid.c wrbuf.c nmemsdup.c    xmalloc.c readconf.c tpath.c nmem.c matchstr.c atoin.c 
92
93 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
94 CONFIG_CLEAN_FILES = 
95 LTLIBRARIES =  $(noinst_LTLIBRARIES)
96
97
98 DEFS = @DEFS@ -I. -I$(srcdir) 
99 CPPFLAGS = @CPPFLAGS@
100 LDFLAGS = @LDFLAGS@
101 libutil_la_LDFLAGS = 
102 libutil_la_LIBADD = 
103 libutil_la_OBJECTS =  options.lo log.lo marcdisp.lo oid.lo wrbuf.lo \
104 nmemsdup.lo xmalloc.lo readconf.lo tpath.lo nmem.lo matchstr.lo \
105 atoin.lo
106 SCRIPTS =  $(bin_SCRIPTS)
107
108 CFLAGS = @CFLAGS@
109 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
110 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
111 CCLD = $(CC)
112 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
113 DIST_COMMON =  Makefile.am Makefile.in
114
115
116 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
117
118 TAR = gtar
119 GZIP_ENV = --best
120 DEP_FILES =  .deps/atoin.P .deps/log.P .deps/marcdisp.P .deps/matchstr.P \
121 .deps/nmem.P .deps/nmemsdup.P .deps/oid.P .deps/options.P \
122 .deps/readconf.P .deps/tpath.P .deps/wrbuf.P .deps/xmalloc.P
123 SOURCES = $(libutil_la_SOURCES)
124 OBJECTS = $(libutil_la_OBJECTS)
125
126 all: all-redirect
127 .SUFFIXES:
128 .SUFFIXES: .S .c .lo .o .s
129 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
130         cd $(top_srcdir) && $(AUTOMAKE) --gnu util/Makefile
131
132 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
133         cd $(top_builddir) \
134           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
135
136
137 mostlyclean-noinstLTLIBRARIES:
138
139 clean-noinstLTLIBRARIES:
140         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
141
142 distclean-noinstLTLIBRARIES:
143
144 maintainer-clean-noinstLTLIBRARIES:
145
146 .s.o:
147         $(COMPILE) -c $<
148
149 .S.o:
150         $(COMPILE) -c $<
151
152 mostlyclean-compile:
153         -rm -f *.o core *.core
154
155 clean-compile:
156
157 distclean-compile:
158         -rm -f *.tab.c
159
160 maintainer-clean-compile:
161
162 .s.lo:
163         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
164
165 .S.lo:
166         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
167
168 mostlyclean-libtool:
169         -rm -f *.lo
170
171 clean-libtool:
172         -rm -rf .libs _libs
173
174 distclean-libtool:
175
176 maintainer-clean-libtool:
177
178 libutil.la: $(libutil_la_OBJECTS) $(libutil_la_DEPENDENCIES)
179         $(LINK)  $(libutil_la_LDFLAGS) $(libutil_la_OBJECTS) $(libutil_la_LIBADD) $(LIBS)
180
181 install-binSCRIPTS: $(bin_SCRIPTS)
182         @$(NORMAL_INSTALL)
183         $(mkinstalldirs) $(DESTDIR)$(bindir)
184         @list='$(bin_SCRIPTS)'; for p in $$list; do \
185           if test -f $$p; then \
186             echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
187             $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
188           else if test -f $(srcdir)/$$p; then \
189             echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
190             $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
191           else :; fi; fi; \
192         done
193
194 uninstall-binSCRIPTS:
195         @$(NORMAL_UNINSTALL)
196         list='$(bin_SCRIPTS)'; for p in $$list; do \
197           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
198         done
199
200 tags: TAGS
201
202 ID: $(HEADERS) $(SOURCES) $(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         here=`pwd` && cd $(srcdir) \
208           && mkid -f$$here/ID $$unique $(LISP)
209
210 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
211         tags=; \
212         here=`pwd`; \
213         list='$(SOURCES) $(HEADERS)'; \
214         unique=`for i in $$list; do echo $$i; done | \
215           awk '    { files[$$0] = 1; } \
216                END { for (i in files) print i; }'`; \
217         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
218           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
219
220 mostlyclean-tags:
221
222 clean-tags:
223
224 distclean-tags:
225         -rm -f TAGS ID
226
227 maintainer-clean-tags:
228
229 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
230
231 subdir = util
232
233 distdir: $(DISTFILES)
234         here=`cd $(top_builddir) && pwd`; \
235         top_distdir=`cd $(top_distdir) && pwd`; \
236         distdir=`cd $(distdir) && pwd`; \
237         cd $(top_srcdir) \
238           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu util/Makefile
239         @for file in $(DISTFILES); do \
240           d=$(srcdir); \
241           if test -d $$d/$$file; then \
242             cp -pr $$/$$file $(distdir)/$$file; \
243           else \
244             test -f $(distdir)/$$file \
245             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
246             || cp -p $$d/$$file $(distdir)/$$file || :; \
247           fi; \
248         done
249
250 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
251
252 -include $(DEP_FILES)
253
254 mostlyclean-depend:
255
256 clean-depend:
257
258 distclean-depend:
259         -rm -rf .deps
260
261 maintainer-clean-depend:
262
263 %.o: %.c
264         @echo '$(COMPILE) -c $<'; \
265         $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
266         @-cp .deps/$(*F).pp .deps/$(*F).P; \
267         tr ' ' '\012' < .deps/$(*F).pp \
268           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
269             >> .deps/$(*F).P; \
270         rm .deps/$(*F).pp
271
272 %.lo: %.c
273         @echo '$(LTCOMPILE) -c $<'; \
274         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
275         @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
276           < .deps/$(*F).pp > .deps/$(*F).P; \
277         tr ' ' '\012' < .deps/$(*F).pp \
278           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
279             >> .deps/$(*F).P; \
280         rm -f .deps/$(*F).pp
281 info-am:
282 info: info-am
283 dvi-am:
284 dvi: dvi-am
285 check-am: all-am
286 check: check-am
287 installcheck-am:
288 installcheck: installcheck-am
289 install-exec-am: install-binSCRIPTS
290 install-exec: install-exec-am
291
292 install-data-am:
293 install-data: install-data-am
294
295 install-am: all-am
296         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
297 install: install-am
298 uninstall-am: uninstall-binSCRIPTS
299 uninstall: uninstall-am
300 all-am: Makefile $(LTLIBRARIES) $(SCRIPTS)
301 all-redirect: all-am
302 install-strip:
303         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
304 installdirs:
305         $(mkinstalldirs)  $(DESTDIR)$(bindir)
306
307
308 mostlyclean-generic:
309
310 clean-generic:
311
312 distclean-generic:
313         -rm -f Makefile $(CONFIG_CLEAN_FILES)
314         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
315
316 maintainer-clean-generic:
317 mostlyclean-am:  mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
318                 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
319                 mostlyclean-generic
320
321 mostlyclean: mostlyclean-am
322
323 clean-am:  clean-noinstLTLIBRARIES clean-compile clean-libtool \
324                 clean-tags clean-depend clean-generic mostlyclean-am
325
326 clean: clean-am
327
328 distclean-am:  distclean-noinstLTLIBRARIES distclean-compile \
329                 distclean-libtool distclean-tags distclean-depend \
330                 distclean-generic clean-am
331         -rm -f libtool
332
333 distclean: distclean-am
334
335 maintainer-clean-am:  maintainer-clean-noinstLTLIBRARIES \
336                 maintainer-clean-compile maintainer-clean-libtool \
337                 maintainer-clean-tags maintainer-clean-depend \
338                 maintainer-clean-generic distclean-am
339         @echo "This command is intended for maintainers to use;"
340         @echo "it deletes files that may require special tools to rebuild."
341
342 maintainer-clean: maintainer-clean-am
343
344 .PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
345 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
346 mostlyclean-compile distclean-compile clean-compile \
347 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
348 clean-libtool maintainer-clean-libtool uninstall-binSCRIPTS \
349 install-binSCRIPTS tags mostlyclean-tags distclean-tags clean-tags \
350 maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
351 clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
352 check-am installcheck-am installcheck install-exec-am install-exec \
353 install-data-am install-data install-am install uninstall-am uninstall \
354 all-redirect all-am all installdirs mostlyclean-generic \
355 distclean-generic clean-generic maintainer-clean-generic clean \
356 mostlyclean distclean maintainer-clean
357
358
359 # Tell versions [3.59,3.63) of GNU make to not export all variables.
360 # Otherwise a system limit (for SysV at least) may be exceeded.
361 .NOEXPORT: