X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=server%2FMakefile;h=ed422a8a9b486c5065e569e8c3a38ae6c7b0f37b;hp=9f16cc0babe06e8c30b9e5d30d48dfd16012b809;hb=0ff5815242556923f24a9dcbbad9ebe30e64f165;hpb=9e7c99310963a811885820ccccf9e96fae6ecf8b diff --git a/server/Makefile b/server/Makefile index 9f16cc0..ed422a8 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,33 +1,36 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.9 1995-03-15 15:18:51 quinn Exp $ +# $Id: Makefile,v 1.29 1996-05-22 08:36:02 adam 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) - $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS) pwrite.o + $(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS) 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