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@
77 READLINE_LIBS = @READLINE_LIBS@
78 SUBDIRS_VAR = @SUBDIRS_VAR@
81 noinst_LTLIBRARIES = libutil.la
83 bin_SCRIPTS = yaz-comp
89 INCLUDES = -I$(srcdir)/../include
91 noinst_PROGRAMS = marcdump
93 marcdump_LDADD = libutil.la
95 marcdump_SOURCES = marcdump.c
97 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
99 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
101 LTLIBRARIES = $(noinst_LTLIBRARIES)
104 DEFS = @DEFS@ -I. -I$(srcdir)
105 CPPFLAGS = @CPPFLAGS@
109 libutil_la_OBJECTS = options.lo log.lo marcdisp.lo oid.lo wrbuf.lo \
110 nmemsdup.lo xmalloc.lo readconf.lo tpath.lo nmem.lo matchstr.lo \
112 PROGRAMS = $(noinst_PROGRAMS)
114 marcdump_OBJECTS = marcdump.o
115 marcdump_DEPENDENCIES = libutil.la
117 SCRIPTS = $(bin_SCRIPTS)
120 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
121 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
123 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
124 DIST_COMMON = Makefile.am Makefile.in
127 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
131 DEP_FILES = .deps/atoin.P .deps/log.P .deps/marcdisp.P .deps/marcdump.P \
132 .deps/matchstr.P .deps/nmem.P .deps/nmemsdup.P .deps/oid.P \
133 .deps/options.P .deps/readconf.P .deps/tpath.P .deps/wrbuf.P \
135 SOURCES = $(libutil_la_SOURCES) $(marcdump_SOURCES)
136 OBJECTS = $(libutil_la_OBJECTS) $(marcdump_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 util/Makefile
144 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
146 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
149 mostlyclean-noinstLTLIBRARIES:
151 clean-noinstLTLIBRARIES:
152 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
154 distclean-noinstLTLIBRARIES:
156 maintainer-clean-noinstLTLIBRARIES:
165 -rm -f *.o core *.core
172 maintainer-clean-compile:
175 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
178 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
188 maintainer-clean-libtool:
190 libutil.la: $(libutil_la_OBJECTS) $(libutil_la_DEPENDENCIES)
191 $(LINK) $(libutil_la_LDFLAGS) $(libutil_la_OBJECTS) $(libutil_la_LIBADD) $(LIBS)
193 mostlyclean-noinstPROGRAMS:
195 clean-noinstPROGRAMS:
196 -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
198 distclean-noinstPROGRAMS:
200 maintainer-clean-noinstPROGRAMS:
202 marcdump: $(marcdump_OBJECTS) $(marcdump_DEPENDENCIES)
204 $(LINK) $(marcdump_LDFLAGS) $(marcdump_OBJECTS) $(marcdump_LDADD) $(LIBS)
206 install-binSCRIPTS: $(bin_SCRIPTS)
208 $(mkinstalldirs) $(DESTDIR)$(bindir)
209 @list='$(bin_SCRIPTS)'; for p in $$list; do \
210 if test -f $$p; then \
211 echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
212 $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
213 else if test -f $(srcdir)/$$p; then \
214 echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
215 $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
219 uninstall-binSCRIPTS:
221 list='$(bin_SCRIPTS)'; for p in $$list; do \
222 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
227 ID: $(HEADERS) $(SOURCES) $(LISP)
228 list='$(SOURCES) $(HEADERS)'; \
229 unique=`for i in $$list; do echo $$i; done | \
230 awk ' { files[$$0] = 1; } \
231 END { for (i in files) print i; }'`; \
232 here=`pwd` && cd $(srcdir) \
233 && mkid -f$$here/ID $$unique $(LISP)
235 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
238 list='$(SOURCES) $(HEADERS)'; \
239 unique=`for i in $$list; do echo $$i; done | \
240 awk ' { files[$$0] = 1; } \
241 END { for (i in files) print i; }'`; \
242 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
243 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
252 maintainer-clean-tags:
254 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
258 distdir: $(DISTFILES)
259 here=`cd $(top_builddir) && pwd`; \
260 top_distdir=`cd $(top_distdir) && pwd`; \
261 distdir=`cd $(distdir) && pwd`; \
263 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu util/Makefile
264 @for file in $(DISTFILES); do \
266 if test -d $$d/$$file; then \
267 cp -pr $$/$$file $(distdir)/$$file; \
269 test -f $(distdir)/$$file \
270 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
271 || cp -p $$d/$$file $(distdir)/$$file || :; \
275 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
277 -include $(DEP_FILES)
286 maintainer-clean-depend:
289 @echo '$(COMPILE) -c $<'; \
290 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
291 @-cp .deps/$(*F).pp .deps/$(*F).P; \
292 tr ' ' '\012' < .deps/$(*F).pp \
293 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
298 @echo '$(LTCOMPILE) -c $<'; \
299 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
300 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
301 < .deps/$(*F).pp > .deps/$(*F).P; \
302 tr ' ' '\012' < .deps/$(*F).pp \
303 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
313 installcheck: installcheck-am
314 install-exec-am: install-binSCRIPTS
315 install-exec: install-exec-am
318 install-data: install-data-am
321 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
323 uninstall-am: uninstall-binSCRIPTS
324 uninstall: uninstall-am
325 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS)
328 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
330 $(mkinstalldirs) $(DESTDIR)$(bindir)
338 -rm -f Makefile $(CONFIG_CLEAN_FILES)
339 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
341 maintainer-clean-generic:
342 mostlyclean-am: mostlyclean-noinstLTLIBRARIES mostlyclean-compile \
343 mostlyclean-libtool mostlyclean-noinstPROGRAMS \
344 mostlyclean-tags mostlyclean-depend mostlyclean-generic
346 mostlyclean: mostlyclean-am
348 clean-am: clean-noinstLTLIBRARIES clean-compile clean-libtool \
349 clean-noinstPROGRAMS clean-tags clean-depend \
350 clean-generic mostlyclean-am
354 distclean-am: distclean-noinstLTLIBRARIES distclean-compile \
355 distclean-libtool distclean-noinstPROGRAMS \
356 distclean-tags distclean-depend distclean-generic \
360 distclean: distclean-am
362 maintainer-clean-am: maintainer-clean-noinstLTLIBRARIES \
363 maintainer-clean-compile maintainer-clean-libtool \
364 maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
365 maintainer-clean-depend maintainer-clean-generic \
367 @echo "This command is intended for maintainers to use;"
368 @echo "it deletes files that may require special tools to rebuild."
370 maintainer-clean: maintainer-clean-am
372 .PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
373 clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
374 mostlyclean-compile distclean-compile clean-compile \
375 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
376 clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
377 distclean-noinstPROGRAMS clean-noinstPROGRAMS \
378 maintainer-clean-noinstPROGRAMS uninstall-binSCRIPTS install-binSCRIPTS \
379 tags mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
380 distdir mostlyclean-depend distclean-depend clean-depend \
381 maintainer-clean-depend info-am info dvi-am dvi check check-am \
382 installcheck-am installcheck install-exec-am install-exec \
383 install-data-am install-data install-am install uninstall-am uninstall \
384 all-redirect all-am all installdirs mostlyclean-generic \
385 distclean-generic clean-generic maintainer-clean-generic clean \
386 mostlyclean distclean maintainer-clean
389 # Tell versions [3.59,3.63) of GNU make to not export all variables.
390 # Otherwise a system limit (for SysV at least) may be exceeded.