Re: 350$ Job

2017-10-22 Thread Orkhan via Digitalmars-d

On Sunday, 22 October 2017 at 15:41:50 UTC, codephantom wrote:

On Sunday, 22 October 2017 at 12:50:00 UTC, Orkhan wrote:

Please contact me by email if you are interested :
a.mammad...@liverpool.ac.uk


Кто ты на самом деле?


speak in English I don't understand you.


350$ Job

2017-10-22 Thread Orkhan via Digitalmars-d
Hello. I have an app for multiplayer game website. I am Facing an 
issue about stacking terminal. Also the app does not save the 
logs which is supposed to.  I need someone who can fix this. Will 
send the app to developer.


in total The tasks are :
1) Fix stacking issue in the terminal,
2) Fix saving logs
3) Fix the reconnection issue (during the game if one of the 
opponent has left the game then another opponent sees the pop up 
window which says  "please wait while your opponent reconnect". 
But the problem is server does not reconnects the disconnected 
user when he comes back.
4) The same username can be logged in the server. we need to 
prevent this case. if the user is already in the server, then it 
shouldnt be allowed him to login again.


We have allocated budget for all these tasks. In total we are 
going to pay 200-250$.

Please contact me by email if you are interested :
a.mammad...@liverpool.ac.uk

Regards



Some tasks in D app

2017-10-21 Thread Orkhan via Digitalmars-d-announce
Hello. I have an app for multiplayer game website. I am Facing an 
issue about stacking terminal. Also the app does not save the 
logs which is supposed to.  I need someone who can fix this. Will 
send the app to developer.


in total The tasks are :
1) Fix stacking issue in the terminal,
2) Fix saving logs
3) Fix the reconnection issue (during the game if one of the 
opponent has left the game then another opponent sees the pop up 
window which says  "please wait while your opponent reconnect". 
But the problem is server does not reconnects the disconnected 
user when he comes back.
4) The same username can be logged in the server. we need to 
prevent this case. if the user is already in the server, then it 
shouldnt be allowed him to login again.


We have allocated budget for all these tasks. In total we are 
going to pay 250-300$.

Please contact me by email if you are interested :
a.mammad...@liverpool.ac.uk

Regards



Some tasks in D app

2017-10-20 Thread Orkhan via Digitalmars-d
Hello. I have an app for multiplayer game website. I am Facing an 
issue about stacking terminal. Also the app does not save the 
logs which is supposed to.  I need someone who can fix this. Will 
send the app to developer.


in total The tasks are :
1) Fix stacking issue in the terminal,
2) Fix saving logs
3) Fix the reconnection issue (during the game if one of the 
opponent has left the game then another opponent sees the pop up 
window which says  "please wait while your opponent reconnect". 
But the problem is server does not reconnects the disconnected 
user when he comes back.
4) The same username can be logged in the server. we need to 
prevent this case. if the user is already in the server, then it 
shouldnt be allowed him to login again.


We have allocated budget for all these tasks. In total we are 
going to pay 200-250$.

Please contact me by email if you are interested :
a.mammad...@liverpool.ac.uk

Regards


Some tasks in D app

2017-10-18 Thread Orkhan via Digitalmars-d
Hello. I have an app for multiplayer game website. I am Facing an 
issue about stacking terminal. Also the app does not save the 
logs which is supposed to.  I need someone who can fix this. Will 
send the app to developer.


in total The tasks are :
1) Fix stacking issue in the terminal,
2) Fix saving logs
3) Fix the reconnection issue (during the game if one of the 
opponent has left the game then another opponent sees the pop up 
window which says  "please wait while your opponent reconnect". 
But the problem is server does not reconnects the disconnected 
user when he comes back.
4) The same username can be logged in the server. we need to 
prevent this case. if the user is already in the server, then it 
shouldnt be allowed him to login again.


We have allocated budget for all these tasks. In total we are 
going to pay 200-250$.

Please contact me by email if you are interested :
a.mammad...@liverpool.ac.uk

Regards


Some tasks in D app

2017-10-10 Thread Orkhan via Digitalmars-d
Hello. I have an app for multiplayer game website. I am Facing an 
issue about stacking terminal. Also the app does not save the 
logs which is supposed to.  I need someone who can fix this. Will 
send the app to developer.


in total The tasks are :
1) Fix stacking issue in the terminal,
2) Fix saving logs
3) Fix the reconnection issue (during the game if one of the 
opponent has left the game then another opponent sees the pop up 
window which says  "please wait while your opponent reconnect". 
But the problem is server does not reconnects the disconnected 
user when he comes back.
4) The same username can be logged in the server. we need to 
prevent this case. if the user is already in the server, then it 
shouldnt be allowed him to login again.


We have allocated budget for all these tasks. In total we are 
going to pay 200-250$.

Please contact me by email if you are interested :
a.mammad...@liverpool.ac.uk

Regards



D server files correction

2017-03-12 Thread Orkhan via Digitalmars-d
Hello. I am looking for somebody who is able to make the server 
run and fix some issues. Details will be given further. Specific 
amount of budget is allocated for the task. Anybody interested, 
email me : a.mamma...@liverpool.ac.uk


Server stacks.

2017-03-06 Thread Orkhan via Digitalmars-d
Hello. I need a professional who has an experience in sockets and 
networking in order to make my server running without a stack. 
Once I run the server it stacks after 30 seconds. I defined that 
it is because of the cleanup interval, then I increased the time 
from 30 seconds to 3 it worked but actually I want to solve 
it not without increasing the cleanup interval.


100$ will be paid to the developer at the end of the work.

 Please email me : a.mammad...@liverpool.ac.uk

Regards


Making the server runs successfully.

2017-03-04 Thread Orkhan via Digitalmars-d
Hello. I need D programmer who has an experience in sockets and 
networking in order to make my server running.


100$ will be paid to the developer at the end of the work.

 Please email me : a.mammad...@liverpool.ac.uk

Regards



Re: Game Website Server Side

2017-02-11 Thread Orkhan via Digitalmars-d-announce
On Saturday, 11 February 2017 at 03:33:19 UTC, Ilya Yaroshenko 
wrote:

On Thursday, 9 February 2017 at 16:35:14 UTC, Orkhan wrote:

Hello All!

We have a multiplayer game website which uses D programming 
language for server side instant interactions. I need someone 
professional who is able to make some changes on request. We 
are the company and we will allocate money for these tasks. It 
is not only one time task , we are seeking person who is able 
to work with us for a long time. Please contact or type on 
this thread who interested.


KinD Regards
Orkhan


Hi Orkhan,

Looks interesting. I am able to work.

My contacts:
e-mail: ilyayaroshenko at gmail dot com
LinkedIn: https://www.linkedin.com/in/ilya-yaroshenko-46464993

Thanks,
Ilya


Hi Ilya,

I have sent you an email.

Thanks.


Re: Multiplayer Game Project

2017-02-09 Thread Orkhan via Digitalmars-d

On Thursday, 9 February 2017 at 18:21:42 UTC, Suliman wrote:

Do you have skype?
I familiar with vibed and vue.js


please add my skype : alioutlawz (profile pic is red flower)
email is : pirokine...@live.ru



Game Website Server Side

2017-02-09 Thread Orkhan via Digitalmars-d-announce

Hello All!

We have a multiplayer game website which uses D programming 
language for server side instant interactions. I need someone 
professional who is able to make some changes on request. We are 
the company and we will allocate money for these tasks. It is not 
only one time task , we are seeking person who is able to work 
with us for a long time. Please contact or type on this thread 
who interested.


KinD Regards
Orkhan


Multiplayer Game Project

2017-02-09 Thread Orkhan via Digitalmars-d

Hello All!

We have a multiplayer game website which uses D programming 
language for server side instant interactions. I need someone 
professional who is able to make some changes on request. We are 
the company and we will allocate money for these tasks. It is not 
only one time task , we are seeking person who is able to work 
with us for a long time. Please contact or type on this thread 
who interested.


KinD Regards
Orkhan


Re: Gdmd compiling error

2016-03-19 Thread Orkhan via Digitalmars-d-learn

On Tuesday, 15 March 2016 at 18:26:48 UTC, Ali Çehreli wrote:

On 03/15/2016 02:45 AM, Orkhan wrote:
> output of the gdc is  :
>
> root@ubuntu:/home/alikoza/Downloads/i686-pc-linux-gnu# gdc
> gdc: fatal error: no input files
> compilation terminated.

That makes sense. It should produce an executable if you give 
it a .d file:


  gdc foo.d

Since you installed gdmd as well, you can get back to the Xcom 
server files. Have you tried building it now? If that still 
fails, please open another thread because I don't think I can 
help you any further with that project and I don't think 
anybody else is following this thread. :)


Ali


Dear Ali ,
I am still getting the same error although I installed gdc and 
gdmd . The command run giving output like below :


root@ubuntu:/opt/xcomm# make
dmd -O -inline -Isrc -version=daemon -op -of./xcomm 
src/misc_util.d src/socket_base.d src/xcomm_sockets.d 
src/msgserver_core.d src/char_outbuffer.d src/logging.d 
src/xml_util.d src/plugins.d src/xcomm_protocol/*.d src/stork/*.d 
src/stork/*/*.d -fPIC -q,-rdynamic -L-ldl

Error: unrecognized switch '-q,-rdynamic'
Makefile:35: recipe for target 'protocol-daemon' failed
make: *** [protocol-daemon] Error 1


I don't know where from shpuld I get help. Thanks.


Re: Gdmd compiling error

2016-03-19 Thread Orkhan via Digitalmars-d-learn
On Wednesday, 16 March 2016 at 12:20:32 UTC, Edwin van Leeuwen 
wrote:

On Wednesday, 16 March 2016 at 12:17:42 UTC, Orkhan wrote:

On Tuesday, 15 March 2016 at 18:26:48 UTC, Ali Çehreli wrote:

I don't know where from shpuld I get help. Thanks.


Is the xcomm library available somewhere, maybe if we had a 
link to the original documentation we could help.


thanks for your answer. the original unpacked project is in the 
link below :


http://www.speedyshare.com/6y4Tv/47d2b57d/xcom.zip

you can find the installation inside of the doc file . that is 
the only source of the project. In general it should not be 
difficult but I can not understand why it makes a problem . It is 
so important for me . .


Re: Gdmd compiling error

2016-03-15 Thread Orkhan via Digitalmars-d-learn

On Monday, 14 March 2016 at 17:08:24 UTC, Marc Schütz wrote:

On Monday, 14 March 2016 at 14:46:06 UTC, Orkhan wrote:

[...]


What does `which gdc` print? If it says something like "which: 
no gdc in ...", there is a problem with the installation of 
GDC. Otherwise, you can use the following as a quick workaround:


sudo ln -s `which gdc` /usr/local/bin/gdc

The proper solution is to find out why gdmd insists on using 
that non-existing path instead of relying on $PATH lookup, and 
fix it.


I am sorry for multiple message , the output of the which gdc is :

root@ubuntu:/usr/local/bin# which gdc
/usr/local/bin/gdc

Actually it is because I created symbolic link I guess.


Re: Gdmd compiling error

2016-03-15 Thread Orkhan via Digitalmars-d-learn

On Monday, 14 March 2016 at 18:13:33 UTC, Ali Çehreli wrote:

On 03/14/2016 10:08 AM, Marc Schütz wrote:

