1 ## $Id: Makefile.am,v 1.16 2001-11-13 23:00:42 adam Exp $
7 lib_LTLIBRARIES = libyaz.la $(extra) libyazmalloc.la
9 # If the line below is omitted the LINK variable is
10 # not set in Makefile.in and it will NOT work ..
11 EXTRA_libyaz_la_SOURCES=x.c
16 libyazthread_la_SOURCES=nmem.c statserv.c eventl.c
18 libyazmalloc_la_SOURCES=xmalloc.c
20 $(srcdir)/nmem.c: $(top_srcdir)/util/nmem.c
21 cp $(top_srcdir)/util/nmem.c $(srcdir)
23 $(srcdir)/statserv.c: $(top_srcdir)/server/statserv.c
24 cp $(top_srcdir)/server/statserv.c $(srcdir)
26 $(srcdir)/eventl.c: $(top_srcdir)/server/eventl.c
27 cp $(top_srcdir)/server/eventl.c $(srcdir)
29 $(srcdir)/xmalloc.c: $(top_srcdir)/util/xmalloc.c
30 cp $(top_srcdir)/util/xmalloc.c $(srcdir)
32 LDFLAGS=-version-info 1:0:0
34 CFLAGS =-DTRACE_XMALLOC=2 -I$(top_srcdir)/include -I$(top_srcdir)/server @CFLAGSTHREADS@
36 bin_SCRIPTS = yaz-config
38 libyaz_la_LIBADD=../odr/libodr.la \
39 ../comstack/libcomstack.la ../server/libserver.la \
40 ../util/libutil.la ../retrieval/libret.la \