X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=e416d53e261a01dc13f85d6218561b3d37a33c81;hp=e5e8a4428e4a67115c735266ddaeb7aa6b6431fb;hb=b71d1e5ef301b21c2bb33c1a205c971b0a51b769;hpb=82008b5367b438f01bb3899a93b406a6066d2b1f diff --git a/Makefile.in b/Makefile.in index e5e8a442..e416d53e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -16,7 +16,7 @@ install_sh = @install_sh@ build_date = $(shell date) system = $(shell uname -rs) cc_version = $(shell $(CC) --version | head -n 1) -codename = transient singularity +codename = inductive resonance DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W @@ -148,6 +148,50 @@ 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 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 < $< >> $@ + +random_selector_command_list.c: random_selector.cmd random_selector_command_list.h + echo '#include "server.h"' > $@ + echo '#include "user_list.h"' >> $@ + echo '#include "random_selector_command_list.h"' >> $@ + echo 'struct server_command random_selector_cmds[] = {' >>$@ + ./command_util.sh array < $< >>$@ + echo '{.name = NULL}};' >> $@ +random_selector_command_list.h: random_selector.cmd + echo 'extern struct server_command random_selector_cmds[];' > $@ + ./command_util.sh proto < $< >> $@ + +playlist_selector_command_list.c: playlist_selector.cmd playlist_selector_command_list.h + echo '#include "server.h"' > $@ + echo '#include "user_list.h"' >> $@ + echo '#include "playlist_selector_command_list.h"' >> $@ + echo 'struct server_command playlist_selector_cmds[] = {' >>$@ + ./command_util.sh array < $< >>$@ + echo '{.name = NULL}};' >> $@ +playlist_selector_command_list.h: playlist_selector.cmd + echo 'extern struct server_command playlist_selector_cmds[];' > $@ + ./command_util.sh proto < $< >> $@ + ortp_recv.o: ortp_recv.c $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @ortp_cppflags@ $< @@ -225,7 +269,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 && \ @@ -252,7 +296,7 @@ install: all @PACKAGE_TARNAME@-@PACKAGE_VERSION@.tar.bz2: $(tarball_add) doc rm -f $(tarball_pfx).tar.bz2 - git-tar-tree HEAD $(tarball_pfx) | tar --delete $(tarball_delete) > $(tarball_pfx).tar + git-archive --format=tar --prefix=$(tarball_pfx)/ HEAD | tar --delete $(tarball_delete) > $(tarball_pfx).tar mkdir $(tarball_pfx) cp -r $(tarball_add) $(tarball_pfx) tar c doc/man | (cd $(tarball_pfx); tar x)