#ident "@(#)mk-smake.id	1.4 97/02/18 "
###########################################################################
# Written 1996 by J. Schilling
###########################################################################
#
# Name of make program (make/gmake/smake)
#
###########################################################################
# 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, 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; see the file COPYING.  If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
###########################################################################

MAKEPROG=	$(MAKE_NAME)

###########################################################################
#
# standard (automatic) machine identification
#
###########################################################################
#
# XP_ARCH = MAKE_ARCH   = uname -p	= mach	  # Processor (sparc/mc68020)
# XK_ARCH = MAKE_MACH   = uname -m	= arch -k # Kernel (sun3/sun4c/sun4m)
# XM_ARCH = MAKE_M_ARCH = arch		~ arch -k # Machine (sun3/sun4)
#
###########################################################################

XP_ARCH=	$(MAKE_ARCH)
XK_ARCH=	$(MAKE_MACH)
XM_ARCH=	$(MAKE_M_ARCH)

P_ARCH=		$(XP_ARCH)
K_ARCH=		$(XK_ARCH)
M_ARCH=		$(XM_ARCH)

_P_ARCH=	$(_UNIQ)$(XP_ARCH)
__P_ARCH=	$(_P_ARCH:$(_UNIQ)=$(MAKE_MACH))
P_ARCH=		$(__P_ARCH:$(_UNIQ)%=%)

_M_ARCH=	$(_UNIQ)$(MAKE_M_ARCH)
__M_ARCH=	$(_M_ARCH:$(_UNIQ)=$(MAKE_MACH))
M_ARCH=		$(__M_ARCH:$(_UNIQ)%=%)

HOSTNAME=	$(MAKE_HOST)
OSNAME=		$(MAKE_OS)
OSDEFS=		$(MAKE_OSDEFS)
OSREL=		$(MAKE_OSREL)
