RTI Connext CORBA Compatibility Kit  Version 6.0.0
 All Groups Pages
GNUmakefile

[$(NDDSHOME)/example/CPP/corba/GNUmakefile]

# -*- makefile -*-
#----------------------------------------------------------------------------
# GNU ACE Workspace
#
#
#
# This file was generated by MPC. Any changes made directly to
# this file will be lost the next time it is generated.
#
# MPC Command:
# /local/applications/CORBA/ACE-TAO/ACE+TAO-2.4.1/build/x64Linux3gcc4.8.2/ACE_wrappers/bin/mwc.pl -type gnuace Message.mwc
#
#----------------------------------------------------------------------------
MAKEFILE = GNUmakefile
ifeq ($(findstring k,$(MAKEFLAGS)),k)
KEEP_GOING = -
endif
include $(ACE_ROOT)/include/makeinclude/macros.GNU
all: Message_subscriber Message_publisher
depend: Message_subscriber-depend Message_publisher-depend
REMAINING_TARGETS := $(filter-out all depend,$(TARGETS_NESTED:.nested=)) $(CUSTOM_TARGETS)
$(REMAINING_TARGETS):
$(KEEP_GOING)@$(MAKE) -f GNUmakefile.Message_subscriber $(@)
$(KEEP_GOING)@$(MAKE) -f GNUmakefile.Message_publisher $(@)
.PHONY: Message_subscriber
Message_subscriber:
$(KEEP_GOING)@$(MAKE) -f GNUmakefile.Message_subscriber all
.PHONY: Message_subscriber-depend
Message_subscriber-depend:
$(KEEP_GOING)@$(MAKE) -f GNUmakefile.Message_subscriber depend
.PHONY: Message_publisher
Message_publisher: Message_subscriber
$(KEEP_GOING)@$(MAKE) -f GNUmakefile.Message_publisher all
.PHONY: Message_publisher-depend
Message_publisher-depend:
$(KEEP_GOING)@$(MAKE) -f GNUmakefile.Message_publisher depend
project_name_list:
@echo Message_publisher
@echo Message_subscriber

[$(NDDSHOME)/example/CPP/corba/GNUmakefile.Message_publisher]

