work : test.dmClient
clean :: cleanMakefile

# This entry starts a DMeroon server bound with C.

start.DMeroon.server :
	../o/c.?*?/C+DMeroon -linger 30 &

### {{{ dmClient contributed by <Jean-Michel.Inglebert@iu-vannes.fr>
# There are two ways to start dmClient. dmClient may be connected
# directly to a DMeroon server or pass through a proxy (dmProxy.pl).
# The two next entries show how to start them. They suppose netscape
# as browser which is asked to fetch the following page:

DMCLIENT_PAGE	=	file:`pwd`/dmClient/dmClient.htm

# Direct access to DMeroon without intermediate proxy.

test.dmClient : start.DMeroon.server 
test.dmClient : dmClient/README.txt
	netscape -remote "openURL(${DMCLIENT_PAGE})" 

# Indirect acces through a proxy (started on port 9876).

test.dmClient.via.proxy : start.DMeroon.server 
test.dmClient.via.proxy : dmClient/README.txt
	perl dmClient/dmProxy.pl 9876 `hostname` 56423 - &
	netscape -remote "openURL(${DMCLIENT_PAGE})" 

### }}}

# end of Imakefile
