# # Build the test servers and clients # ORB_HOME = /home/derekt/omniORB-4.0.0 IDL = $(ORB_HOME)/bin/omniidl IDLFLAGS = -bcxx ORB_INCLUDE = -I$(ORB_HOME)/include ORB_LIB_PATH = -L$(ORB_HOME)/lib CXXFLAGS = -Wall -I. $(ORB_INCLUDE) -DFN_OMNIORB LDFLAGS = $(ORB_LIB_PATH) LD = g++ all: charserver charclient fixedserver fixedclient charserver: CharServer.o TestChars_impl.o TestInteropSK.o Utils.o $(LD) -o charserver TestChars_impl.o CharServer.o TestInteropSK.o Utils.o $(LDFLAGS) -lomniORB4 -lomnithread fixedserver: FixedServer.o TestFixed_impl.o TestInteropSK.o Utils.o $(LD) -o fixedserver TestFixed_impl.o FixedServer.o TestInteropSK.o Utils.o $(LDFLAGS) -lomniORB4 -lomnithread charclient: CharClient.o TestInteropSK.o Utils.o $(LD) -o charclient CharClient.o TestInteropSK.o Utils.o $(LDFLAGS) -lomniORB4 -lomnithread fixedclient: FixedClient.o TestInteropSK.o Utils.o $(LD) -o fixedclient FixedClient.o TestInteropSK.o Utils.o $(LDFLAGS) -lomniORB4 -lomnithread CharServer.o: CharServer.cpp TestInterop.hh Utils.h FixedServer.o: FixedServer.cpp TestInterop.hh Utils.h CharClient.o: CharClient.cpp TestInterop.hh Utils.h FixedClient.o: FixedClient.cpp TestInterop.hh Utils.h TestInteropSK.o: TestInteropSK.cc TestInterop.hh TestChars_impl.o: TestChars_impl.cpp TestChars_impl.h TestInterop.hh Utils.h TestFixed_impl.o: TestFixed_impl.cpp TestFixed_impl.h TestInterop.hh Utils.h Utils.o: Utils.cpp Utils.h Client.h TestInterop.hh TestInteropSK.cc: TestInterop.idl $(IDL) $(IDLFLAGS) TestInterop.idl clean: rm -f *.o rm -f TestInterop.hh rm -f TestInteropSK.cc rm -f charclient charserver rm -f fixedclient fixedserver rm -f Server.ref