Moved header files to include/yaz++. Switched to libtool and automake.
[yazpp-moved-to-github.git] / src / 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 CC = @CC@
64 CPP = @CPP@
65 CXX = @CXX@
66 DLLTOOL = @DLLTOOL@
67 LD = @LD@
68 LIBTOOL = @LIBTOOL@
69 LN_S = @LN_S@
70 MAKEINFO = @MAKEINFO@
71 NM = @NM@
72 OBJDUMP = @OBJDUMP@
73 PACKAGE = @PACKAGE@
74 RANLIB = @RANLIB@
75 VERSION = @VERSION@
76 YAZINC = @YAZINC@
77 YAZLALIB = @YAZLALIB@
78 YAZLIB = @YAZLIB@
79 YAZPP_SRC_ROOT = @YAZPP_SRC_ROOT@
80 YAZVERSION = @YAZVERSION@
81 yazconfig = @yazconfig@
82
83 INCLUDES = $(YAZINC) -I../include
84
85 lib_LTLIBRARIES = libyaz++.la
86
87 libyaz___la_SOURCES = yaz-socket-manager.cpp yaz-pdu-assoc.cpp  yaz-z-assoc.cpp yaz-proxy.cpp yaz-z-query.cpp yaz-ir-assoc.cpp  yaz-z-server.cpp
88
89
90 libyaz___la_LDFLAGS = -version-info 0:0:0
91
92 bin_PROGRAMS = yaz-client++ yaz-server++ yaz-proxy
93 bin_SCRIPTS = yaz++-config
94
95 yaz_client___SOURCES = yaz-client.cpp
96
97 yaz_server___SOURCES = yaz-server.cpp
98
99 yaz_proxy_SOURCES = yaz-proxy-main.cpp
100
101 LDADD = libyaz++.la $(YAZLALIB) -lpthread
102 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
103 CONFIG_CLEAN_FILES =  yaz++-config
104 LTLIBRARIES =  $(lib_LTLIBRARIES)
105
106
107 DEFS = @DEFS@ -I. -I$(srcdir) 
108 CPPFLAGS = @CPPFLAGS@
109 LDFLAGS = @LDFLAGS@
110 LIBS = @LIBS@
111 libyaz___la_LIBADD = 
112 libyaz___la_OBJECTS =  yaz-socket-manager.lo yaz-pdu-assoc.lo \
113 yaz-z-assoc.lo yaz-proxy.lo yaz-z-query.lo yaz-ir-assoc.lo \
114 yaz-z-server.lo
115 PROGRAMS =  $(bin_PROGRAMS)
116
117 yaz_client___OBJECTS =  yaz-client.o
118 yaz_client___LDADD = $(LDADD)
119 yaz_client___DEPENDENCIES =  libyaz++.la
120 yaz_client___LDFLAGS = 
121 yaz_server___OBJECTS =  yaz-server.o
122 yaz_server___LDADD = $(LDADD)
123 yaz_server___DEPENDENCIES =  libyaz++.la
124 yaz_server___LDFLAGS = 
125 yaz_proxy_OBJECTS =  yaz-proxy-main.o
126 yaz_proxy_LDADD = $(LDADD)
127 yaz_proxy_DEPENDENCIES =  libyaz++.la
128 yaz_proxy_LDFLAGS = 
129 SCRIPTS =  $(bin_SCRIPTS)
130
131 CXXFLAGS = @CXXFLAGS@
132 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
133 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
134 CXXLD = $(CXX)
135 CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
136 DIST_COMMON =  Makefile.am Makefile.in yaz++-config.in
137
138
139 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
140
141 TAR = gtar
142 GZIP_ENV = --best
143 DEP_FILES =  .deps/yaz-client.P .deps/yaz-ir-assoc.P \
144 .deps/yaz-pdu-assoc.P .deps/yaz-proxy-main.P .deps/yaz-proxy.P \
145 .deps/yaz-server.P .deps/yaz-socket-manager.P .deps/yaz-z-assoc.P \
146 .deps/yaz-z-query.P .deps/yaz-z-server.P
147 SOURCES = $(libyaz___la_SOURCES) $(yaz_client___SOURCES) $(yaz_server___SOURCES) $(yaz_proxy_SOURCES)
148 OBJECTS = $(libyaz___la_OBJECTS) $(yaz_client___OBJECTS) $(yaz_server___OBJECTS) $(yaz_proxy_OBJECTS)
149
150 all: all-redirect
151 .SUFFIXES:
152 .SUFFIXES: .S .c .cpp .lo .o .s
153 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
154         cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
155
156 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
157         cd $(top_builddir) \
158           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
159
160 yaz++-config: $(top_builddir)/config.status yaz++-config.in
161         cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
162
163 mostlyclean-libLTLIBRARIES:
164
165 clean-libLTLIBRARIES:
166         -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
167
168 distclean-libLTLIBRARIES:
169
170 maintainer-clean-libLTLIBRARIES:
171
172 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
173         @$(NORMAL_INSTALL)
174         $(mkinstalldirs) $(DESTDIR)$(libdir)
175         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
176           if test -f $$p; then \
177             echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
178             $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
179           else :; fi; \
180         done
181
182 uninstall-libLTLIBRARIES:
183         @$(NORMAL_UNINSTALL)
184         list='$(lib_LTLIBRARIES)'; for p in $$list; do \
185           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
186         done
187
188 .s.o:
189         $(COMPILE) -c $<
190
191 .S.o:
192         $(COMPILE) -c $<
193
194 mostlyclean-compile:
195         -rm -f *.o core *.core
196
197 clean-compile:
198
199 distclean-compile:
200         -rm -f *.tab.c
201
202 maintainer-clean-compile:
203
204 .s.lo:
205         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
206
207 .S.lo:
208         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
209
210 mostlyclean-libtool:
211         -rm -f *.lo
212
213 clean-libtool:
214         -rm -rf .libs _libs
215
216 distclean-libtool:
217
218 maintainer-clean-libtool:
219
220 libyaz++.la: $(libyaz___la_OBJECTS) $(libyaz___la_DEPENDENCIES)
221         $(CXXLINK) -rpath $(libdir) $(libyaz___la_LDFLAGS) $(libyaz___la_OBJECTS) $(libyaz___la_LIBADD) $(LIBS)
222
223 mostlyclean-binPROGRAMS:
224
225 clean-binPROGRAMS:
226         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
227
228 distclean-binPROGRAMS:
229
230 maintainer-clean-binPROGRAMS:
231
232 install-binPROGRAMS: $(bin_PROGRAMS)
233         @$(NORMAL_INSTALL)
234         $(mkinstalldirs) $(DESTDIR)$(bindir)
235         @list='$(bin_PROGRAMS)'; for p in $$list; do \
236           if test -f $$p; then \
237             echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
238             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
239           else :; fi; \
240         done
241
242 uninstall-binPROGRAMS:
243         @$(NORMAL_UNINSTALL)
244         list='$(bin_PROGRAMS)'; for p in $$list; do \
245           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
246         done
247
248 yaz-client++: $(yaz_client___OBJECTS) $(yaz_client___DEPENDENCIES)
249         @rm -f yaz-client++
250         $(CXXLINK) $(yaz_client___LDFLAGS) $(yaz_client___OBJECTS) $(yaz_client___LDADD) $(LIBS)
251
252 yaz-server++: $(yaz_server___OBJECTS) $(yaz_server___DEPENDENCIES)
253         @rm -f yaz-server++
254         $(CXXLINK) $(yaz_server___LDFLAGS) $(yaz_server___OBJECTS) $(yaz_server___LDADD) $(LIBS)
255
256 yaz-proxy: $(yaz_proxy_OBJECTS) $(yaz_proxy_DEPENDENCIES)
257         @rm -f yaz-proxy
258         $(CXXLINK) $(yaz_proxy_LDFLAGS) $(yaz_proxy_OBJECTS) $(yaz_proxy_LDADD) $(LIBS)
259
260 install-binSCRIPTS: $(bin_SCRIPTS)
261         @$(NORMAL_INSTALL)
262         $(mkinstalldirs) $(DESTDIR)$(bindir)
263         @list='$(bin_SCRIPTS)'; for p in $$list; do \
264           if test -f $$p; then \
265             echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
266             $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
267           else if test -f $(srcdir)/$$p; then \
268             echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
269             $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
270           else :; fi; fi; \
271         done
272
273 uninstall-binSCRIPTS:
274         @$(NORMAL_UNINSTALL)
275         list='$(bin_SCRIPTS)'; for p in $$list; do \
276           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
277         done
278 .cpp.o:
279         $(CXXCOMPILE) -c $<
280 .cpp.lo:
281         $(LTCXXCOMPILE) -c $<
282
283 tags: TAGS
284
285 ID: $(HEADERS) $(SOURCES) $(LISP)
286         list='$(SOURCES) $(HEADERS)'; \
287         unique=`for i in $$list; do echo $$i; done | \
288           awk '    { files[$$0] = 1; } \
289                END { for (i in files) print i; }'`; \
290         here=`pwd` && cd $(srcdir) \
291           && mkid -f$$here/ID $$unique $(LISP)
292
293 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
294         tags=; \
295         here=`pwd`; \
296         list='$(SOURCES) $(HEADERS)'; \
297         unique=`for i in $$list; do echo $$i; done | \
298           awk '    { files[$$0] = 1; } \
299                END { for (i in files) print i; }'`; \
300         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
301           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
302
303 mostlyclean-tags:
304
305 clean-tags:
306
307 distclean-tags:
308         -rm -f TAGS ID
309
310 maintainer-clean-tags:
311
312 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
313
314 subdir = src
315
316 distdir: $(DISTFILES)
317         here=`cd $(top_builddir) && pwd`; \
318         top_distdir=`cd $(top_distdir) && pwd`; \
319         distdir=`cd $(distdir) && pwd`; \
320         cd $(top_srcdir) \
321           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
322         @for file in $(DISTFILES); do \
323           d=$(srcdir); \
324           if test -d $$d/$$file; then \
325             cp -pr $$/$$file $(distdir)/$$file; \
326           else \
327             test -f $(distdir)/$$file \
328             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
329             || cp -p $$d/$$file $(distdir)/$$file || :; \
330           fi; \
331         done
332
333 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
334
335 -include $(DEP_FILES)
336
337 mostlyclean-depend:
338
339 clean-depend:
340
341 distclean-depend:
342         -rm -rf .deps
343
344 maintainer-clean-depend:
345
346 %.o: %.c
347         @echo '$(COMPILE) -c $<'; \
348         $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
349         @-cp .deps/$(*F).pp .deps/$(*F).P; \
350         tr ' ' '\012' < .deps/$(*F).pp \
351           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
352             >> .deps/$(*F).P; \
353         rm .deps/$(*F).pp
354
355 %.lo: %.c
356         @echo '$(LTCOMPILE) -c $<'; \
357         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
358         @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
359           < .deps/$(*F).pp > .deps/$(*F).P; \
360         tr ' ' '\012' < .deps/$(*F).pp \
361           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
362             >> .deps/$(*F).P; \
363         rm -f .deps/$(*F).pp
364
365 %.o: %.cpp
366         @echo '$(CXXCOMPILE) -c $<'; \
367         $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
368         @-cp .deps/$(*F).pp .deps/$(*F).P; \
369         tr ' ' '\012' < .deps/$(*F).pp \
370           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
371             >> .deps/$(*F).P; \
372         rm .deps/$(*F).pp
373
374 %.lo: %.cpp
375         @echo '$(LTCXXCOMPILE) -c $<'; \
376         $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
377         @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
378           < .deps/$(*F).pp > .deps/$(*F).P; \
379         tr ' ' '\012' < .deps/$(*F).pp \
380           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
381             >> .deps/$(*F).P; \
382         rm -f .deps/$(*F).pp
383 info-am:
384 info: info-am
385 dvi-am:
386 dvi: dvi-am
387 check-am: all-am
388 check: check-am
389 installcheck-am:
390 installcheck: installcheck-am
391 install-exec-am: install-libLTLIBRARIES install-binPROGRAMS \
392                 install-binSCRIPTS
393 install-exec: install-exec-am
394
395 install-data-am:
396 install-data: install-data-am
397
398 install-am: all-am
399         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
400 install: install-am
401 uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
402                 uninstall-binSCRIPTS
403 uninstall: uninstall-am
404 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS)
405 all-redirect: all-am
406 install-strip:
407         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
408 installdirs:
409         $(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
410                 $(DESTDIR)$(bindir)
411
412
413 mostlyclean-generic:
414
415 clean-generic:
416
417 distclean-generic:
418         -rm -f Makefile $(CONFIG_CLEAN_FILES)
419         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
420
421 maintainer-clean-generic:
422 mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
423                 mostlyclean-libtool mostlyclean-binPROGRAMS \
424                 mostlyclean-tags mostlyclean-depend mostlyclean-generic
425
426 mostlyclean: mostlyclean-am
427
428 clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
429                 clean-binPROGRAMS clean-tags clean-depend clean-generic \
430                 mostlyclean-am
431
432 clean: clean-am
433
434 distclean-am:  distclean-libLTLIBRARIES distclean-compile \
435                 distclean-libtool distclean-binPROGRAMS distclean-tags \
436                 distclean-depend distclean-generic clean-am
437         -rm -f libtool
438
439 distclean: distclean-am
440
441 maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
442                 maintainer-clean-compile maintainer-clean-libtool \
443                 maintainer-clean-binPROGRAMS maintainer-clean-tags \
444                 maintainer-clean-depend maintainer-clean-generic \
445                 distclean-am
446         @echo "This command is intended for maintainers to use;"
447         @echo "it deletes files that may require special tools to rebuild."
448
449 maintainer-clean: maintainer-clean-am
450
451 .PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
452 clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
453 uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
454 distclean-compile clean-compile maintainer-clean-compile \
455 mostlyclean-libtool distclean-libtool clean-libtool \
456 maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
457 clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
458 install-binPROGRAMS uninstall-binSCRIPTS install-binSCRIPTS tags \
459 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
460 distdir mostlyclean-depend distclean-depend clean-depend \
461 maintainer-clean-depend info-am info dvi-am dvi check check-am \
462 installcheck-am installcheck install-exec-am install-exec \
463 install-data-am install-data install-am install uninstall-am uninstall \
464 all-redirect all-am all installdirs mostlyclean-generic \
465 distclean-generic clean-generic maintainer-clean-generic clean \
466 mostlyclean distclean maintainer-clean
467
468
469 # Tell versions [3.59,3.63) of GNU make to not export all variables.
470 # Otherwise a system limit (for SysV at least) may be exceeded.
471 .NOEXPORT: