# -*- 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 -features java=1 java -exclude java/jms
#
#----------------------------------------------------------------------------

MAKEFILE = GNUmakefile

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

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

all: messenger_idl_test builtintopics_test complex_idl_test hello_java_client publisher_idl_test subscriber_idl_test multirepo_test transport_config-target

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

$(REMAINING_TARGETS):
	@cd messenger/messenger_idl && $(MAKE) -f GNUmakefile.messenger_idl_test $(@)
	@cd builtintopics && $(MAKE) -f GNUmakefile.builtintopics_test $(@)
	@cd complex_idl && $(MAKE) -f GNUmakefile.complex_idl_test $(@)
	@cd hello && $(MAKE) -f GNUmakefile.hello_java_client $(@)
	@cd messenger/publisher && $(MAKE) -f GNUmakefile.publisher_idl_test $(@)
	@cd messenger/subscriber && $(MAKE) -f GNUmakefile.subscriber_idl_test $(@)
	@cd multirepo && $(MAKE) -f GNUmakefile.multirepo_test $(@)
	@cd transport_config && $(MAKE) -f GNUmakefile.transport_config $(@)

.PHONY: messenger_idl_test
messenger_idl_test:
	@cd messenger/messenger_idl && $(MAKE) -f GNUmakefile.messenger_idl_test all

.PHONY: builtintopics_test
builtintopics_test: messenger_idl_test
	@cd builtintopics && $(MAKE) -f GNUmakefile.builtintopics_test all

.PHONY: complex_idl_test
complex_idl_test:
	@cd complex_idl && $(MAKE) -f GNUmakefile.complex_idl_test all

.PHONY: hello_java_client
hello_java_client:
	@cd hello && $(MAKE) -f GNUmakefile.hello_java_client all

.PHONY: publisher_idl_test
publisher_idl_test: messenger_idl_test
	@cd messenger/publisher && $(MAKE) -f GNUmakefile.publisher_idl_test all

.PHONY: subscriber_idl_test
subscriber_idl_test: messenger_idl_test
	@cd messenger/subscriber && $(MAKE) -f GNUmakefile.subscriber_idl_test all

.PHONY: multirepo_test
multirepo_test:
	@cd multirepo && $(MAKE) -f GNUmakefile.multirepo_test all

.PHONY: transport_config-target
transport_config-target:
	@cd transport_config && $(MAKE) -f GNUmakefile.transport_config all

project_name_list:
	@echo builtintopics_test
	@echo complex_idl_test
	@echo hello_java_client
	@echo messenger_idl_test
	@echo publisher_idl_test
	@echo subscriber_idl_test
	@echo multirepo_test
	@echo transport_config-target
