1 ## $Id: Makefile.am,v 1.18 2001-11-19 20:43:39 adam Exp $
7 LDFLAGS=-version-info 1:0:0
9 bin_SCRIPTS = yaz-config
11 lib_LTLIBRARIES = libyaz.la $(extra) libyazmalloc.la
13 # If the line below is omitted the LINK variable is
14 # not set in Makefile.in and it will NOT work ..
15 EXTRA_libyaz_la_SOURCES=x.c
20 libyazthread_la_LIBADD=nmem.lo statserv.lo eventl.lo
21 libyazthread_la_SOURCES=
23 libyazmalloc_la_LIBADD=xmalloc.lo
24 libyazmalloc_la_SOURCES=
26 THREADED_FLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/server @CFLAGSTHREADS@
28 XMALLOC_FLAGS = -DTRACE_XMALLOC=2 -I$(top_srcdir)/include
30 nmem.lo: $(top_srcdir)/util/nmem.c
31 $(LTCOMPILE) $(THREADED_FLAGS) -c $(top_srcdir)/util/nmem.c
33 nmem.o: $(top_srcdir)/util/nmem.c
34 $(COMPILE) $(THREADED_FLAGS) -c $(top_srcdir)/util/nmem.c
36 statserv.lo: $(top_srcdir)/server/statserv.c
37 $(LTCOMPILE) $(THREADED_FLAGS) -c $(top_srcdir)/server/statserv.c
39 statserv.o: $(top_srcdir)/server/statserv.c
40 $(COMPILE) $(THREADED_FLAGS) -c $(top_srcdir)/server/statserv.c
42 eventl.lo: $(top_srcdir)/server/eventl.c
43 $(LTCOMPILE) $(THREADED_FLAGS) -c $(top_srcdir)/server/eventl.c
45 eventl.o: $(top_srcdir)/server/eventl.c
46 $(COMPILE) $(THREADED_FLAGS) -c $(top_srcdir)/server/eventl.c
48 xmalloc.lo: $(top_srcdir)/util/xmalloc.c
49 $(LTCOMPILE) $(XMALLOC_FLAGS) -c $(top_srcdir)/util/xmalloc.c
51 xmalloc.o: $(top_srcdir)/util/xmalloc.c
52 $(COMPILE) $(XMALLOC_FLAGS) -c $(top_srcdir)/util/xmalloc.c
55 libyaz_la_LIBADD=../odr/libodr.la \
56 ../comstack/libcomstack.la ../server/libserver.la \
57 ../util/libutil.la ../retrieval/libret.la \