X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=client%2FMakefile;h=44669fa5001c3c982ec7d03837173704ee03723d;hb=5fe647af23484842955ab7a7e26d0ab34e3c2b1c;hp=e4c37d25ac902f792a4b57f29ad5c05d6c5897d8;hpb=1b2f4362552dcb365b6e4722d5eac7bb704c6c01;p=yaz-moved-to-github.git diff --git a/client/Makefile b/client/Makefile index e4c37d2..44669fa 100644 --- a/client/Makefile +++ b/client/Makefile @@ -1,7 +1,7 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.4 1995-05-30 10:16:03 quinn Exp $ +# $Id: Makefile,v 1.10 1996-05-22 08:35:43 adam Exp $ LIBDIR=../lib @@ -10,10 +10,9 @@ LIBDIR=../lib SHELL=/bin/sh INCLUDE=-I../include -I. -I../../xtimosi/src LIBINCLUDE=-L$(LIBDIR) -#CFLAGS=-Wall -pedantic -g -DEFS=$(INCLUDE) -DRPN_QUERY -DPREFIX_QUERY +DEFS=$(INCLUDE) -DCCL2RPN=1 LIBS=$(LIBDIR)/libasn.a $(LIBDIR)/libodr.a \ - $(LIBDIR)/libcomstack.a ../lib/ccl.a $(LIBMOSI) $(LIBDIR)/libutil.a + $(LIBDIR)/libcomstack.a ../lib/ccl.a $(LIBMOSI) $(LIBDIR)/libutil.a $(ELIBS) CPP=$(CC) -E PROG=client PROGO=client.o @@ -37,10 +36,9 @@ clean: depend: depend2 depend1: - mv Makefile Makefile.tmp - sed '/^#Depend/q' Makefile - $(CPP) $(INCLUDE) -M *.c >>Makefile - -rm Makefile.tmp + sed '/^#Depend/q' Makefile.tmp + $(CPP) $(DEFS) -M *.c >>Makefile.tmp + mv -f Makefile.tmp Makefile depend2: $(CPP) $(INCLUDE) -M *.c >.depend