X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=834e446352d7d256ad816a1524faf0006d9896ea;hp=0c32146dc59455d1d3589a20fe8292b4de394fe1;hb=9ebd69fa0ad93040ca37190e1b71683d027095e9;hpb=01115af3aaeec19e2dfad57af766dab4de34732e diff --git a/Makefile.in b/Makefile.in index 0c32146d..834e4463 100644 --- a/Makefile.in +++ b/Makefile.in @@ -35,6 +35,7 @@ DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W # CPPFLAGS += -Wfloat-equal # CPPFLAGS += -Wmissing-format-attribute # CPPFLAGS += -Wunused-macros +# CPPFLAGS += -Wwrite-strings # invalid option for gcc-3.3.5 # CPPFLAGS += -Wextra @@ -113,26 +114,29 @@ play_objs = play.cmdline.o play.o time.o include Makefile.deps V := ($(TGZ_PREFIX)@PACKAGE_STRING@, $(codename))\n$(COPYRIGHT)\n$(DISCLAIMER) -module_ggo_opts := --set-version="" --set-package="" +module_ggo_opts := --set-version="(@PACKAGE_STRING@, $(codename))" grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo gengetopt $(module_ggo_opts) \ - --no-handle-error \ + --set-package=grab \ --no-handle-help \ + --no-handle-error \ + --no-handle-version \ --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) \ + --set-package=$(subst .ggo,,$<) \ + --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) \ + --set-package=$(subst .ggo,,$<) \ + --arg-struct-name=$(subst .ggo,,$<)_args_info \ --file-name=$(subst .ggo,,$<).cmdline \ --func-name $(subst _filter.ggo,,$<)_cmdline_parser < $<