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