X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=kernel%2FMakefile;h=6fdbf04836ae6c2261ac0e7599f4d3a77152e1de;hb=97d62ebf41ad027327caf69db18123e7791a9416;hp=5686bc588b6d3920ff19996de467fdbc3fbc8714;hpb=03764a355d7c83d58dc7129680faed15a7353346;p=egate.git diff --git a/kernel/Makefile b/kernel/Makefile index 5686bc5..6fdbf04 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -2,7 +2,10 @@ # Europagate, 1995 # # $Log: Makefile,v $ -# Revision 1.21 1995/04/20 16:10:45 adam +# 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. # @@ -82,23 +85,31 @@ ZLIB=../../yaz/lib/libyaz.a 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) +DEFS=$(INCLUDE) -DUSE_FML=1 -DUSE_MONITOR=1 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 $(ZLIB) $(REGEXOBJ) PROG2=eti O2=eti.o +USELIBS2=../lib/libres+log.a ../lib/util.a + +PROG3=monitor +O3=monitor.o +USELIBS3=../lib/libres+log.a ../lib/util.a -all: $(PROG1) $(PROG2) +all: $(PROG1) $(PROG2) $(PROG3) $(PROG1): $(O1) $(USELIBS1) $(CC) $(CFLAGS) -o $(PROG1) $(O1) $(USELIBS1) $(NETLIB) -$(PROG2): $(O2) $(USELIBS1) - $(CC) $(CFLAGS) -o $(PROG2) $(O2) $(USELIBS1) $(NETLIB) +$(PROG2): $(O2) $(USELIBS2) + $(CC) $(CFLAGS) -o $(PROG2) $(O2) $(USELIBS2) $(NETLIB) + +$(PROG3): $(O3) $(USELIBS3) + $(CC) $(CFLAGS) -o $(PROG3) $(O3) $(USELIBS3) $(NETLIB) .c.o: $(CC) -c $(DEFS) $(CFLAGS) $<