#
# Copyright (c) 2002-2006 Silicon Graphics, Inc.  All Rights Reserved.
#
# This program 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 2 of the License, or
# (at your option) any later version.
#
# This program 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
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
# include/builddefs.  Generated from builddefs.in by configure.
#

ifndef _BUILDDEFS_INCLUDED_
_BUILDDEFS_INCLUDED_ = 1

DEBUG = -DDEBUG
OPTIMIZER = -g -O2
MALLOCLIB = 
LOADERFLAGS =  -L/home/kikusui/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/lib -Wl,-rpath-link,/home/kikusui/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/lib -Wl,-O1 -Wl,--hash-style=gnu

LIBATTR = $(TOPDIR)/libattr/libattr.la
LIBMISC = $(TOPDIR)/libmisc/libmisc.la

prefix = /usr
exec_prefix = /usr
top_builddir = ..
datarootdir = ${prefix}/share

PKG_NAME	= attr
PKG_USER	= root
PKG_GROUP	= root
PKG_RELEASE	= 0
PKG_VERSION	= 2.4.47
PKG_PLATFORM	= linux
PKG_DISTRIBUTION= Linux
PKG_BIN_DIR	= /usr/bin
PKG_SBIN_DIR	= /usr/sbin
PKG_LIB_DIR	= /usr/lib
PKG_DEVLIB_DIR	= /usr/lib
PKG_INC_DIR	= /usr/include/attr
PKG_MAN_DIR	= /usr/share/man
PKG_DOC_DIR	= /usr/share/doc/attr
PKG_LOCALE_DIR	= /usr/share/locale

CC		= arm-linux-gnueabihf-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/kikusui/yocto-kikusui_20180119/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am335x-kiwe
AWK		= /usr/bin/awk
SED		= sed
TAR		= /bin/tar
ZIP		= /bin/gzip
MAKE		= /usr/bin/make
ECHO		= /bin/echo
SORT		= /usr/bin/sort
LN_S		= ln -s
SHELL		= /bin/sh
LIBTOOL		= $(top_builddir)/arm-linux-gnueabi-libtool
MAKEDEPEND	= /bin/true

MSGFMT		= /home/kikusui/yocto-kikusui_20180119/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/msgfmt
MSGMERGE	= /home/kikusui/yocto-kikusui_20180119/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/msgmerge
XGETTEXT	= /home/kikusui/yocto-kikusui_20180119/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/xgettext

RPM		= /home/kikusui/yocto-kikusui_20180119/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/rpm
RPMBUILD	= /home/kikusui/yocto-kikusui_20180119/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/rpmbuild
RPM_VERSION	= 5

ENABLE_SHARED	= yes
ENABLE_GETTEXT	= yes

HAVE_ZIPPED_MANPAGES = true

ifneq "$(findstring $(PKG_PLATFORM), linux gnu gnu/kfreebsd gnu/knetbsd)" ""
PCFLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
endif

ifeq ($(PKG_PLATFORM),linux)
DEPENDFLAGS = -D__linux__
endif
ifeq ($(PKG_PLATFORM),darwin)
DEPENDFLAGS = -D__APPLE__
endif
ifeq ($(PKG_PLATFORM),irix)
DEPENDFLAGS = -D__sgi__
endif
ifeq ($(PKG_PLATFORM),freebsd)
DEPENDFLAGS = -D__FreeBSD__
endif

GCFLAGS = $(OPTIMIZER) $(DEBUG) -funsigned-char -fno-strict-aliasing -Wall \
	  -DVERSION=\"$(PKG_VERSION)\" -DLOCALEDIR=\"$(PKG_LOCALE_DIR)\"  \
	  -DPACKAGE=\"$(PKG_NAME)\" -I$(TOPDIR)/include

# Global, Platform, Local CFLAGS
CFLAGS += $(GCFLAGS) $(PCFLAGS) $(LCFLAGS)

include $(TOPDIR)/include/buildmacros

endif

#
# For targets that should always be rebuilt,
# define a target that is never up-to-date.
# Targets needing this should depend on $(_FORCE)
_FORCE = __force_build
