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