X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=4b19dcdf31940c237dd4fd5ea0dda453b229dd44;hp=a6d55d410db7287ba7fc707cb7b923ab79bfe372;hb=3a03dde86abb872997db366869919f173570f863;hpb=a2471d723be9e23a50e937c3a6e71af16dcaaaa4 diff --git a/Makefile.in b/Makefile.in index a6d55d41..4b19dcdf 100644 --- a/Makefile.in +++ b/Makefile.in @@ -7,7 +7,6 @@ exec_prefix = @exec_prefix@ BINDIR = @bindir@ VARDIR = /var/paraslash PKGDATADIR = @datadir@/@PACKAGE_NAME@ -CONFDIR = $(PKGDATADIR)/samples FONTDIR = $(PKGDATADIR)/fonts PICDIR = $(PKGDATADIR)/pics MANDIR = @prefix@/share/man/man1 @@ -25,17 +24,12 @@ codename = oriented abstraction 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 +DEBUG_CPPFLAGS += -Wredundant-decls # produces false positives # DEBUG_CPPFLAGS += -Wunreachable-code -# invalid options for gcc-2.95.4 -# CPPFLAGS += -Wfloat-equal -# CPPFLAGS += -Wmissing-format-attribute -# CPPFLAGS += -Wunused-macros -# CPPFLAGS += -Wwrite-strings +#CPPFLAGS += -Wwrite-strings # invalid option for gcc-3.3.5 # CPPFLAGS += -Wextra @@ -55,13 +49,14 @@ CPPFLAGS += -DVERSION='"$(version)"' CPPFLAGS += -DCODENAME='"$(codename)"' CPPFLAGS += -DCC_VERSION='"$(cc_version)"' CPPFLAGS += -Werror-implicit-function-declaration +CPPFLAGS += -Wmissing-format-attribute +CPPFLAGS += -Wunused-macros BINARIES = para_server para_client para_gui para_audiod para_audioc para_recv para_filter para_write $(extra_binaries) FONTS := $(wildcard fonts/*.png) PICS := $(wildcard pics/paraslash/*.jpg) MANS := $(wildcard doc/man/man1/*.1) -sample_conf := $(wildcard *.conf.sample) gengetopts := $(wildcard *.ggo) gengetopts_c := $(gengetopts:.ggo=.cmdline.c) gengetopts_h := $(gengetopts:.ggo=.cmdline.h) @@ -92,7 +87,7 @@ headers := para.h server.h SFont.h crypt.h list.h http.h send.h ortp.h rc4.h \ fd.h write.h write_common.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) \ +tarball := web/sync/doc pics fonts $(c_sources) $(headers) \ $(misc) $(grutatxt) $(gengetopts) $(autocrap) $(gengetopts_c) $(gengetopts_h) \ $(scripts) @@ -146,11 +141,6 @@ grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo esac; \ gengetopt $$O --conf-parser --file-name=$(*F).cmdline --set-package="para_$(subst .cmdline,,$(*F))" --set-version="$V" < $< -ortp_send.o: ortp_send.c - $(CC) -c -Wall -o $@ -g @GLIB_CFLAGS@ $< -ortp_recv.o: ortp_recv.c - $(CC) -c -Wall -o $@ -g @GLIB_CFLAGS@ $< - para_recv: @recv_objs@ $(CC) @recv_objs@ -o $@ @recv_ldflags@ @@ -219,8 +209,6 @@ install: all umask 022 && \ mkdir -p $(BINDIR) $(VARDIR) && \ $(install_sh) -s -m 755 $(BINARIES) $(BINDIR) && \ - mkdir -p $(CONFDIR) && \ - $(install_sh) -m 644 bash_completion $(sample_conf) $(CONFDIR) mkdir -p $(FONTDIR) && \ $(install_sh) -m 644 $(FONTS) $(FONTDIR) && \ mkdir -p $(PICDIR) && \