summaryrefslogtreecommitdiff
path: root/performance-tests/TTCP/Orbix/Makefile
blob: c5a9eb901fa94e6373ff9867efb5c27ecdecaf98 (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
31
#----------------------------------------------------------------------------
#       $Id$
#----------------------------------------------------------------------------

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

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