1#
2# Copyright (c) 2002-2003 Silicon Graphics, Inc.  All Rights Reserved.
3# 
4# This program is free software; you can redistribute it and/or modify it
5# under the terms of version 2 of the GNU General Public License as
6# published by the Free Software Foundation.
7# 
8# This program is distributed in the hope that it would be useful, but
9# WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11# 
12# Further, this software is distributed without any warranty that it is
13# free of the rightful claim of any third person regarding infringement
14# or the like.  Any license provided herein, whether implied or
15# otherwise, applies only to this software file.  Patent licenses, if
16# any, provided herein do not apply to combinations of this program with
17# other software, or any other product whatsoever.
18# 
19# You should have received a copy of the GNU General Public License along
20# with this program; if not, write the Free Software Foundation, Inc., 59
21# Temple Place - Suite 330, Boston MA 02111-1307, USA.
22# 
23# Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
24# Mountain View, CA  94043, or:
25# 
26# http://www.sgi.com 
27# 
28# For further information regarding this notice, see: 
29# 
30# http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
31#
32# Generated automatically from builddefs.in by configure.
33#
34
35ifndef _BUILDDEFS_INCLUDED_
36_BUILDDEFS_INCLUDED_ = 1
37
38DEBUG =
39OPTIMIZER =
40MALLOCLIB = 
41
42LIBACL = $(TOPDIR)/libacl/libacl.la
43LIBATTR = $(TOPDIR)/../attr/libattr/libattr.la
44LIBMISC = $(TOPDIR)/libmisc/libmisc.la
45
46prefix = $(INSTALLDIR)
47exec_prefix = ${prefix}
48
49PKG_NAME	= acl
50PKG_USER	= root
51PKG_GROUP	= root
52PKG_RELEASE	= 1
53PKG_VERSION	= 2.2.15
54PKG_PLATFORM	= linux
55PKG_DISTRIBUTION= Linux
56PKG_BIN_DIR	= ${exec_prefix}/bin
57PKG_SBIN_DIR	= ${exec_prefix}/sbin
58PKG_LIB_DIR	= ${exec_prefix}/lib
59PKG_DEVLIB_DIR	= ${exec_prefix}/libexec
60PKG_INC_DIR	= ${prefix}/include
61PKG_MAN_DIR	= ${prefix}/man
62PKG_DOC_DIR	= ${prefix}/share/doc/acl
63PKG_LOCALE_DIR	= ${prefix}/share/locale
64
65CC		= mipsel-linux-gcc
66AWK		= awk
67SED		= sed
68TAR		= tar
69ZIP		= gzip
70MAKE		= make
71ECHO		= echo
72SORT		= sort
73LN_S		= ln -s
74LIBTOOL		= $(TOPDIR)/libtool
75MAKEDEPEND	= makedepend
76
77MSGFMT		= /usr/bin/msgfmt
78MSGMERGE	= /usr/bin/msgmerge
79
80RPM		= /bin/rpm
81RPMBUILD	= /usr/bin/rpmbuild
82RPM_VERSION	= 4
83
84ENABLE_SHARED = yes
85ENABLE_GETTEXT = yes
86HAVE_ZIPPED_MANPAGES = false
87
88ifeq ($(PKG_PLATFORM),linux)
89PCFLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
90endif
91
92GCFLAGS = $(OPTIMIZER) $(DEBUG) -funsigned-char -Wall -I$(TOPDIR)/include \
93	  -DVERSION=\"$(PKG_VERSION)\" -DLOCALEDIR=\"$(PKG_LOCALE_DIR)\"  \
94	  -DPACKAGE=\"$(PKG_NAME)\" 
95
96# Global, Platform, Local CFLAGS
97CFLAGS += $(GCFLAGS) $(PCFLAGS) $(LCFLAGS)
98
99include $(TOPDIR)/include/buildmacros
100
101endif
102
103#
104# For targets that should always be rebuilt,
105# define a target that is never up-to-date.
106# Targets needing this should depend on $(_FORCE)
107_FORCE = __force_build
108