📄 makefile
字号:
# # Demo Makefile: 23/9/93, Iona Technologies Ltd.# # Include standard demo make variables & rules#include orbixsol2s4.mk# ----------------------------------------------------------------------# The following compiler variables are set in "../orbixsol2s4.mk"## You may wish to change these for this particular demo. In this# case, uncomment the following 'C++' variables and set# them accordingly. C++ is set to the compiler executable # and C++FLAGS should contain compiler options.## Check with your system administrator if you're not sure.# Platform compiler variables.## C++ = /your/path/here/CC# C++FLAGS = -yourflags -I$(ORBIX_INCDIR)C++ = CCC++FLAGS=-O4 -D_IN_ORBIX20 -I/opt/Orbix_2.0/include# Orbix IDL compiler flags#IDLFLAGS =ONEWAY_SERVER_OBJS = perfS.o perf_server_t.o perf_server_oneway.oREQREPLY_SERVER_OBJS = perfS.o perf_server_t.o perf_server_reqreply.oCLIENT_OBJS = perfC.o perf_client_example.o# The following make rules differ slightly between demos.#all: perf_orbix_cli perf_oneway_ser perf_reqreply_ser @echo @echo "\"client\" and \"server\" have been compiled." @echo @echo "If Orbix.cfg is not in /etc, make sure that the" @echo "environment variable IT_CONFIG_PATH is set to point to the" @echo "location of Orbix.cfg. " @echo @echo "Make sure that the orbix daemon (orbixd) is running." @echo "use a command line something like this:" @echo @echo " $(ORBIX_BINDIR)/orbixd &" @echo @echo "Ensure that the server (\"server\") is registered using" @echo "putit, use a command line something like this:" @echo @echo " $(ORBIX_BINDIR)/putit -h`hostname` TestOneway `pwd`/perf_oneway_ser" @echo " $(ORBIX_BINDIR)/putit -h`hostname` TestReqReply `pwd`/perf_reqreply_ser" @echo @echo "Finally run the client program using a command line like this:" @echo @echo " ./client -h `hostname` "install: perf_orbix_cli perf_oneway_ser perf_reqreply_ser @echo "------------ Make sure that the Orbix daemon is running" $(ORBIX_BINDIR)/putit -h`hostname` TestOneway `pwd`/perf_oneway_ser $(ORBIX_BINDIR)/putit -h`hostname` TestReqReply `pwd`/perf_reqreply_serperf_orbix_cli: $(CLIENT_OBJS) $(C++) $(C++FLAGS) -o perf_orbix_cli $(CLIENT_OBJS) $(LDFLAGS)\ $(ITCLT) $(SYSLIBS)perf_oneway_ser: $(ONEWAY_SERVER_OBJS) $(C++) $(C++FLAGS) -o perf_oneway_ser $(ONEWAY_SERVER_OBJS) $(LDFLAGS)\ $(ITSRV) $(SYSLIBS)perf_reqreply_ser: $(REQREPLY_SERVER_OBJS) $(C++) $(C++FLAGS) -o perf_reqreply_ser $(REQREPLY_SERVER_OBJS) $(LDFLAGS)\ $(ITSRV) $(SYSLIBS)clean: release_clean rm -rf perfC.* perfS.* perf.hhrelease_clean: rm -rf core *.o *~ *.flc perf_orbix_cli perf_oneway_ser perf_reqreply_serperfS.$(C++SUFFIX) perfC.$(C++SUFFIX): perf.idl $(IDL) $(IDLFLAGS) perf.idl
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -