]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - Makefile.in
move header include info from Makefile.in to *.cmd
[paraslash.git] / Makefile.in
index 45dc04182cb33fe585d3be15241dd335f85cb830..bb0488082d4d3a0d4b328aa7fb0d38c22f6ce8c3 100644 (file)
@@ -149,25 +149,28 @@ grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo
                --set-version="$V"  < $<
 
 server_command_list.c: server.cmd server_command_list.h
                --set-version="$V"  < $<
 
 server_command_list.c: server.cmd server_command_list.h
-       echo '#include "server.h"' > $@
-       echo '#include "user_list.h"' >> $@
-       echo '#include "server_command_list.h"' >> $@
-       echo 'struct server_command cmd_struct[] = {' >>$@
        ./command_util.sh array < $< >>$@
        ./command_util.sh array < $< >>$@
-       echo '{.name = NULL}};' >> $@
 server_command_list.h: server.cmd
 server_command_list.h: server.cmd
-       echo 'extern struct server_command cmd_struct[];' > $@
        ./command_util.sh proto < $< >> $@
 
 mysql_selector_command_list.c: mysql_selector.cmd mysql_selector_command_list.h
        ./command_util.sh proto < $< >> $@
 
 mysql_selector_command_list.c: mysql_selector.cmd mysql_selector_command_list.h
-       echo '#include "server.h"' > $@
-       echo '#include "user_list.h"' >> $@
-       echo '#include "mysql_selector_command_list.h"' >> $@
-       echo 'struct server_command cmds[] = {' >>$@
        ./command_util.sh array < $< >>$@
        ./command_util.sh array < $< >>$@
-       echo '{.name = NULL}};' >> $@
 mysql_selector_command_list.h: mysql_selector.cmd
 mysql_selector_command_list.h: mysql_selector.cmd
-       echo 'extern struct server_command cmds[];' > $@
+       ./command_util.sh proto < $< >> $@
+
+random_selector_command_list.c: random_selector.cmd random_selector_command_list.h
+       ./command_util.sh array < $< >>$@
+random_selector_command_list.h: random_selector.cmd
+       ./command_util.sh proto < $< >> $@
+
+playlist_selector_command_list.c: playlist_selector.cmd playlist_selector_command_list.h
+       ./command_util.sh array < $< >>$@
+playlist_selector_command_list.h: playlist_selector.cmd
+       ./command_util.sh proto < $< >> $@
+
+audiod_command_list.c: audiod.cmd audiod_command_list.h
+       ./command_util.sh array < $< >>$@
+audiod_command_list.h: audiod.cmd
        ./command_util.sh proto < $< >> $@
 
 ortp_recv.o: ortp_recv.c
        ./command_util.sh proto < $< >> $@
 
 ortp_recv.o: ortp_recv.c