1 ## $Id: Makefile.am,v 1.2 2000-02-28 11:44:39 adam Exp $
3 lib_LIBRARIES = libyaz.a
5 bin_SCRIPTS = yaz-config
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@
17 for i in $(YAZLIBS); do echo $$i; ar x $$i; rm -f __*; done
22 # Public libraries and header files
23 LIBDIR=$(exec_prefix)/lib
24 INCDIR=$(prefix)/include
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