> What does `which gdc` print? If it says something like
"which: no gdc in
> ...", there is a problem with the installation of GDC.
Otherwise, you
> can use the following as a quick workaround:
>
>  sudo ln -s `which gdc` /usr/local/bin/gdc
>
> The proper solution is to find out why gdmd insists on using
that
> non-existing path instead of relying on $PATH lookup, and fix
it.

Apparently, gdmd expects gdc to be in the same directory as 
itself. Once Orkhan finds out where gdc is on the system, the 
following should work:


$ sudo ln -s 
/home/acehreli/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gdc 
/usr/local/bin/gdc


Orkhan, replace 
/home/acehreli/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gdc 
with the gdc binary that you have. e.g. if it's under /usr/bin, 
then do the following:


$ sudo ln -s /usr/bin/gdc /usr/local/bin/gdc

Ali

P.S. I've just installed gdc after downloading it from its 
download site ( http://gdcproject.org/downloads ) with the 
following two commands:


  unxz the_file_you_downloaded
  tar xvf the_file_you_unxzipped

Those commands created the following directory in my case.

  /home/acehreli/x86_64-pc-linux-gnu

That's why my gdc is named 
/home/acehreli/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-gdc 
above.


After Marc's message I created symbolic link and now it is in the 
usr/local/bin .

please look  the output :

root@ubuntu:/opt/xcomm# cd /usr/local/bin
root@ubuntu:/usr/local/bin# ls
ddemangle  dman  dmd  dmd.conf  dumpobj  gdc  gdmd  obj2asm  rdmd

You see there is gdc after the command : sudo ln -s /usr/bin/gdc 
/usr/local/bin/gdc


still when I run command Make it returns the same error.

could you please test the make file as well if you already 
installed the gdc and gdmd . I have put the link it is not too 
big , I just need the xcomm being installed .


Kind Regards



Re: Gdmd compiling error

2016-03-15 Thread Orkhan via Digitalmars-d-learn

On Monday, 14 March 2016 at 17:08:24 UTC, Marc Schütz wrote:

On Monday, 14 March 2016 at 14:46:06 UTC, Orkhan wrote:

On Monday, 14 March 2016 at 11:11:28 UTC, Ali Çehreli wrote:

On 03/14/2016 02:56 AM, Orkhan wrote:

> THe output like that :
> root@ubuntu:/opt/xcomm# gdmd
> Can't exec "/usr/local/bin/gdc": No such file or directory 
> at


Ok, now you need to install gdc:

  http://gdcproject.org/downloads

In short, the project that you are trying to build depends on 
gdmd, which is a dmd-like interface to gdc, which needs to be 
installed on your system.


Ali


Dear Ali ,
Thanks for your answer and time.
I have tried to install and the output was like that. I gues 
it is already installed in my linux. isnt it ?


root@ubuntu:/opt/xcomm# sudo apt-get install gdc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gdc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 180 not 
upgraded.

root@ubuntu:/opt/xcomm#

It is very urgent for me to install the project , I hope will 
do with your help .

Thanks.


What does `which gdc` print? If it says something like "which: 
no gdc in ...", there is a problem with the installation of 
GDC. Otherwise, you can use the following as a quick workaround:


sudo ln -s `which gdc` /usr/local/bin/gdc

The proper solution is to find out why gdmd insists on using 
that non-existing path instead of relying on $PATH lookup, and 
fix it.


output of the gdc is  :

root@ubuntu:/home/alikoza/Downloads/i686-pc-linux-gnu# gdc
gdc: fatal error: no input files
compilation terminated.

the output of the  - sudo ln -s `which gdc` /usr/local/bin/gdc :
root@ubuntu:/home/alikoza/Downloads/i686-pc-linux-gnu# sudo ln -s 
`which gdc` /usr/local/bin/gdc

root@ubuntu:/home/alikoza/Downloads/i686-pc-linux-gnu#

if you have already installed the gdmd could you please try to 
compile make file which I put a download link in my previous 
posts.


Thanks.


Re: Gdmd compiling error

2016-03-14 Thread Orkhan via Digitalmars-d-learn

On Monday, 14 March 2016 at 11:11:28 UTC, Ali Çehreli wrote:

On 03/14/2016 02:56 AM, Orkhan wrote:

> THe output like that :
> root@ubuntu:/opt/xcomm# gdmd
> Can't exec "/usr/local/bin/gdc": No such file or directory at

Ok, now you need to install gdc:

  http://gdcproject.org/downloads

In short, the project that you are trying to build depends on 
gdmd, which is a dmd-like interface to gdc, which needs to be 
installed on your system.


Ali


Dear Ali ,
Thanks for your answer and time.
I have tried to install and the output was like that. I gues it 
is already installed in my linux. isnt it ?


root@ubuntu:/opt/xcomm# sudo apt-get install gdc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gdc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 180 not upgraded.
root@ubuntu:/opt/xcomm#

It is very urgent for me to install the project , I hope will do 
with your help .

Thanks.


Re: Gdmd compiling error

2016-03-14 Thread Orkhan via Digitalmars-d-learn

On Monday, 14 March 2016 at 09:48:00 UTC, Ali Çehreli wrote:

On 03/14/2016 02:29 AM, Orkhan wrote:

> root@ubuntu:/home/alikoza/Downloads/GDMD-master# sudo make
install
> rm -f /usr/local/bin/gdmd
> install dmd-script /usr/local/bin/gdmd

Good: gdmd seems to be installed. Please type 'gdmd' to confirm.

Note: You may see errors like 'Can't exec 
"/usr/local/bin/gdc":' but that's a separate issue, which will 
be resolved by installing gdc.


> rm -f /usr/local/share/man/man1/gdmd.1
> install -m 644 dmd-script.1 /usr/local/share/man/man1/gdmd.1
> install: cannot create regular file
‘/usr/local/share/man/man1/gdmd.1’:
> No such file or directory

Luckily, that seems to be a problem with the man page for this 
tool. I presume the installation assumes a certain directory 
hierarchy which is not present on your system. You can ignore 
that error. You may want to create a bug report on gdmd's 
project page at github.


Ali


Thank you for your answer.
THe output like that :
root@ubuntu:/opt/xcomm# gdmd
Can't exec "/usr/local/bin/gdc": No such file or directory at 
/usr/local/bin/gdmd line 236.
Use of uninitialized value $gcc_version in scalar chomp at 
/usr/local/bin/gdmd line 237.
Use of uninitialized value $gcc_version in pattern match (m//) at 
/usr/local/bin/gdmd line 238.
Can't exec "/usr/local/bin/gdc": No such file or directory at 
/usr/local/bin/gdmd line 523.


What should I do make the dir which mentioned or ?
Thkanks



Re: Gdmd compiling error

2016-03-14 Thread Orkhan via Digitalmars-d-learn

On Monday, 14 March 2016 at 09:24:19 UTC, Ali Çehreli wrote:

On 03/14/2016 02:15 AM, Orkhan wrote:


>> I think you need to install gdmd:
>>
>>   https://github.com/D-Programming-GDC/GDMD


Yes I have seen that page. But I don't know how to make that . 
I think I
need to upload all files then unzip then just type make ? 
could you

please let me know. Thanks.


1) Click [ Download ZIP ] to download all files

2) Unzip in some directory

3) Goto GDMD-master under that directory, e.g.

$ cd ~/GDMD-master/

4) make install under that directory as super user

$ sudo make install

Of course, gdmd relies on gdc, which you may have to install 
separately:


  http://dlang.org/download.html

Ali


Thank you for your answer. I have done what you said exactly . 
The output is like that :

root@ubuntu:/home/alikoza/Downloads/GDMD-master# sudo make install
rm -f /usr/local/bin/gdmd
install dmd-script /usr/local/bin/gdmd
rm -f /usr/local/share/man/man1/gdmd.1
install -m 644 dmd-script.1 /usr/local/share/man/man1/gdmd.1
install: cannot create regular file 
‘/usr/local/share/man/man1/gdmd.1’: No such file or directory
Makefile:41: recipe for target '/usr/local/share/man/man1/gdmd.1' 
failed

make: [/usr/local/share/man/man1/gdmd.1] Error 1 (ignored)




Re: Gdmd compiling error

2016-03-14 Thread Orkhan via Digitalmars-d-learn

On Monday, 14 March 2016 at 09:06:30 UTC, Ali Çehreli wrote:

On 03/14/2016 02:01 AM, Orkhan wrote:

> I changed all gdmd to dmd and still not getting result . the
outputs
> after changing dmd is :
>

