makefile

来自「corbar RTEC_Federated」· 代码 · 共 117 行

TXT
117
字号
#----------------------------------------------------------------------------# CosEventExample/Makefile#----------------------------------------------------------------------------# This example requires exceptions=1.ifeq ($(exceptions),0)all:	@echo "You must use exceptions=1 to build this example."	@exitelse#----------------------------------------------------------------------------#	Local macros#----------------------------------------------------------------------------ifndef TAO_ROOT TAO_ROOT = $(ACE_ROOT)/TAOendif# This generates the names of all the header and source files to build.DEFS  = EchoEventConsumer_i.h EchoEventSupplier_i.hSRC   = EchoEventSupplierMain.cpp \        EchoEventSupplier_i.cpp   \        EchoEventConsumerMain.cpp \        EchoEventConsumer_i.cpp# List the object files that make up the server (SVR) and client (CLT)FILE_SVR_OBJS = EchoEventConsumerMain.o EchoEventConsumer_i.oFILE_CLT_OBJS = EchoEventSupplierMain.o EchoEventSupplier_i.o# This defines the binary executable targets to build.BIN = EchoEventConsumer EchoEventSupplier#----------------------------------------------------------------------------#       Include macros and targets#----------------------------------------------------------------------------include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNUinclude $(ACE_ROOT)/include/makeinclude/macros.GNUinclude $(TAO_ROOT)/rules.tao.GNUinclude $(ACE_ROOT)/include/makeinclude/rules.common.GNUinclude $(ACE_ROOT)/include/makeinclude/rules.nonested.GNUinclude $(ACE_ROOT)/include/makeinclude/rules.local.GNUinclude $(TAO_ROOT)/taoconfig.mkCPPFLAGS += -I$(TAO_ROOT)/tao -I$(TAO_ROOT)/orbsvcs  -I$(TAO_ROOT)/orbsvcs/orbsvcs                                   # must have to use NamingService or                                   # other CORBAservicesCPPFLAGS += -I../common            # for ExceptionUtil.hTAO_SRVR_LIBS += -lTAO_CosNaming -lTAO_RTEventTAO_CLNT_LIBS += -lTAO_CosNaming -lTAO_RTEvent -lTAO_PortableServerEchoEventConsumer: $(addprefix $(VDIR),$(FILE_SVR_OBJS))	$(LINK.cc) $(LDFLAGS) -o $@ $^ $(TAO_SRVR_LIBS) $(POSTLINK)EchoEventSupplier: $(addprefix $(VDIR),$(FILE_CLT_OBJS))	$(LINK.cc) $(LDFLAGS) -o $@ $^ $(TAO_CLNT_LIBS) $(POSTLINK)endif# DO NOT DELETE THIS LINE -- g++dep uses it.# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY..obj/EchoEventSupplierMain.o .obj/EchoEventSupplierMain.so .shobj/EchoEventSupplierMain.o .shobj/EchoEventSupplierMain.so: EchoEventSupplierMain.cpp \ $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/Runtime_Scheduler.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS_T.cpp \ $(TAO_ROOT)/orbsvcs/orbsvcs/TimeBaseS.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.cpp \ $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/Runtime_Scheduler.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ $(ACE_ROOT)/ace/Message_Block.h \ $(ACE_ROOT)/ace/ACE.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ ExceptionUtil.h EchoEventSupplier_i.h.obj/EchoEventSupplier_i.o .obj/EchoEventSupplier_i.so .shobj/EchoEventSupplier_i.o .shobj/EchoEventSupplier_i.so: EchoEventSupplier_i.cpp EchoEventSupplier_i.h.obj/EchoEventConsumerMain.o .obj/EchoEventConsumerMain.so .shobj/EchoEventConsumerMain.o .shobj/EchoEventConsumerMain.so: EchoEventConsumerMain.cpp \ EchoEventConsumer_i.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/Runtime_Scheduler.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS_T.cpp \ $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerS.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/Runtime_Scheduler.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \ $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \ $(ACE_ROOT)/ace/Message_Block.h \ $(ACE_ROOT)/ace/ACE.h \ $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \ ExceptionUtil.h.obj/EchoEventConsumer_i.o .obj/EchoEventConsumer_i.so .shobj/EchoEventConsumer_i.o .shobj/EchoEventConsumer_i.so: EchoEventConsumer_i.cpp EchoEventConsumer_i.h# IF YOU PUT ANYTHING HERE IT WILL GO AWAY

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?