X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=server%2FMakefile;h=abdb1e069cada209e500666628e7495e589264d6;hp=a13890dfb7648d22852ad54f75134a7a34593f66;hb=5e0c6af02d0e1e2042d846de614dce4c061200f2;hpb=031f86a3dea0a26278eb9efcce46c1b4d3835a79 diff --git a/server/Makefile b/server/Makefile index a13890d..abdb1e0 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,24 +1,24 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.16 1995-03-30 14:03:22 quinn Exp $ +# $Id: Makefile,v 1.31 1996-10-08 10:45:05 quinn Exp $ + +LIBDIR=../lib + +#LIBMOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a SHELL=/bin/sh -INCLUDE=-I../include -I. -I../../egate/include\ - -I../../xtimosi/src -I../../alex/include -LIBDIR=../../lib +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 ../../egate/lib/util.a\ -../../xtimosi/src/libmosi.a ../../lib/librfc.a \ -$(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) @@ -30,7 +30,7 @@ alll: $(LIB): $(PO) rm -f $(LIB) ar qc $(LIB) $(PO) - ranlib $(LIB) + $(RANLIB) $(LIB) $(LIBDIR): mkdir $(LIBDIR) @@ -42,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