Makefile.master (2418f65fbfcb06dbd572d483020a18a134fecd0b) | Makefile.master (b83ec4ed825d984ca8f038544e15b4ca0eac82c7) |
---|---|
1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 6 unchanged lines hidden (view full) --- 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21 22# | 1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 6 unchanged lines hidden (view full) --- 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21 22# |
23# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. | 23# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved. |
25# 26# 27# Makefile.master, global definitions for system source 28# 29ROOT= /proto 30 31# 32# RELEASE_BUILD should be cleared for final release builds. --- 52 unchanged lines hidden (view full) --- 85# INTEL_BLD is '#' for a Sparc build. 86SPARC_BLD_1= $(MACH:i386=$(POUND_SIGN)) 87SPARC_BLD= $(SPARC_BLD_1:sparc=) 88INTEL_BLD_1= $(MACH:sparc=$(POUND_SIGN)) 89INTEL_BLD= $(INTEL_BLD_1:i386=) 90 91STRIP_COMMENTS= $(INTERNAL_RELEASE_BUILD) 92 | 24# 25# 26# Makefile.master, global definitions for system source 27# 28ROOT= /proto 29 30# 31# RELEASE_BUILD should be cleared for final release builds. --- 52 unchanged lines hidden (view full) --- 84# INTEL_BLD is '#' for a Sparc build. 85SPARC_BLD_1= $(MACH:i386=$(POUND_SIGN)) 86SPARC_BLD= $(SPARC_BLD_1:sparc=) 87INTEL_BLD_1= $(MACH:sparc=$(POUND_SIGN)) 88INTEL_BLD= $(INTEL_BLD_1:i386=) 89 90STRIP_COMMENTS= $(INTERNAL_RELEASE_BUILD) 91 |
92# Are we building tonic closedbins? Unless you have used the 93# -O flag to nightly or bldenv, leave the definition of TONICBUILD 94# as $(POUND_SIGN). 95# 96# IF YOU CHANGE CLOSEDROOT, you MUST change install.bin 97# to match the new definition. 98TONICBUILD= $(POUND_SIGN) 99$(TONICBUILD)CLOSEDROOT= $(ROOT)-closed 100 101 |
|
93# set __GNUC= in the environment to build 32-bit with the gcc compiler. 94# The default is to use the Sun Studio compiler for all processor types. 95__GNUC= $(POUND_SIGN) 96 97# set __GNUC64= in the environment to build 64-bit with the gcc compiler. 98# Inherit the __GNUC value by default, and if that is set to $(POUND_SIGN) 99# then this means use the Sun Studio compiler. 100__GNUC64= $(__GNUC) --- 112 unchanged lines hidden (view full) --- 213 214MANIFEST_CHECK= \ 215 @$(ECHO) "checking $<"; \ 216 SVCCFG_DTD=$(SRC)/cmd/svc/dtd/service_bundle.dtd.1 \ 217 SVCCFG_REPOSITORY=$(SRC)/cmd/svc/seed/global.db \ 218 SVCCFG_CONFIGD_PATH=$(SRC)/cmd/svc/configd/svc.configd-native \ 219 $(SRC)/cmd/svc/svccfg/svccfg-native validate $< 220 | 102# set __GNUC= in the environment to build 32-bit with the gcc compiler. 103# The default is to use the Sun Studio compiler for all processor types. 104__GNUC= $(POUND_SIGN) 105 106# set __GNUC64= in the environment to build 64-bit with the gcc compiler. 107# Inherit the __GNUC value by default, and if that is set to $(POUND_SIGN) 108# then this means use the Sun Studio compiler. 109__GNUC64= $(__GNUC) --- 112 unchanged lines hidden (view full) --- 222 223MANIFEST_CHECK= \ 224 @$(ECHO) "checking $<"; \ 225 SVCCFG_DTD=$(SRC)/cmd/svc/dtd/service_bundle.dtd.1 \ 226 SVCCFG_REPOSITORY=$(SRC)/cmd/svc/seed/global.db \ 227 SVCCFG_CONFIGD_PATH=$(SRC)/cmd/svc/configd/svc.configd-native \ 228 $(SRC)/cmd/svc/svccfg/svccfg-native validate $< 229 |
230# 231# IMPORTANT:: If you change any of INS.file, INS.dir, INS.rename, 232# INS.link or INS.symlink here, then you must also change the 233# corresponding override definitions in $CLOSED/Makefile.tonic. 234# If you do not do this, then the closedbins build for the OpenSolaris 235# community will break. PS, the gatekeepers will be upset too. |
|
221INS.file= $(RM) $@; $(INS) -s -m $(FILEMODE) -f $(@D) $< 222INS.dir= $(INS) -s -d -m $(DIRMODE) $@ 223# installs and renames at once 224# 225INS.rename= $(INS.file); $(MV) $(@D)/$(<F) $@ 226 227# install a link 228INSLINKTARGET= $< 229INS.link= $(RM) $@; $(LN) $(INSLINKTARGET) $@ | 236INS.file= $(RM) $@; $(INS) -s -m $(FILEMODE) -f $(@D) $< 237INS.dir= $(INS) -s -d -m $(DIRMODE) $@ 238# installs and renames at once 239# 240INS.rename= $(INS.file); $(MV) $(@D)/$(<F) $@ 241 242# install a link 243INSLINKTARGET= $< 244INS.link= $(RM) $@; $(LN) $(INSLINKTARGET) $@ |
245INS.symlink= $(RM) $@; $(SYMLINK) $(INSLINKTARGET) $@ 246 |
|
230# 231# Python bakes the mtime of the .py file into the compiled .pyc and 232# rebuilds if the baked-in mtime != the mtime of the source file 233# (rather than only if it's less than), thus when installing python 234# files we must make certain to not adjust the mtime of the source 235# (.py) file. 236# 237INS.pyfile= $(INS.file); $(TOUCH) -r $< $@ --- 870 unchanged lines hidden --- | 247# 248# Python bakes the mtime of the .py file into the compiled .pyc and 249# rebuilds if the baked-in mtime != the mtime of the source file 250# (rather than only if it's less than), thus when installing python 251# files we must make certain to not adjust the mtime of the source 252# (.py) file. 253# 254INS.pyfile= $(INS.file); $(TOUCH) -r $< $@ --- 870 unchanged lines hidden --- |