X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=server%2FMakefile;h=643047debb48b689dccc8576bf2abbe20fee4796;hp=6830cc8c254bf98ed9ea5acd67649d8b7c3e681a;hb=9e4d074b5d72a383addc86a2c7e76ed60d3c4883;hpb=7e158942eb374e7211dd3dbd834e664c70a2d143 diff --git a/server/Makefile b/server/Makefile index 6830cc8..643047d 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,19 +1,29 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.1 1995-03-10 18:22:44 quinn Exp $ +# $Id: Makefile,v 1.22 1995-05-15 13:25:10 quinn Exp $ + +LIBDIR=../lib + +#LIBMOSI=../../xtimosi/src/libmosi.a $(LIBDIR)/librfc.a SHELL=/bin/sh -INCLUDE=-I../include -I. -I../asn -I../odr -I../../egate/include -I../../xtimosi/src +INCLUDE=-I../include -I. -I../../xtimosi/src -I../../alex/include +LIBINCLUDE=-L$(LIBDIR) #CFLAGS=-Wall -pedantic -g -#CFLAGS=-g DEFS=$(INCLUDE) -LIB= server.a -PO = eventl.o -CPP=cc -E -#CC=checkergcc +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 requestq.o +CPP=$(CC) -E +PROG=ztest +PROGO=ztest.o -all: $(LIB) +all: $(LIBDIR) $(LIB) $(PROG) + +$(PROG): $(LIB) $(PROGO) + $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS) alll: @@ -22,11 +32,14 @@ $(LIB): $(PO) ar qc $(LIB) $(PO) ranlib $(LIB) +$(LIBDIR): + mkdir $(LIBDIR) + .c.o: $(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 :