make-rules/shared-macros.mk
changeset 493 66a35caef41c
parent 490 0de5925f0c53
equal deleted inserted replaced
492:feb4ae69ab0d 493:66a35caef41c
   275 # inside perl builds while we actually need a full path to
   275 # inside perl builds while we actually need a full path to
   276 # the studio compiler.
   276 # the studio compiler.
   277 #PERL_CC =      $(shell $(PERL) -e 'use Config; print $$Config{cc}')
   277 #PERL_CC =      $(shell $(PERL) -e 'use Config; print $$Config{cc}')
   278 PERL_OPTIMIZE = $(shell $(PERL) -e 'use Config; print $$Config{optimize}')
   278 PERL_OPTIMIZE = $(shell $(PERL) -e 'use Config; print $$Config{optimize}')
   279 
   279 
       
   280 ifeq ($(MACH),sparc)
       
   281 PLAT =	sun
       
   282 else
       
   283 PLAT =	pc
       
   284 endif
       
   285 
       
   286 GNU_ARCH    =   $(MACH)-$(PLAT)-solaris$(SOLARIS_VERSION)
       
   287 GNU_ARCH_64 =   $(MACH64:amd64=x86_64)-$(PLAT)-solaris$(SOLARIS_VERSION)
       
   288 
       
   289 PKG_MACROS +=   GNU_ARCH=$(GNU_ARCH)
       
   290 PKG_MACROS +=   GNU_ARCH_64=$(GNU_ARCH_64)
   280 PKG_MACROS +=   PERL_ARCH=$(PERL_ARCH)
   291 PKG_MACROS +=   PERL_ARCH=$(PERL_ARCH)
   281 PKG_MACROS +=   PERL_VERSION=$(PERL_VERSION)
   292 PKG_MACROS +=   PERL_VERSION=$(PERL_VERSION)
   282 
   293 
   283 CCSMAKE =	/usr/ccs/bin/make
   294 CCSMAKE =	/usr/ccs/bin/make
   284 GMAKE =		/usr/gnu/bin/make
   295 GMAKE =		/usr/gnu/bin/make