OBJDUMP = @OBJDUMP@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
+READLINE_LIBS = @READLINE_LIBS@
SUBDIRS_VAR = @SUBDIRS_VAR@
VERSION = @VERSION@
+YAZ_SRC_ROOT = @YAZ_SRC_ROOT@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = @SUBDIRS_VAR@
-noinst_SCRIPTS = yaz-config
SPEC_FILE = $(PACKAGE).spec
EXTRA_DIST = $(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_CLEAN_FILES =
-SCRIPTS = $(noinst_SCRIPTS)
-
+CONFIG_CLEAN_FILES = yaz-config
DIST_COMMON = README Makefile.am Makefile.in TODO aclocal.m4 \
config.guess config.sub configure configure.in install-sh ltconfig \
-ltmain.sh missing mkinstalldirs
+ltmain.sh missing mkinstalldirs yaz-config.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
+yaz-config: $(top_builddir)/config.status yaz-config.in
+ cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
-@SET_MAKE@
-
all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive info-recursive dvi-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
- rev="$$subdir $$rev"; \
- test "$$subdir" = "." && dot_seen=yes; \
+ if test "$$subdir" = "."; then :; else \
+ rev="$$subdir $$rev"; \
+ fi; \
done; \
- test "$$dot_seen" = "no" && rev=". $$rev"; \
+ rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
install: install-recursive
uninstall-am:
uninstall: uninstall-recursive
-all-am: Makefile $(SCRIPTS)
+all-am: Makefile
all-redirect: all-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
-yaz-config: Makefile
- @echo "#!/bin/sh" >yaz-config
- @echo "# YAZ settings for developers" >>yaz-config
- @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
- @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
- @echo "YAZLIB=\"-L`pwd`/lib/.libs -lyaz @LIBS@\"" >>yaz-config
- @echo "YAZINC=\"-I`pwd`/include\"" >>yaz-config
- chmod +x yaz-config
-
dist-hook:
cd doc; make
mkdir $(distdir)/win