X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=38a3c40690de7d435276cefbe1a2cf4b0a197fd5;hp=54279a6c55d6719727b4993fbba42bc3cc79a410;hb=12cdf00008c22bb5edf92632c7236b2676a273dd;hpb=c31ff54e57a2c28d5e12986f439b08e37aa6891e diff --git a/Makefile b/Makefile index 54279a6..38a3c40 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -# Copyright (C) 1994, Index Data I/S +# Copyright (C) 1994-1998, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.37 1995-11-27 13:57:35 adam Exp $ +# $Id: Makefile,v 1.62 1998-05-20 10:12:11 adam Exp $ SHELL=/bin/sh MAKE=make @@ -11,16 +11,17 @@ RANLIB=ranlib YAZLIB=../../yaz/lib/libyaz.a # Where are Yaz header files located? YAZINC=-I../../yaz/include +#YAZINC=-I../../yaz/z39.50 -I../../yaz/include # If Yaz is compiled with mosi support uncomment and specify. -OSILIB=../../xtimosi/src/libmosi.a ../../yaz/lib/librfc.a +#OSILIB=../../xtimosi/src/libmosi.a ../../yaz/lib/librfc.a # Some systems have seperate socket libraries -#NETLIB=-lnsl -lsocket +#ELIBS=-lnsl -lsocket -SUBDIR=util str bfile dfa dict isam rset index +SUBDIR=util bfile dfa dict isamc isam rset recctrl index all: - for i in $(SUBDIR); do cd $$i; if $(MAKE) OSILIB="$(OSILIB)" YAZLIB="$(YAZLIB)" YAZINC="$(YAZINC)" RANLIB="$(RANLIB)" NETLIB="$(NETLIB)" CFLAGS="$(CFLAGS)" CC="$(CC)"; then cd ..; else exit 1; fi; done + for i in $(SUBDIR); do cd $$i; if $(MAKE) OSILIB="$(OSILIB)" YAZLIB="$(YAZLIB)" YAZINC="$(YAZINC)" RANLIB="$(RANLIB)" ELIBS="$(ELIBS)" CFLAGS="$(CFLAGS)" CC="$(CC)"; then cd ..; else exit 1; fi; done dep depend: for i in $(SUBDIR); do cd $$i; if $(MAKE) YAZINC="$(YAZINC)" depend; then cd ..; else exit 1; fi; done @@ -58,4 +59,4 @@ gnudepend: wc: wc `find . -name '*.[ch]'` - +