]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - Makefile.in
move header include info from Makefile.in to *.cmd
[paraslash.git] / Makefile.in
index 376adf810aa0a85df319799dd3ab008acd9ce33a..bb0488082d4d3a0d4b328aa7fb0d38c22f6ce8c3 100644 (file)
@@ -16,11 +16,11 @@ 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
+DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W
 
-#DEBUG_CPPFLAGS += -Wredundant-decls
+DEBUG_CPPFLAGS += -Wredundant-decls
 
 # produces false positives
 # DEBUG_CPPFLAGS += -Wunreachable-code
@@ -148,6 +148,31 @@ 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
+       ./command_util.sh array < $< >>$@
+server_command_list.h: server.cmd
+       ./command_util.sh proto < $< >> $@
+
+mysql_selector_command_list.c: mysql_selector.cmd mysql_selector_command_list.h
+       ./command_util.sh array < $< >>$@
+mysql_selector_command_list.h: mysql_selector.cmd
+       ./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
        $(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) @ortp_cppflags@ $<
 
@@ -225,7 +250,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 +277,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)