# -*- Makefile -*- #---------------------------------------------------------------------------- # GNU Makefile # # @file GNUmakefile.Struct_Filter_Ntf_Struct_Cons # # $Id: gnu.mpd 77593 2007-03-07 16:38:39Z elliott_c $ # # 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.Struct_Filter_Ntf_Struct_Cons DEPENDENCY_FILE = .depend.Struct_Filter_Ntf_Struct_Cons BIN_UNCHECKED = Structured_Consumer TAO_ROOT ?= $(ACE_ROOT)/TAO FILES = \ goC.cpp \ Notify_Push_Consumer.cpp \ Structured_Consumer.cpp #---------------------------------------------------------------------------- # Include macros and targets #---------------------------------------------------------------------------- LDLIBS = -lTAO_NotifyTests -lTAO_CosEvent_Serv -lTAO_IFR_Client -lTAO_DynamicInterface -lTAO_Messaging -lTAO_PI -lTAO_CodecFactory -lTAO_CosNaming -lTAO_CosNotification_Serv -lTAO_DynamicAny -lTAO_Valuetype -lTAO_ETCL -lTAO_Svc_Utils -lTAO_CosNotification_Skel -lTAO_CosEvent_Skel -lTAO_PortableServer -lTAO_CosNotification -lTAO_CosEvent -lTAO_AnyTypeCode -lTAO -lACE TAO_IDL = $(ACE_ROOT)/bin/tao_idl TAO_IDL_DEP = $(ACE_ROOT)/bin/tao_idl$(EXEEXT) TAO_IDLFLAGS = -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -I../../../.. PRJ_TYPE = rtp ifeq ($(INSBIN),.) ifeq ($(PWD),) PWD=$(shell pwd) endif INSBIN = $(PWD) endif OUTPUT_DIRECTORY = $(INSBIN) include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU include $(TAO_ROOT)/rules.tao.GNU # 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)/Struct_Filter_Ntf_Struct_Cons all: $(TEMPINCDIR) endif ifneq ($(OUTPUT_DIRECTORY),) all: $(OUTPUT_DIRECTORY) $(OUTPUT_DIRECTORY): -@$(MKDIR) "$(OUTPUT_DIRECTORY)" 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 LIBCHECK ?= $(filter-out $(foreach lib,TAO_NotifyTests TAO_CosEvent_Serv TAO_IFR_Client TAO_DynamicInterface TAO_Messaging TAO_PI TAO_CodecFactory TAO_CosNaming TAO_CosNotification_Serv TAO_DynamicAny TAO_Valuetype TAO_ETCL TAO_Svc_Utils TAO_CosNotification_Skel TAO_CosEvent_Skel TAO_PortableServer TAO_CosNotification TAO_CosEvent TAO_AnyTypeCode TAO ACE,$(findstring $(lib),$(foreach libpath,. $(ACE_ROOT)/lib /usr/lib $(INSLIB),$(wildcard $(libpath)/lib$(lib).* $(libpath)/$(lib).lib)))),TAO_NotifyTests TAO_CosEvent_Serv TAO_IFR_Client TAO_DynamicInterface TAO_Messaging TAO_PI TAO_CodecFactory TAO_CosNaming TAO_CosNotification_Serv TAO_DynamicAny TAO_Valuetype TAO_ETCL TAO_Svc_Utils TAO_CosNotification_Skel TAO_CosEvent_Skel TAO_PortableServer TAO_CosNotification TAO_CosEvent TAO_AnyTypeCode TAO ACE) ifeq ($(LIBCHECK),) LIBCHECK = 1 endif endif endif ifeq ($(exceptions),1) ifeq ($(corba_messaging),1) ifeq ($(LIBCHECK), 1) BIN = $(BIN_UNCHECKED)$(EXEEXT) else all: lib_warning endif else all: require_warning endif else all: require_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 ($(OUTPUT_DIRECTORY),) ifneq ($(OUTPUT_DIRECTORY),.) INSTALL = $(VBIN:%=$(INSBIN)/%) CLEANUP_INSTALL += $(CLEANUP_BIN:%=$(INSBIN)/%$(VAR)$(EXEEXT)) endif endif include $(ACE_ROOT)/include/makeinclude/rules.local.GNU ifeq ($(VXWORKSLINK),true) include $(TGT_DIR)/h/make/rules.$(PRJ_TYPE) endif ifeq ($(VXWORKSLINK),true) LDLIBPATH = -L. -L$(ACE_ROOT)/lib else LDFLAGS += -L. -L$(ACE_ROOT)/lib endif CPPFLAGS += -I$(ACE_ROOT) -I../../../.. -I../../../../orbsvcs -I../../../../orbsvcs/tests/Notify/lib CPPFLAGS += -DTAO_HAS_TYPED_EVENT_CHANNEL ifeq ($(static_libs),1) CPPFLAGS += -DACE_AS_STATIC_LIBS -DTAO_AS_STATIC_LIBS endif #---------------------------------------------------------------------------- # Local targets #---------------------------------------------------------------------------- lib_warning: @echo Struct_Filter_Ntf_Struct_Cons will not be built due to the following missing library: @echo $(LIBCHECK) require_warning: @echo Struct_Filter_Ntf_Struct_Cons will not be built due to one of the following disabled make macros: @echo exceptions corba_messaging ## Some OS's have /bin/test others only have /usr/bin/test ifeq ($(wildcard /bin/test), /bin/test) TEST_EXE = /bin/test else ifeq ($(wildcard /usr/bin/test), /usr/bin/test) TEST_EXE = /usr/bin/test endif endif DYLD_LIBRARY_PATH := $(DYLD_LIBRARY_PATH):$(ACE_ROOT)/lib LD_LIBRARY_PATH := $(LD_LIBRARY_PATH):$(ACE_ROOT)/lib SHLIB_PATH := $(SHLIB_PATH):$(ACE_ROOT)/lib LIBPATH := $(LIBPATH):$(ACE_ROOT)/lib PATH := $(PATH):$(ACE_ROOT)/lib ifneq ($(GENERATED_DIRTY),) .PRECIOUS: $(GENERATED_DIRTY) ## If the generated files are anything but source files, we need to ## ensure that those files are generated before we attempt to build anything ## else. ifeq ($(OBJS_DEPEND_ON_GENERATED),1) $(VDIR)$(ACE_PCH_FILE) $(addprefix $(VDIR), $(OBJS)): $(GENERATED_DIRTY) $(VSHDIR)$(ACE_PCH_FILE) $(VSHOBJS): $(GENERATED_DIRTY) endif endif ifneq ($(VXWORKSLINK),true) ifeq ($(static_libs_only), 1) ifeq ($(use_dep_libs), 1) DEPLIBS = $(foreach lib, TAO_NotifyTests TAO_CosEvent_Serv TAO_IFR_Client TAO_DynamicInterface TAO_Messaging TAO_PI TAO_CodecFactory TAO_CosNaming TAO_CosNotification_Serv TAO_DynamicAny TAO_Valuetype TAO_ETCL TAO_Svc_Utils TAO_CosNotification_Skel TAO_CosEvent_Skel TAO_PortableServer TAO_CosNotification TAO_CosEvent TAO_AnyTypeCode TAO ACE , $(foreach libpath, . $(ACE_ROOT)/lib, $(wildcard $(libpath)/lib$(lib).a))) endif endif $(BIN): $(addprefix $(VDIR), $(OBJS)) $(DEPLIBS) $(LINK.cc) $(LDFLAGS) $(CC_OUTPUT_FLAG) $@ $^ $(VLDLIBS) $(POSTLINK) endif realclean: clean ifneq ($(GENERATED_DIRTY),) -$(RM) -r $(GENERATED_DIRTY) endif __prebuild__: @-: