X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=kernel%2FMakefile;h=01f5fcc943906c6420495626fe8aa358f4a266db;hb=4938d0c2e8f4e1eec397c2bfbbc7e23fd150c369;hp=05f8b6f9e3b3a7dd66512e3480e00d21b3eecb33;hpb=5c6e78a48473f4ac68d8c4eacab8bce0af70b7c9;p=egate.git diff --git a/kernel/Makefile b/kernel/Makefile index 05f8b6f..01f5fcc 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -2,7 +2,46 @@ # Europagate, 1995 # # $Log: Makefile,v $ -# Revision 1.16 1995/04/19 07:30:56 adam +# Revision 1.28 1996/01/24 08:28:07 adam +# Fix. +# +# Revision 1.27 1995/07/05 10:20:06 adam +# Z definitions duplicated from ../Makefile. +# +# Revision 1.26 1995/07/03 08:20:12 adam +# More help information and better diagnostics. +# +# Revision 1.25 1995/05/19 13:25:58 adam +# Bug fixes. Better command line options. +# +# Revision 1.24 1995/05/03 12:18:46 adam +# This code ran on dtbsun. Minor changes. +# +# Revision 1.23 1995/05/03 07:37:29 adam +# CCL commands stop/continue implemented. New functions gw_res_{int,bool} +# are used when possible. +# +# Revision 1.22 1995/05/01 12:43:26 adam +# First work on resource monitor program. +# +# Revision 1.21 1995/04/20 16:10:45 adam +# Modified to work with non-blocking zass-api. Not using non-blocking +# facility yet. +# +# Revision 1.20 1995/04/20 15:24:59 quinn +# *** empty log message *** +# +# Revision 1.19 1995/04/19 16:08:20 adam +# Minor changes. +# +# Revision 1.18 1995/04/19 16:01:57 adam +# Some hacks to get the FIFO communication work!! Isn't reliable. +# Resource gw.account added - default account info. +# +# Revision 1.17 1995/04/19 10:46:17 adam +# Persistency works much better now. New command: status - history-like +# +# Revision 1.16 1995/04/19 07:30:56 adam # First work on Z39.50 persistence. # # Revision 1.15 1995/04/17 11:27:29 quinn @@ -56,39 +95,45 @@ # SHELL=/bin/sh -ZPRE=/home/proj/zdist/zdist102b1-1/libz3950 -ZINC=-I$(ZPRE) -ZLIB=$(ZPRE)/libz3950.a - -#ZLIB=../../yaz/lib/libyaz.a +ZINC=-I../../yaz/include +ZLIB=../../yaz/lib/libyaz.a +ZDEFS= INCLUDE=-I../include #CFLAGS=-g -Wall CPP=$(CC) -E DEFS=$(INCLUDE) -DUSE_FML=1 -USELIBS1=../lib/ccl.a ../lib/fml.a ../lib/libzass.a ../lib/libres+log.a \ -../lib/util.a $(ZLIB) $(REGEXOBJ) PROG1=kernel O1=main.o urp.o persist.o +USELIBS1=../lib/ccl.a ../lib/fml.a ../lib/libzass.a ../lib/libres+log.a \ +../lib/util.a $(REGEXOBJ) PROG2=eti O2=eti.o +USELIBS2=../lib/libres+log.a ../lib/util.a -all: $(PROG1) $(PROG2) +PROG3=monitor +O3=monitor.o +USELIBS3=../lib/libres+log.a ../lib/util.a + +all: $(PROG1) $(PROG2) $(PROG3) $(PROG1): $(O1) $(USELIBS1) - $(CC) $(CFLAGS) -o $(PROG1) $(O1) $(USELIBS1) $(NETLIB) + $(CC) $(CFLAGS) -o $(PROG1) $(O1) $(USELIBS1) $(ZLIB) $(NETLIB) + +$(PROG2): $(O2) $(USELIBS2) + $(CC) $(CFLAGS) -o $(PROG2) $(O2) $(USELIBS2) $(ZLIB) $(NETLIB) -$(PROG2): $(O2) $(USELIBS1) - $(CC) $(CFLAGS) -o $(PROG2) $(O2) $(USELIBS1) $(NETLIB) +$(PROG3): $(O3) $(USELIBS3) + $(CC) $(CFLAGS) -o $(PROG3) $(O3) $(USELIBS3) $(ZLIB) $(NETLIB) .c.o: $(CC) -c $(DEFS) $(CFLAGS) $< clean: - rm -f *.log *.[oa] $(PROG1) $(PROG2) - rm -f core mon.out gmon.out errlist *~ fifo.* + rm -f *.log *.[oa] $(PROG1) $(PROG2) $(PROG3) + rm -f core mon.out gmon.out errlist *~ fifo.* depend: depend2