Use $(YAZINC) instead of @YAZINC@.
-## $Id: Makefile.am,v 1.1 2000-04-05 09:49:35 adam Exp $ Copyright (C) 1994-1998, Index Data ApS
+## $Id: Makefile.am,v 1.2 2004-06-16 20:49:17 adam Exp $ Copyright (C) 1994-1998, Index Data ApS
noinst_LIBRARIES = libbfile.a
-INCLUDES = -I$(srcdir)/../include @YAZINC@
+AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC)
libbfile_a_SOURCES = bfile.c mfile.c cfile.c commit.c cfile.h
-## $Id: Makefile.am,v 1.2 2002-08-17 08:00:27 adam Exp $
+## $Id: Makefile.am,v 1.3 2004-06-16 20:49:17 adam Exp $
noinst_LIBRARIES = libdfa.a
noinst_PROGRAMS = agrep lexer grepper
-INCLUDES = -I$(srcdir)/../include @YAZINC@
+AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC)
LDADD = libdfa.a ../util/libutil.a $(YAZLIB) $(TCL_LIB)
agrep_SOURCES = agrep.c
-## $Id: Makefile.am,v 1.5 2002-08-17 08:00:27 adam Exp $
+## $Id: Makefile.am,v 1.6 2004-06-16 20:49:18 adam Exp $
noinst_LIBRARIES = libdict.a
noinst_PROGRAMS = dicttest dictext
-INCLUDES = -I$(srcdir)/../include @YAZINC@
+AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC)
LDADD = libdict.a ../bfile/libbfile.a ../dfa/libdfa.a ../util/libutil.a $(YAZLIB) $(TCL_LIB)
-## $Id: Makefile.am,v 1.2 2002-08-17 08:00:27 adam Exp $
+## $Id: Makefile.am,v 1.3 2004-06-16 20:49:18 adam Exp $
noinst_LIBRARIES = libisam.a
-INCLUDES = -I$(srcdir)/../include @YAZINC@
+AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC)
LDADD = ../util/libutil.a ../bfile/libbfile.a $(YAZLIB) $(TCL_LIB)
-## $Id: Makefile.am,v 1.3 2003-06-23 15:36:11 adam Exp $
+## $Id: Makefile.am,v 1.4 2004-06-16 20:49:18 adam Exp $
noinst_LIBRARIES = libisamb.a
libisamb_a_SOURCES = isamb.c
-INCLUDES = -I$(srcdir)/../include @YAZINC@
+AM_CPPFLAGS=-I$(srcdir)/../include $(YAZINC)
LDADD = ../util/libutil.a ../bfile/libbfile.a libisamc.a $(YAZLIB) $(TCL_LIB)
-## $Id: Makefile.am,v 1.3 2002-08-17 08:00:28 adam Exp $
+## $Id: Makefile.am,v 1.4 2004-06-16 20:49:18 adam Exp $
noinst_LIBRARIES = libisamc.a
libisamc_a_SOURCES = isamc.c isamd.c merge.c merge-d.c isamc-p.h isamd-p.h
-INCLUDES = -I$(srcdir)/../include -I$(srcdir)/../index @YAZINC@
+AM_CPPFLAGS = -I$(srcdir)/../include -I$(srcdir)/../index $(YAZINC)
LDADD = ../util/libutil.a ../bfile/libbfile.a libisamc.a $(YAZLIB) $(TCL_LIB)
-## $Id: Makefile.am,v 1.1 2000-04-05 09:49:36 adam Exp $
+## $Id: Makefile.am,v 1.2 2004-06-16 20:49:18 adam Exp $
noinst_LIBRARIES = libisams.a
-INCLUDES = -I$(srcdir)/../include @YAZINC@
+AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC)
libisams_a_SOURCES = isams.c
-## $Id: Makefile.am,v 1.9 2004-05-21 11:58:56 adam Exp $
+## $Id: Makefile.am,v 1.10 2004-06-16 20:49:18 adam Exp $
noinst_LIBRARIES = librecctrl.a
grsread.h recgrs.h rectext.h xmlread.c danbibr.c \
$(PERLREAD)
-INCLUDES = -I$(srcdir)/../include @YAZINC@ $(TCL_INCLUDE)
+AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) $(TCL_INCLUDE)
-## $Id: Makefile.am,v 1.5 2004-06-09 12:15:25 adam Exp $
+## $Id: Makefile.am,v 1.6 2004-06-16 20:49:18 adam Exp $
noinst_LIBRARIES = librset.a
librset_a_SOURCES = rset.c rstemp.c rsisam.c rsnull.c rsbool.c rsbetween.c \
rsisamc.c rsm_or.c rsisams.c rsisamd.c rsisamb.c rsprox.c
-INCLUDES = -I$(srcdir)/../include $(YAZINC)
-
+AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC)
-## $Id: Makefile.am,v 1.7 2003-02-04 12:06:48 pop Exp $
+## $Id: Makefile.am,v 1.8 2004-06-16 20:49:18 adam Exp $
noinst_LIBRARIES = libutil.a
EXTRA_DIST = zebrasrv.rh
-AM_CPPFLAGS = -I$(srcdir)/../include @YAZINC@ -DDEFAULT_PROFILE_PATH=\"$(pkgdatadir)/tab\"
+AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) -DDEFAULT_PROFILE_PATH=\"$(pkgdatadir)/tab\"
LDADD = libutil.a $(YAZLIB) $(TCL_LIB)
libutil_a_SOURCES = res.c charmap.c zebramap.c passwddb.c zebra-lock.c dirent.c xpath.c