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