makefile.bug_1639_testclient
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· BUG_1639_TESTCLIENT 代码 · 共 132 行
BUG_1639_TESTCLIENT
132 行
#----------------------------------------------------------------------------
# GNU Makefile
#
# @file Makefile.Bug_1639_testclient
#
# Makefile.Bug_1639_testclient,v 1.4 2003/12/24 17:17:13 dhinton Exp
#
# This file was automatically generated by MPC. Any changes made directly to
# this file will be lost the next time it is generated.
#
#----------------------------------------------------------------------------
MAKEFILE = Makefile.Bug_1639_testclient
BIN_UNCHECKED = client
ifndef TAO_ROOT
TAO_ROOT = $(ACE_ROOT)/TAO
endif
ifndef CIAO_ROOT
CIAO_ROOT = $(TAO_ROOT)/CIAO
endif
TAO_IDL = ../../../bin/tao_idl
IDL_FILES = struct
IDL_SRC = $(foreach ext, C.cpp S.cpp, $(foreach file, $(IDL_FILES), $(file)$(ext)))
FILES = \
struct_client \
structC \
structS
#----------------------------------------------------------------------------
# Include macros and targets
#----------------------------------------------------------------------------
LDLIBS = -lTAO_DynamicAny -lTAO_PortableServer -lTAO_IORInterceptor -lTAO_ObjRefTemplate -lTAO_Valuetype -lTAO -lACE
include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
## We don't need the ACELIB setting from wrapper_macros.GNU
ACELIB =
include $(TAO_ROOT)/rules.tao.GNU
# To build multiple executables 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)/Bug_1639_testclient
all: $(TEMPINCDIR)
$(TEMPINCDIR):
@-test -d $(TEMPINCDIR) || mkdir -p $(TEMPINCDIR) $(ACE_NUL_STDERR)
endif
OUTPUT_DIRECTORY = .
all: $(OUTPUT_DIRECTORY)
$(OUTPUT_DIRECTORY):
-@mkdir -p "$(OUTPUT_DIRECTORY)"
ifeq ($(exceptions),1)
BIN = $(BIN_UNCHECKED)
else
all: require_warning
endif
OBJS = $(addsuffix .o, $(notdir $(FILES)))
SRC = $(addsuffix .cpp, $(FILES))
ifneq (,$(RC))
FILES += $(RESOURCES)
endif
ifneq ($(BIN),)
all: idl_stubs
# This rule forces make to run the idl_stubs
# target before building any of the source files.
FORCED_IDL_STUBS = struct_client.cpp structC.cpp structS.cpp
endif
include $(ACE_ROOT)/include/makeinclude/macros.GNU
include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
include $(TAO_ROOT)/taoconfig.mk
CPPFLAGS += -I../../../include -I. -I../.. -I../../tao -I../../..
ifeq ($(static_libs),1)
ifneq ($(LIB),)
CPPFLAGS += -DTAO_AS_STATIC_LIBS -DTAO_AS_STATIC_LIBS -DACE_AS_STATIC_LIBS
endif
endif
LDFLAGS += -L../../../lib
TAO_IDLFLAGS += -Gv -I../.. -I../../tao -Ge 1 -Sc -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h
#----------------------------------------------------------------------------
# Local targets
#----------------------------------------------------------------------------
require_warning:
@echo This project will not be built due to one of the following missing features:
@echo exceptions
# IDL File Directory: .
ifneq ($(ADDITIONAL_IDL_TARGETS),)
idl_stubs: $(ADDITIONAL_IDL_TARGETS)
endif
ifneq ($(FORCED_IDL_STUBS),)
$(FORCED_IDL_STUBS): idl_stubs
endif
.PRECIOUS: $(foreach ext, $(IDL_EXT), $(foreach file, $(IDL_FILES), $(file)$(ext)))
ifndef kylix
$(BIN): $(addprefix $(VDIR), $(OBJS))
$(LINK.cc) $(LDFLAGS) $(CC_OUTPUT_FLAG) $@ $^ $(VLDLIBS) $(POSTLINK)
else
$(BIN): $(addprefix $(VDIR), $(OBJS))
$(LINK.cc) $(LDFLAGS) $(CC_OUTPUT_FLAG) $(VLDLIBS) $(BORINITEXEOBJ) $(POSTLINK) $^, $@,,
endif
realclean: clean
-$(RM) $(foreach ext, $(IDL_EXT), $(foreach file, $(IDL_FILES), $(file)$(ext)))
ifneq ($(GENERATED_DIRTY),)
-$(RM) -r $(GENERATED_DIRTY)
endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?