1 ## $Id: Makefile.am,v 1.4 2000-02-29 15:52:33 adam Exp $
3 AUTOMAKE_OPTIONS = foreign
5 DIST_SUBDIRS=util odr z39.50 asn ill zutil comstack ccl tab retrieval server lib include client ztest doc
7 SUBDIRS = @SUBDIRS_VAR@
9 noinst_SCRIPTS = yaz-config
10 SPEC_FILE=$(PACKAGE).spec
11 EXTRA_DIST=$(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt
14 @echo "#!/bin/sh" >yaz-config
15 @echo "# YAZ settings for developers" >>yaz-config
16 @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
17 @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
18 @echo "YAZLIB=\"-L`pwd`/lib -lyaz @LIBS@\"" >>yaz-config
19 @echo "YAZINC=\"-I`pwd`/include\"" >>yaz-config
24 -cp $(srcdir)/win/* $(distdir)/win
26 rpm: $(PACKAGE)-$(VERSION).tar.gz
27 cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES