X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=server%2FMakefile;h=22e2a2417c34520ecf035b18ebed55894c9aad95;hp=d56bd87463893be2a500cdee433c51fc719c1dc4;hb=ffb88e8bb97c6e24989b7f04b8bbf1a4203d2f72;hpb=11fc1fa1b5e4b75942018efe466dbfdb41454077 diff --git a/server/Makefile b/server/Makefile index d56bd87..22e2a24 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,7 +1,7 @@ -# Copyright (C) 1994, Index Data I/S +# Copyright (C) 1995-1998, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.28 1995-08-17 12:45:22 quinn Exp $ +# $Id: Makefile,v 1.35 1998-01-07 13:34:06 adam Exp $ LIBDIR=../lib @@ -10,23 +10,13 @@ LIBDIR=../lib SHELL=/bin/sh INCLUDE=-I../include -I. -I../../xtimosi/src LIBINCLUDE=-L$(LIBDIR) -#CFLAGS=-Wall -pedantic -g -DEFS=$(INCLUDE) +DEFS=$(INCLUDE) $(CDEFS) LIB=$(LIBDIR)/libserver.a -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) - -alll: +all: $(LIBDIR) $(LIB) $(LIB): $(PO) rm -f $(LIB) @@ -50,7 +40,7 @@ depend1: mv -f Makefile.tmp Makefile depend2: - $(CPP) $(INCLUDE) -M *.c >.depend + $(CPP) $(DEFS) -M *.c >.depend ifeq (.depend,$(wildcard .depend)) include .depend