-## $Id: Makefile.am,v 1.10 2001-04-05 13:08:48 adam Exp $
+## $Id: Makefile.am,v 1.11 2001-04-05 13:34:36 adam Exp $
if ISTHR
extra=libyazthread.la
libyazthread_la_SOURCES=nmem.c statserv.c
-LDFLAGS=-version-info 1:0:0
+$(srcdir)/nmem.c: $(top_srcdir)/util/nmem.c
+ cp $(top_srcdir)/util/nmem.c $(srcdir)
-nmem.c:
- ln -s $(srcdir)/../util/nmem.c
+$(srcdir)/statserv.c: $(top_srcdir)/server/statserv.c
+ cp $(top_srcdir)/server/statserv.c $(srcdir)
-statserv.c:
- ln -s $(srcdir)/../server/statserv.c
+LDFLAGS=-version-info 1:0:0
-INCLUDES =-I$(srcdir)/../include -I$(srcdir)/../server -D_REENTRANT=1 -DHAVE_PTHREAD_H=1
+INCLUDES =-I$(top_srcdir)/include -I$(top_srcdir)/server -D_REENTRANT=1 -DHAVE_PTHREAD_H=1
bin_SCRIPTS = yaz-config
-## $Id: Makefile.am,v 1.4 2000-11-23 10:58:32 adam Exp $
+## $Id: Makefile.am,v 1.5 2001-04-05 13:34:36 adam Exp $
noinst_LTLIBRARIES=libserver.la
LIBS =
-INCLUDES=-I$(srcdir)/../include
+INCLUDES=-I$(top_srcdir)/include