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