1 ## $Id: Makefile.am,v 1.3 2000-04-05 07:39:55 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
16 LDFLAGS=-version-info 0:0:0
18 libyaz_la_LIBADD=../odr/libodr.la ../@ASNMODULE@/libasn.la \
19 ../comstack/libcomstack.la ../server/libserver.la \
20 ../zutil/libzutil.la ../util/libutil.la ../ccl/libccl.la \
21 ../retrieval/libret.la @ILLLIB@
23 # Public libraries and header files
24 LIBDIR=$(exec_prefix)/lib
25 INCDIR=$(prefix)/include
28 @echo "#!/bin/sh" >yaz-config
29 @echo "# YAZ settings for developers" >>yaz-config
30 @echo "YAZBIN='$(bindir)'" >>yaz-config
31 @echo "YAZTAB='$(pkgdatadir)/tab'" >>yaz-config
32 @echo "YAZLIB='-L$(libdir) -lyaz $(LIBS)'" >>yaz-config
33 @echo "YAZINC='-I$(includedir)'" >>yaz-config