X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=server%2FMakefile;h=d21f3972efc75c472a23ee54317462d8c1ba05ab;hp=824b76e29a9eeff492de4f2597749adb71f2069a;hb=4c139281f38687ac9e5cf120bd8421d476d51bd6;hpb=1b2f4362552dcb365b6e4722d5eac7bb704c6c01 diff --git a/server/Makefile b/server/Makefile index 824b76e..d21f397 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,7 +1,7 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.24 1995-05-30 10:16:09 quinn Exp $ +# $Id: Makefile,v 1.27 1995-06-27 13:20:59 quinn Exp $ LIBDIR=../lib @@ -14,11 +14,12 @@ LIBINCLUDE=-L$(LIBDIR) DEFS=$(INCLUDE) LIB=$(LIBDIR)/libserver.a LIBS=$(LIBDIR)/libserver.a $(LIBDIR)/libasn.a $(LIBDIR)/libodr.a \ -$(LIBDIR)/libcomstack.a $(LIBMOSI) $(LIBDIR)/libutil.a +$(LIBDIR)/libcomstack.a $(LIBMOSI) $(LIBDIR)/libutil.a $(ELIBS) PO = eventl.o seshigh.o statserv.o requestq.o CPP=$(CC) -E PROG=ztest PROGO=ztest.o +RANLIB=ranlib all: $(LIBDIR) $(LIB) $(PROG) @@ -30,7 +31,7 @@ alll: $(LIB): $(PO) rm -f $(LIB) ar qc $(LIB) $(PO) - ranlib $(LIB) + $(RANLIB) $(LIB) $(LIBDIR): mkdir $(LIBDIR) @@ -44,10 +45,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