X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=f33273e0249bcc70d3f31f6a760c35ee5d3b3392;hp=3bd3add248600ec1bcd7f26e177c2640040deadb;hb=72cc3679948fe7c1f1b74f809a4dd2b949dc1bde;hpb=e9656de3ac6d281f585e5a60629d13631c569ae3;ds=sidebyside diff --git a/Makefile.in b/Makefile.in index 3bd3add2..f33273e0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -13,15 +13,20 @@ install_sh = @install_sh@ build_date = $(shell date) system = $(shell uname -rs) cc_version = $(shell $(CC) --version | head -n 1) -codename = neural discharge +codename = isotropic threshold -DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W -DEBUG_CPPFLAGS += -Wredundant-decls +# DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W +# DEBUG_CPPFLAGS += -Wredundant-decls # produces false positives # DEBUG_CPPFLAGS += -Wunreachable-code # DEBUG_CPPFLAGS += -Wwrite-strings -# invalid option for gcc-3.3.5 + +# invalid option for gcc-3.3.3 # DEBUG_CPPFLAGS += -Wextra +# DEBUG_CPPFLAGS += -Wold-style-definition + +# many warnings about trivial stuff +# CPPFLAGS += -Wconversion CPPFLAGS += -Os CPPFLAGS += -Wall @@ -40,11 +45,10 @@ CPPFLAGS += -Werror-implicit-function-declaration CPPFLAGS += -Wmissing-format-attribute CPPFLAGS += -Wunused-macros CPPFLAGS += -Wshadow +CPPFLAGS += -Wbad-function-cast BINARIES = para_server para_client para_gui para_audioc para_recv \ para_filter para_write @extra_binaries@ -all_man_binaries := para_server para_client para_gui para_audioc para_recv \ - para_filter para_write para_fade para_sdl_gui para_audiod man_binaries := $(filter-out para_dbadm para_slider para_krell.so, $(BINARIES)) man_pages := $(patsubst %, man/man1/%.1, $(man_binaries)) man_pages_html := $(patsubst %, man/html/%.html, $(man_binaries)) @@ -53,9 +57,7 @@ PICS := $(wildcard pics/paraslash/*.jpg) gengetopts := $(wildcard *.ggo) 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 NEWS README.mysql CREDITS INSTALL README FEATURES GPL +grutatxt := NEWS README.mysql CREDITS INSTALL README FEATURES grutatxt_html := $(grutatxt:=.html) html_in := $(wildcard web/*.in.html) gen_html := $(subst web/,web/sync/,$(html_in)) @@ -264,7 +266,7 @@ maintainer-clean: distclean rm -f *_command_list.* *.man man/man1/* man/html/* -install: all +install: all man mkdir -p $(BINDIR) $(FONTDIR) $(PICDIR) $(MANDIR) $(install_sh) -s -m 755 $(BINARIES) $(BINDIR) $(install_sh) -m 644 $(FONTS) $(FONTDIR)