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