1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
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.
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
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 host_alias = @host_alias@
79 YAZPP_SRC_ROOT = @YAZPP_SRC_ROOT@
80 YAZVERSION = @YAZVERSION@
81 yazconfig = @yazconfig@
83 INCLUDES = $(YAZINC) -I../include
85 lib_LTLIBRARIES = libyaz++.la
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
90 libyaz___la_LDFLAGS = -version-info 0:0:0
92 bin_PROGRAMS = yaz-client++ yaz-server++ yaz-proxy
93 bin_SCRIPTS = yaz++-config
95 yaz_client___SOURCES = yaz-client.cpp
97 yaz_server___SOURCES = yaz-server.cpp
99 yaz_proxy_SOURCES = yaz-proxy-main.cpp
101 LDADD = libyaz++.la $(YAZLALIB) -lpthread
102 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
103 CONFIG_CLEAN_FILES = yaz++-config
104 LTLIBRARIES = $(lib_LTLIBRARIES)
107 DEFS = @DEFS@ -I. -I$(srcdir)
108 CPPFLAGS = @CPPFLAGS@
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 \
115 PROGRAMS = $(bin_PROGRAMS)
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
129 SCRIPTS = $(bin_SCRIPTS)
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)
135 CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
136 DIST_COMMON = Makefile.am Makefile.in yaz++-config.in
139 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
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)
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
156 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
158 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
160 yaz++-config: $(top_builddir)/config.status yaz++-config.in
161 cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
163 mostlyclean-libLTLIBRARIES:
165 clean-libLTLIBRARIES:
166 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
168 distclean-libLTLIBRARIES:
170 maintainer-clean-libLTLIBRARIES:
172 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
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; \
182 uninstall-libLTLIBRARIES:
184 list='$(lib_LTLIBRARIES)'; for p in $$list; do \
185 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
195 -rm -f *.o core *.core
202 maintainer-clean-compile:
205 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
208 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
218 maintainer-clean-libtool:
220 libyaz++.la: $(libyaz___la_OBJECTS) $(libyaz___la_DEPENDENCIES)
221 $(CXXLINK) -rpath $(libdir) $(libyaz___la_LDFLAGS) $(libyaz___la_OBJECTS) $(libyaz___la_LIBADD) $(LIBS)
223 mostlyclean-binPROGRAMS:
226 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
228 distclean-binPROGRAMS:
230 maintainer-clean-binPROGRAMS:
232 install-binPROGRAMS: $(bin_PROGRAMS)
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)/'`; \
242 uninstall-binPROGRAMS:
244 list='$(bin_PROGRAMS)'; for p in $$list; do \
245 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
248 yaz-client++: $(yaz_client___OBJECTS) $(yaz_client___DEPENDENCIES)
250 $(CXXLINK) $(yaz_client___LDFLAGS) $(yaz_client___OBJECTS) $(yaz_client___LDADD) $(LIBS)
252 yaz-server++: $(yaz_server___OBJECTS) $(yaz_server___DEPENDENCIES)
254 $(CXXLINK) $(yaz_server___LDFLAGS) $(yaz_server___OBJECTS) $(yaz_server___LDADD) $(LIBS)
256 yaz-proxy: $(yaz_proxy_OBJECTS) $(yaz_proxy_DEPENDENCIES)
258 $(CXXLINK) $(yaz_proxy_LDFLAGS) $(yaz_proxy_OBJECTS) $(yaz_proxy_LDADD) $(LIBS)
260 install-binSCRIPTS: $(bin_SCRIPTS)
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)'`; \
273 uninstall-binSCRIPTS:
275 list='$(bin_SCRIPTS)'; for p in $$list; do \
276 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
281 $(LTCXXCOMPILE) -c $<
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)
293 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
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)
310 maintainer-clean-tags:
312 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
316 distdir: $(DISTFILES)
317 here=`cd $(top_builddir) && pwd`; \
318 top_distdir=`cd $(top_distdir) && pwd`; \
319 distdir=`cd $(distdir) && pwd`; \
321 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
322 @for file in $(DISTFILES); do \
324 if test -d $$d/$$file; then \
325 cp -pr $$/$$file $(distdir)/$$file; \
327 test -f $(distdir)/$$file \
328 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
329 || cp -p $$d/$$file $(distdir)/$$file || :; \
333 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
335 -include $(DEP_FILES)
344 maintainer-clean-depend:
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/$$/ :/' \
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/$$/ :/' \
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/$$/ :/' \
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/$$/ :/' \
390 installcheck: installcheck-am
391 install-exec-am: install-libLTLIBRARIES install-binPROGRAMS \
393 install-exec: install-exec-am
396 install-data: install-data-am
399 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
401 uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
403 uninstall: uninstall-am
404 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS)
407 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
409 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
418 -rm -f Makefile $(CONFIG_CLEAN_FILES)
419 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
421 maintainer-clean-generic:
422 mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
423 mostlyclean-libtool mostlyclean-binPROGRAMS \
424 mostlyclean-tags mostlyclean-depend mostlyclean-generic
426 mostlyclean: mostlyclean-am
428 clean-am: clean-libLTLIBRARIES clean-compile clean-libtool \
429 clean-binPROGRAMS clean-tags clean-depend clean-generic \
434 distclean-am: distclean-libLTLIBRARIES distclean-compile \
435 distclean-libtool distclean-binPROGRAMS distclean-tags \
436 distclean-depend distclean-generic clean-am
439 distclean: distclean-am
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 \
446 @echo "This command is intended for maintainers to use;"
447 @echo "it deletes files that may require special tools to rebuild."
449 maintainer-clean: maintainer-clean-am
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
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.