X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=Makefile.in;h=aef0c0c95b2b6d4984c586906e84196612a3a292;hb=c4f619ddfcf68bfc5e7d24e849b5e1ce3cc40161;hp=45dc04182cb33fe585d3be15241dd335f85cb830;hpb=d8f49a6a3eadcdbfb39f15bf9cff5f251fd16125;p=paraslash.git diff --git a/Makefile.in b/Makefile.in index 45dc0418..aef0c0c9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -149,26 +149,29 @@ grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo --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 < $< >>$@ - echo '{.name = NULL}};' >> $@ + ./command_util.sh c_file < $< >>$@ server_command_list.h: server.cmd - echo 'extern struct server_command cmd_struct[];' > $@ - ./command_util.sh proto < $< >> $@ + ./command_util.sh header < $< >> $@ 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}};' >> $@ + ./command_util.sh c_file < $< >>$@ mysql_selector_command_list.h: mysql_selector.cmd - echo 'extern struct server_command cmds[];' > $@ - ./command_util.sh proto < $< >> $@ + ./command_util.sh header < $< >> $@ + +random_selector_command_list.c: random_selector.cmd random_selector_command_list.h + ./command_util.sh c_file < $< >>$@ +random_selector_command_list.h: random_selector.cmd + ./command_util.sh header < $< >> $@ + +playlist_selector_command_list.c: playlist_selector.cmd playlist_selector_command_list.h + ./command_util.sh c_file < $< >>$@ +playlist_selector_command_list.h: playlist_selector.cmd + ./command_util.sh header < $< >> $@ + +audiod_command_list.c: audiod.cmd audiod_command_list.h + ./command_util.sh c_file < $< >>$@ +audiod_command_list.h: audiod.cmd + ./command_util.sh header < $< >> $@ ortp_recv.o: ortp_recv.c $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @ortp_cppflags@ $<