X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile;h=168eecbac3be44f4776d563a81e4796fd2f820b0;hp=4d71b655790972610970ef80f87d684371d75840;hb=1479cd42ce8537af61e2883d9567b0e13bd37197;hpb=881c919d54a8d7da72375592033913fcf161e56e diff --git a/Makefile b/Makefile index 4d71b65..168eecb 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,21 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.8 1995-04-19 10:08:39 quinn Exp $ +# $Id: Makefile,v 1.12 1995-05-22 11:29:19 quinn Exp $ -# Define -DUSE_XTIMOSI to enable the xtimosi functionality. Remeber to -# also modify the makefiles under yazlib/ and server/ (according the -# comments found there). Uncomment RFC1006. - -#DEFS=-DUSE_XTIMOSI -#RFC1006=rfc1006 +# Uncomment the lines below to enable mOSI communcation. +DEFS=-DUSE_XTIMOSI +RFC1006=rfc1006 +LIBMOSI=../../xtimosi/src/libmosi.a ../lib/librfc.a +XMOSI=xmosi.o #CC= SHELL=/bin/sh MAKE=make -SUBDIR=util odr asn $(RFC1006) ccl yazlib server makelib +SUBDIR=util odr asn $(RFC1006) ccl yazlib client server makelib all: - for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS) $(DEFS)"; then cd ..; else exit 1; fi; done + for i in $(SUBDIR); do cd $$i; if $(MAKE) CFLAGS="$(CFLAGS) $(DEFS)" LIBMOSI="$(LIBMOSI)" XMOSI="$(XMOSI)"; then cd ..; else exit 1; fi; done dep depend: for i in $(SUBDIR); do cd $$i; if $(MAKE) depend; then cd ..; else exit 1; fi; done