Consolidate the config.mak settings

This commit is contained in:
Hamish Coleman 2023-04-30 19:00:04 -05:00
parent 4e2b9e0a91
commit 37722ab8b6
5 changed files with 9 additions and 14 deletions

View File

@ -1,10 +1,4 @@
export CC
export AR
export CFLAGS
export LDFLAGS
export LDLIBS
include config.mak
#Ultrasparc64 users experiencing SIGBUS should try the following gcc options

View File

@ -1,9 +1,15 @@
export N2N_VERSION
export CC
export AR
export CFLAGS
export LDFLAGS
export LDLIBS_EXTRA
export TOOLS_ADDITIONAL
# NOTE: these are needed by the configure.in inside the packages folder
N2N_VERSION=@N2N_VERSION@
CC=@CC@
AR=@AR@
CFLAGS=@CFLAGS@ -I./include
LDFLAGS=@LDFLAGS@ -L.
LDLIBS_EXTRA+=@N2N_LIBS_EXTRA@
LDLIBS_EXTRA=@N2N_LIBS_EXTRA@
TOOLS_ADDITIONAL=@TOOLS_ADDITIONAL@

View File

@ -154,6 +154,5 @@ AC_SUBST(N2N_LIBS_EXTRA)
AC_SUBST(TOOLS_ADDITIONAL)
AC_CONFIG_HEADERS(include/config.h)
AC_CONFIG_FILES(config.mak)
AC_CONFIG_FILES(tools/config.mak)
AC_OUTPUT

View File

@ -2,8 +2,6 @@
# This is not a standalone makefile, it must be called from the toplevel
# makefile to inherit the correct environment
include config.mak
DEBUG?=-g3
HEADERS=$(wildcard include/*.h)

View File

@ -1,2 +0,0 @@
TOOLS_ADDITIONAL=@TOOLS_ADDITIONAL@