X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=e05d75b90ff944a2e3d3ec0b45944e7a1765f295;hp=d7e28568af3e7c6c22a609a6cd27504ccd22e2d1;hb=6aa6fcd54de730b4dfc75ca60f8c21009d60da0d;hpb=cb975a0978aec84c4710037ddb407737d455d1d4 diff --git a/Makefile.in b/Makefile.in index d7e28568..e05d75b9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -148,6 +148,18 @@ grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo --set-package="para_$(subst .cmdline,,$(*F))" \ --set-version="$V" < $< +server_command_list.c: server.cmd + 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 < $< >> $@ + ortp_recv.o: ortp_recv.c $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @ortp_cppflags@ $< @@ -225,7 +237,7 @@ para_krell.so: $(krell_objs) $(CC) -Wall -fPIC @GTK_CFLAGS@ krell.o -o $@ @GTK_LIBS@ -shared clean: - rm -f *.o $(BINARIES) + rm -f *.o $(BINARIES) *_command_list.* distclean: clean rm -f Makefile autoscan.log config.status config.log && \