#
# makefile for gateway performance monitoring program.
#
INCLUDES=-I/mit/cgw/src/sys/include -I/mit/cgw/src/gw/src
LIBS = 

CFLAGS = -g $(INCLUDES)

OBS=statd.o gw_status_utils.o read_config_file.o 

all: statd dump_stats

statd: $(OBS)
	cc $(CFLAGS) $(OBS) $(LIBS) -o $@

dump_stats: dump_stats.o partime.o
	cc $(CFLAGS) dump_stats.o partime.o $(LIBS) -o $@

install:
	install -d statd $(CGW)/statd/bin
	install -d dump_stats $(CGW)/statd/bin

clean:
	rm -f a.out core errs gmon.out *.bak *~ *.stats

veryclean:
	rm -f statd *.o a.out core errs gmon.out *.bak *~ *.stats