# -*- Makefile -*-
#----------------------------------------------------------------------------
# GNU Makefile
#
# @file GNUmakefile.Message_publisher
#
# This file was automatically generated by MPC. Any changes made directly to
# this file will be lost the next time it is generated.
#
#----------------------------------------------------------------------------
MAKEFILE = GNUmakefile.Message_publisher
DEPENDENCY_FILE = .depend.Message_publisher
BIN_UNCHECKED = Message_publisher
LIB_PREFIX ?= lib
TAO_ROOT ?= $(ACE_ROOT)/TAO
FILES = \
MessageC.cpp \ MessageS.cpp \ MessagePlugin.cxx \ Message.cxx \ MessageSupport.cxx \ Message_publisher.cxx
LIBPATHS := . "$(NDDSHOME)/lib/x64Linux3gcc4.8.2" "$(ACE_ROOT)/lib"
#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
LDLIBS = -lnddscppz -lnddscz -lnddscorez -lTAO_PortableServer -lTAO_AnyTypeCode -lTAO_TypeCodeFactory -lTAO_Valuetype -lTAO -lACE
PRJ_TYPE = rtp
ifeq ($(INSBIN),.)
ifeq ($(CURDIR),)
ifeq ($(PWD),)
PWD=$(shell pwd)
endif
else
PWD=$(CURDIR)
endif
INSBIN = $(PWD)
endif
OUTPUT_DIRECTORY = $(if $(ARCH),./$(ARCH))
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
include $(TAO_ROOT)/rules.tao.GNU
GNUACE_PROJECT_VERSION ?= $(ACE_VERSION)
# To build multiple targets in the same directory on AIX, it works
# best to have a template directory per project.
# The compiler/linker isn't too smart about instantiating templates...
ifdef TEMPINCDIR
TEMPINCDIR := $(TEMPINCDIR)/Message_publisher
all: $(TEMPINCDIR)
endif
ifneq ($(OUTPUT_DIRECTORY),)
.PHONY: create_output_directory.local
all: create_output_directory.local
create_output_directory.local:
-@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR)
endif
# turn off libcheck if doing a dry run
ifeq ($(findstring n, $(MAKEFLAGS)),n)
LIBCHECK = 1
else
# turn off libcheck if keep going was passed too
ifeq ($(findstring k, $(MAKEFLAGS)),k)
LIBCHECK = 1
else
ifeq ($(LIBCHECK_PREFIX),)
# If the user hasn't specified a place to look for installed libraries, let's set
# a reasonable default
LIBCHECK_PREFIX = /usr
endif
LIBCHECK ?= $(filter-out $(foreach lib,nddscppz nddscz nddscorez TAO_PortableServer TAO_AnyTypeCode TAO_TypeCodeFactory TAO_Valuetype TAO ACE,$(findstring $(lib),$(foreach libpath,. $(if $(ARCH),./$(ARCH)) $(NDDSHOME)/lib/x64Linux3gcc4.8.2 $(if $(ARCH),$(NDDSHOME)/lib/x64Linux3gcc4.8.2/$(ARCH)) $(ACE_ROOT)/lib $(if $(ARCH),$(ACE_ROOT)/lib/$(ARCH)) $(LIBCHECK_PREFIX)/lib $(LIBCHECK_PREFIX)/lib64 $(LIBCHECK_EXTRA_PATHS) $(INSLIB),$(wildcard $(libpath)/$(LIB_PREFIX)$(lib).* $(libpath)/$(lib).lib)))),nddscppz nddscz nddscorez TAO_PortableServer TAO_AnyTypeCode TAO_TypeCodeFactory TAO_Valuetype TAO ACE)
ifeq ($(LIBCHECK),)
LIBCHECK = 1
endif
endif
endif
ifeq ($(LIBCHECK), 1)
BIN = $(BIN_UNCHECKED)$(EXEEXT)
ifdef ARCH
ARCH_BIN = $(ARCH)/$(BIN)
endif #ARCH
else
all: lib_warning
endif
# If it contains ../ at all use notdir.
OBJS = $(foreach var, $(addsuffix .$(OBJEXT), $(basename $(FILES)) $(RESOURCES)), $(if $(findstring ../,$(var)),$(notdir $(var)),$(var)))
SRC = $(FILES)
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
ifneq ($(INSBIN),)
ifneq ($(INSBIN),.)
INSTALL = $(VBIN:%=$(INSBIN)/%)
CLEANUP_INSTALL += $(CLEANUP_BIN:%=$(INSBIN)/$(if $(ARCH),$(ARCH)/)%$(VAR)$(EXEEXT))
endif
endif
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
ifeq ($(VXWORKSLINK),1)
include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE)
endif
ifeq ($(VXWORKSLINK),1)
LDLIBPATH = -L. -L$(NDDSHOME)/lib/x64Linux3gcc4.8.2 -L$(ACE_ROOT)/lib
else
LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -L$(NDDSHOME)/lib/x64Linux3gcc4.8.2 $(if $(ARCH),-L$(NDDSHOME)/lib/x64Linux3gcc4.8.2/$(ARCH)) -L$(ACE_ROOT)/lib $(if $(ARCH),-L$(ACE_ROOT)/lib/$(ARCH))
endif
CPPFLAGS += -I$(NDDSHOME)/include -I$(NDDSHOME)/include/ndds -I$(TAO_ROOT) -I$(ACE_ROOT)
CPPFLAGS += -DRTI_UNIX -DRTI_LINUX
ifeq ($(static_libs),1)
ifeq ($(link_groups), 1)
LDLIBS := -Wl,--start-group $(LDLIBS) -Wl,--end-group
endif
endif
#----------------------------------------------------------------------------
# Local targets
#----------------------------------------------------------------------------
lib_warning:
@echo Message_publisher will not be built due to the following missing library: $(LIBCHECK) >&2
ifneq ($(VXWORKSLINK),1)
ifeq ($(static_libs_only), 1)
ifeq ($(use_dep_libs), 1)
DEPLIBS = $(foreach lib, nddscppz nddscz nddscorez TAO_PortableServer TAO_AnyTypeCode TAO_TypeCodeFactory TAO_Valuetype TAO ACE , $(foreach libpath, . $(NDDSHOME)/lib/x64Linux3gcc4.8.2 $(ACE_ROOT)/lib, $(wildcard $(libpath)/$(LIB_PREFIX)$(lib).$(LIBEXT))))
endif
endif
$(VBIN): $(addprefix $(VDIR), $(OBJS)) $(DEPLIBS)
ifneq (,$(LINK.cc.override))
$(LINK.cc.override)
else
$(LINK.cc) $(LDFLAGS) $(CC_OUTPUT_FLAG) $@ $(filter-out %.a,$^) $(VLDLIBS) $(POSTLINK)
endif
endif
realclean: clean
ifneq ($(GENERATED_DIRTY),)
-$(RM) -r $(GENERATED_DIRTY)
endif
__prebuild__:
@-:
.PHONY: install
install: all
INSTALL_LIB ?= lib
ifneq ($(INSTALL_PREFIX),)
ifneq ($(install_rpath),0)
UNAME := $(shell uname)
ifeq ($(UNAME), HP-UX)
LDFLAGS += -Wl,+s,+b,$(INSTALL_PREFIX)/$(INSTALL_LIB) $(LD_RPATH_FLAGS)
else
ifeq ($(UNAME), Darwin)
LDFLAGS += -Wl,-rpath $(INSTALL_PREFIX)/$(INSTALL_LIB) $(LD_RPATH_FLAGS)
else
LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) $(LD_RPATH_FLAGS)
endif
endif
endif
endif

