#
#	Distributed Objects Makefile
# 
TOP = ../..

#
#	Lib gdo Files
# 
OBJS = \
mframe.o \
NSInvocation.o \
NSMethodSignature.o \
NSPort.o \
NSStream.o \
NSSocketPort.o \
NSProxy.o \
NSPortNameServer.o \
NSPortCoder.o \
NSDistantObject.o \
NSConnection.o \
Stream.o \
NSFileHandle.o \

LIBRARY = libGdo

#
#	List of Tools to build
# 
TOOLS = \
client \
server

all::	gdomap

TOOL_LIBS =	-L$(_TOP)/Foundation/DO/$(OBJS_DIR) -lGdo \
		-lm -ldl -lpthread \
		-L/Developer/Zaurus-X-gcc/SDKs/mySTEP.sdk/usr/ffcall/lib -lavcall \
		-lobjc

#
#	Include Makefiles 
# 
include $(TOP)/Makefiles/library.make
include $(TOP)/Makefiles/tool.make


#
# General Rules
#
clean::
	rm -rf gdomap

gdomap::  $(OBJS_DIR) gdomap.o
	cd $(OBJS_DIR); $(CC) $(CFLAGS) -o ../gdomap gdomap.o
