X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=834e446352d7d256ad816a1524faf0006d9896ea;hp=25cec46f46a860dfb384d376fcf996bce981459f;hb=68f5f7bdb30e7adcb87d0f314c67f0f80b337306;hpb=2ed89c59f0efcd0a2763f47c7d3455663241e623 diff --git a/Makefile.in b/Makefile.in index 25cec46f..834e4463 100644 --- a/Makefile.in +++ b/Makefile.in @@ -21,7 +21,7 @@ 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 @@ -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 @@ -66,7 +67,7 @@ gengetopts_c := $(gengetopts:.ggo=.cmdline.c) gengetopts_h := $(gengetopts:.ggo=.cmdline.h) all_c_files := $(wildcard *.c) c_sources := $(filter-out $(gengetopts_c), $(all_c_files)) -grutatxt := COPYING ChangeLog NEWS README.mysql CREDITS INSTALL README \ +grutatxt := COPYING NEWS README.mysql CREDITS INSTALL README \ FEATURES GPL grutatxt_html := $(grutatxt:=.html) html_in := $(wildcard web/*.in.html) @@ -81,13 +82,13 @@ shots += para_krell-2005-02.png para_server-startup.txt shots += para_slider-2004-12.png sdl_gui.jpg para_krell-2005-02.png shots := $(patsubst %,web/sync/%,$(shots)) web_pics := web/sync/paraslash.png web/sync/paraslash.ico -web_misc := demo-script overview.pdf versions/paraslash-cvs.tar.bz2 PUBLIC_KEY key.anonymous para.css doc +web_misc := demo-script overview.pdf versions/paraslash-git.tar.bz2 PUBLIC_KEY key.anonymous para.css doc 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 + 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) \ @@ -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 < $< @@ -211,11 +215,12 @@ distclean: clean maintainer-clean: distclean rm -f $(gengetopts_c) $(gengetopts_h) *.tar.bz2 \ $(grutatxt_html) ChangeLog* config.h configure \ - config.h.in + config.h.in skencil/*.pdf skencil/*.ps + rm -rf doc 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) @@ -263,7 +268,7 @@ web/sync/demo-script: scripts/demo-script web/sync cp $< $@ web/sync/para.css: web/para.css web/sync cp $< $@ -web/sync/versions/paraslash-cvs.tar.bz2: paraslash-cvs.tar.bz2 web/sync +web/sync/versions/paraslash-git.tar.bz2: paraslash-git.tar.bz2 web/sync cp -a versions web/sync && cp $< $@ web/sync/overview.pdf: skencil/overview.pdf web/sync cp $< $@