1# 2# config.mk.in. 3# 4# Copyright (C) 2009, Cisco Systems Inc. 5# 6# This program is free software; you can redistribute it and/or modify 7# it under the terms of the GNU General Public License as published by 8# the Free Software Foundation; either version 2 of the License, or 9# (at your option) any later version. 10# 11# This program is distributed in the hope that it will be useful, 12# but WITHOUT ANY WARRANTY; without even the implied warranty of 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14# GNU General Public License for more details. 15# 16# You should have received a copy of the GNU General Public License along 17# with this program; if not, write to the Free Software Foundation, Inc., 18# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 19# 20# Ngie Cooper, July 2009 21# 22 23# See this page for more info about LEX*: 24# http://www.gnu.org/software/hello/manual/autoconf/Particular-Programs.html 25 26# Application specifying variables. You should never have to change these. 27AR := @AR@ 28CC := @CC@ 29LEX := @LEX@ 30RANLIB := @RANLIB@ 31STRIP := @STRIP@ 32YACC := @YACC@ 33 34AIO_LIBS := @AIO_LIBS@ 35CAP_LIBS := @CAP_LIBS@ 36ACL_LIBS := @ACL_LIBS@ 37CRYPTO_LIBS := @CRYPTO_LIBS@ 38LEXLIB := @LEXLIB@ 39NUMA_LIBS := @NUMA_LIBS@ 40SELINUX_LIBS := @SELINUX_LIBS@ 41HAVE_RPC := @HAVE_RPC@ 42TIRPC_CFLAGS := @TIRPC_CFLAGS@ 43TIRPC_LIBS := @TIRPC_LIBS@ 44KEYUTILS_LIBS := @KEYUTILS_LIBS@ 45HAVE_FTS_H := @HAVE_FTS_H@ 46LIBMNL_LIBS := @LIBMNL_LIBS@ 47LIBMNL_CFLAGS := @LIBMNL_CFLAGS@ 48 49prefix := @prefix@ 50 51datarootdir := @datarootdir@ 52includedir := @includedir@ 53exec_prefix := @exec_prefix@ 54bindir := @bindir@ 55libdir := @libdir@ 56mandir := @mandir@ 57 58CPPFLAGS := @CPPFLAGS@ 59CFLAGS := @CFLAGS@ 60LDLIBS := @LIBS@ 61LDFLAGS := @LDFLAGS@ 62 63DEBUG_CFLAGS ?= -g 64 65# for -fstrict-aliasing see doc/build-system-guide.txt 66OPT_CFLAGS ?= -O2 -fno-strict-aliasing -pipe 67 68WCFLAGS ?= -Wall -W @GCC_WARN_OLDSTYLE@ 69 70LDFLAGS += $(WLDFLAGS) 71CFLAGS += $(DEBUG_CFLAGS) $(OPT_CFLAGS) $(WCFLAGS) 72 73LINUX_VERSION := @LINUX_VERSION@ 74LINUX_DIR := @LINUX_DIR@ 75LINUX_VERSION_MAJOR := @LINUX_VERSION_MAJOR@ 76LINUX_VERSION_PATCH := @LINUX_VERSION_PATCH@ 77WITH_MODULES := @WITH_MODULES@ 78 79HOST_CPU := @HOST_CPU@ 80 81ifeq ($(strip $(prefix)),) 82$(error you are using $$(prefix) incorrectly -- set it to $(abs_top_srcdir) if you want to build in the source tree) 83endif 84 85export datarootdir includedir libdir mandir prefix 86