> Error: unrecognized switch '-q,-rdynamic'

Sorry to have misled you. Apparently, those are gcc compiler 
switches that are not supported by dmd.


> On Monday, 14 March 2016 at 07:52:18 UTC, Ali Çehreli wrote:

>> I think you need to install gdmd:
>>
>>   https://github.com/D-Programming-GDC/GDMD

That's the only solution then.

Ali


Yes I have seen that page. But I don't know how to make that . I 
think I need to upload all files then unzip then just type make ? 
could you please let me know. Thanks.




Re: Gdmd compiling error

2016-03-14 Thread Orkhan via Digitalmars-d-learn

On Monday, 14 March 2016 at 07:52:18 UTC, Ali Çehreli wrote:

On 03/13/2016 06:07 AM, Orkhan wrote:

> It is in linux system , and when I type make command it
returns error like:
> /bin/sh: 1: gdmd: not found

I think you need to install gdmd:

  https://github.com/D-Programming-GDC/GDMD

Alternatively, assuming that you have dmd installed, you can 
try replacing gdmd with dmd in your Makefile.


Ali


I changed all gdmd to dmd and still not getting result . the 
outputs after changing dmd is :


root@ubuntu:/opt/xcomm# make
dmd -O -inline -Isrc -version=daemon -op -of./xcomm 
src/misc_util.d src/socket_base.d src/xcomm_sockets.d 
src/msgserver_core.d src/char_outbuffer.d src/logging.d 
src/xml_util.d src/plugins.d src/xcomm_protocol/*.d src/stork/*.d 
src/stork/*/*.d -fPIC -q,-rdynamic -L-ldl

Error: unrecognized switch '-q,-rdynamic'
Makefile:35: recipe for target 'protocol-daemon' failed
make: *** [protocol-daemon] Error 1

the all server files are in here :
http://www.speedyshare.com/6y4Tv/47d2b57d/xcom.zip

could you please check . Thanks in advance.




Gdmd compiling error

2016-03-13 Thread Orkhan via Digitalmars-d-learn

Hello. I need your help !

I am struggling to compile and install ca Xcom server files which 
is using gdmd .
It is in linux system , and when I type make command it returns 
error like:

/bin/sh: 1: gdmd: not found
Makefile:35: recipe for target 'protocol-daemon' failed
make: ***[protocol-daemon] Error 127

I am in linux Ubuntu. The Makefile file is like that :

DFLAGS_DEBUG=-debug=2 -g -Isrc
DFLAGS_DEBUG1=-debug=1 -g -Isrc
DFLAGS=-O -inline -Isrc

PROTOCOL_SRC=src/misc_util.d src/socket_base.d 
src/xcomm_sockets.d src/msgserver_core.d src/char_outbuffer.d 
src/logging.d src/xml_util.d src/plugins.d src/xcomm_protocol/*.d 
src/stork/*.d src/stork/*/*.d

PROTOCOL_LIBS=-fPIC -q,-rdynamic -L-ldl
PROTOCOL_OUTPUT=./xcomm
PROTOCOL_FLAGS=-c xcomm.conf

