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