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