#---------------------------------------------------------------------------- # # $Id: Makefile,v 1.1 2001/05/04 01:37:52 irfan Exp $ # #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- # Local macros #---------------------------------------------------------------------------- ifndef TAO_ROOT TAO_ROOT = $(ACE_ROOT)/TAO endif # ! TAO_ROOT IDL_FILES = Quoter IDL_SRC = QuoterC.cpp QuoterS.cpp BIN = client server SRC = $(addsuffix .cpp, $(BIN) Quoter_i) $(IDL_SRC) CLIENT_OBJS = client.o QuoterC.o SERVER_OBJS = server.o Quoter_i.o Servant_Manager.o $(IDL_SRC:.cpp=.o) TAO_IDLFLAGS += -Ge 1 #---------------------------------------------------------------------------- # Include macros and targets #---------------------------------------------------------------------------- include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU include $(ACE_ROOT)/include/makeinclude/macros.GNU include $(TAO_ROOT)/rules.tao.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 #---------------------------------------------------------------------------- # Local targets #---------------------------------------------------------------------------- .PRECIOUS: $(foreach ext, $(IDL_EXT), Quoter$(ext)) server: $(addprefix $(VDIR),$(SERVER_OBJS)) $(LINK.cc) $(LDFLAGS) -o $@ $^ $(TAO_SRVR_LIBS) $(POSTLINK) client: $(addprefix $(VDIR),$(CLIENT_OBJS)) $(LINK.cc) $(LDFLAGS) -o $@ $^ $(TAO_CLNT_LIBS) $(POSTLINK) realclean: clean -$(RM) $(foreach ext, $(IDL_EXT), Quoter$(ext)) # DO NOT DELETE THIS LINE -- g++dep uses it. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY