X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=a47ab327450445d5baef1c118ff6316ed0bfed78;hp=db52a91ebc9eee8deabea69d34a87b9ea571f2b0;hb=f1e7c832bcf4e2ecaaefc01a1cec1ba78e90dd12;hpb=89ae1c7e70d3554b3e765d83dd32ce2611c3ca48 diff --git a/Makefile b/Makefile index db52a91..a47ab32 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.38 1995-11-30 17:00:03 adam Exp $ +# $Id: Makefile,v 1.61 1998-03-05 08:45:11 adam Exp $ SHELL=/bin/sh MAKE=make @@ -9,19 +9,18 @@ RANLIB=ranlib # Where are Yaz libraries located? YAZLIB=../../yaz/lib/libyaz.a -#YAZLIB=/usr/local/lib/libyazchkr.a # Where are Yaz header files located? YAZINC=-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 @@ -59,4 +58,4 @@ gnudepend: wc: wc `find . -name '*.[ch]'` - +