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 noinst_LTLIBRARIES = libutil.la
85 #lib_LTLIBRARIES = libyazthread.la
87 bin_SCRIPTS = yaz-comp
93 INCLUDES = -I$(srcdir)/../include
95 libyazthread_la_INCLUDES = -I$(srcdir)/../include
97 noinst_PROGRAMS = marcdump
99 marcdump_LDADD = libutil.la
101 marcdump_SOURCES = marcdump.c
103 libutil_la_SOURCES = options.c log.c marcdisp.c oid.c wrbuf.c nmemsdup.c xmalloc.c readconf.c tpath.c nmem.c matchstr.c atoin.c
105 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
107 LTLIBRARIES = $(noinst_LTLIBRARIES)
110 DEFS = @DEFS@ -I. -I$(srcdir)
111 CPPFLAGS = @CPPFLAGS@
115 libutil_la_OBJECTS = options.lo log.lo marcdisp.lo oid.lo wrbuf.lo \
116 nmemsdup.lo xmalloc.lo readconf.lo tpath.lo nmem.lo matchstr.lo \
118 PROGRAMS = $(noinst_PROGRAMS)
120 marcdump_OBJECTS = marcdump.o
121 marcdump_DEPENDENCIES = libutil.la
123 SCRIPTS = $(bin_SCRIPTS)
126 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
127 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
129 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
130 DIST_COMMON = Makefile.am Makefile.in
133 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
137 DEP_FILES = .deps/atoin.P .deps/log.P .deps/marcdisp.P .deps/marcdump.P \
138 .deps/matchstr.P .deps/nmem.P .deps/nmemsdup.P .deps/oid.P \
139 .deps/options.P .deps/readconf.P .deps/tpath.P .deps/wrbuf.P \
141 SOURCES = $(libutil_la_SOURCES) $(marcdump_SOURCES)
142 OBJECTS = $(libutil_la_OBJECTS) $(marcdump_OBJECTS)
146 .SUFFIXES: .S .c .lo .o .s
147 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
148 cd $(top_srcdir) && $(AUTOMAKE) --gnu util/Makefile
150 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
152 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
155 mostlyclean-noinstLTLIBRARIES:
157 clean-noinstLTLIBRARIES:
158 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
160 distclean-noinstLTLIBRARIES:
162 maintainer-clean-noinstLTLIBRARIES:
171 -rm -f *.o core *.core
178 maintainer-clean-compile:
181 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
184 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
194 maintainer-clean-libtool:
196 libutil.la: $(libutil_la_OBJECTS) $(libutil_la_DEPENDENCIES)
197 $(LINK) $(libutil_la_LDFLAGS) $(libutil_la_OBJECTS) $(libutil_la_LIBADD) $(LIBS)
199 mostlyclean-noinstPROGRAMS:
201 clean-noinstPROGRAMS:
202 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
204 distclean-noinstPROGRAMS:
206 maintainer-clean-noinstPROGRAMS:
208 marcdump: $(marcdump_OBJECTS) $(marcdump_DEPENDENCIES)
210 $(LINK) $(marcdump_LDFLAGS) $(marcdump_OBJECTS) $(marcdump_LDADD) $(LIBS)
212 install-binSCRIPTS: $(bin_SCRIPTS)
214 $(mkinstalldirs) $(DESTDIR)$(bindir)
215 @list='$(bin_SCRIPTS)'; for p in $$list; do \
216 if test -f $$p; then \
217 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
218 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
219 else if test -f $(srcdir)/$$p; then \
220 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
221 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
225 uninstall-binSCRIPTS:
227 list='$(bin_SCRIPTS)'; for p in $$list; do \
228 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
233 ID: $(HEADERS) $(SOURCES) $(LISP)
234 list='$(SOURCES) $(HEADERS)'; \
235 unique=`for i in $$list; do echo $$i; done | \
236 awk ' { files[$$0] = 1; } \
237 END { for (i in files) print i; }'`; \
238 here=`pwd` && cd $(srcdir) \
239 && mkid -f$$here/ID $$unique $(LISP)
241 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
244 list='$(SOURCES) $(HEADERS)'; \
245 unique=`for i in $$list; do echo $$i; done | \
246 awk ' { files[$$0] = 1; } \
247 END { for (i in files) print i; }'`; \
248 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
249 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
258 maintainer-clean-tags:
260 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
264 distdir: $(DISTFILES)
265 here=`cd $(top_builddir) && pwd`; \
266 top_distdir=`cd $(top_distdir) && pwd`; \
267 distdir=`cd $(distdir) && pwd`; \
269 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu util/Makefile
270 @for file in $(DISTFILES); do \
272 if test -d $$d/$$file; then \
273 cp -pr $$/$$file $(distdir)/$$file; \
275 test -f $(distdir)/$$file \
276 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
277 || cp -p $$d/$$file $(distdir)/$$file || :; \
281 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
283 -include $(DEP_FILES)
292 maintainer-clean-depend:
295 @echo '$(COMPILE) -c $<'; \
296 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
297 @-cp .deps/$(*F).pp .deps/$(*F).P; \
298 tr ' ' '\012' < .deps/$(*F).pp \
299 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
304 @echo '$(LTCOMPILE) -c $<'; \
305 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
306 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
307 < .deps/$(*F).pp > .deps/$(*F).P; \
308 tr ' ' '\012' < .deps/$(*F).pp \
309 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
319 installcheck: installcheck-am
320 install-exec-am: install-binSCRIPTS
321 install-exec: install-exec-am
324 install-data: install-data-am
327 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
329 uninstall-am: uninstall-binSCRIPTS
330 uninstall: uninstall-am
331 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS)
334 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
336 $(mkinstalldirs) $(DESTDIR)$(bindir)
344 -rm -f Makefile $(CONFIG_CLEAN_FILES)
345 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
347 maintainer-clean-generic:
348 mostlyclean-am: mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
349 mostlyclean-libtool mostlyclean-noinstPROGRAMS \
350 mostlyclean-tags mostlyclean-depend mostlyclean-generic
352 mostlyclean: mostlyclean-am
354 clean-am: clean-noinstLTLIBRARIES clean-compile clean-libtool \
355 clean-noinstPROGRAMS clean-tags clean-depend \
356 clean-generic mostlyclean-am
360 distclean-am: distclean-noinstLTLIBRARIES distclean-compile \
361 distclean-libtool distclean-noinstPROGRAMS \
362 distclean-tags distclean-depend distclean-generic \
366 distclean: distclean-am
368 maintainer-clean-am: maintainer-clean-noinstLTLIBRARIES \
369 maintainer-clean-compile maintainer-clean-libtool \
370 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
371 maintainer-clean-depend maintainer-clean-generic \
373 @echo "This command is intended for maintainers to use;"
374 @echo "it deletes files that may require special tools to rebuild."
376 maintainer-clean: maintainer-clean-am
378 .PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
379 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
380 mostlyclean-compile distclean-compile clean-compile \
381 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
382 clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
383 distclean-noinstPROGRAMS clean-noinstPROGRAMS \
384 maintainer-clean-noinstPROGRAMS uninstall-binSCRIPTS install-binSCRIPTS \
385 tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
386 distdir mostlyclean-depend distclean-depend clean-depend \
387 maintainer-clean-depend info-am info dvi-am dvi check check-am \
388 installcheck-am installcheck install-exec-am install-exec \
389 install-data-am install-data install-am install uninstall-am uninstall \
390 all-redirect all-am all installdirs mostlyclean-generic \
391 distclean-generic clean-generic maintainer-clean-generic clean \
392 mostlyclean distclean maintainer-clean
395 #libyazthread_la_SOURCES=nmemthread.c xmalloc.c log.c
397 # Tell versions [3.59,3.63) of GNU make to not export all variables.
398 # Otherwise a system limit (for SysV at least) may be exceeded.