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