X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=server%2FMakefile;h=d21f3972efc75c472a23ee54317462d8c1ba05ab;hp=9db5dc0c707c87fa46a80263bb4f8f36caee3249;hb=4c139281f38687ac9e5cf120bd8421d476d51bd6;hpb=881c919d54a8d7da72375592033913fcf161e56e diff --git a/server/Makefile b/server/Makefile index 9db5dc0..d21f397 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,25 +1,25 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.19 1995-04-19 10:08:46 quinn Exp $ +# $Id: Makefile,v 1.27 1995-06-27 13:20:59 quinn Exp $ LIBDIR=../lib -# Uncomment this when you want to use XTIMOSI #LIBMOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a SHELL=/bin/sh -INCLUDE=-I../include -I. -I../../xtimosi/src -I../../alex/include +INCLUDE=-I../include -I. -I../../xtimosi/src LIBINCLUDE=-L$(LIBDIR) #CFLAGS=-Wall -pedantic -g DEFS=$(INCLUDE) LIB=$(LIBDIR)/libserver.a LIBS=$(LIBDIR)/libserver.a $(LIBDIR)/libasn.a $(LIBDIR)/libodr.a \ -$(LIBDIR)/libcomstack.a $(LIBMOSI) $(LIBDIR)/libutil.a -PO = eventl.o seshigh.o statserv.o +$(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) @@ -31,7 +31,7 @@ alll: $(LIB): $(PO) rm -f $(LIB) ar qc $(LIB) $(PO) - ranlib $(LIB) + $(RANLIB) $(LIB) $(LIBDIR): mkdir $(LIBDIR) @@ -43,12 +43,11 @@ clean: rm -f *.[oa] test core mon.out gmon.out errlist tst cli $(PROG) 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