#***************************************************************************
# Make sure that you set the IDL variable below to point to your omniidl2
# executable, via the proper omniORB path.  Mine is:
# /usr1/omniORB_2.5.0/bin/i586_linux_2.0_egcs/omniidl2
#***************************************************************************
srcdir          = .

CXX             = g++
CXXFLAGS        = -g -pthread -Wall -Wno-unused 
CXXCPP          = g++ -E
CPPFLAGS        = 
LDFLAGS         = 
DEFS            = -D__OMNIORB2__ -D_REENTRANT -D__x86__ -D__linux__ -D__OSVERSION__=2
LIBS            = 
PRELINK		= 
PRELINKFLAGS	= 

# Make sure the following path is valid for omniidl2:
IDL		= $(top_srcdir)/bin/i586_linux_2.0_egcs/omniidl2 
IDL_FLAGS	= -a

OMNI_LIBS		= -L$(top_srcdir)/lib/i586_linux_2.0_egcs -lomniORB2 -lomnithread -lpthread -ltcpwrapGK

.SUFFIXES:
.SUFFIXES:	.C .cc .cpp .o .java .class

.C.o:
	$(CXX) -c $(ALL_CXXFLAGS) $(ALL_CPPFLAGS) $(ALL_DEFS) $<

.cc.o:
	$(CXX) -c $(ALL_CXXFLAGS) $(ALL_CPPFLAGS) $(ALL_DEFS) $<

.cpp.o:
	$(CXX) -c $(ALL_CXXFLAGS) $(ALL_CPPFLAGS) $(ALL_DEFS) $<

all:: $(TARGETS)

clean::
	rm -f core *.o 
	rm -f ior.out

