XPI_SRC=xperfisis.o xpi_shells.o xpi_graph.o xpi_tooldefs.o xpi_tools.o \
xpi_notify.o xpi_utils.o xpi_TLdefault.o xpi_TLthroughput.o xpi_TLroundtrip.o \
xpi_TLtransact.o
PERFSERVER_SRC=perfserver.o ps_transact.o
PERFSERVERDM_SRC=perfserverDM.o
ISISDIRS=
ISISLIBS=-lisis1 -lisis2 -lisism
XMLIBDIRS=
XMLIBS=-lXm -lXt -lX11

CFLAGS=-D_NO_PROTO

all:	xperfisis perfserver perfserverDM

xperfisis:	$(XPI_SRC)
	cc -o xperfisis $(XPI_SRC) -lm $(ISISDIRS) $(ISISLIBS) $(XMLIBDIRS) $(XMLIBS)
 
perfserver:	$(PERFSERVER_SRC)
	cc -o perfserver $(PERFSERVER_SRC) $(ISISDIRS) $(ISISLIBS)

perfserverDM:	$(PERFSERVERDM_SRC)
	cc -o perfserverDM $(PERFSERVERDM_SRC) $(ISISDIRS) $(ISISLIBS)


perfserverDM.o:	perfserverDM.c perfserverDM.h perfisis.h


perfserver.o:	perfserver.c perfisis.h ps_transact.h

ps_transact.o:	ps_transact.c ps_transact.h perfisis.h perfserverDM.h


xperfisis.o:	xperfisis.c xperfisis.h xpi_shells.h perfisis.h

xpi_graph.o:	xpi_graph.c xpi_graph.h

xpi_shells.o:	xpi_shells.c xpi_shells.h xperfisis.h \
	xpi_tools.h xpi_tooldefs.h xpi_TLdefault.h

xpi_tools.o:	xpi_tools.c xpi_tools.h xpi_tooldefs.h

xpi_tooldefs.o:	xpi_tooldefs.c xpi_tooldefs.h \
	xpi_TLthroughput.h xpi_TLroundtrip.h

xpi_notify.o:	xpi_notify.c xpi_notify.h xperfisis.h

xpi_utils.o:	xpi_utils.c xpi_utils.h xperfisis.h

xpi_TLdefault.o:	xpi_TLdefault.c xpi_TLdefault.h xpi_tooldefs.h \
	xperfisis.h

xpi_TLthroughput.o:	xpi_TLthroughput.c xpi_TLthroughput.h xpi_tooldefs.h \
	xpi_graph.h xperfisis.h perfisis.h

xpi_TLroundtrip.o:	xpi_TLroundtrip.c xpi_TLroundtrip.h xpi_tooldefs.h \
	xpi_graph.h xperfisis.h perfisis.h

xpi_TLtransact.o:	xpi_TLtransact.c xpi_TLtransact.h xpi_tooldefs.h \
	xpi_graph.h xperfisis.h perfisis.h
