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@
63 ASNMODULE = @ASNMODULE@
68 ILLMODULE = @ILLMODULE@
70 LIBTHREAD = @LIBTHREAD@
78 READLINE_LIBS = @READLINE_LIBS@
79 SUBDIRS_VAR = @SUBDIRS_VAR@
81 YAZ_SRC_ROOT = @YAZ_SRC_ROOT@
83 @ISTHR_TRUE@extra = libyazthread.la
85 lib_LTLIBRARIES = libyaz.la $(extra)
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
94 libyazthread_la_SOURCES = nmem.c statserv.c
96 LDFLAGS = -version-info 1:0:0
98 INCLUDES = -I$(srcdir)/../include -I$(srcdir)/../server -D_REENTRANT=1 -DHAVE_PTHREAD_H=1
100 bin_SCRIPTS = yaz-config
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)
104 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
105 CONFIG_CLEAN_FILES = yaz-config
106 LTLIBRARIES = $(lib_LTLIBRARIES)
109 DEFS = @DEFS@ -I. -I$(srcdir)
110 CPPFLAGS = @CPPFLAGS@
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
117 libyazthread_la_LDFLAGS =
118 libyazthread_la_LIBADD =
119 libyazthread_la_OBJECTS = nmem.lo statserv.lo
120 SCRIPTS = $(bin_SCRIPTS)
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)
126 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
127 DIST_COMMON = Makefile.am Makefile.in yaz-config.in
130 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
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)
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
144 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
146 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
148 yaz-config: $(top_builddir)/config.status yaz-config.in
149 cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
151 mostlyclean-libLTLIBRARIES:
153 clean-libLTLIBRARIES:
154 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
156 distclean-libLTLIBRARIES:
158 maintainer-clean-libLTLIBRARIES:
160 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
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; \
170 uninstall-libLTLIBRARIES:
172 list='$(lib_LTLIBRARIES)'; for p in $$list; do \
173 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
183 -rm -f *.o core *.core
190 maintainer-clean-compile:
193 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
196 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
206 maintainer-clean-libtool:
208 libyaz.la: $(libyaz_la_OBJECTS) $(libyaz_la_DEPENDENCIES)
209 $(LINK) -rpath $(libdir) $(libyaz_la_LDFLAGS) $(libyaz_la_OBJECTS) $(libyaz_la_LIBADD) $(LIBS)
211 libyazthread.la: $(libyazthread_la_OBJECTS) $(libyazthread_la_DEPENDENCIES)
212 $(LINK) -rpath $(libdir) $(libyazthread_la_LDFLAGS) $(libyazthread_la_OBJECTS) $(libyazthread_la_LIBADD) $(LIBS)
214 install-binSCRIPTS: $(bin_SCRIPTS)
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)'`; \
227 uninstall-binSCRIPTS:
229 list='$(bin_SCRIPTS)'; for p in $$list; do \
230 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
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)
243 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
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)
260 maintainer-clean-tags:
262 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
266 distdir: $(DISTFILES)
267 here=`cd $(top_builddir) && pwd`; \
268 top_distdir=`cd $(top_distdir) && pwd`; \
269 distdir=`cd $(distdir) && pwd`; \
271 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu lib/Makefile
272 @for file in $(DISTFILES); do \
274 if test -d $$d/$$file; then \
275 cp -pr $$/$$file $(distdir)/$$file; \
277 test -f $(distdir)/$$file \
278 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
279 || cp -p $$d/$$file $(distdir)/$$file || :; \
283 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
285 -include $(DEP_FILES)
294 maintainer-clean-depend:
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/$$/ :/' \
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/$$/ :/' \
321 installcheck: installcheck-am
322 install-exec-am: install-libLTLIBRARIES install-binSCRIPTS
323 install-exec: install-exec-am
326 install-data: install-data-am
329 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
331 uninstall-am: uninstall-libLTLIBRARIES uninstall-binSCRIPTS
332 uninstall: uninstall-am
333 all-am: Makefile $(LTLIBRARIES) $(SCRIPTS)
336 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
338 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir)
346 -rm -f Makefile $(CONFIG_CLEAN_FILES)
347 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
349 maintainer-clean-generic:
350 mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
351 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
354 mostlyclean: mostlyclean-am
356 clean-am: clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
357 clean-depend clean-generic mostlyclean-am
361 distclean-am: distclean-libLTLIBRARIES distclean-compile \
362 distclean-libtool distclean-tags distclean-depend \
363 distclean-generic clean-am
366 distclean: distclean-am
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."
375 maintainer-clean: maintainer-clean-am
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
394 ln -s $(srcdir)/../util/nmem.c
397 ln -s $(srcdir)/../server/statserv.c
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.