1#ident "@(#)mk-smake.id 1.4 97/02/18 " 2########################################################################### 3# Written 1996 by J. Schilling 4########################################################################### 5# 6# Name of make program (make/gmake/smake) 7# 8########################################################################### 9# This program is free software; you can redistribute it and/or modify 10# it under the terms of the GNU General Public License as published by 11# the Free Software Foundation; either version 2, or (at your option) 12# any later version. 13# 14# This program is distributed in the hope that it will be useful, 15# but WITHOUT ANY WARRANTY; without even the implied warranty of 16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17# GNU General Public License for more details. 18# 19# You should have received a copy of the GNU General Public License 20# along with this program; see the file COPYING. If not, write to 21# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22########################################################################### 23 24MAKEPROG= $(MAKE_NAME) 25 26########################################################################### 27# 28# standard (automatic) machine identification 29# 30########################################################################### 31# 32# XP_ARCH = MAKE_ARCH = uname -p = mach # Processor (sparc/mc68020) 33# XK_ARCH = MAKE_MACH = uname -m = arch -k # Kernel (sun3/sun4c/sun4m) 34# XM_ARCH = MAKE_M_ARCH = arch ~ arch -k # Machine (sun3/sun4) 35# 36########################################################################### 37 38XP_ARCH= $(MAKE_ARCH) 39XK_ARCH= $(MAKE_MACH) 40XM_ARCH= $(MAKE_M_ARCH) 41 42P_ARCH= $(XP_ARCH) 43K_ARCH= $(XK_ARCH) 44M_ARCH= $(XM_ARCH) 45 46_P_ARCH= $(_UNIQ)$(XP_ARCH) 47__P_ARCH= $(_P_ARCH:$(_UNIQ)=$(MAKE_MACH)) 48P_ARCH= $(__P_ARCH:$(_UNIQ)%=%) 49 50_M_ARCH= $(_UNIQ)$(MAKE_M_ARCH) 51__M_ARCH= $(_M_ARCH:$(_UNIQ)=$(MAKE_MACH)) 52M_ARCH= $(__M_ARCH:$(_UNIQ)%=%) 53 54HOSTNAME= $(MAKE_HOST) 55OSNAME= $(MAKE_OS) 56OSDEFS= $(MAKE_OSDEFS) 57OSREL= $(MAKE_OSREL) 58