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