+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 < $< >>$@
+ echo '{.name = NULL}};' >> $@
+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
+ 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 < $< >>$@
+ echo '{.name = NULL}};' >> $@
+mysql_selector_command_list.h: mysql_selector.cmd
+ echo 'extern struct server_command cmds[];' > $@
+ ./command_util.sh proto < $< >> $@
+