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