#  Copyright (c) 2000-2004 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 would 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, write to the Free Software Foundation, Inc.,
#  59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
#
#  Contact information:  Silicon Graphics, Inc., 1500 Crittenden Lane, 
#  Mountain View, CA  94043, or:
#
#  http://www.sgi.com

#========
#COMMANDS
#========

# Location of the compiler front-end
CC = gcc
# install commands
INSTALL = install
# remove command
RM = rm
# copy command
CP = cp
# link command
LN = ln
# mkdir command
MKDIR = mkdir
# tar command
TAR = tar
# rpm command
RPM = rpm
# rpm build command
RPMBUILD = rpmbuild
# echo command
ECHO = echo
# uname command
UNAME = uname
# sed command
SED = sed
# grep command
GREP = grep
# cut command
CUT = cut
# pwd command
PWDIR = pwd

export CC INSTALL RM CP LN MKDIR TAR RPM RPMBUILD ECHO UNAME SED GREP CUT PWDIR



#===============
#COMMAND OPTIONS
#===============

# Used to create a shared library from object files
LD_DYNAMIC = $(CC) -shared -Xlinker -x

# General flags for compiling C code
CFLAGS = -O2 -DCONFIG_PAGG

# Local include directory
INCLUDES = -I$(BUILD_TOP)/include -I$(KINCLUDES)/include

export INCLUDES CFLAGS LD_DYNAMIC

#===========
#DIRECTORIES
#===========

# Location to install job library
LIB_INST_DIR = $(ROOT)/usr/lib

# Location to install binaries/commands
BIN_INST_DIR = $(ROOT)/usr/bin

# Location to install man pages
MAN_INST_DIR = $(ROOT)/usr/share/man

# Location to install PAM modules
PAM_INST_DIR = $(ROOT)/lib/security

# Location to install include/header files
INC_INST_DIR = $(ROOT)/usr/include

# Location to install startup scripts
INITD_INST_DIR = $(ROOT)/etc/rc.d/init.d

export BIN_INST_DIR MAN_INST_DIR PAM_INST_DIR INC_INST_DIR INITD_INST_DIR