PLUGIN_LIBS=-fPIC -q,-rdynamic,-shared

defaulttarget: protocol-daemon plugins-opt
all: protocol-daemon plugins-opt
distclean: clean

protocol:
	gdmd $(DFLAGS_DEBUG) -op -of$(PROTOCOL_OUTPUT) $(PROTOCOL_SRC) 
$(PROTOCOL_LIBS)

find . -name "*.o" -print0 | xargs -0 rm -f

protocol-debug1:
	gdmd $(DFLAGS_DEBUG1) -op -of$(PROTOCOL_OUTPUT) $(PROTOCOL_SRC) 
$(PROTOCOL_LIBS)

find . -name "*.o" -print0 | xargs -0 rm -f

protocol-test: protocol plugins
$(PROTOCOL_OUTPUT) $(PROTOCOL_FLAGS)

protocol-opt:
	gdmd $(DFLAGS) -op -of$(PROTOCOL_OUTPUT) $(PROTOCOL_SRC) 
$(PROTOCOL_LIBS)

find . -name "*.o" -print0 | xargs -0 rm -f

protocol-opt-test: protocol-opt plugins-opt
$(PROTOCOL_OUTPUT) $(PROTOCOL_FLAGS)

protocol-daemon:
	gdmd $(DFLAGS) -version=daemon -op -of$(PROTOCOL_OUTPUT) 
$(PROTOCOL_SRC) $(PROTOCOL_LIBS)

find . -name "*.o" -print0 | xargs -0 rm -f

daemon-debug:
	gdmd $(DFLAGS_DEBUG) -version=daemon -op -of$(PROTOCOL_OUTPUT) 
$(PROTOCOL_SRC) $(PROTOCOL_LIBS)

find . -name "*.o" -print0 | xargs -0 rm -f

protocol-debug: protocol plugins
find . -name "*.o" -print0 | xargs -0 rm -f
gdb --args $(PROTOCOL_OUTPUT) $(PROTOCOL_FLAGS)

plugins:
	gdmd $(DFLAGS_DEBUG) -op -ofplugins/random.so 
src/plugins/random.d $(PLUGIN_LIBS)
	gdmd $(DFLAGS_DEBUG) -op -ofplugins/game_sets.so 
src/plugins/game_sets.d $(PLUGIN_LIBS)


plugins-opt:
	gdmd $(DFLAGS) -op -ofplugins/random.so src/plugins/random.d 
$(PLUGIN_LIBS)
	gdmd $(DFLAGS) -op -ofplugins/game_sets.so 
src/plugins/game_sets.d $(PLUGIN_LIBS)


clean:
find . -name "*.o" -print0 | xargs -0 rm -f
rm -f *.log
rm -f plugins/*.so
rm -f src/test_clients/old_n_crufty
rm -f src/test_clients/scripted
rm -f src/test_clients/spammer
rm -f src/test_clients/spammer2
rm -f $(PROTOCOL_OUTPUT)

backup: distclean
@if [ ! -e dist ]; then mkdir dist; fi
	tar c . --exclude=CVS --exclude=.svn --exclude=dist | bzip2 -9 > 
dist/xcomm-backup_`date +"%Y-%m-%d_%H%M"`.tar.bz2


# Create a release tarball.
dist: distclean
	@if [ "$(DISTVER)" = "" ]; then echo DISTVER not set - please 
set it to 1.0 or similar.; echo; exit 1; fi

@if [ ! -e dist ]; then mkdir dist; fi
	tar c . --exclude=CVS --exclude=.svn --exclude=dist 
--exclude=debug.conf | bzip2 -9 > dist/xcomm-$(DISTVER).tar.bz2


.PHONY: protocol protocol-test protocol-opt protocol-opt-test 
protocol-daemon protocol-debug plugins plugins-opt clean dist 
distclean backup all defaulttarget

.NOTPARALLEL: