X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=comstack%2FMakefile;h=2b8ec7031f04353fe1fe818d10875df5f2b56480;hp=46f9770d1bf7ec180f4acf35b0e3b04e7794d26b;hb=a7827306d9d9fd634a4b4336944bee781fa61e32;hpb=8a425ff5328260fff0dcc28f08b5bdf6bfac84ab diff --git a/comstack/Makefile b/comstack/Makefile index 46f9770..2b8ec70 100644 --- a/comstack/Makefile +++ b/comstack/Makefile @@ -1,7 +1,7 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.1 1995-06-14 09:58:19 quinn Exp $ +# $Id: Makefile,v 1.6 1997-09-17 12:10:30 adam Exp $ LIBDIR=../lib @@ -12,15 +12,14 @@ LIBDIR=../lib SHELL=/bin/sh INCLUDE=-I../include -I. -I../../xtimosi/src LIBINCLUDE=-L$(LIBDIR) -L../../xtimosi/src -#CFLAGS=-Wall -pedantic -g -#CFLAGS=-g -DEFS=$(INCLUDE) -DRPN_QUERY # -DTRACE_TCPIP +DEFS=$(INCLUDE) $(CDEFS) # -DTRACE_TCPIP LIB= $(LIBDIR)/libcomstack.a LIBS=$(LIBDIR)/libasn.a $(LIBDIR)/libodr.a $(LIBDIR)/libcomstack.a \ ../lib/ccl.a $(LIBDIR)/libutil.a $(LIBMOSI) -PO = comstack.o tcpip.o $(XMOSI) +PO = comstack.o tcpip.o waislen.o $(XMOSI) CPP=$(CC) -E #CC=checkergcc +RANLIB=ranlib all: $(LIBDIR) $(LIB) @@ -32,7 +31,7 @@ alll: $(LIB): $(PO) rm -f $(LIB) ar qc $(LIB) $(PO) - ranlib $(LIB) + $(RANLIB) $(LIB) $(LIBDIR): mkdir $(LIBDIR) @@ -50,7 +49,7 @@ depend1: mv -f Makefile.tmp Makefile depend2: - $(CPP) $(INCLUDE) -M *.c >.depend + $(CPP) $(DEFS) -M *.c >.depend ifeq (.depend,$(wildcard .depend)) include .depend