[$(NDDSHOME)/example/CPP/corba/GNUmakefile.Message_subscriber]

# -*- Makefile -*-
#----------------------------------------------------------------------------
# GNU Makefile
#
# @file GNUmakefile.Message_subscriber
#
# This file was automatically generated by MPC. Any changes made directly to
# this file will be lost the next time it is generated.
#
#----------------------------------------------------------------------------
MAKEFILE = GNUmakefile.Message_subscriber
DEPENDENCY_FILE = .depend.Message_subscriber
BIN_UNCHECKED = Message_subscriber
LIB_PREFIX ?= lib
TAO_ROOT ?= $(ACE_ROOT)/TAO
FILES = \
MessageC.cpp \ MessageS.cpp \ MessagePlugin.cxx \ Message.cxx \ MessageSupport.cxx \ Message_subscriber.cxx
LIBPATHS := . "$(NDDSHOME)/lib/x64Linux3gcc4.8.2" "$(ACE_ROOT)/lib"
#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
LDLIBS = -lnddscppz -lnddscz -lnddscorez -lTAO_PortableServer -lTAO_AnyTypeCode -lTAO_TypeCodeFactory -lTAO_Valuetype -lTAO -lACE
PRJ_TYPE = rtp
ifeq ($(INSBIN),.)
ifeq ($(CURDIR),)
ifeq ($(PWD),)
PWD=$(shell pwd)
endif
else
PWD=$(CURDIR)
endif
INSBIN = $(PWD)
endif
OUTPUT_DIRECTORY = $(if $(ARCH),./$(ARCH))
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
include $(TAO_ROOT)/rules.tao.GNU
GNUACE_PROJECT_VERSION ?= $(ACE_VERSION)
# To build multiple targets in the same directory on AIX, it works
# best to have a template directory per project.
# The compiler/linker isn't too smart about instantiating templates...
ifdef TEMPINCDIR
TEMPINCDIR := $(TEMPINCDIR)/Message_subscriber
all: $(TEMPINCDIR)
endif
ifneq ($(OUTPUT_DIRECTORY),)
.PHONY: create_output_directory.local
all: create_output_directory.local
create_output_directory.local:
-@$(MKDIR) "$(OUTPUT_DIRECTORY)" $(ACE_NUL_STDERR)
endif
# turn off libcheck if doing a dry run
ifeq ($(findstring n, $(MAKEFLAGS)),n)
LIBCHECK = 1
else
# turn off libcheck if keep going was passed too
ifeq ($(findstring k, $(MAKEFLAGS)),k)
LIBCHECK = 1
else
ifeq ($(LIBCHECK_PREFIX),)
# If the user hasn't specified a place to look for installed libraries, let's set
# a reasonable default
LIBCHECK_PREFIX = /usr
endif
LIBCHECK ?= $(filter-out $(foreach lib,nddscppz nddscz nddscorez TAO_PortableServer TAO_AnyTypeCode TAO_TypeCodeFactory TAO_Valuetype TAO ACE,$(findstring $(lib),$(foreach libpath,. $(if $(ARCH),./$(ARCH)) $(NDDSHOME)/lib/x64Linux3gcc4.8.2 $(if $(ARCH),$(NDDSHOME)/lib/x64Linux3gcc4.8.2/$(ARCH)) $(ACE_ROOT)/lib $(if $(ARCH),$(ACE_ROOT)/lib/$(ARCH)) $(LIBCHECK_PREFIX)/lib $(LIBCHECK_PREFIX)/lib64 $(LIBCHECK_EXTRA_PATHS) $(INSLIB),$(wildcard $(libpath)/$(LIB_PREFIX)$(lib).* $(libpath)/$(lib).lib)))),nddscppz nddscz nddscorez TAO_PortableServer TAO_AnyTypeCode TAO_TypeCodeFactory TAO_Valuetype TAO ACE)
ifeq ($(LIBCHECK),)
LIBCHECK = 1
endif
endif
endif
ifeq ($(LIBCHECK), 1)
BIN = $(BIN_UNCHECKED)$(EXEEXT)
ifdef ARCH
ARCH_BIN = $(ARCH)/$(BIN)
endif #ARCH
else
all: lib_warning
endif
# If it contains ../ at all use notdir.
OBJS = $(foreach var, $(addsuffix .$(OBJEXT), $(basename $(FILES)) $(RESOURCES)), $(if $(findstring ../,$(var)),$(notdir $(var)),$(var)))
SRC = $(FILES)
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
ifneq ($(INSBIN),)
ifneq ($(INSBIN),.)
INSTALL = $(VBIN:%=$(INSBIN)/%)
CLEANUP_INSTALL += $(CLEANUP_BIN:%=$(INSBIN)/$(if $(ARCH),$(ARCH)/)%$(VAR)$(EXEEXT))
endif
endif
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
ifeq ($(VXWORKSLINK),1)
include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE)
endif
ifeq ($(VXWORKSLINK),1)
LDLIBPATH = -L. -L$(NDDSHOME)/lib/x64Linux3gcc4.8.2 -L$(ACE_ROOT)/lib
else
LDFLAGS += -L. $(if $(ARCH),-L./$(ARCH)) -L$(NDDSHOME)/lib/x64Linux3gcc4.8.2 $(if $(ARCH),-L$(NDDSHOME)/lib/x64Linux3gcc4.8.2/$(ARCH)) -L$(ACE_ROOT)/lib $(if $(ARCH),-L$(ACE_ROOT)/lib/$(ARCH))
endif
CPPFLAGS += -I$(NDDSHOME)/include -I$(NDDSHOME)/include/ndds -I$(TAO_ROOT) -I$(ACE_ROOT)
CPPFLAGS += -DRTI_UNIX -DRTI_LINUX
ifeq ($(static_libs),1)
ifeq ($(link_groups), 1)
LDLIBS := -Wl,--start-group $(LDLIBS) -Wl,--end-group
endif
endif
#----------------------------------------------------------------------------
# Local targets
#----------------------------------------------------------------------------
lib_warning:
@echo Message_subscriber will not be built due to the following missing library: $(LIBCHECK) >&2
ifneq ($(VXWORKSLINK),1)
ifeq ($(static_libs_only), 1)
ifeq ($(use_dep_libs), 1)
DEPLIBS = $(foreach lib, nddscppz nddscz nddscorez TAO_PortableServer TAO_AnyTypeCode TAO_TypeCodeFactory TAO_Valuetype TAO ACE , $(foreach libpath, . $(NDDSHOME)/lib/x64Linux3gcc4.8.2 $(ACE_ROOT)/lib, $(wildcard $(libpath)/$(LIB_PREFIX)$(lib).$(LIBEXT))))
endif
endif
$(VBIN): $(addprefix $(VDIR), $(OBJS)) $(DEPLIBS)
ifneq (,$(LINK.cc.override))
$(LINK.cc.override)
else
$(LINK.cc) $(LDFLAGS) $(CC_OUTPUT_FLAG) $@ $(filter-out %.a,$^) $(VLDLIBS) $(POSTLINK)
endif
endif
realclean: clean
ifneq ($(GENERATED_DIRTY),)
-$(RM) -r $(GENERATED_DIRTY)
endif
__prebuild__:
@-:
.PHONY: install
install: all
INSTALL_LIB ?= lib
ifneq ($(INSTALL_PREFIX),)
ifneq ($(install_rpath),0)
UNAME := $(shell uname)
ifeq ($(UNAME), HP-UX)
LDFLAGS += -Wl,+s,+b,$(INSTALL_PREFIX)/$(INSTALL_LIB) $(LD_RPATH_FLAGS)
else
ifeq ($(UNAME), Darwin)
LDFLAGS += -Wl,-rpath $(INSTALL_PREFIX)/$(INSTALL_LIB) $(LD_RPATH_FLAGS)
else
LDFLAGS += -Wl,-R$(INSTALL_PREFIX)/$(INSTALL_LIB) $(LD_RPATH_FLAGS)
endif
endif
endif
endif

RTI Connext CORBA Compatibility Kit Version 6.0.0 Copyright © Sun Mar 3 2019 Real-Time Innovations, Inc