Add -Wwrite-strings to CPPFLAGS
[paraslash.git] / Makefile.in
index 91fd3a140e947962aa2fb9cab03cd3938f9dd78f..ee550de4e5e99c9f8d4a5556aa4ad2a878f3cce9 100644 (file)
@@ -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
@@ -87,7 +88,7 @@ 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) \
@@ -211,11 +212,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)