# -*- 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: idl2jni_codegen idl2jni_runtime idl2jni_test_simple

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

$(REMAINING_TARGETS):
	@cd codegen && $(MAKE) -f GNUmakefile.idl2jni_codegen $(@)
	@cd runtime && $(MAKE) -f GNUmakefile.idl2jni_runtime $(@)
	@cd tests/simple && $(MAKE) -f GNUmakefile.idl2jni_test_simple $(@)

.PHONY: idl2jni_codegen
idl2jni_codegen:
	@cd codegen && $(MAKE) -f GNUmakefile.idl2jni_codegen all

.PHONY: idl2jni_runtime
idl2jni_runtime:
	@cd runtime && $(MAKE) -f GNUmakefile.idl2jni_runtime all

.PHONY: idl2jni_test_simple
idl2jni_test_simple: idl2jni_codegen idl2jni_runtime
	@cd tests/simple && $(MAKE) -f GNUmakefile.idl2jni_test_simple all

project_name_list:
	@echo idl2jni_codegen
	@echo idl2jni_runtime
	@echo idl2jni_test_simple
