No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
/config.status
/stamp-h
/Makefile
+/common.make
msgcode-test
msgcode-test.confirm
PACKAGE:=secnet
VERSION=0.4.5
-@SET_MAKE@
-
-srcdir:=@srcdir@
VPATH:=@srcdir@
-SHELL:=/bin/sh
-RM:=@RM@
-CC:=@CC@
+include common.make
+
INSTALL:=@INSTALL@
INSTALL_PROGRAM:=@INSTALL_PROGRAM@
INSTALL_SCRIPT:=@INSTALL_SCRIPT@
transform:=@program_transform_name@
mandir:=@mandir@
-CFLAGS:=-Wall @WRITESTRINGS@ @CFLAGS@ -Werror \
- -W -Wno-unused -Wno-unused-parameter \
- -Wno-pointer-sign -Wstrict-prototypes -Wmissing-prototypes \
- -Wmissing-declarations -Wnested-externs -Wredundant-decls \
- -Wpointer-arith -Wformat=2 -Winit-self \
- -Wswitch-enum -Wunused-variable -Wunused-function -Wbad-function-cast \
- -Wno-strict-aliasing -fno-strict-aliasing \
- -MMD
ALL_CFLAGS:=@DEFS@ -I$(srcdir) -I. $(CFLAGS) $(EXTRA_CFLAGS)
CPPFLAGS:=@CPPFLAGS@ -DDATAROOTDIR='"$(datarootdir)"' $(EXTRA_CPPFLAGS)
LDFLAGS:=@LDFLAGS@ $(EXTRA_LDFLAGS)
--- /dev/null
+# common makefile settings for secnet
+#
+# This file is part of secnet.
+# See README for full list of copyright holders.
+#
+# secnet is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# secnet is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# version 3 along with secnet; if not, see
+# https://www.gnu.org/licenses/gpl.html.
+
+@SET_MAKE@
+
+srcdir:=@srcdir@
+
+SHELL:=/bin/sh
+RM:=@RM@
+CC:=@CC@
+
+CFLAGS:=-Wall @WRITESTRINGS@ @CFLAGS@ -Werror \
+ -W -Wno-unused -Wno-unused-parameter \
+ -Wno-pointer-sign -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wnested-externs -Wredundant-decls \
+ -Wpointer-arith -Wformat=2 -Winit-self \
+ -Wswitch-enum -Wunused-variable -Wunused-function -Wbad-function-cast \
+ -Wno-strict-aliasing -fno-strict-aliasing \
+ -MMD
$as_echo "$as_me: WARNING: Disabling IPv6 support" >&2;}
fi
-ac_config_files="$ac_config_files Makefile"
+ac_config_files="$ac_config_files Makefile common.make"
ac_config_commands="$ac_config_commands default"
case $ac_config_target in
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "common.make") CONFIG_FILES="$CONFIG_FILES common.make" ;;
"default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
AC_MSG_WARN([Disabling IPv6 support])
fi
-AC_OUTPUT(Makefile,echo timestamp >stamp-h)
+AC_OUTPUT(Makefile common.make, echo timestamp >stamp-h)
AH_TOP([
#ifndef _CONFIG_H