projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New configure options: --enable-module.
[yaz-moved-to-github.git]
/
lib
/
Makefile.am
diff --git
a/lib/Makefile.am
b/lib/Makefile.am
index
3f934cf
..
8e6c18d
100644
(file)
--- a/
lib/Makefile.am
+++ b/
lib/Makefile.am
@@
-1,6
+1,10
@@
-## $Id: Makefile.am,v 1.8 2000-10-11 11:36:15 adam Exp $
+## $Id: Makefile.am,v 1.10 2001-04-05 13:08:48 adam Exp $
-lib_LTLIBRARIES = libyaz.la
+if ISTHR
+extra=libyazthread.la
+endif
+
+lib_LTLIBRARIES = libyaz.la $(extra)
# If the line below is omitted the LINK variable is
# not set in Makefile.in and it will NOT work ..
# If the line below is omitted the LINK variable is
# not set in Makefile.in and it will NOT work ..
@@
-9,11
+13,22
@@
EXTRA_libyaz_la_SOURCES=x.c
# No real sources
libyaz_la_SOURCES=
# No real sources
libyaz_la_SOURCES=
+libyazthread_la_SOURCES=nmem.c statserv.c
+
LDFLAGS=-version-info 1:0:0
LDFLAGS=-version-info 1:0:0
+nmem.c:
+ ln -s $(srcdir)/../util/nmem.c
+
+statserv.c:
+ ln -s $(srcdir)/../server/statserv.c
+
+INCLUDES =-I$(srcdir)/../include -I$(srcdir)/../server -D_REENTRANT=1 -DHAVE_PTHREAD_H=1
+
bin_SCRIPTS = yaz-config
bin_SCRIPTS = yaz-config
-libyaz_la_LIBADD=../odr/libodr.la ../$(ASNMODULE)/libasn.la \
+libyaz_la_LIBADD=../odr/libodr.la \
../comstack/libcomstack.la ../server/libserver.la \
../zutil/libzutil.la ../util/libutil.la ../ccl/libccl.la \
../comstack/libcomstack.la ../server/libserver.la \
../zutil/libzutil.la ../util/libutil.la ../ccl/libccl.la \
- ../retrieval/libret.la $(ILLLIB)
+ ../retrieval/libret.la $(EXTRALIB)
+