X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=server%2FMakefile;h=abdb1e069cada209e500666628e7495e589264d6;hp=42a58397eecb35bb6eb37c8fe2cbcf5e117ce66d;hb=5e0c6af02d0e1e2042d846de614dce4c061200f2;hpb=4c93ea2a3df5c172408103163ca10499d2c499ed diff --git a/server/Makefile b/server/Makefile index 42a5839..abdb1e0 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,25 +1,24 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.20 1995-04-28 14:15:39 quinn Exp $ +# $Id: Makefile,v 1.31 1996-10-08 10:45:05 quinn Exp $ LIBDIR=../lib -# Uncomment this when you want to use XTIMOSI -LIBMOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a +#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 +PROGO=ztest.o read-grs.o +RANLIB=ranlib all: $(LIBDIR) $(LIB) $(PROG) @@ -31,7 +30,7 @@ alll: $(LIB): $(PO) rm -f $(LIB) ar qc $(LIB) $(PO) - ranlib $(LIB) + $(RANLIB) $(LIB) $(LIBDIR): mkdir $(LIBDIR) @@ -43,12 +42,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