]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - Makefile.in
audiod: use the new help text array of gengetopt-2.17
[paraslash.git] / Makefile.in
index 9ce793a4033a3e201bc43484e670dd2ac833acf3..d8932e4366c01897de9013f71cfab62a019d5abb 100644 (file)
@@ -21,9 +21,9 @@ build_date = $(shell date)
 system = $(shell uname -rs)
 cc_version = $(shell $(CC) --version | head -n 1)
 version = @PACKAGE_VERSION@
-codename = atomic duality
+codename = oriented abstraction
 
-DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W
+DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W
 
 # produces lots of warnings on older debian systems with gcc-2.95.4
 # DEBUG_CPPFLAGS += -Wredundant-decls
@@ -35,6 +35,7 @@ codename = atomic duality
 # CPPFLAGS += -Wfloat-equal
 # CPPFLAGS += -Wmissing-format-attribute
 # CPPFLAGS += -Wunused-macros
+# CPPFLAGS += -Wwrite-strings
 
 # invalid option for gcc-3.3.5
 # CPPFLAGS += -Wextra
@@ -87,7 +88,7 @@ web_misc := $(patsubst %,web/sync/%,$(web_misc))
 misc := bash_completion
 headers := para.h server.h SFont.h crypt.h list.h http.h send.h ortp.h rc4.h \
        close_on_fork.h afs.h db.h gcc-compat.h recv.h filter.h audiod.h \
-       grab_client.h error.h net.h ringbuffer.h daemon.h string.h ipc.h
+       grab_client.h error.h net.h ringbuffer.h daemon.h string.h ipc.h dccp.h
 scripts := install-sh configure
 autocrap := Makefile.in config.h.in configure.ac autogen.sh
 tarball := web/sync/doc pics fonts $(c_sources) $(sample_conf) $(headers) \
@@ -122,17 +123,16 @@ grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo
                --arg-struct-name=grab_client_args_info \
                --file-name=$(subst .ggo,,$<).cmdline \
                --func-name $(subst .ggo,,$<)_cmdline_parser < $<
-       grep -v 'fprintf\ *(stderr' $(subst .ggo,,$<).cmdline.c > $(subst .ggo,,$<).tmp
-       mv $(subst .ggo,,$<).tmp $(subst .ggo,,$<).cmdline.c
-       ggo_help GRAB_HELP_TXT < grab_client.ggo >> $(subst .ggo,,$<).cmdline.h
 
 %_recv.cmdline.h %_recv.cmdline.c: %_recv.ggo
        gengetopt $(module_ggo_opts) \
+               --arg-struct-name=$(subst .ggo,,$<)_args_info \
                --file-name=$(subst .ggo,,$<).cmdline \
                --func-name $(subst .ggo,,$<)_cmdline_parser < $<
 
 %_filter.cmdline.h %_filter.cmdline.c: %_filter.ggo
        gengetopt $(module_ggo_opts) \
+               --arg-struct-name=$(subst .ggo,,$<)_args_info \
                --file-name=$(subst .ggo,,$<).cmdline \
                --func-name $(subst _filter.ggo,,$<)_cmdline_parser < $<
 
@@ -216,7 +216,7 @@ maintainer-clean: distclean
 
 install: all
        umask 022 && \
-       mkdir -p $(BINDIR) $(VARDIR) $(VARDIR)/fifo && \
+       mkdir -p $(BINDIR) $(VARDIR) && \
        $(install_sh) -s -m 755 $(BINARIES) $(BINDIR) && \
        mkdir -p $(CONFDIR) && \
        $(install_sh) -m 644 bash_completion $(sample_conf) $(CONFDIR)