X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=7a23832b124b8b09a99d43e10398bf764a303cc3;hp=a440e4f69af4f3fbfadf51470990a4a2eba17b6a;hb=1d54a5412ef39590022e6dd4448881f267e96d0b;hpb=3fe80106bf0dc11987be660db2a39f2cc0a692a4 diff --git a/Makefile.in b/Makefile.in index a440e4f6..7a23832b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -15,13 +15,13 @@ build_date := $(shell date) uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS") uname_rs := $(shell uname -rs) cc_version := $(shell $(CC) --version | head -n 1) -codename := infinite rollback +codename := nested assignment GIT_VERSION := $(shell ./GIT-VERSION-GEN git-version.h) -DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W +DEBUG_CPPFLAGS += -g -Wunused -Wundef -W DEBUG_CPPFLAGS += -Wredundant-decls -DEBUG_CPPFLAGS += -Wall +DEBUG_CPPFLAGS += -Wall -Wno-sign-compare DEBUG_CPPFLAGS += -Wformat-security DEBUG_CPPFLAGS += -Wmissing-format-attribute # produces false positives @@ -32,6 +32,7 @@ DEBUG_CPPFLAGS += -Wmissing-format-attribute # DEBUG_CPPFLAGS += -Wextra # DEBUG_CPPFLAGS += -Wold-style-definition # DEBUG_CPPFLAGS += -Wdeclaration-after-statement +# DEBUG_CPPFLAGS += -Wsuggest-attribute=const # many warnings about trivial stuff # CPPFLAGS += -Wconversion @@ -56,7 +57,6 @@ CPPFLAGS += -Wunused-macros CPPFLAGS += -Wbad-function-cast CPPFLAGS += -fno-strict-aliasing CPPFLAGS += -DMAIN_INPUT_FILE_IS_$(*F) -CPPFLAGS += @SSL_CPPFLAGS@ CPPFLAGS += @arch_cppflags@ CPPFLAGS += -I/usr/local/include CPPFLAGS += -I$(cmdline_dir) @@ -70,7 +70,7 @@ object_dir := objects man_dir := man/man1 test_dir := t -m4_ggos := afh audioc audiod client filter gui recv server write +m4_ggos := afh audioc audiod client filter gui recv server write ao_write all_ggos := $(m4_ggos) dccp_recv alsa_write oss_write fade http_recv \ osx_write udp_recv amp_filter compress_filter file_write \ mp3dec_filter prebuffer_filter @@ -150,6 +150,9 @@ $(object_dir): $(man_dir): mkdir -p $@ +$(object_dir)/crypt.o: crypt.c | $(object_dir) + @[ -z "$(Q)" ] || echo 'CC $<' + $(Q) $(CC) -c -o $@ $(CPPFLAGS) $(DEBUG_CPPFLAGS) @openssl_cppflags@ $< $(object_dir)/spx_common.o: spx_common.c | $(object_dir) @[ -z "$(Q)" ] || echo 'CC $<' $(Q) $(CC) -c -o $@ $(CPPFLAGS) $(DEBUG_CPPFLAGS) @ogg_cppflags@ $<