#---------------------------------------------------------------------------- # $Id$ # # Makefile for the ACE_MT_CORBA_Handler tests #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- # Local macros #---------------------------------------------------------------------------- SRC = cubitS.cpp cubit_impl.cpp server.cpp SVR_OBJS = cubitS.o cubit_impl.o server.o LDLIBS = -lorbixmt VLDLIBS = $(LDLIBS:%=%$(VAR)) #---------------------------------------------------------------------------- # Include macros and targets #---------------------------------------------------------------------------- exceptions = 1 include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU 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.lib.GNU include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU include $(ACE_ROOT)/include/makeinclude/rules.local.GNU #---------------------------------------------------------------------------- # Orbix related macros and target settings. #---------------------------------------------------------------------------- ORBIX_BINDIR = $(ORBIX_ROOT)/bin ORBIX_LIBDIR = $(ORBIX_ROOT)/lib ORBIX_INCDIR = $(ORBIX_ROOT)/inc # Remove -DCubit_USE_BOA from below to use the TIE approach CPPFLAGS += -DEXCEPTIONS -I$(ORBIX_INCDIR) -DWANT_ORBIX_FDS -DCubit_USE_BOA LDFLAGS += -L$(ORBIX_LIBDIR) -R $(ORBIX_LIBDIR) -L$(ACE)/ace IDLFLAGS = -s S.cpp -c C.cpp -B #---------------------------------------------------------------------------- # Local targets #---------------------------------------------------------------------------- all: server server: $(addprefix $(VDIR),$(SVR_OBJS)) $(LINK.cc) -o server $(addprefix $(VDIR),$(SVR_OBJS)) $(LDFLAGS) $(ITIIOP) $(ITSRV) $(VLDLIBS) $(POSTLINK) realclean: clean -/bin/rm -rf server cubitC.* cubitS.* cubit.hh #---------------------------------------------------------------------------- # Dependencies #---------------------------------------------------------------------------- # DO NOT DELETE THIS LINE -- g++dep uses it. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. .obj/cubitS.o .obj/cubitS.so .shobj/cubitS.o .shobj/cubitS.so: cubitS.cpp cubit.hh cubitC.cpp .obj/cubit_impl.o .obj/cubit_impl.so .shobj/cubit_impl.o .shobj/cubit_impl.so: cubit_impl.cpp cubit_impl.h cubit.hh .obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp \ $(ACE_ROOT)/ace/streams.h \ $(ACE_ROOT)/ace/inc_user_config.h \ $(ACE_ROOT)/ace/config.h cubit_impl.h \ cubit.hh # IF YOU PUT ANYTHING HERE IT WILL GO AWAY