Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL.
[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 # Copyright (C) 1994-2000, Index Data
14 # All rights reserved.
15 # $Id: Makefile.in,v 1.9 2000-02-28 11:20:06 adam Exp $
16
17
18 SHELL = @SHELL@
19
20 srcdir = @srcdir@
21 top_srcdir = @top_srcdir@
22 VPATH = @srcdir@
23 prefix = @prefix@
24 exec_prefix = @exec_prefix@
25
26 bindir = @bindir@
27 sbindir = @sbindir@
28 libexecdir = @libexecdir@
29 datadir = @datadir@
30 sysconfdir = @sysconfdir@
31 sharedstatedir = @sharedstatedir@
32 localstatedir = @localstatedir@
33 libdir = @libdir@
34 infodir = @infodir@
35 mandir = @mandir@
36 includedir = @includedir@
37 oldincludedir = /usr/include
38
39 DESTDIR =
40
41 pkgdatadir = $(datadir)/@PACKAGE@
42 pkglibdir = $(libdir)/@PACKAGE@
43 pkgincludedir = $(includedir)/@PACKAGE@
44
45 top_builddir = ..
46
47 ACLOCAL = @ACLOCAL@
48 AUTOCONF = @AUTOCONF@
49 AUTOMAKE = @AUTOMAKE@
50 AUTOHEADER = @AUTOHEADER@
51
52 INSTALL = @INSTALL@
53 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
54 INSTALL_DATA = @INSTALL_DATA@
55 INSTALL_SCRIPT = @INSTALL_SCRIPT@
56 transform = @program_transform_name@
57
58 NORMAL_INSTALL = :
59 PRE_INSTALL = :
60 POST_INSTALL = :
61 NORMAL_UNINSTALL = :
62 PRE_UNINSTALL = :
63 POST_UNINSTALL = :
64 ASNMODULE = @ASNMODULE@
65 CC = @CC@
66 CPP = @CPP@
67 ILLLIB = @ILLLIB@
68 ILLMODULE = @ILLMODULE@
69 MAKEINFO = @MAKEINFO@
70 PACKAGE = @PACKAGE@
71 RANLIB = @RANLIB@
72 SUBDIRS_VAR = @SUBDIRS_VAR@
73 VERSION = @VERSION@
74
75 noinst_LIBRARIES = libutil.a
76 EXTRA_DIST = yc.tcl 
77
78 INCLUDES = -I../include 
79 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 
80
81 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
82 CONFIG_HEADER = ../include/yaz/config.h
83 CONFIG_CLEAN_FILES = 
84 LIBRARIES =  $(noinst_LIBRARIES)
85
86
87 DEFS = @DEFS@ -I. -I$(srcdir) -I../include/yaz
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 CFLAGS = @CFLAGS@
96 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
97 CCLD = $(CC)
98 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
99 DIST_COMMON =  Makefile.am Makefile.in
100
101
102 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
103
104 TAR = gtar
105 GZIP_ENV = --best
106 DEP_FILES =  .deps/atoin.P .deps/log.P .deps/marcdisp.P .deps/matchstr.P \
107 .deps/nmem.P .deps/nmemsdup.P .deps/oid.P .deps/options.P \
108 .deps/readconf.P .deps/tpath.P .deps/wrbuf.P .deps/xmalloc.P
109 SOURCES = $(libutil_a_SOURCES)
110 OBJECTS = $(libutil_a_OBJECTS)
111
112 all: all-redirect
113 .SUFFIXES:
114 .SUFFIXES: .S .c .o .s
115 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
116         cd $(top_srcdir) && $(AUTOMAKE) --gnu util/Makefile
117
118 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
119         cd $(top_builddir) \
120           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
121
122
123 mostlyclean-noinstLIBRARIES:
124
125 clean-noinstLIBRARIES:
126         -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
127
128 distclean-noinstLIBRARIES:
129
130 maintainer-clean-noinstLIBRARIES:
131
132 .s.o:
133         $(COMPILE) -c $<
134
135 .S.o:
136         $(COMPILE) -c $<
137
138 mostlyclean-compile:
139         -rm -f *.o core *.core
140
141 clean-compile:
142
143 distclean-compile:
144         -rm -f *.tab.c
145
146 maintainer-clean-compile:
147
148 libutil.a: $(libutil_a_OBJECTS) $(libutil_a_DEPENDENCIES)
149         -rm -f libutil.a
150         $(AR) cru libutil.a $(libutil_a_OBJECTS) $(libutil_a_LIBADD)
151         $(RANLIB) libutil.a
152
153 tags: TAGS
154
155 ID: $(HEADERS) $(SOURCES) $(LISP)
156         list='$(SOURCES) $(HEADERS)'; \
157         unique=`for i in $$list; do echo $$i; done | \
158           awk '    { files[$$0] = 1; } \
159                END { for (i in files) print i; }'`; \
160         here=`pwd` && cd $(srcdir) \
161           && mkid -f$$here/ID $$unique $(LISP)
162
163 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
164         tags=; \
165         here=`pwd`; \
166         list='$(SOURCES) $(HEADERS)'; \
167         unique=`for i in $$list; do echo $$i; done | \
168           awk '    { files[$$0] = 1; } \
169                END { for (i in files) print i; }'`; \
170         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
171           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
172
173 mostlyclean-tags:
174
175 clean-tags:
176
177 distclean-tags:
178         -rm -f TAGS ID
179
180 maintainer-clean-tags:
181
182 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
183
184 subdir = util
185
186 distdir: $(DISTFILES)
187         here=`cd $(top_builddir) && pwd`; \
188         top_distdir=`cd $(top_distdir) && pwd`; \
189         distdir=`cd $(distdir) && pwd`; \
190         cd $(top_srcdir) \
191           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu util/Makefile
192         @for file in $(DISTFILES); do \
193           d=$(srcdir); \
194           if test -d $$d/$$file; then \
195             cp -pr $$/$$file $(distdir)/$$file; \
196           else \
197             test -f $(distdir)/$$file \
198             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
199             || cp -p $$d/$$file $(distdir)/$$file || :; \
200           fi; \
201         done
202
203 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
204
205 -include $(DEP_FILES)
206
207 mostlyclean-depend:
208
209 clean-depend:
210
211 distclean-depend:
212         -rm -rf .deps
213
214 maintainer-clean-depend:
215
216 %.o: %.c
217         @echo '$(COMPILE) -c $<'; \
218         $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
219         @-cp .deps/$(*F).pp .deps/$(*F).P; \
220         tr ' ' '\012' < .deps/$(*F).pp \
221           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
222             >> .deps/$(*F).P; \
223         rm .deps/$(*F).pp
224
225 %.lo: %.c
226         @echo '$(LTCOMPILE) -c $<'; \
227         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
228         @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
229           < .deps/$(*F).pp > .deps/$(*F).P; \
230         tr ' ' '\012' < .deps/$(*F).pp \
231           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
232             >> .deps/$(*F).P; \
233         rm -f .deps/$(*F).pp
234 info-am:
235 info: info-am
236 dvi-am:
237 dvi: dvi-am
238 check-am: all-am
239 check: check-am
240 installcheck-am:
241 installcheck: installcheck-am
242 install-exec-am:
243 install-exec: install-exec-am
244
245 install-data-am:
246 install-data: install-data-am
247
248 install-am: all-am
249         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
250 install: install-am
251 uninstall-am:
252 uninstall: uninstall-am
253 all-am: Makefile $(LIBRARIES)
254 all-redirect: all-am
255 install-strip:
256         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
257 installdirs:
258
259
260 mostlyclean-generic:
261
262 clean-generic:
263
264 distclean-generic:
265         -rm -f Makefile $(CONFIG_CLEAN_FILES)
266         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
267
268 maintainer-clean-generic:
269 mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
270                 mostlyclean-tags mostlyclean-depend mostlyclean-generic
271
272 mostlyclean: mostlyclean-am
273
274 clean-am:  clean-noinstLIBRARIES clean-compile clean-tags clean-depend \
275                 clean-generic mostlyclean-am
276
277 clean: clean-am
278
279 distclean-am:  distclean-noinstLIBRARIES distclean-compile \
280                 distclean-tags distclean-depend distclean-generic \
281                 clean-am
282
283 distclean: distclean-am
284
285 maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
286                 maintainer-clean-compile maintainer-clean-tags \
287                 maintainer-clean-depend maintainer-clean-generic \
288                 distclean-am
289         @echo "This command is intended for maintainers to use;"
290         @echo "it deletes files that may require special tools to rebuild."
291
292 maintainer-clean: maintainer-clean-am
293
294 .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
295 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
296 mostlyclean-compile distclean-compile clean-compile \
297 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
298 clean-tags maintainer-clean-tags distdir mostlyclean-depend \
299 distclean-depend clean-depend maintainer-clean-depend info-am info \
300 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
301 install-exec install-data-am install-data install-am install \
302 uninstall-am uninstall all-redirect all-am all installdirs \
303 mostlyclean-generic distclean-generic clean-generic \
304 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
305
306
307 # Tell versions [3.59,3.63) of GNU make to not export all variables.
308 # Otherwise a system limit (for SysV at least) may be exceeded.
309 .NOEXPORT: