Check for config.h (currently not generated).
[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 ASNMODULE = @ASNMODULE@
61 CC = @CC@
62 CPP = @CPP@
63 ILLLIB = @ILLLIB@
64 ILLMODULE = @ILLMODULE@
65 MAKEINFO = @MAKEINFO@
66 PACKAGE = @PACKAGE@
67 RANLIB = @RANLIB@
68 SUBDIRS_VAR = @SUBDIRS_VAR@
69 VERSION = @VERSION@
70
71 lib_LIBRARIES = libyaz.a
72
73 bin_SCRIPTS = yaz-config
74
75 libyaz_a_SOURCES = 
76
77 LIB = libyaz.a
78
79 YAZLIBS = ../odr/libodr.a ../@ASNMODULE@/libasn.a ../comstack/libcomstack.a  ../server/libserver.a ../zutil/libzutil.a ../util/libutil.a  ../ccl/libccl.a ../retrieval/libret.a @ILLLIB@
80
81
82 #  Public libraries and header files
83 LIBDIR = $(exec_prefix)/lib
84 INCDIR = $(prefix)/include
85 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
86 CONFIG_CLEAN_FILES = 
87 LIBRARIES =  $(lib_LIBRARIES)
88
89
90 DEFS = @DEFS@ -I. -I$(srcdir) 
91 CPPFLAGS = @CPPFLAGS@
92 LDFLAGS = @LDFLAGS@
93 LIBS = @LIBS@
94 libyaz_a_LIBADD = 
95 libyaz_a_OBJECTS = 
96 AR = ar
97 SCRIPTS =  $(bin_SCRIPTS)
98
99 DIST_COMMON =  Makefile.am Makefile.in
100
101
102 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
103
104 TAR = gtar
105 GZIP_ENV = --best
106 SOURCES = $(libyaz_a_SOURCES)
107 OBJECTS = $(libyaz_a_OBJECTS)
108
109 all: all-redirect
110 .SUFFIXES:
111 .SUFFIXES: .S .c .o .s
112 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
113         cd $(top_srcdir) && $(AUTOMAKE) --gnu lib/Makefile
114
115 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
116         cd $(top_builddir) \
117           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
118
119
120 mostlyclean-libLIBRARIES:
121
122 clean-libLIBRARIES:
123         -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
124
125 distclean-libLIBRARIES:
126
127 maintainer-clean-libLIBRARIES:
128
129 install-libLIBRARIES: $(lib_LIBRARIES)
130         @$(NORMAL_INSTALL)
131         $(mkinstalldirs) $(DESTDIR)$(libdir)
132         @list='$(lib_LIBRARIES)'; for p in $$list; do \
133           if test -f $$p; then \
134             echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
135             $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
136           else :; fi; \
137         done
138         @$(POST_INSTALL)
139         @list='$(lib_LIBRARIES)'; for p in $$list; do \
140           if test -f $$p; then \
141             echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
142             $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
143           else :; fi; \
144         done
145
146 uninstall-libLIBRARIES:
147         @$(NORMAL_UNINSTALL)
148         list='$(lib_LIBRARIES)'; for p in $$list; do \
149           rm -f $(DESTDIR)$(libdir)/$$p; \
150         done
151
152 .s.o:
153         $(COMPILE) -c $<
154
155 .S.o:
156         $(COMPILE) -c $<
157
158 mostlyclean-compile:
159         -rm -f *.o core *.core
160
161 clean-compile:
162
163 distclean-compile:
164         -rm -f *.tab.c
165
166 maintainer-clean-compile:
167
168 install-binSCRIPTS: $(bin_SCRIPTS)
169         @$(NORMAL_INSTALL)
170         $(mkinstalldirs) $(DESTDIR)$(bindir)
171         @list='$(bin_SCRIPTS)'; for p in $$list; do \
172           if test -f $$p; then \
173             echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
174             $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
175           else if test -f $(srcdir)/$$p; then \
176             echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
177             $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
178           else :; fi; fi; \
179         done
180
181 uninstall-binSCRIPTS:
182         @$(NORMAL_UNINSTALL)
183         list='$(bin_SCRIPTS)'; for p in $$list; do \
184           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
185         done
186 tags: TAGS
187 TAGS:
188
189
190 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
191
192 subdir = lib
193
194 distdir: $(DISTFILES)
195         here=`cd $(top_builddir) && pwd`; \
196         top_distdir=`cd $(top_distdir) && pwd`; \
197         distdir=`cd $(distdir) && pwd`; \
198         cd $(top_srcdir) \
199           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu lib/Makefile
200         @for file in $(DISTFILES); do \
201           d=$(srcdir); \
202           if test -d $$d/$$file; then \
203             cp -pr $$/$$file $(distdir)/$$file; \
204           else \
205             test -f $(distdir)/$$file \
206             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
207             || cp -p $$d/$$file $(distdir)/$$file || :; \
208           fi; \
209         done
210 info-am:
211 info: info-am
212 dvi-am:
213 dvi: dvi-am
214 check-am: all-am
215 check: check-am
216 installcheck-am:
217 installcheck: installcheck-am
218 install-exec-am: install-libLIBRARIES install-binSCRIPTS
219 install-exec: install-exec-am
220
221 install-data-am:
222 install-data: install-data-am
223
224 install-am: all-am
225         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
226 install: install-am
227 uninstall-am: uninstall-libLIBRARIES uninstall-binSCRIPTS
228 uninstall: uninstall-am
229 all-am: Makefile $(LIBRARIES) $(SCRIPTS)
230 all-redirect: all-am
231 install-strip:
232         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
233 installdirs:
234         $(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir)
235
236
237 mostlyclean-generic:
238
239 clean-generic:
240
241 distclean-generic:
242         -rm -f Makefile $(CONFIG_CLEAN_FILES)
243         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
244
245 maintainer-clean-generic:
246 mostlyclean-am:  mostlyclean-libLIBRARIES mostlyclean-compile \
247                 mostlyclean-generic
248
249 mostlyclean: mostlyclean-am
250
251 clean-am:  clean-libLIBRARIES clean-compile clean-generic mostlyclean-am
252
253 clean: clean-am
254
255 distclean-am:  distclean-libLIBRARIES distclean-compile \
256                 distclean-generic clean-am
257
258 distclean: distclean-am
259
260 maintainer-clean-am:  maintainer-clean-libLIBRARIES \
261                 maintainer-clean-compile maintainer-clean-generic \
262                 distclean-am
263         @echo "This command is intended for maintainers to use;"
264         @echo "it deletes files that may require special tools to rebuild."
265
266 maintainer-clean: maintainer-clean-am
267
268 .PHONY: mostlyclean-libLIBRARIES distclean-libLIBRARIES \
269 clean-libLIBRARIES maintainer-clean-libLIBRARIES uninstall-libLIBRARIES \
270 install-libLIBRARIES mostlyclean-compile distclean-compile \
271 clean-compile maintainer-clean-compile uninstall-binSCRIPTS \
272 install-binSCRIPTS tags distdir info-am info dvi-am dvi check check-am \
273 installcheck-am installcheck install-exec-am install-exec \
274 install-data-am install-data install-am install uninstall-am uninstall \
275 all-redirect all-am all installdirs mostlyclean-generic \
276 distclean-generic clean-generic maintainer-clean-generic clean \
277 mostlyclean distclean maintainer-clean
278
279
280 libyaz.a: $(YAZLIBS)
281         rm -f $(LIB)
282         for i in $(YAZLIBS); do echo $$i; ar x $$i; rm -f __*; done
283         ar qc $(LIB) *.o
284         rm -f *.o
285         $(RANLIB) $(LIB)
286
287 yaz-config: Makefile
288         @echo "#!/bin/sh" >yaz-config
289         @echo "# YAZ settings for developers" >>yaz-config
290         @echo "YAZBIN='$(bindir)'" >>yaz-config
291         @echo "YAZTAB='$(pkgdatadir)/tab'" >>yaz-config
292         @echo "YAZLIB='-L$(libdir) -lyaz $(LIBS)'" >>yaz-config
293         @echo "YAZINC='-I$(includedir)'" >>yaz-config
294         chmod +x yaz-config
295
296 # Tell versions [3.59,3.63) of GNU make to not export all variables.
297 # Otherwise a system limit (for SysV at least) may be exceeded.
298 .NOEXPORT: