chiark / gitweb /
make-secnet-sites: Fix error handling if caller is in wrong group
[secnet.git] / common.make.in
1 # common makefile settings for secnet
2 #
3 # This file is part of secnet.
4 # See README for full list of copyright holders.
5 #
6 # secnet is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10
11 # secnet is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 # General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # version 3 along with secnet; if not, see
18 # https://www.gnu.org/licenses/gpl.html.
19
20 @SET_MAKE@
21
22 topbuilddir:=@abs_top_builddir@
23 src:=@top_srcdir@
24
25 SHELL:=/bin/sh
26 CC:=@CC@
27
28 CFLAGS:=-Wall @WRITESTRINGS@ @CFLAGS@ -Werror \
29         -W -Wno-unused -Wno-unused-parameter \
30         -Wno-pointer-sign -Wstrict-prototypes -Wmissing-prototypes \
31         -Wmissing-declarations -Wnested-externs -Wredundant-decls \
32         -Wpointer-arith -Wformat=2 -Winit-self \
33         -Wswitch-enum -Wunused-variable -Wunused-function -Wbad-function-cast \
34         -Wno-strict-aliasing -fno-strict-aliasing \
35         -Wno-bool-operation -Wno-stringop-truncation