summaryrefslogtreecommitdiff
path: root/performance-tests/TTCP/Orbix/Makefile
blob: 3a8c4a9ffd4f48a7e8808f571f4da9325bf38f1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
include ./orbix_defaults.mk

all:	client server
	@echo

	@echo "\"client\" and \"server\" have been compiled."
	@echo
	@echo "To run tests, check the how_to_run_tests file."
	@echo

C++FLAGS += -DWANT_ORBIX_FDS -DLM_RESULTS
IDLFLAGS	+= -c C.cpp -s S.cpp -B
SERVER_OBJS	= ttcpS.o ttcp_i.o
CLIENT_OBJS	= ttcpC.o ttcp_i.o

#QUANTIFY	=
QUANTIFY	= quantify -cache-dir=$(IR)/quantify

client: $(CLIENT_OBJS)
	$(QUANTIFY) $(C++) $(C++FLAGS) -o client $(CLIENT_OBJS) -lITclt $(LDFLAGS)

server: $(SERVER_OBJS)
	$(QUANTIFY) $(C++) $(C++FLAGS) -o server $(SERVER_OBJS)  -lITsrv $(LDFLAGS)

clean:
	rm -f core *.o *~ client server

realclean:
	rm -f core *.o *~ client server