Last change
on this file since 1343 was 1343, checked in by johnmcp, 24 years ago |
Added the YAZ toolkit source to the packages directory (for z39.50 stuff)
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
835 bytes
|
Line | |
---|
1 | ## $Id: Makefile.am 1343 2000-08-03 03:12:39Z johnmcp $
|
---|
2 |
|
---|
3 | lib_LIBRARIES = libyaz.a
|
---|
4 |
|
---|
5 | bin_SCRIPTS = yaz-config
|
---|
6 |
|
---|
7 | libyaz_a_SOURCES=
|
---|
8 |
|
---|
9 | LIB=libyaz.a
|
---|
10 |
|
---|
11 | YAZLIBS=../odr/libodr.a ../@ASNMODULE@/libasn.a ../comstack/libcomstack.a \
|
---|
12 | ../server/libserver.a ../zutil/libzutil.a ../util/libutil.a \
|
---|
13 | ../ccl/libccl.a ../retrieval/libret.a @ILLLIB@
|
---|
14 |
|
---|
15 | libyaz.a: $(YAZLIBS)
|
---|
16 | rm -f $(LIB)
|
---|
17 | for i in $(YAZLIBS); do echo $$i; ar x $$i; rm -f __*; done
|
---|
18 | ar qc $(LIB) *.o
|
---|
19 | rm -f *.o
|
---|
20 | $(RANLIB) $(LIB)
|
---|
21 |
|
---|
22 | # Public libraries and header files
|
---|
23 | LIBDIR=$(exec_prefix)/lib
|
---|
24 | INCDIR=$(prefix)/include
|
---|
25 |
|
---|
26 | yaz-config: Makefile
|
---|
27 | @echo "#!/bin/sh" >yaz-config
|
---|
28 | @echo "# YAZ settings for developers" >>yaz-config
|
---|
29 | @echo "YAZBIN='$(bindir)'" >>yaz-config
|
---|
30 | @echo "YAZTAB='$(pkgdatadir)/tab'" >>yaz-config
|
---|
31 | @echo "YAZLIB='-L$(libdir) -lyaz $(LIBS)'" >>yaz-config
|
---|
32 | @echo "YAZINC='-I$(includedir)'" >>yaz-config
|
---|
33 | chmod +x yaz-config
|
---|
34 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.