# # Build the test servers and clients # ORB_HOME = /home/derekt/ACE_wrappers/TAO ACE_HOME = /home/derekt/ACE_wrappers IDL = $(ORB_HOME)/TAO_IDL/tao_idl ORB_INCLUDE = -I$(ORB_HOME) -I$(ACE_HOME) ORB_LIB_PATH = -L$(ORB_HOME)/tao -L-L$(ORB_HOME)/tao/PortableServer ACE_LIB_PATH = -L$(ACE_HOME)/ace -L$(ORB_HOME)/TAO_IDL CXXFLAGS = -Wall -I. $(ORB_INCLUDE) -DFN_TAO LDFLAGS = $(ORB_LIB_PATH) $(ACE_LIB_PATH) LD = g++ all: charserver charclient charserver: CharServer.o TestChars_impl.o TestInteropC.o TestInteropS.o Utils.o $(LD) -o charserver TestChars_impl.o CharServer.o TestInteropC.o TestInteropS.o Utils.o $(LDFLAGS) -lACE -lTAO -lTAO_PortableServer fixedserver: FixedServer.o TestFixed_impl.o TestInteropC.o TestInteropS.o Utils.o $(LD) -o fixedserver TestFixed_impl.o FixedServer.o TestInteropC.o TestInteropS.o Utils.o $(LDFLAGS) -lACE -lTAO -lTAO_PortableServer charclient: CharClient.o TestInteropC.o Utils.o $(LD) -o charclient CharClient.o TestInteropC.o Utils.o $(LDFLAGS) -lACE -lTAO fixedclient: FixedClient.o TestInteropC.o Utils.o $(LD) -o fixedclient FixedClient.o TestInteropC.o Utils.o $(LDFLAGS) -lACE -lTAO CharServer.o: CharServer.cpp TestInteropC.h TestInteropS.h FixedServer.o: FixedServer.cpp TestInteropC.h TestInteropS.h CharClient.o: CharClient.cpp TestInteropC.h FixedClient.o: FixedClient.cpp TestInteropC.h TestInteropS.o: TestInteropS.cpp TestInteropC.h TestInteropS.h TestChars_impl.o: TestChars_impl.cpp TestChars_impl.h TestInteropC.h TestInteropS.h TestFixed_impl.o: TestFixed_impl.cpp TestFixed_impl.h TestInteropC.h TestInteropS.h TestInteropC.o: TestInteropC.cpp TestInteropC.h Utils.o: Utils.cpp Utils.h Client.h TestInteropC.h: TestInterop.idl $(IDL) TestInterop.idl clean: rm -f *.o rm -f TestInteropC.h TestInteropS.h rm -f TestInteropS.i TestInteropC.i rm -f TestInteropS_T.h TestInteropS_T.i rm -f TestInteropS.cpp TestInteropC.cpp rm -f TestInteropS_T.cpp TestInteropC_T.cpp rm -f charclient charserver rm -f fixedclient fixedserver rm -f Server.ref