author | Susan Sohn <susan.sohn@oracle.com> |
Thu, 04 Aug 2011 15:40:51 -0700 | |
changeset 1358 | 6016d5e46a08 |
parent 1348 | fec41e626784 |
child 1367 | a5c349640e79 |
permissions | -rw-r--r-- |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
1 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
3 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
7 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
11 |
# and limitations under the License. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
12 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
18 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
20 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
21 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
22 |
# |
1026
91b57d590dfa
6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents:
961
diff
changeset
|
23 |
# Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
24 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
25 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
26 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
27 |
# Makefile.master, global definitions for system source |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
28 |
# |
1348
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
29 |
|
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
30 |
ROOT= /proto |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
31 |
|
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
32 |
# Special reference pointers: these allow install to be built on |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
33 |
# machines that don't necessarily have the very latest ON or SFW packages, |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
34 |
# or when testing features that depend on changed ON/SFW interfaces. (The |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
35 |
# only use of the *REF_GATE variables is here, so you can override just the |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
36 |
# *REF_PROTO variables if you need to point directly to a root directory.) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
37 |
ONREF_GATE= |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
38 |
SFWREF_GATE= |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
39 |
ONREF_PROTO=$(ONREF_GATE:%=%/proto/root_$(MACH)) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
40 |
SFWREF_PROTO=$(SFWREF_GATE:%=%/proto/root_$(MACH)) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
41 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
42 |
# Locations of the main build tools. Can be overridden in the environment. |
148
bff97dbaccdc
1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents:
73
diff
changeset
|
43 |
BUILD_TOOLS= /opt |
bff97dbaccdc
1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents:
73
diff
changeset
|
44 |
ONBLD_TOOLS= $(BUILD_TOOLS)/onbld |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
45 |
SPRO_ROOT= $(BUILD_TOOLS)/SUNWspro |
148
bff97dbaccdc
1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents:
73
diff
changeset
|
46 |
SPRO_VROOT= $(SPRO_ROOT) |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
47 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
48 |
LINT= $(SPRO_VROOT)/bin/lint |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
49 |
CC= $(SPRO_VROOT)/bin/cc |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
50 |
|
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
51 |
# Other commands |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
52 |
LD= $(CC) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
53 |
RM= /usr/bin/rm -f |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
54 |
INS= /usr/sbin/install |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
55 |
SYMLINK= /usr/bin/ln -s |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
56 |
LN= /usr/bin/ln |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
57 |
CP= /usr/bin/cp |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
58 |
MV= /usr/bin/mv -f |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
59 |
SH= /usr/bin/sh |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
60 |
CHMOD= /usr/bin/chmod |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
61 |
CHOWN= /usr/bin/chown |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
62 |
CHGRP= /usr/bin/chgrp |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
63 |
MKDIR= /usr/bin/mkdir |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
64 |
TOUCH= /usr/bin/touch |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
65 |
SED= /usr/bin/sed |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
66 |
TAR= /usr/bin/tar |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
67 |
ECHO= /usr/bin/echo |
649
ba353c37b287
12670 Change nested try/except in distro_const.py missed during 2.6 python porting
Clay Baenziger <ClayB@OpenSolaris.ORG>
parents:
609
diff
changeset
|
68 |
PYTHON= /usr/bin/python2.6 |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
69 |
CAT= /usr/bin/cat |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
70 |
GENCAT= /usr/bin/gencat |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
71 |
XGETTEXT= xgettext |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
72 |
XGETFLAGS= -c TRANSLATION_NOTE |
773
cc0753f47d02
6367 Provide a text-installer for opensolaris
Keith Mitchell <keith.mitchell@sun.com>
parents:
723
diff
changeset
|
73 |
GNUXGETTEXT= /usr/gnu/bin/xgettext |
cc0753f47d02
6367 Provide a text-installer for opensolaris
Keith Mitchell <keith.mitchell@sun.com>
parents:
723
diff
changeset
|
74 |
GNUXGETFLAGS= --keyword=_ --strict --no-location --omit-header |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
75 |
CSTYLE= cstyle -pP |
827
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
76 |
NAWK= /usr/bin/nawk |
1071
40064551d1eb
7035227 Install slim_source should be pkglint-clean and strive for pkgdepend cleanliness
Mary Ding <mary.ding@oracle.com>
parents:
1070
diff
changeset
|
77 |
GREP= /usr/bin/grep |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
78 |
|
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
79 |
# Reference paths for ON |
263
4dd264931cdf
3396 Slim Install should support > 1 TB disks
Harold N Shaw- Sun Microsystem <Harold.Shaw@Sun.COM>
parents:
261
diff
changeset
|
80 |
ONLIBDIR= $(ONREF_PROTO)/lib |
4dd264931cdf
3396 Slim Install should support > 1 TB disks
Harold N Shaw- Sun Microsystem <Harold.Shaw@Sun.COM>
parents:
261
diff
changeset
|
81 |
ONUSRLIBDIR= $(ONREF_PROTO)/usr/lib |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
82 |
ONINCDIR= $(ONREF_PROTO)/usr/include |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
83 |
|
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
84 |
# Common path definitions. |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
85 |
ADMINLIB= /usr/snadm/lib |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
86 |
ROOTADMIN= $(ROOT)/usr/snadm |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
87 |
ROOTADMINLIB= $(ROOTADMIN)/lib |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
88 |
ROOTBIN= $(ROOT)/bin |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
89 |
ROOTDC= $(ROOT)/usr/share/distro_const |
958
552c24933bed
7000990 The logging module needs a transfer_log method for the FileHandler class
Alok Aggarwal <alok.aggarwal@oracle.com>
parents:
940
diff
changeset
|
90 |
ROOTDC_PROFILE= $(ROOTDC)/profile |
552c24933bed
7000990 The logging module needs a transfer_log method for the FileHandler class
Alok Aggarwal <alok.aggarwal@oracle.com>
parents:
940
diff
changeset
|
91 |
ROOTDC_SORT= $(ROOTDC)/sort |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
92 |
ROOTINC= $(ROOT)/usr/include |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
93 |
ROOTINCADMIN= $(ROOTINC)/admin |
1030
fba9ec006f29
7008130 Add support for converting sysidcfg
Evan Layton <evan.layton@oracle.com>
parents:
1026
diff
changeset
|
94 |
ROOTMAN1= $(ROOTMAN)/man1 |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
95 |
ROOTMAN1M= $(ROOTMAN)/man1m |
723
4c9eb65ee7b6
14371 Need to update the existing DC documentation
Glenn Lagasse <glenn.lagasse@sun.com>
parents:
663
diff
changeset
|
96 |
ROOTMAN4= $(ROOTMAN)/man4 |
73 | 97 |
ROOTMAN= $(ROOT)/usr/share/man |
420
818239049932
5284 TI doesn't utilize last cylinder when creating VTOC with default layout
Jan Damborsky <jan.damborsky@sun.com>
parents:
356
diff
changeset
|
98 |
ROOTOPTINSTALLTESTBIN= $(ROOT)/opt/install-test/bin |
649
ba353c37b287
12670 Change nested try/except in distro_const.py missed during 2.6 python porting
Clay Baenziger <ClayB@OpenSolaris.ORG>
parents:
609
diff
changeset
|
99 |
ROOTPYTHON= $(ROOTUSRLIB)/python2.6 |
57 | 100 |
ROOTPYTHONVENDOR= $(ROOTPYTHON)/vendor-packages |
197
ac1383e6038c
2618 Move install related modules in slim_source to a common place
Karen Tung <Karen.Tung@Sun.COM>
parents:
148
diff
changeset
|
101 |
ROOTPYTHONVENDORINSTALL= $(ROOTPYTHONVENDOR)/osol_install |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
102 |
ROOTPYTHONVENDORINSTALLAI= $(ROOTPYTHONVENDORINSTALL)/auto_install |
1070
ef77609251f5
7021591 provide an implementation of TI/TD based on CUD
Drew Fisher <drew.fisher@oracle.com>
parents:
1065
diff
changeset
|
103 |
ROOTPYTHONVENDORINSTALLPROF= $(ROOTPYTHONVENDORINSTALL)/profile |
902
5b421d727e75
17161 - Implement Data Cache component for Installer
Darren Kenny <Darren.Kenny@Sun.COM>
parents:
901
diff
changeset
|
104 |
ROOTPYTHONVENDORSOLINSTALL= $(ROOTPYTHONVENDOR)/solaris_install |
1111
0c6c862af34f
7038421 Provide a boot checkpoint implementation based on pybootmgmt
Niall Power <niall@brawndo.local>
parents:
1090
diff
changeset
|
105 |
ROOTPYTHONVENDORSOLINSTALLBOOT = $(ROOTPYTHONVENDORSOLINSTALL)/boot |
1160
6f7e708c38ec
16257 Support for zones configuration and installation should be included in AI
Ethan Quach <Ethan.Quach@sun.com>
parents:
1121
diff
changeset
|
106 |
ROOTPYTHONVENDORSOLINSTALLCONFIGURATION = $(ROOTPYTHONVENDORSOLINSTALL)/configuration |
6f7e708c38ec
16257 Support for zones configuration and installation should be included in AI
Ethan Quach <Ethan.Quach@sun.com>
parents:
1121
diff
changeset
|
107 |
ROOTPYTHONVENDORSOLINSTALLDATACACHE= $(ROOTPYTHONVENDORSOLINSTALL)/data_object |
958
552c24933bed
7000990 The logging module needs a transfer_log method for the FileHandler class
Alok Aggarwal <alok.aggarwal@oracle.com>
parents:
940
diff
changeset
|
108 |
ROOTPYTHONVENDORINSTALLDC= $(ROOTPYTHONVENDORSOLINSTALL)/distro_const |
552c24933bed
7000990 The logging module needs a transfer_log method for the FileHandler class
Alok Aggarwal <alok.aggarwal@oracle.com>
parents:
940
diff
changeset
|
109 |
ROOTPYTHONVENDORINSTALLDCCHKPT= $(ROOTPYTHONVENDORINSTALLDC)/checkpoints |
1087
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
110 |
ROOTPYTHONVENDORSOLINSTALLAI= \ |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
111 |
$(ROOTPYTHONVENDORSOLINSTALL)/auto_install |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
112 |
ROOTPYTHONVENDORSOLINSTALLAICHKPT= \ |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
113 |
$(ROOTPYTHONVENDORSOLINSTALLAI)/checkpoints |
909
ab25dde8919d
16323 Implement Install Execution Engine
Karen Tung <karen.tung@oracle.com>
parents:
902
diff
changeset
|
114 |
ROOTPYTHONVENDORSOLINSTALLENGINE = $(ROOTPYTHONVENDORSOLINSTALL)/engine |
1041
7e44b50b28cb
6255:ICT - Use more flexible method, than install-finish to invoke ICT
Ginnie Wray<virginia.wray@oracle.com>
parents:
1030
diff
changeset
|
115 |
ROOTPYTHONVENDORSOLINSTALLENGINETEST = $(ROOTPYTHONVENDORSOLINSTALLENGINE)/test |
7e44b50b28cb
6255:ICT - Use more flexible method, than install-finish to invoke ICT
Ginnie Wray<virginia.wray@oracle.com>
parents:
1030
diff
changeset
|
116 |
ROOTPYTHONVENDORSOLINSTALLICT = $(ROOTPYTHONVENDORSOLINSTALL)/ict |
961
1db352e5e4c9
16260 We need a migration tool for going from Jumpstart profiles and rules files to AI manifest entries
Evan Layton <Evan.Layton@Sun.COM>
parents:
958
diff
changeset
|
117 |
ROOTPYTHONVENDORSOLINSTALLJS2AI= $(ROOTPYTHONVENDORSOLINSTALL)/js2ai |
1087
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
118 |
ROOTPYTHONVENDORSOLINSTALLMANIFEST= $(ROOTPYTHONVENDORSOLINSTALL)/manifest |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
119 |
ROOTPYTHONVENDORSOLINSTALLMANINPUT= \ |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
120 |
$(ROOTPYTHONVENDORSOLINSTALL)/manifest_input |
909
ab25dde8919d
16323 Implement Install Execution Engine
Karen Tung <karen.tung@oracle.com>
parents:
902
diff
changeset
|
121 |
ROOTPYTHONVENDORSOLINSTALLTARGET = $(ROOTPYTHONVENDORSOLINSTALL)/target |
1087
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
122 |
ROOTPYTHONVENDORSCI = $(ROOTPYTHONVENDORSOLINSTALL)/sysconfig |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
123 |
ROOTPYTHONVENDORSCIPROF = $(ROOTPYTHONVENDORSCI)/profile |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
124 |
ROOTPYTHONTERMUI= $(ROOTPYTHONVENDOR)/terminalui |
1070
ef77609251f5
7021591 provide an implementation of TI/TD based on CUD
Drew Fisher <drew.fisher@oracle.com>
parents:
1065
diff
changeset
|
125 |
ROOTPYTHONVENDORSOLINSTALLTARGETLIBADM=$(ROOTPYTHONVENDORSOLINSTALLTARGET)/libadm |
ef77609251f5
7021591 provide an implementation of TI/TD based on CUD
Drew Fisher <drew.fisher@oracle.com>
parents:
1065
diff
changeset
|
126 |
ROOTPYTHONVENDORSOLINSTALLTARGETLIBBE = $(ROOTPYTHONVENDORSOLINSTALLTARGET)/libbe |
ef77609251f5
7021591 provide an implementation of TI/TD based on CUD
Drew Fisher <drew.fisher@oracle.com>
parents:
1065
diff
changeset
|
127 |
ROOTPYTHONVENDORSOLINSTALLTARGETLIBDEVINFO = $(ROOTPYTHONVENDORSOLINSTALLTARGET)/libdevinfo |
ef77609251f5
7021591 provide an implementation of TI/TD based on CUD
Drew Fisher <drew.fisher@oracle.com>
parents:
1065
diff
changeset
|
128 |
ROOTPYTHONVENDORSOLINSTALLTARGETLIBDISKMGT = $(ROOTPYTHONVENDORSOLINSTALLTARGET)/libdiskmgt |
ef77609251f5
7021591 provide an implementation of TI/TD based on CUD
Drew Fisher <drew.fisher@oracle.com>
parents:
1065
diff
changeset
|
129 |
ROOTPYTHONVENDORSOLINSTALLTARGETLIBNVPAIR = $(ROOTPYTHONVENDORSOLINSTALLTARGET)/libnvpair |
ef77609251f5
7021591 provide an implementation of TI/TD based on CUD
Drew Fisher <drew.fisher@oracle.com>
parents:
1065
diff
changeset
|
130 |
ROOTPYTHONVENDORSOLINSTALLTARGETSHADOW = $(ROOTPYTHONVENDORSOLINSTALLTARGET)/shadow |
1121
670325895b19
7004610 Update Text Installer to use CUD
Karen Tung <karen.tung@oracle.com>
parents:
1111
diff
changeset
|
131 |
ROOTPYTHONVENDORSOLINSTALLTI= $(ROOTPYTHONVENDORSOLINSTALL)/text_install |
1204
5c7590b24780
7050438 Update GUI Install to use CUD
Dermot <Dermot.McCluskey@Oracle.COM>
parents:
1160
diff
changeset
|
132 |
ROOTPYTHONVENDORSOLINSTALLGUI= $(ROOTPYTHONVENDORSOLINSTALL)/gui_install |
1070
ef77609251f5
7021591 provide an implementation of TI/TD based on CUD
Drew Fisher <drew.fisher@oracle.com>
parents:
1065
diff
changeset
|
133 |
ROOTPYTHONVENDORINSTALLTRANSFER = $(ROOTPYTHONVENDORSOLINSTALL)/transfer |
1090
6ac92c9d29e0
7038706 incorporate pybootmgmt
Sanjay Nadkarni <nadkarni@sun.com>
parents:
1087
diff
changeset
|
134 |
ROOTPYTHONVENDORBOOTMGMT= $(ROOTPYTHONVENDOR)/bootmgmt |
6ac92c9d29e0
7038706 incorporate pybootmgmt
Sanjay Nadkarni <nadkarni@sun.com>
parents:
1087
diff
changeset
|
135 |
ROOTPYTHONVENDORBOOTMGMTBKND= $(ROOTPYTHONVENDORBOOTMGMT)/backend |
6ac92c9d29e0
7038706 incorporate pybootmgmt
Sanjay Nadkarni <nadkarni@sun.com>
parents:
1087
diff
changeset
|
136 |
ROOTPYTHONVENDORBOOTMGMTBKNDAUTOGEN= $(ROOTPYTHONVENDORBOOTMGMTBKND)/autogen |
6ac92c9d29e0
7038706 incorporate pybootmgmt
Sanjay Nadkarni <nadkarni@sun.com>
parents:
1087
diff
changeset
|
137 |
ROOTPYTHONVENDORBOOTMGMTBKNDBOOTVARS= $(ROOTPYTHONVENDORBOOTMGMTBKND)/bootvars |
6ac92c9d29e0
7038706 incorporate pybootmgmt
Sanjay Nadkarni <nadkarni@sun.com>
parents:
1087
diff
changeset
|
138 |
ROOTPYTHONVENDORBOOTMGMTBKNDBOOTVARSSPARC= $(ROOTPYTHONVENDORBOOTMGMTBKNDBOOTVARS)/sparc |
6ac92c9d29e0
7038706 incorporate pybootmgmt
Sanjay Nadkarni <nadkarni@sun.com>
parents:
1087
diff
changeset
|
139 |
ROOTPYTHONVENDORBOOTMGMTBKNDBOOTVARSX86= $(ROOTPYTHONVENDORBOOTMGMTBKNDBOOTVARS)/x86 |
6ac92c9d29e0
7038706 incorporate pybootmgmt
Sanjay Nadkarni <nadkarni@sun.com>
parents:
1087
diff
changeset
|
140 |
ROOTPYTHONVENDORBOOTMGMTBKNDFW= $(ROOTPYTHONVENDORBOOTMGMTBKND)/fw |
6ac92c9d29e0
7038706 incorporate pybootmgmt
Sanjay Nadkarni <nadkarni@sun.com>
parents:
1087
diff
changeset
|
141 |
ROOTPYTHONVENDORBOOTMGMTBKNDLOADER= $(ROOTPYTHONVENDORBOOTMGMTBKND)/loader |
272
6ffbbcf6242a
3611 liborchestrator needs to be enhanced to support IPS based installs
Alok Aggarwal <Alok.Aggarwal@Sun.COM>
parents:
266
diff
changeset
|
142 |
ROOTAUTOINST= $(ROOT)/usr/share/auto_install |
1160
6f7e708c38ec
16257 Support for zones configuration and installation should be included in AI
Ethan Quach <Ethan.Quach@sun.com>
parents:
1121
diff
changeset
|
143 |
ROOTAUTOINSTMANIFEST= $(ROOTAUTOINST)/manifest |
855
f51b1eaaef28
7850 RFE would like support for static network instead of nwam config
Jan Damborsky <jan.damborsky@sun.com>
parents:
852
diff
changeset
|
144 |
ROOTAUTOINSTSCPROFILES= $(ROOTAUTOINST)/sc_profiles |
1204
5c7590b24780
7050438 Update GUI Install to use CUD
Dermot <Dermot.McCluskey@Oracle.COM>
parents:
1160
diff
changeset
|
145 |
ROOTGUIINST= $(ROOT)/usr/share/gui-install |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
146 |
ROOTSBIN= $(ROOT)/sbin |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
147 |
ROOTUSRBIN= $(ROOT)/usr/bin |
773
cc0753f47d02
6367 Provide a text-installer for opensolaris
Keith Mitchell <keith.mitchell@sun.com>
parents:
723
diff
changeset
|
148 |
ROOTUSRSHARE= $(ROOT)/usr/share |
852
d4a0239a3745
15678 /etc/default/kbd is to be obsoleted by 6944480, installers need to be accommodated
Jan Damborsky <jan.damborsky@sun.com>
parents:
827
diff
changeset
|
149 |
ROOTUSRSHAREINSTALL= $(ROOTUSRSHARE)/install |
1026
91b57d590dfa
6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents:
961
diff
changeset
|
150 |
ROOTUSRSHARESC= $(ROOTUSRSHARE)/sysconfig |
91b57d590dfa
6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents:
961
diff
changeset
|
151 |
ROOTUSRSHARESCHELP= $(ROOTUSRSHARESC)/help |
91b57d590dfa
6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents:
961
diff
changeset
|
152 |
ROOTUSRSHARESCHELPC= $(ROOTUSRSHARESCHELP)/C |
91b57d590dfa
6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents:
961
diff
changeset
|
153 |
ROOTUSRSHARESCXSLT= $(ROOTUSRSHARESC)/xslt |
773
cc0753f47d02
6367 Provide a text-installer for opensolaris
Keith Mitchell <keith.mitchell@sun.com>
parents:
723
diff
changeset
|
154 |
ROOTUSRSHARETI= $(ROOTUSRSHARE)/text-install |
827
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
155 |
ROOTUSRSHARETIHELP= $(ROOTUSRSHARETI)/help |
1026
91b57d590dfa
6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents:
961
diff
changeset
|
156 |
ROOTUSRSHARETIHELPC= $(ROOTUSRSHARETIHELP)/C |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
157 |
ROOTUSRLIB= $(ROOT)/usr/lib |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
158 |
ROOTUSRLIBMSGS= $(ROOTUSRLIB)/locale/C/LC_MESSAGES |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
159 |
ROOTUSRSBIN= $(ROOT)/usr/sbin |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
160 |
ROOTVAR= $(ROOT)/var |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
161 |
|
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
162 |
INSTMSGS= $(MSG_DOMAIN:%=$(ROOTUSRLIBMSGS)/%.po) |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
163 |
ROOTSBINPROG= $(PROG:%=$(ROOTSBIN)/%) |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
164 |
ROOTUSRINCLEXP= $(EXPHDRS:%=$(ROOTINCADMIN)/%) |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
165 |
ROOTUSRSBINPROG= $(PROG:%=$(ROOTUSRSBIN)/%) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
166 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
167 |
FILEMODE= 644 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
168 |
EXECMODE= 755 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
169 |
DIRMODE= 755 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
170 |
OWNER= bin |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
171 |
GROUP= bin |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
172 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
173 |
# CH toggles operations restricted to root. It is normally set to `#'. When |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
174 |
# running as root, it should be set to `' (null) in your environment. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
175 |
# RELEASE_BUILD should be cleared for RE builds. This is completely |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
176 |
# independent of CH. NOT_RELEASE_BUILD is exactly what the name implies. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
177 |
# |
1348
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
178 |
# The declaration POUND_SIGN is always '#'. This is needed to get around the |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
179 |
# make feature that '#' is always a comment delimiter, even when escaped or |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
180 |
# quoted. We use this macro expansion method to get POUND_SIGN rather than |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
181 |
# always breaking out a shell because the general case can cause a noticable |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
182 |
# slowdown in build times when so many Makefiles include Makefile.master. |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
183 |
# |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
184 |
# While the majority of users are expected to override the setting below |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
185 |
# with an env file (via nightly or bldenv), if you aren't building that way |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
186 |
# (ie, you're using "ws" or some other bootstrapping method) then you need |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
187 |
# this definition in order to avoid the subshell invocation mentioned above. |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
188 |
|
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
189 |
PRE_POUND= pre\# |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
190 |
POUND_SIGN= $(PRE_POUND:pre\%=%) |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
191 |
|
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
192 |
CH= $(POUND_SIGN) |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
193 |
NOT_RELEASE_BUILD= |
1348
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
194 |
RELEASE_BUILD= $(POUND_SIGN) |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
195 |
$(RELEASE_BUILD)NOT_RELEASE_BUILD= $(POUND_SIGN) |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
196 |
SRU_BUILD= $(POUND_SIGN) |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
197 |
|
73 | 198 |
CP_P.file= $(RM) $@; $(CP) -p $< $@; $(CHMOD) $(FILEMODE) $@ |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
199 |
INS.file= $(RM) $@; $(INS) -s -m $(FILEMODE) -f $(@D) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
200 |
$(CH)INS.file= $(INS) -m $(FILEMODE) -u $(OWNER) -g $(GROUP) -f $(@D) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
201 |
INS.exec= $(RM) $@; $(INS) -s -m $(EXECMODE) -f $(@D) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
202 |
$(CH)INS.exec= $(INS) -m $(EXECMODE) -u $(OWNER) -g $(GROUP) -f $(@D) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
203 |
INS.dir= $(INS) -d -m $(DIRMODE) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
204 |
$(CH)INS.dir= $(INS) -d -m $(DIRMODE) -u $(OWNER) -g $(GROUP) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
205 |
INS.rename= $(INS.file); $(MV) $(@D)/$(<F) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
206 |
INSTALL= $(INS.file) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
207 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
208 |
MACH= $(TARGET_MACH:-%=%) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
209 |
ARCH= $(TARGET_ARCH:-%=%) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
210 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
211 |
# Message catalog build rule for packaging commands. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
212 |
BUILD.po= $(XGETTEXT) -d msg.$$$$ $(XGETFLAGS) $<.i ;\ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
213 |
$(CAT) msg.$$$$.po | sed "/^domain/d" > $@ ;\ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
214 |
$(RM) msg.$$$$.po $<.i |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
215 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
216 |
POFILE= $(PROG).po |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
217 |
MSGROOT= $(ROOT)/catalog |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
218 |
MSGDOMAIN= $(MSGROOT)/$(TEXT_DOMAIN) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
219 |
CLOBBERFILES += $(POFILE) $(POFILES) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
220 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
221 |
# The use of TEXT_DOMAIN here is strange, but required for the normal |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
222 |
# message catalog build rules. (This would be better done with a |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
223 |
# conditional on CFLAGS, but that would require significant Makefile |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
224 |
# effort.) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
225 |
COMPILE.po= $(CC) $(CFLAGS) \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
226 |
$(CPPFLAGS:\"$(TEXT_DOMAIN)\"=$(TEXT_DOMAIN)) -E -C |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
227 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
228 |
COMPILE.c= $(CC) $(CFLAGS) $(CPPFLAGS) -c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
229 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
230 |
# Set CFLAGS and CCFLAGS and reset below if release build. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
231 |
# Only optimize for release builds |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
232 |
# The -norunpath flag must be passed to any library or executables |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
233 |
# that is built with "CC". This suppresses the automatic generation |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
234 |
# of runtime search paths that can cause local and SWAN paths to be |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
235 |
# included in libraries and executables which would be inappropriate |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
236 |
# for use outside of SWAN (that is, customer sites) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
237 |
CFLAGS:sh =if [ "`uname -p`" = "sparc" ]; then \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
238 |
echo "-xc99=%none -Wa,-xcg92" ; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
239 |
else echo "-xc99=%none"; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
240 |
fi |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
241 |
CCFLAGS:sh =if [ "`uname -p`" = "sparc" ]; then \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
242 |
echo "-Qoption fbe -xcg92" ; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
243 |
else echo ""; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
244 |
fi |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
245 |
|
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
246 |
$(RELEASE_BUILD)CFLAGS:sh =if [ "`uname -p`" = "sparc" ]; then \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
247 |
echo "-xc99=%none -O -Wa,-xcg92" ; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
248 |
else echo "-xc99=%none -O"; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
249 |
fi |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
250 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
251 |
$(RELEASE_BUILD)CCFLAGS:sh =if [ "`uname -p`" = "sparc" ]; then \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
252 |
echo "-O -Qoption fbe -xcg92" ; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
253 |
else echo "-O"; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
254 |
fi |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
255 |
CCFLAGS += -norunpath -compat=4 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
256 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
257 |
# CPPFLAGS.master allows values to be prepended to CPPFLAGS. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
258 |
CPPFLAGS.master= -I$(ROOT)/usr/include -I$(ONINCDIR) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
259 |
CPPFLAGS= $(CPPFLAGS.master) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
260 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
261 |
# Rules (normally from default.mk) and macros which are used for post |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
262 |
# processing files. Normally, these do stripping of the comment section |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
263 |
# automatically. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
264 |
# RELEASE_CM: Should be edited if std format changes. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
265 |
# POST_PROCESS_O: Post-processing for `.o' files. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
266 |
# POST_PROCESS_A: Post-processing for `.a' files (currently null). |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
267 |
# POST_PROCESS_SO: Post-processing for `.so' files. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
268 |
# POST_PROCESS: Post-processing for executable files (no suffix). |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
269 |
# Note that these macros are not completely generalized as they are to be |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
270 |
# used with the file name to be processed following. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
271 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
272 |
# It is left as an exercise to Release Engineering to embellish the generation |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
273 |
# of the release comment string. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
274 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
275 |
# If this is a development build: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
276 |
# delete the comment section (mcs -d) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
277 |
# add the standard comment (mcs -a $(RELEASE_CM)) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
278 |
# add the development specific comment (mcs -a $(DEV_CM)) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
279 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
280 |
# If this is a release build: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
281 |
# delete the comment section (mcs -d) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
282 |
# add the standard comment (mcs -a $(RELEASE_CM)) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
283 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
284 |
# Sigh,... The declaration POUND_SIGN is always '#'. This is just needed |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
285 |
# to get around the make **bug** that '#' is always a comment delimiter, |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
286 |
# even when escaped of quoted. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
287 |
# |
827
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
288 |
POUND_SIGN:sh= /usr/bin/echo \\043 |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
289 |
|
827
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
290 |
# The following list of macros are used in the definition of RELEASE_CM |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
291 |
# which is used to label all binaries in the build: |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
292 |
# |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
293 |
# RELEASE Specific release of the build, eg: 5.2 |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
294 |
# RELEASE_MAJOR Major version number part of $(RELEASE) |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
295 |
# RELEASE_MINOR Minor version number part of $(RELEASE) |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
296 |
# VERSION Version of the build (alpha, beta, Generic) |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
297 |
# PATCHID If this is a patch this value should contain |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
298 |
# the patchid value (eg: "Generic 100832-01"), otherwise |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
299 |
# it will be set to $(VERSION) |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
300 |
# RELEASE_DATE Date of the Release Build |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
301 |
# PATCH_DATE Date the patch was created, if this is blank it |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
302 |
# will default to the RELEASE_DATE |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
303 |
# |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
304 |
RELEASE_MAJOR= 5 |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
305 |
RELEASE_MINOR= 11 |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
306 |
RELEASE= $(RELEASE_MAJOR).$(RELEASE_MINOR) |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
307 |
VERSION= SunOS Installation Development |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
308 |
PATCHID= $(VERSION) |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
309 |
RELEASE_DATE= release date not set |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
310 |
PATCH_DATE= $(RELEASE_DATE) |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
311 |
RELEASE_CM= "@($(POUND_SIGN))SunOS $(RELEASE) $(PATCHID) $(PATCH_DATE)" |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
312 |
DEV_CM= "@($(POUND_SIGN))SunOS Internal Development: non-nightly build" |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
313 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
314 |
PROCESS_COMMENT= @?mcs -d -a $(RELEASE_CM) -a $(DEV_CM) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
315 |
$(RELEASE_BUILD)PROCESS_COMMENT= @?mcs -d -a $(RELEASE_CM) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
316 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
317 |
POST_PROCESS_O= $(PROCESS_COMMENT) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
318 |
POST_PROCESS_A= |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
319 |
POST_PROCESS_SO= $(PROCESS_COMMENT) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
320 |
POST_PROCESS= $(PROCESS_COMMENT) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
321 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
322 |
$(RELEASE_BUILD)POST_PROCESS= $(PROCESS_COMMENT) $@ ;\ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
323 |
strip $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
324 |
|
827
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
325 |
# |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
326 |
# The repositories will be created with these publisher settings. To |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
327 |
# update an image to the resulting repositories, this must match the |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
328 |
# publisher name provided to "pkg set-publisher." |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
329 |
# |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
330 |
PKGPUBLISHER_REDIST= install-nightly |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
331 |
PKGPUBLISHER_NONREDIST= install-extra |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
332 |
|
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
333 |
|
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
334 |
# Default build rules which perform comment section post-processing. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
335 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
336 |
.c: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
337 |
$(PURIFY) $(LINK.c) -o $@ $< $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
338 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
339 |
.c.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
340 |
$(PURIFY) $(COMPILE.c) $(OUTPUT_OPTION) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
341 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
342 |
.c.a: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
343 |
$(PURIFY) $(COMPILE.c) -o $% $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
344 |
$(PROCESS_COMMENT) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
345 |
$(AR) $(ARFLAGS) $@ $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
346 |
$(RM) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
347 |
.cc: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
348 |
$(PURIFY) $(LINK.cc) -o $@ $< $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
349 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
350 |
.cc.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
351 |
$(PURIFY) $(COMPILE.cc) $(OUTPUT_OPTION) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
352 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
353 |
.cc.a: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
354 |
$(PURIFY) $(COMPILE.cc) -o $% $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
355 |
$(PROCESS_COMMENT) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
356 |
$(AR) $(ARFLAGS) $@ $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
357 |
$(RM) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
358 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
359 |
.C: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
360 |
$(PURIFY) $(LINK.cc) -o $@ $< $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
361 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
362 |
.C.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
363 |
$(PURIFY) $(COMPILE.cc) $(OUTPUT_OPTION) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
364 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
365 |
.C.a: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
366 |
$(PURIFY) $(COMPILE.cc) -o $% $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
367 |
$(PROCESS_COMMENT) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
368 |
$(AR) $(ARFLAGS) $@ $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
369 |
$(RM) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
370 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
371 |
.s.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
372 |
$(COMPILE.s) -o $@ $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
373 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
374 |
.s.a: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
375 |
$(COMPILE.s) -o $% $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
376 |
$(PROCESS_COMMENT) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
377 |
$(AR) $(ARFLAGS) $@ $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
378 |
$(RM) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
379 |
.y: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
380 |
$(YACC.y) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
381 |
$(LINK.c) -o $@ y.tab.c $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
382 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
383 |
$(RM) y.tab.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
384 |
.y.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
385 |
$(YACC.y) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
386 |
$(COMPILE.c) -o $@ y.tab.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
387 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
388 |
$(RM) y.tab.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
389 |
.l: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
390 |
$(RM) $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
391 |
$(LEX.l) $< > $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
392 |
$(LINK.c) -o $@ $*.c -ll $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
393 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
394 |
$(RM) $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
395 |
.l.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
396 |
$(RM) $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
397 |
$(LEX.l) $< > $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
398 |
$(COMPILE.c) -o $@ $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
399 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
400 |
$(RM) $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
401 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
402 |
.po: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
403 |
$(COMPILE.po) $< > $<.i |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
404 |
$(BUILD.po) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
405 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
406 |
.c.po: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
407 |
$(COMPILE.po) $< > $<.i |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
408 |
$(BUILD.po) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
409 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
410 |
.ksh: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
411 |
$(RM) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
412 |
cat $< > $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
413 |
chmod +x $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
414 |
.ksh~: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
415 |
$(GET) $(GFLAGS) -p $< > $*.ksh |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
416 |
cp $*.ksh $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
417 |
chmod a+x $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
418 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
419 |
|
287
13cbbc65259c
3440 Need webserver for A/I support
Clay Baenziger <ClayB@OpenSolaris.ORG>
parents:
272
diff
changeset
|
420 |
.SUFFIXES: $(SUFFIXES) .po .ksh .ksh~ |