For includes specs in Makefiles use AM_CPPFLAGS instead of INCLUDE.
[idzebra-moved-to-github.git] / util / Makefile.am
index f17b1d8..b10d269 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.3 2001-09-21 10:40:08 adam Exp $
+## $Id: Makefile.am,v 1.8 2004-06-16 20:49:18 adam Exp $
 
 noinst_LIBRARIES = libutil.a
 
@@ -6,14 +6,9 @@ noinst_PROGRAMS = passtest
 
 EXTRA_DIST = zebrasrv.rh
 
-INCLUDES = -I$(srcdir)/../include @YAZINC@
-LDADD = libutil.a @YAZLIB@ @LIBS@
+AM_CPPFLAGS = -I$(srcdir)/../include $(YAZINC) -DDEFAULT_PROFILE_PATH=\"$(pkgdatadir)/tab\"
+LDADD = libutil.a $(YAZLIB) $(TCL_LIB)
 
-TESTS = passtest
-
-libutil_a_SOURCES = res.c charmap.c zebramap.c passwddb.c zebra-lock.c dirent.c
+libutil_a_SOURCES = res.c charmap.c zebramap.c passwddb.c zebra-lock.c dirent.c xpath.c
 
 passtest_SOURCES = passtest.c
-
-
-LIBS =