1 ## $Id: Makefile.am,v 1.5 2000-05-02 19:32:16 adam Exp $
3 lib_LTLIBRARIES = libyaz.la
5 bin_SCRIPTS = yaz-config
7 # If the line below is omitted the LINK variable is
8 # not set in Makefile.in and it will NOT work ..
9 EXTRA_libyaz_la_SOURCES=x.c
14 LDFLAGS=-version-info 0:0:0
16 libyaz_la_LIBADD=../odr/libodr.la ../$(ASNMODULE)/libasn.la \
17 ../comstack/libcomstack.la ../server/libserver.la \
18 ../zutil/libzutil.la ../util/libutil.la ../ccl/libccl.la \
19 ../retrieval/libret.la $(ILLLIB)
21 # Public libraries and header files
22 LIBDIR=$(exec_prefix)/lib
23 INCDIR=$(prefix)/include
26 @echo "#!/bin/sh" >yaz-config
27 @echo "# YAZ settings for developers" >>yaz-config
28 @echo "YAZBIN='$(bindir)'" >>yaz-config
29 @echo "YAZTAB='$(pkgdatadir)/tab'" >>yaz-config
30 @echo "YAZLIB='-L$(libdir) -lyaz $(LIBS)'" >>yaz-config
31 @echo "YAZINC='-I$(includedir)'" >>yaz-config