X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=server%2FMakefile;h=abdb1e069cada209e500666628e7495e589264d6;hp=cd2ce5ad4af1f8eb1ff9d23904f9a76184deebb3;hb=5e0c6af02d0e1e2042d846de614dce4c061200f2;hpb=7f22a88d407609fc8a4f8554ef754dd649145447 diff --git a/server/Makefile b/server/Makefile index cd2ce5a..abdb1e0 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,25 +1,28 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.6 1995-03-15 08:37:40 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../asn -I../odr -I../yazlib -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 ../../alex/lib/util.a ../../egate/lib/util.a -PO = eventl.o -CPP=cc -E -PROG=statserv -PROGO=statserv.o session.o +LIBS=$(LIBDIR)/libserver.a $(LIBDIR)/libasn.a $(LIBDIR)/libodr.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 read-grs.o +RANLIB=ranlib all: $(LIBDIR) $(LIB) $(PROG) -$(PROG): $(LIB) $(PROGO) pwrite.o +$(PROG): $(LIB) $(PROGO) $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS) alll: @@ -27,7 +30,7 @@ alll: $(LIB): $(PO) rm -f $(LIB) ar qc $(LIB) $(PO) - ranlib $(LIB) + $(RANLIB) $(LIB) $(LIBDIR): mkdir $(LIBDIR) @@ -36,15 +39,14 @@ $(LIBDIR): $(CC) -c $(DEFS) $(CFLAGS) $< clean: - rm -f *.[oa] test core mon.out gmon.out errlist tst cli + 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