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