File yaz-config generated by configure (not Makefile).
[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 host_alias = @host_alias@
61 host_triplet = @host@
62 AS = @AS@
63 ASNMODULE = @ASNMODULE@
64 CC = @CC@
65 CPP = @CPP@
66 DLLTOOL = @DLLTOOL@
67 ILLLIB = @ILLLIB@
68 ILLMODULE = @ILLMODULE@
69 LD = @LD@
70 LIBTOOL = @LIBTOOL@
71 LN_S = @LN_S@
72 MAKEINFO = @MAKEINFO@
73 NM = @NM@
74 OBJDUMP = @OBJDUMP@
75 PACKAGE = @PACKAGE@
76 RANLIB = @RANLIB@
77 READLINE_LIBS = @READLINE_LIBS@
78 SUBDIRS_VAR = @SUBDIRS_VAR@
79 VERSION = @VERSION@
80 YAZ_SRC_ROOT = @YAZ_SRC_ROOT@
81
82 noinst_LTLIBRARIES = libutil.la
83
84 bin_SCRIPTS = yaz-comp
85
86 EXTRA_DIST = yaz-comp
87
88 LIBS = 
89
90 INCLUDES = -I$(srcdir)/../include
91
92 noinst_PROGRAMS = marcdump
93
94 marcdump_LDADD = libutil.la 
95
96 marcdump_SOURCES = marcdump.c
97
98 libutil_la_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 
99
100 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
101 CONFIG_CLEAN_FILES = 
102 LTLIBRARIES =  $(noinst_LTLIBRARIES)
103
104
105 DEFS = @DEFS@ -I. -I$(srcdir) 
106 CPPFLAGS = @CPPFLAGS@
107 LDFLAGS = @LDFLAGS@
108 libutil_la_LDFLAGS = 
109 libutil_la_LIBADD = 
110 libutil_la_OBJECTS =  options.lo log.lo marcdisp.lo oid.lo wrbuf.lo \
111 nmemsdup.lo xmalloc.lo readconf.lo tpath.lo nmem.lo matchstr.lo \
112 atoin.lo
113 PROGRAMS =  $(noinst_PROGRAMS)
114
115 marcdump_OBJECTS =  marcdump.o
116 marcdump_DEPENDENCIES =  libutil.la
117 marcdump_LDFLAGS = 
118 SCRIPTS =  $(bin_SCRIPTS)
119
120 CFLAGS = @CFLAGS@
121 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
122 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
123 CCLD = $(CC)
124 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
125 DIST_COMMON =  Makefile.am Makefile.in
126
127
128 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
129
130 TAR = gtar
131 GZIP_ENV = --best
132 DEP_FILES =  .deps/atoin.P .deps/log.P .deps/marcdisp.P .deps/marcdump.P \
133 .deps/matchstr.P .deps/nmem.P .deps/nmemsdup.P .deps/oid.P \
134 .deps/options.P .deps/readconf.P .deps/tpath.P .deps/wrbuf.P \
135 .deps/xmalloc.P
136 SOURCES = $(libutil_la_SOURCES) $(marcdump_SOURCES)
137 OBJECTS = $(libutil_la_OBJECTS) $(marcdump_OBJECTS)
138
139 all: all-redirect
140 .SUFFIXES:
141 .SUFFIXES: .S .c .lo .o .s
142 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
143         cd $(top_srcdir) && $(AUTOMAKE) --gnu util/Makefile
144
145 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
146         cd $(top_builddir) \
147           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
148
149
150 mostlyclean-noinstLTLIBRARIES:
151
152 clean-noinstLTLIBRARIES:
153         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
154
155 distclean-noinstLTLIBRARIES:
156
157 maintainer-clean-noinstLTLIBRARIES:
158
159 .s.o:
160         $(COMPILE) -c $<
161
162 .S.o:
163         $(COMPILE) -c $<
164
165 mostlyclean-compile:
166         -rm -f *.o core *.core
167
168 clean-compile:
169
170 distclean-compile:
171         -rm -f *.tab.c
172
173 maintainer-clean-compile:
174
175 .s.lo:
176         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
177
178 .S.lo:
179         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
180
181 mostlyclean-libtool:
182         -rm -f *.lo
183
184 clean-libtool:
185         -rm -rf .libs _libs
186
187 distclean-libtool:
188
189 maintainer-clean-libtool:
190
191 libutil.la: $(libutil_la_OBJECTS) $(libutil_la_DEPENDENCIES)
192         $(LINK)  $(libutil_la_LDFLAGS) $(libutil_la_OBJECTS) $(libutil_la_LIBADD) $(LIBS)
193
194 mostlyclean-noinstPROGRAMS:
195
196 clean-noinstPROGRAMS:
197         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
198
199 distclean-noinstPROGRAMS:
200
201 maintainer-clean-noinstPROGRAMS:
202
203 marcdump: $(marcdump_OBJECTS) $(marcdump_DEPENDENCIES)
204         @rm -f marcdump
205         $(LINK) $(marcdump_LDFLAGS) $(marcdump_OBJECTS) $(marcdump_LDADD) $(LIBS)
206
207 install-binSCRIPTS: $(bin_SCRIPTS)
208         @$(NORMAL_INSTALL)
209         $(mkinstalldirs) $(DESTDIR)$(bindir)
210         @list='$(bin_SCRIPTS)'; for p in $$list; do \
211           if test -f $$p; then \
212             echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
213             $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
214           else if test -f $(srcdir)/$$p; then \
215             echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
216             $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
217           else :; fi; fi; \
218         done
219
220 uninstall-binSCRIPTS:
221         @$(NORMAL_UNINSTALL)
222         list='$(bin_SCRIPTS)'; for p in $$list; do \
223           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
224         done
225
226 tags: TAGS
227
228 ID: $(HEADERS) $(SOURCES) $(LISP)
229         list='$(SOURCES) $(HEADERS)'; \
230         unique=`for i in $$list; do echo $$i; done | \
231           awk '    { files[$$0] = 1; } \
232                END { for (i in files) print i; }'`; \
233         here=`pwd` && cd $(srcdir) \
234           && mkid -f$$here/ID $$unique $(LISP)
235
236 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
237         tags=; \
238         here=`pwd`; \
239         list='$(SOURCES) $(HEADERS)'; \
240         unique=`for i in $$list; do echo $$i; done | \
241           awk '    { files[$$0] = 1; } \
242                END { for (i in files) print i; }'`; \
243         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
244           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
245
246 mostlyclean-tags:
247
248 clean-tags:
249
250 distclean-tags:
251         -rm -f TAGS ID
252
253 maintainer-clean-tags:
254
255 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
256
257 subdir = util
258
259 distdir: $(DISTFILES)
260         here=`cd $(top_builddir) && pwd`; \
261         top_distdir=`cd $(top_distdir) && pwd`; \
262         distdir=`cd $(distdir) && pwd`; \
263         cd $(top_srcdir) \
264           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu util/Makefile
265         @for file in $(DISTFILES); do \
266           d=$(srcdir); \
267           if test -d $$d/$$file; then \
268             cp -pr $$/$$file $(distdir)/$$file; \
269           else \
270             test -f $(distdir)/$$file \
271             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
272             || cp -p $$d/$$file $(distdir)/$$file || :; \
273           fi; \
274         done
275
276 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
277
278 -include $(DEP_FILES)
279
280 mostlyclean-depend:
281
282 clean-depend:
283
284 distclean-depend:
285         -rm -rf .deps
286
287 maintainer-clean-depend:
288
289 %.o: %.c
290         @echo '$(COMPILE) -c $<'; \
291         $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
292         @-cp .deps/$(*F).pp .deps/$(*F).P; \
293         tr ' ' '\012' < .deps/$(*F).pp \
294           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
295             >> .deps/$(*F).P; \
296         rm .deps/$(*F).pp
297
298 %.lo: %.c
299         @echo '$(LTCOMPILE) -c $<'; \
300         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
301         @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
302           < .deps/$(*F).pp > .deps/$(*F).P; \
303         tr ' ' '\012' < .deps/$(*F).pp \
304           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
305             >> .deps/$(*F).P; \
306         rm -f .deps/$(*F).pp
307 info-am:
308 info: info-am
309 dvi-am:
310 dvi: dvi-am
311 check-am: all-am
312 check: check-am
313 installcheck-am:
314 installcheck: installcheck-am
315 install-exec-am: install-binSCRIPTS
316 install-exec: install-exec-am
317
318 install-data-am:
319 install-data: install-data-am
320
321 install-am: all-am
322         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
323 install: install-am
324 uninstall-am: uninstall-binSCRIPTS
325 uninstall: uninstall-am
326 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS)
327 all-redirect: all-am
328 install-strip:
329         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
330 installdirs:
331         $(mkinstalldirs)  $(DESTDIR)$(bindir)
332
333
334 mostlyclean-generic:
335
336 clean-generic:
337
338 distclean-generic:
339         -rm -f Makefile $(CONFIG_CLEAN_FILES)
340         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
341
342 maintainer-clean-generic:
343 mostlyclean-am:  mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
344                 mostlyclean-libtool mostlyclean-noinstPROGRAMS \
345                 mostlyclean-tags mostlyclean-depend mostlyclean-generic
346
347 mostlyclean: mostlyclean-am
348
349 clean-am:  clean-noinstLTLIBRARIES clean-compile clean-libtool \
350                 clean-noinstPROGRAMS clean-tags clean-depend \
351                 clean-generic mostlyclean-am
352
353 clean: clean-am
354
355 distclean-am:  distclean-noinstLTLIBRARIES distclean-compile \
356                 distclean-libtool distclean-noinstPROGRAMS \
357                 distclean-tags distclean-depend distclean-generic \
358                 clean-am
359         -rm -f libtool
360
361 distclean: distclean-am
362
363 maintainer-clean-am:  maintainer-clean-noinstLTLIBRARIES \
364                 maintainer-clean-compile maintainer-clean-libtool \
365                 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
366                 maintainer-clean-depend maintainer-clean-generic \
367                 distclean-am
368         @echo "This command is intended for maintainers to use;"
369         @echo "it deletes files that may require special tools to rebuild."
370
371 maintainer-clean: maintainer-clean-am
372
373 .PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
374 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
375 mostlyclean-compile distclean-compile clean-compile \
376 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
377 clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
378 distclean-noinstPROGRAMS clean-noinstPROGRAMS \
379 maintainer-clean-noinstPROGRAMS uninstall-binSCRIPTS install-binSCRIPTS \
380 tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
381 distdir mostlyclean-depend distclean-depend clean-depend \
382 maintainer-clean-depend info-am info dvi-am dvi check check-am \
383 installcheck-am installcheck install-exec-am install-exec \
384 install-data-am install-data install-am install uninstall-am uninstall \
385 all-redirect all-am all installdirs mostlyclean-generic \
386 distclean-generic clean-generic maintainer-clean-generic clean \
387 mostlyclean distclean maintainer-clean
388
389
390 # Tell versions [3.59,3.63) of GNU make to not export all variables.
391 # Otherwise a system limit (for SysV at least) may be exceeded.
392 .NOEXPORT: