First work on resource monitor program.
[egate.git] / kernel / Makefile
index 5686bc5..6fdbf04 100644 (file)
@@ -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) $<