# # Build the test servers and clients # ORB_HOME = /home/derekt/OB-4.0.5/ob IDL = $(ORB_HOME)/bin/idl ORB_INCLUDE = -I$(ORB_HOME)/include ORB_LIB_PATH = -L$(ORB_HOME)/lib CXXFLAGS = -Wall -I. $(ORB_INCLUDE) -DFN_ORBACUS LDFLAGS = $(ORB_LIB_PATH) LD = g++ all: charserver charclient fixedserver fixedclient charserver: CharServer.o TestChars_impl.o TestInterop.o TestInterop_skel.o Utils.o $(LD) -o charserver TestChars_impl.o CharServer.o TestInterop.o TestInterop_skel.o Utils.o $(LDFLAGS) -lOB fixedserver: FixedServer.o TestFixed_impl.o TestInterop.o TestInterop_skel.o Utils.o $(LD) -o fixedserver TestFixed_impl.o FixedServer.o TestInterop.o TestInterop_skel.o Utils.o $(LDFLAGS) -lOB fixedclient: FixedClient.o TestInterop.o Utils.o $(LD) -o fixedclient FixedClient.o TestInterop.o Utils.o $(LDFLAGS) -lOB charclient: CharClient.o TestInterop.o Utils.o $(LD) -o charclient CharClient.o TestInterop.o Utils.o $(LDFLAGS) -lOB CharServer.o: CharServer.cpp TestInterop.h TestInterop_skel.h FixedServer.o: FixedServer.cpp TestInterop.h TestInterop_skel.h CharClient.o: CharClient.cpp TestInterop.h FixedClient.o: FixedClient.cpp TestInterop.h TestInterop_skel.o: TestInterop_skel.cpp TestInterop.h TestInterop_skel.h TestChars_impl.o: TestChars_impl.cpp TestChars_impl.h TestInterop.h TestInterop_skel.h TestFixed_impl.o: TestFixed_impl.cpp TestFixed_impl.h TestInterop.h TestInterop_skel.h TestInterop.o: TestInterop.cpp TestInterop.h Utils.o: Utils.cpp Utils.h Client.h TestInterop.h: TestInterop.idl $(IDL) TestInterop.idl clean: rm -f *.o rm -f TestInterop.h TestInterop_skel.h rm -f TestInterop_skel.cpp TestInterop.cpp rm -f charclient charserver rm -f fixedclient fixedserver rm -f Server.ref