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
13 # Copyright (C) 1995-2000, Index Data
14 # All rights reserved.
15 # $Id: Makefile.in,v 1.10 2000-02-28 11:20:06 adam Exp $
21 top_srcdir = @top_srcdir@
24 exec_prefix = @exec_prefix@
28 libexecdir = @libexecdir@
30 sysconfdir = @sysconfdir@
31 sharedstatedir = @sharedstatedir@
32 localstatedir = @localstatedir@
36 includedir = @includedir@
37 oldincludedir = /usr/include
41 pkgdatadir = $(datadir)/@PACKAGE@
42 pkglibdir = $(libdir)/@PACKAGE@
43 pkgincludedir = $(includedir)/@PACKAGE@
50 AUTOHEADER = @AUTOHEADER@
53 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
54 INSTALL_DATA = @INSTALL_DATA@
55 INSTALL_SCRIPT = @INSTALL_SCRIPT@
56 transform = @program_transform_name@
64 ASNMODULE = @ASNMODULE@
68 ILLMODULE = @ILLMODULE@
72 SUBDIRS_VAR = @SUBDIRS_VAR@
75 bin_PROGRAMS = yaz-ztest
77 yaz_ztest_SOURCES = ztest.c read-grs.c
79 EXTRA_DIST = dummy-records dummy-words dummy-grs
81 INCLUDES = -I../include
83 LDADD = ../lib/libyaz.a
84 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
85 CONFIG_HEADER = ../include/yaz/config.h
87 PROGRAMS = $(bin_PROGRAMS)
90 DEFS = @DEFS@ -I. -I$(srcdir) -I../include/yaz
94 yaz_ztest_OBJECTS = ztest.o read-grs.o
95 yaz_ztest_LDADD = $(LDADD)
96 yaz_ztest_DEPENDENCIES = ../lib/libyaz.a
99 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
101 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
102 DIST_COMMON = Makefile.am Makefile.in
105 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
109 DEP_FILES = .deps/read-grs.P .deps/ztest.P
110 SOURCES = $(yaz_ztest_SOURCES)
111 OBJECTS = $(yaz_ztest_OBJECTS)
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
119 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
121 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
124 mostlyclean-binPROGRAMS:
127 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
129 distclean-binPROGRAMS:
131 maintainer-clean-binPROGRAMS:
133 install-binPROGRAMS: $(bin_PROGRAMS)
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)/'`; \
143 uninstall-binPROGRAMS:
145 list='$(bin_PROGRAMS)'; for p in $$list; do \
146 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
156 -rm -f *.o core *.core
163 maintainer-clean-compile:
165 yaz-ztest: $(yaz_ztest_OBJECTS) $(yaz_ztest_DEPENDENCIES)
167 $(LINK) $(yaz_ztest_LDFLAGS) $(yaz_ztest_OBJECTS) $(yaz_ztest_LDADD) $(LIBS)
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)
179 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
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)
196 maintainer-clean-tags:
198 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
202 distdir: $(DISTFILES)
203 here=`cd $(top_builddir) && pwd`; \
204 top_distdir=`cd $(top_distdir) && pwd`; \
205 distdir=`cd $(distdir) && pwd`; \
207 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ztest/Makefile
208 @for file in $(DISTFILES); do \
210 if test -d $$d/$$file; then \
211 cp -pr $$/$$file $(distdir)/$$file; \
213 test -f $(distdir)/$$file \
214 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
215 || cp -p $$d/$$file $(distdir)/$$file || :; \
219 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
221 -include $(DEP_FILES)
230 maintainer-clean-depend:
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/$$/ :/' \
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/$$/ :/' \
257 installcheck: installcheck-am
258 install-exec-am: install-binPROGRAMS
259 install-exec: install-exec-am
262 install-data: install-data-am
265 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
267 uninstall-am: uninstall-binPROGRAMS
268 uninstall: uninstall-am
269 all-am: Makefile $(PROGRAMS)
272 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
274 $(mkinstalldirs) $(DESTDIR)$(bindir)
282 -rm -f Makefile $(CONFIG_CLEAN_FILES)
283 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
285 maintainer-clean-generic:
286 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
287 mostlyclean-tags mostlyclean-depend mostlyclean-generic
289 mostlyclean: mostlyclean-am
291 clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \
292 clean-generic mostlyclean-am
296 distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \
297 distclean-depend distclean-generic clean-am
299 distclean: distclean-am
301 maintainer-clean-am: maintainer-clean-binPROGRAMS \
302 maintainer-clean-compile maintainer-clean-tags \
303 maintainer-clean-depend maintainer-clean-generic \
305 @echo "This command is intended for maintainers to use;"
306 @echo "it deletes files that may require special tools to rebuild."
308 maintainer-clean: maintainer-clean-am
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
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.