More fixes for make where sourcedir and builddir are different.
[yaz-moved-to-github.git] / util / Makefile.am
index e40c729..c023e99 100644 (file)
@@ -1,16 +1,28 @@
-## Copyright (C) 1994-2000, Index Data
+## Copyright (C) 1994-2001, Index Data
 ## All rights reserved.
-## $Id: Makefile.am,v 1.6 2000-04-05 07:39:55 adam Exp $
+## $Id: Makefile.am,v 1.9 2001-03-21 15:02:39 adam Exp $
 
 noinst_LTLIBRARIES = libutil.la
 
+#lib_LTLIBRARIES = libyazthread.la
+
 bin_SCRIPTS = yaz-comp
 
 EXTRA_DIST = yaz-comp
 
 LIBS =
 
-INCLUDES =-I$(srcdir)/../include
+INCLUDES =-I$(top_srcdir)/include
+
+libyazthread_la_INCLUDES=-I$(top_srcdir)/include
+
+noinst_PROGRAMS = marcdump
+
+marcdump_LDADD = libutil.la 
+
+marcdump_SOURCES = marcdump.c
 
 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 
+
+#libyazthread_la_SOURCES=nmemthread.c xmalloc.c log.c