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