1#ident "@(#)rules.arn 1.1 20/03/30 " 2########################################################################### 3# Written 1996-2020 by J. Schilling 4########################################################################### 5# 6# Name of make program: newer versions of Schily SunPro Make that 7# include support for architecture autoconfiguration built into the program. 8# 9########################################################################### 10# Copyright (c) J. Schilling 11########################################################################### 12# The contents of this file are subject to the terms of the 13# Common Development and Distribution License, Version 1.0 only 14# (the "License"). You may not use this file except in compliance 15# with the License. 16# 17# See the file CDDL.Schily.txt in this distribution for details. 18# A copy of the CDDL is also available via the Internet at 19# http://www.opensource.org/licenses/cddl1.txt 20# 21# When distributing Covered Code, include this CDDL HEADER in each 22# file and include the License file CDDL.Schily.txt from this distribution. 23########################################################################### 24 25########################################################################### 26# 27# standard (automatic) machine identification 28# 29########################################################################### 30# 31# XP_ARCH = MAKE_ARCH = uname -p = mach # Processor (sparc/mc68020) 32# XK_ARCH = MAKE_MACH = uname -m = arch -k # Kernel (sun3/sun4c/sun4m) 33# XM_ARCH = MAKE_M_ARCH = arch ~ arch -k # Machine (sun3/sun4) 34# 35########################################################################### 36 37XP_ARCH= $(MAKE_ARCH) 38XK_ARCH= $(MAKE_MACH) 39XM_ARCH= $(MAKE_M_ARCH) 40 41P_ARCH= $(XP_ARCH) 42K_ARCH= $(XK_ARCH) 43M_ARCH= $(XM_ARCH) 44 45_P_ARCH= $(_UNIQ)$(XP_ARCH) 46__P_ARCH= $(_P_ARCH:$(_UNIQ)=$(MAKE_MACH)) 47P_ARCH= $(__P_ARCH:$(_UNIQ)%=%) 48 49_M_ARCH= $(_UNIQ)$(MAKE_M_ARCH) 50__M_ARCH= $(_M_ARCH:$(_UNIQ)=$(MAKE_MACH)) 51M_ARCH= $(__M_ARCH:$(_UNIQ)%=%) 52 53HOSTNAME= $(MAKE_HOST) 54OSNAME= $(MAKE_OS) 55OSDEFS= $(MAKE_OSDEFS) 56OSREL= $(MAKE_OSREL) 57OSVERSION= $(MAKE_OSVERSION) 58 59ARCH_DONE= TRUE 60 61export XP_ARCH 62export XK_ARCH 63export XM_ARCH 64export OSNAME 65export OSREL 66export OSVERSION 67 68export ARCH_DONE 69