Using YAZ_INIT for autoconf. Added template code for isamb.
[idzebra-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 CC = @CC@
61 CPP = @CPP@
62 DEFS = @DEFS@
63 MAKEINFO = @MAKEINFO@
64 PACKAGE = @PACKAGE@
65 PROGPREFIX = @PROGPREFIX@
66 RANLIB = @RANLIB@
67 SUBLIBS = @SUBLIBS@
68 TCL_INCLUDE = @TCL_INCLUDE@
69 TCL_LIB = @TCL_LIB@
70 VERSION = @VERSION@
71 YAZINC = @YAZINC@
72 YAZLALIB = @YAZLALIB@
73 YAZLIB = @YAZLIB@
74 YAZVERSION = @YAZVERSION@
75 yazconfig = @yazconfig@
76
77 noinst_LIBRARIES = libutil.a
78
79 noinst_PROGRAMS = passtest
80
81 INCLUDES = -I$(srcdir)/../include @YAZINC@
82 LDADD = libutil.a @YAZLIB@ @LIBS@
83
84 TESTS = passtest
85
86 libutil_a_SOURCES = res.c charmap.c zebramap.c passwddb.c zebra-lock.c
87
88 passtest_SOURCES = passtest.c
89
90 LIBS = 
91 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
92 CONFIG_CLEAN_FILES = 
93 LIBRARIES =  $(noinst_LIBRARIES)
94
95 CPPFLAGS = @CPPFLAGS@
96 LDFLAGS = @LDFLAGS@
97 libutil_a_LIBADD = 
98 libutil_a_OBJECTS =  res.o charmap.o zebramap.o passwddb.o zebra-lock.o
99 AR = ar
100 PROGRAMS =  $(noinst_PROGRAMS)
101
102 passtest_OBJECTS =  passtest.o
103 passtest_LDADD = $(LDADD)
104 passtest_DEPENDENCIES =  libutil.a
105 passtest_LDFLAGS = 
106 CFLAGS = @CFLAGS@
107 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
108 CCLD = $(CC)
109 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
110 DIST_COMMON =  Makefile.am Makefile.in
111
112
113 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
114
115 TAR = gtar
116 GZIP_ENV = --best
117 DEP_FILES =  .deps/charmap.P .deps/passtest.P .deps/passwddb.P \
118 .deps/res.P .deps/zebra-lock.P .deps/zebramap.P
119 SOURCES = $(libutil_a_SOURCES) $(passtest_SOURCES)
120 OBJECTS = $(libutil_a_OBJECTS) $(passtest_OBJECTS)
121
122 all: all-redirect
123 .SUFFIXES:
124 .SUFFIXES: .S .c .o .s
125 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
126         cd $(top_srcdir) && $(AUTOMAKE) --gnu util/Makefile
127
128 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
129         cd $(top_builddir) \
130           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
131
132
133 mostlyclean-noinstLIBRARIES:
134
135 clean-noinstLIBRARIES:
136         -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
137
138 distclean-noinstLIBRARIES:
139
140 maintainer-clean-noinstLIBRARIES:
141
142 .s.o:
143         $(COMPILE) -c $<
144
145 .S.o:
146         $(COMPILE) -c $<
147
148 mostlyclean-compile:
149         -rm -f *.o core *.core
150
151 clean-compile:
152
153 distclean-compile:
154         -rm -f *.tab.c
155
156 maintainer-clean-compile:
157
158 libutil.a: $(libutil_a_OBJECTS) $(libutil_a_DEPENDENCIES)
159         -rm -f libutil.a
160         $(AR) cru libutil.a $(libutil_a_OBJECTS) $(libutil_a_LIBADD)
161         $(RANLIB) libutil.a
162
163 mostlyclean-noinstPROGRAMS:
164
165 clean-noinstPROGRAMS:
166         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
167
168 distclean-noinstPROGRAMS:
169
170 maintainer-clean-noinstPROGRAMS:
171
172 passtest: $(passtest_OBJECTS) $(passtest_DEPENDENCIES)
173         @rm -f passtest
174         $(LINK) $(passtest_LDFLAGS) $(passtest_OBJECTS) $(passtest_LDADD) $(LIBS)
175
176 tags: TAGS
177
178 ID: $(HEADERS) $(SOURCES) $(LISP)
179         list='$(SOURCES) $(HEADERS)'; \
180         unique=`for i in $$list; do echo $$i; done | \
181           awk '    { files[$$0] = 1; } \
182                END { for (i in files) print i; }'`; \
183         here=`pwd` && cd $(srcdir) \
184           && mkid -f$$here/ID $$unique $(LISP)
185
186 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
187         tags=; \
188         here=`pwd`; \
189         list='$(SOURCES) $(HEADERS)'; \
190         unique=`for i in $$list; do echo $$i; done | \
191           awk '    { files[$$0] = 1; } \
192                END { for (i in files) print i; }'`; \
193         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
194           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
195
196 mostlyclean-tags:
197
198 clean-tags:
199
200 distclean-tags:
201         -rm -f TAGS ID
202
203 maintainer-clean-tags:
204
205 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
206
207 subdir = util
208
209 distdir: $(DISTFILES)
210         here=`cd $(top_builddir) && pwd`; \
211         top_distdir=`cd $(top_distdir) && pwd`; \
212         distdir=`cd $(distdir) && pwd`; \
213         cd $(top_srcdir) \
214           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu util/Makefile
215         @for file in $(DISTFILES); do \
216           d=$(srcdir); \
217           if test -d $$d/$$file; then \
218             cp -pr $$/$$file $(distdir)/$$file; \
219           else \
220             test -f $(distdir)/$$file \
221             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
222             || cp -p $$d/$$file $(distdir)/$$file || :; \
223           fi; \
224         done
225
226 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
227
228 -include $(DEP_FILES)
229
230 mostlyclean-depend:
231
232 clean-depend:
233
234 distclean-depend:
235         -rm -rf .deps
236
237 maintainer-clean-depend:
238
239 %.o: %.c
240         @echo '$(COMPILE) -c $<'; \
241         $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
242         @-cp .deps/$(*F).pp .deps/$(*F).P; \
243         tr ' ' '\012' < .deps/$(*F).pp \
244           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
245             >> .deps/$(*F).P; \
246         rm .deps/$(*F).pp
247
248 %.lo: %.c
249         @echo '$(LTCOMPILE) -c $<'; \
250         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
251         @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
252           < .deps/$(*F).pp > .deps/$(*F).P; \
253         tr ' ' '\012' < .deps/$(*F).pp \
254           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
255             >> .deps/$(*F).P; \
256         rm -f .deps/$(*F).pp
257 check-TESTS: $(TESTS)
258         @failed=0; all=0; \
259         srcdir=$(srcdir); export srcdir; \
260         for tst in $(TESTS); do \
261           if test -f $$tst; then dir=.; \
262           else dir="$(srcdir)"; fi; \
263           if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
264             all=`expr $$all + 1`; \
265             echo "PASS: $$tst"; \
266           elif test $$? -ne 77; then \
267             all=`expr $$all + 1`; \
268             failed=`expr $$failed + 1`; \
269             echo "FAIL: $$tst"; \
270           fi; \
271         done; \
272         if test "$$failed" -eq 0; then \
273           banner="All $$all tests passed"; \
274         else \
275           banner="$$failed of $$all tests failed"; \
276         fi; \
277         dashes=`echo "$$banner" | sed s/./=/g`; \
278         echo "$$dashes"; \
279         echo "$$banner"; \
280         echo "$$dashes"; \
281         test "$$failed" -eq 0
282 info-am:
283 info: info-am
284 dvi-am:
285 dvi: dvi-am
286 check-am: all-am
287         $(MAKE) $(AM_MAKEFLAGS) check-TESTS
288 check: check-am
289 installcheck-am:
290 installcheck: installcheck-am
291 install-exec-am:
292 install-exec: install-exec-am
293
294 install-data-am:
295 install-data: install-data-am
296
297 install-am: all-am
298         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
299 install: install-am
300 uninstall-am:
301 uninstall: uninstall-am
302 all-am: Makefile $(LIBRARIES) $(PROGRAMS)
303 all-redirect: all-am
304 install-strip:
305         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
306 installdirs:
307
308
309 mostlyclean-generic:
310
311 clean-generic:
312
313 distclean-generic:
314         -rm -f Makefile $(CONFIG_CLEAN_FILES)
315         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
316
317 maintainer-clean-generic:
318 mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
319                 mostlyclean-noinstPROGRAMS mostlyclean-tags \
320                 mostlyclean-depend mostlyclean-generic
321
322 mostlyclean: mostlyclean-am
323
324 clean-am:  clean-noinstLIBRARIES clean-compile clean-noinstPROGRAMS \
325                 clean-tags clean-depend clean-generic mostlyclean-am
326
327 clean: clean-am
328
329 distclean-am:  distclean-noinstLIBRARIES distclean-compile \
330                 distclean-noinstPROGRAMS distclean-tags \
331                 distclean-depend distclean-generic clean-am
332
333 distclean: distclean-am
334
335 maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
336                 maintainer-clean-compile \
337                 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
338                 maintainer-clean-depend maintainer-clean-generic \
339                 distclean-am
340         @echo "This command is intended for maintainers to use;"
341         @echo "it deletes files that may require special tools to rebuild."
342
343 maintainer-clean: maintainer-clean-am
344
345 .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
346 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
347 mostlyclean-compile distclean-compile clean-compile \
348 maintainer-clean-compile mostlyclean-noinstPROGRAMS \
349 distclean-noinstPROGRAMS clean-noinstPROGRAMS \
350 maintainer-clean-noinstPROGRAMS tags mostlyclean-tags distclean-tags \
351 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
352 distclean-depend clean-depend maintainer-clean-depend check-TESTS \
353 info-am info dvi-am dvi check check-am installcheck-am installcheck \
354 install-exec-am install-exec install-data-am install-data install-am \
355 install uninstall-am uninstall all-redirect all-am all installdirs \
356 mostlyclean-generic distclean-generic clean-generic \
357 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
358
359
360 # Tell versions [3.59,3.63) of GNU make to not export all variables.
361 # Otherwise a system limit (for SysV at least) may be exceeded.
362 .NOEXPORT: