# -*- makefile -*-
#----------------------------------------------------------------------------
#       GNU ACE Workspace
#
# $Id: GNUACEWorkspaceCreator.pm 935 2008-12-10 21:47:27Z mitza $
#
# This file was generated by MPC.  Any changes made directly to
# this file will be lost the next time it is generated.
#
# MPC Command:
# /tao_builds/taoadmin/1.6a/ACE_wrappers/bin/mwc.pl -type gnuace DDS.mwc
#
#----------------------------------------------------------------------------

MAKEFILE = GNUmakefile

ifeq ($(findstring k,$(MAKEFLAGS)),k)
  KEEP_GOING = -
endif

include $(ACE_ROOT)/include/makeinclude/macros.GNU

all: SimpleLatency_Idl DDS_SimpleLatency_Sub DDS_SimpleLatency_Pub DCPS_Perf_Raw_Tcp_Latency_Publisher DCPS_Perf_Raw_Tcp_Latency_Subscriber

REMAINING_TARGETS := $(subst all, , $(TARGETS_NESTED:.nested=)) $(CUSTOM_TARGETS)

$(REMAINING_TARGETS):
	@$(MAKE) -f GNUmakefile.SimpleLatency_Idl $(@)
	@$(MAKE) -f GNUmakefile.DDS_SimpleLatency_Sub $(@)
	@$(MAKE) -f GNUmakefile.DDS_SimpleLatency_Pub $(@)
	@cd raw_tcp/publisher && $(MAKE) -f GNUmakefile.DCPS_Perf_Raw_Tcp_Latency_Publisher $(@)
	@cd raw_tcp/subscriber && $(MAKE) -f GNUmakefile.DCPS_Perf_Raw_Tcp_Latency_Subscriber $(@)

.PHONY: SimpleLatency_Idl
SimpleLatency_Idl:
	@$(MAKE) -f GNUmakefile.SimpleLatency_Idl all

.PHONY: DDS_SimpleLatency_Sub
DDS_SimpleLatency_Sub: SimpleLatency_Idl
	@$(MAKE) -f GNUmakefile.DDS_SimpleLatency_Sub all

.PHONY: DDS_SimpleLatency_Pub
DDS_SimpleLatency_Pub: SimpleLatency_Idl DDS_SimpleLatency_Sub
	@$(MAKE) -f GNUmakefile.DDS_SimpleLatency_Pub all

.PHONY: DCPS_Perf_Raw_Tcp_Latency_Publisher
DCPS_Perf_Raw_Tcp_Latency_Publisher:
	@cd raw_tcp/publisher && $(MAKE) -f GNUmakefile.DCPS_Perf_Raw_Tcp_Latency_Publisher all

.PHONY: DCPS_Perf_Raw_Tcp_Latency_Subscriber
DCPS_Perf_Raw_Tcp_Latency_Subscriber:
	@cd raw_tcp/subscriber && $(MAKE) -f GNUmakefile.DCPS_Perf_Raw_Tcp_Latency_Subscriber all

project_name_list:
	@echo DDS_SimpleLatency_Pub
	@echo DDS_SimpleLatency_Sub
	@echo SimpleLatency_Idl
	@echo DCPS_Perf_Raw_Tcp_Latency_Publisher
	@echo DCPS_Perf_Raw_Tcp_Latency_Subscriber
