1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
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.
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
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 host_alias = @host_alias@
63 ASNMODULE = @ASNMODULE@
68 ILLMODULE = @ILLMODULE@
70 LIBTHREAD = @LIBTHREAD@
78 READLINE_LIBS = @READLINE_LIBS@
79 SUBDIRS_VAR = @SUBDIRS_VAR@
81 YAZ_SRC_ROOT = @YAZ_SRC_ROOT@
83 bin_PROGRAMS = yaz-ztest
85 yaz_ztest_SOURCES = ztest.c read-grs.c
87 EXTRA_DIST = dummy-records dummy-words dummy-grs
89 @ISTHR_TRUE@extra = ../lib/libyazthread.la
90 yaz_ztest_LDADD = $(extra) ../lib/libyaz.la $(LIBTHREAD)
92 INCLUDES = -I$(srcdir)/../include
93 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
95 PROGRAMS = $(bin_PROGRAMS)
98 DEFS = @DEFS@ -I. -I$(srcdir)
102 yaz_ztest_OBJECTS = ztest.o read-grs.o
103 @ISTHR_TRUE@yaz_ztest_DEPENDENCIES = ../lib/libyazthread.la \
104 @ISTHR_TRUE@../lib/libyaz.la
105 @ISTHR_FALSE@yaz_ztest_DEPENDENCIES = ../lib/libyaz.la
108 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
109 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
111 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
112 DIST_COMMON = Makefile.am Makefile.in
115 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
119 DEP_FILES = .deps/read-grs.P .deps/ztest.P
120 SOURCES = $(yaz_ztest_SOURCES)
121 OBJECTS = $(yaz_ztest_OBJECTS)
125 .SUFFIXES: .S .c .lo .o .s
126 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
127 cd $(top_srcdir) && $(AUTOMAKE) --gnu ztest/Makefile
129 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
131 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
134 mostlyclean-binPROGRAMS:
137 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
139 distclean-binPROGRAMS:
141 maintainer-clean-binPROGRAMS:
143 install-binPROGRAMS: $(bin_PROGRAMS)
145 $(mkinstalldirs) $(DESTDIR)$(bindir)
146 @list='$(bin_PROGRAMS)'; for p in $$list; do \
147 if test -f $$p; then \
148 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
149 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
153 uninstall-binPROGRAMS:
155 list='$(bin_PROGRAMS)'; for p in $$list; do \
156 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
166 -rm -f *.o core *.core
173 maintainer-clean-compile:
176 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
179 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
189 maintainer-clean-libtool:
191 yaz-ztest: $(yaz_ztest_OBJECTS) $(yaz_ztest_DEPENDENCIES)
193 $(LINK) $(yaz_ztest_LDFLAGS) $(yaz_ztest_OBJECTS) $(yaz_ztest_LDADD) $(LIBS)
197 ID: $(HEADERS) $(SOURCES) $(LISP)
198 list='$(SOURCES) $(HEADERS)'; \
199 unique=`for i in $$list; do echo $$i; done | \
200 awk ' { files[$$0] = 1; } \
201 END { for (i in files) print i; }'`; \
202 here=`pwd` && cd $(srcdir) \
203 && mkid -f$$here/ID $$unique $(LISP)
205 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
208 list='$(SOURCES) $(HEADERS)'; \
209 unique=`for i in $$list; do echo $$i; done | \
210 awk ' { files[$$0] = 1; } \
211 END { for (i in files) print i; }'`; \
212 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
213 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
222 maintainer-clean-tags:
224 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
228 distdir: $(DISTFILES)
229 here=`cd $(top_builddir) && pwd`; \
230 top_distdir=`cd $(top_distdir) && pwd`; \
231 distdir=`cd $(distdir) && pwd`; \
233 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ztest/Makefile
234 @for file in $(DISTFILES); do \
236 if test -d $$d/$$file; then \
237 cp -pr $$/$$file $(distdir)/$$file; \
239 test -f $(distdir)/$$file \
240 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
241 || cp -p $$d/$$file $(distdir)/$$file || :; \
245 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
247 -include $(DEP_FILES)
256 maintainer-clean-depend:
259 @echo '$(COMPILE) -c $<'; \
260 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
261 @-cp .deps/$(*F).pp .deps/$(*F).P; \
262 tr ' ' '\012' < .deps/$(*F).pp \
263 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
268 @echo '$(LTCOMPILE) -c $<'; \
269 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
270 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
271 < .deps/$(*F).pp > .deps/$(*F).P; \
272 tr ' ' '\012' < .deps/$(*F).pp \
273 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
283 installcheck: installcheck-am
284 install-exec-am: install-binPROGRAMS
285 install-exec: install-exec-am
288 install-data: install-data-am
291 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
293 uninstall-am: uninstall-binPROGRAMS
294 uninstall: uninstall-am
295 all-am: Makefile $(PROGRAMS)
298 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
300 $(mkinstalldirs) $(DESTDIR)$(bindir)
308 -rm -f Makefile $(CONFIG_CLEAN_FILES)
309 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
311 maintainer-clean-generic:
312 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
313 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
316 mostlyclean: mostlyclean-am
318 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
319 clean-depend clean-generic mostlyclean-am
323 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
324 distclean-tags distclean-depend distclean-generic \
328 distclean: distclean-am
330 maintainer-clean-am: maintainer-clean-binPROGRAMS \
331 maintainer-clean-compile maintainer-clean-libtool \
332 maintainer-clean-tags maintainer-clean-depend \
333 maintainer-clean-generic distclean-am
334 @echo "This command is intended for maintainers to use;"
335 @echo "it deletes files that may require special tools to rebuild."
337 maintainer-clean: maintainer-clean-am
339 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
340 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
341 mostlyclean-compile distclean-compile clean-compile \
342 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
343 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
344 distclean-tags clean-tags maintainer-clean-tags distdir \
345 mostlyclean-depend distclean-depend clean-depend \
346 maintainer-clean-depend info-am info dvi-am dvi check check-am \
347 installcheck-am installcheck install-exec-am install-exec \
348 install-data-am install-data install-am install uninstall-am uninstall \
349 all-redirect all-am all installdirs mostlyclean-generic \
350 distclean-generic clean-generic maintainer-clean-generic clean \
351 mostlyclean distclean maintainer-clean
354 # Tell versions [3.59,3.63) of GNU make to not export all variables.
355 # Otherwise a system limit (for SysV at least) may be exceeded.