author | Mary Ding <mary.ding@oracle.com> |
Mon, 27 Aug 2012 12:01:08 -0700 | |
changeset 1772 | 4c262399a74e |
parent 1644 | e827d1934114 |
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 |
# |
1623
cb56a2fb4925
PSARC 2012/074 UEFI/GRUB2/Large Disk Boot (UGLDB) (Install phase II):
Niall Power <niall.power@oracle.com>
parents:
1565
diff
changeset
|
23 |
# Copyright (c) 2007, 2012, 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 |
1379
c41058d1a083
7075220 sc_template.xml left behind in cleanup
Dave Miner <dave.miner@oracle.com>
parents:
1367
diff
changeset
|
46 |
SPRO_VROOT= $(SPRO_ROOT)/sunstudio12.1 |
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 |
|
1395
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
51 |
# |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
52 |
# The following information regarding license terms and stripping CDDL |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
53 |
# is applicable only to employees of Oracle Corporation. Anyone else |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
54 |
# building a release distribution from this source code must abide by |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
55 |
# all applicable license terms. If in doubt, please seek legal advice. |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
56 |
# |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
57 |
# Solaris source is licensed under the CDDL, but binary distributions |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
58 |
# may not be. Because of this discrepancy, it is desirable to strip |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
59 |
# the CDDL from human readable files to avoid end user confusion. |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
60 |
# |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
61 |
# To strip CDDL from installed files, set and export INS_STRIP_CDDL in |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
62 |
# your build environment: |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
63 |
# |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
64 |
# INS_STRIP_CDDL= ; export INS_STRIP_CDDL |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
65 |
# |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
66 |
# For files which should NOT have CDDL stripped, because they contain |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
67 |
# CDDL start and end tags but are licensed by someone other than |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
68 |
# Oracle, set INS_STRIP_CDDL_OVR to $(POUND_SIGN) in your Makefile |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
69 |
# prior to including Makefile.master: |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
70 |
# |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
71 |
# INS_STRIP_CDDL_OVR= $(POUND_SIGN) |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
72 |
# include $(SRC)/Makefile.master |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
73 |
# |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
74 |
INS_STRIP_CDDL= $(POUND_SIGN) |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
75 |
$(INS_STRIP_CDDL)$(INS_STRIP_CDDL_OVR)INS_CDDL_ARG= -C |
1487
6e9ec990ad95
7090224 pybootmgmt should support autogeneration of chainload entries for other OSes on x86
Niall Power <niall.power@oracle.com>
parents:
1405
diff
changeset
|
76 |
INS= install $(INS_CDDL_ARG) |
1395
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
77 |
|
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
78 |
# Other commands |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
79 |
LD= $(CC) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
80 |
RM= /usr/bin/rm -f |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
81 |
SYMLINK= /usr/bin/ln -s |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
82 |
LN= /usr/bin/ln |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
83 |
CP= /usr/bin/cp |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
84 |
MV= /usr/bin/mv -f |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
85 |
SH= /usr/bin/sh |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
86 |
CHMOD= /usr/bin/chmod |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
87 |
CHOWN= /usr/bin/chown |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
88 |
CHGRP= /usr/bin/chgrp |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
89 |
MKDIR= /usr/bin/mkdir |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
90 |
TOUCH= /usr/bin/touch |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
91 |
SED= /usr/bin/sed |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
92 |
TAR= /usr/bin/tar |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
93 |
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
|
94 |
PYTHON= /usr/bin/python2.6 |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
95 |
CAT= /usr/bin/cat |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
96 |
GENCAT= /usr/bin/gencat |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
97 |
XGETTEXT= xgettext |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
98 |
XGETFLAGS= -c TRANSLATION_NOTE |
773
cc0753f47d02
6367 Provide a text-installer for opensolaris
Keith Mitchell <keith.mitchell@sun.com>
parents:
723
diff
changeset
|
99 |
GNUXGETTEXT= /usr/gnu/bin/xgettext |
1631
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
100 |
GNUXGETFLAGS= --keyword=_ --keyword=N_ |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
101 |
CSTYLE= cstyle -pP |
827
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
102 |
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
|
103 |
GREP= /usr/bin/grep |
1631
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
104 |
GGREP= /usr/gnu/bin/grep |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
105 |
|
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
106 |
# 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
|
107 |
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
|
108 |
ONUSRLIBDIR= $(ONREF_PROTO)/usr/lib |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
109 |
ONINCDIR= $(ONREF_PROTO)/usr/include |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
110 |
|
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
111 |
# Common path definitions. |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
112 |
ADMINLIB= /usr/snadm/lib |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
113 |
ROOTADMIN= $(ROOT)/usr/snadm |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
114 |
ROOTADMINLIB= $(ROOTADMIN)/lib |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
115 |
ROOTBIN= $(ROOT)/bin |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
116 |
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
|
117 |
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
|
118 |
ROOTDC_SORT= $(ROOTDC)/sort |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
119 |
ROOTINC= $(ROOT)/usr/include |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
120 |
ROOTINCADMIN= $(ROOTINC)/admin |
1367
a5c349640e79
7068492 Update slim_source distro_const(1M) manpage to nroff version
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1348
diff
changeset
|
121 |
ROOTMAN= $(ROOT)/usr/share/man |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
122 |
ROOTMAN1M= $(ROOTMAN)/man1m |
723
4c9eb65ee7b6
14371 Need to update the existing DC documentation
Glenn Lagasse <glenn.lagasse@sun.com>
parents:
663
diff
changeset
|
123 |
ROOTMAN4= $(ROOTMAN)/man4 |
1405
4202007bf64b
7074358 add translated install nroff manpages
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1403
diff
changeset
|
124 |
ROOTMANJAJP1M= $(ROOTMAN)/ja_JP.UTF-8/man1m |
4202007bf64b
7074358 add translated install nroff manpages
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1403
diff
changeset
|
125 |
ROOTMANJAJP4= $(ROOTMAN)/ja_JP.UTF-8/man4 |
4202007bf64b
7074358 add translated install nroff manpages
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1403
diff
changeset
|
126 |
ROOTMANZHCN4= $(ROOTMAN)/zh_CN.UTF-8/man4 |
4202007bf64b
7074358 add translated install nroff manpages
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1403
diff
changeset
|
127 |
ROOTMANZHCN1M= $(ROOTMAN)/zh_CN.UTF-8/man1m |
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
|
128 |
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
|
129 |
ROOTPYTHON= $(ROOTUSRLIB)/python2.6 |
57 | 130 |
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
|
131 |
ROOTPYTHONVENDORINSTALL= $(ROOTPYTHONVENDOR)/osol_install |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
132 |
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
|
133 |
ROOTPYTHONVENDORINSTALLPROF= $(ROOTPYTHONVENDORINSTALL)/profile |
902
5b421d727e75
17161 - Implement Data Cache component for Installer
Darren Kenny <Darren.Kenny@Sun.COM>
parents:
901
diff
changeset
|
134 |
ROOTPYTHONVENDORSOLINSTALL= $(ROOTPYTHONVENDOR)/solaris_install |
1111
0c6c862af34f
7038421 Provide a boot checkpoint implementation based on pybootmgmt
Niall Power <niall@brawndo.local>
parents:
1090
diff
changeset
|
135 |
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
|
136 |
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
|
137 |
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
|
138 |
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
|
139 |
ROOTPYTHONVENDORINSTALLDCCHKPT= $(ROOTPYTHONVENDORINSTALLDC)/checkpoints |
1403
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
140 |
ROOTPYTHONVENDORINSTALLDCCHKPTXSLT= $(ROOTPYTHONVENDORINSTALLDCCHKPT)/xslt |
1087
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
141 |
ROOTPYTHONVENDORSOLINSTALLAI= \ |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
142 |
$(ROOTPYTHONVENDORSOLINSTALL)/auto_install |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
143 |
ROOTPYTHONVENDORSOLINSTALLAICHKPT= \ |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
144 |
$(ROOTPYTHONVENDORSOLINSTALLAI)/checkpoints |
909
ab25dde8919d
16323 Implement Install Execution Engine
Karen Tung <karen.tung@oracle.com>
parents:
902
diff
changeset
|
145 |
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
|
146 |
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
|
147 |
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
|
148 |
ROOTPYTHONVENDORSOLINSTALLJS2AI= $(ROOTPYTHONVENDORSOLINSTALL)/js2ai |
1087
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
149 |
ROOTPYTHONVENDORSOLINSTALLMANIFEST= $(ROOTPYTHONVENDORSOLINSTALL)/manifest |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
150 |
ROOTPYTHONVENDORSOLINSTALLMANINPUT= \ |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
151 |
$(ROOTPYTHONVENDORSOLINSTALL)/manifest_input |
909
ab25dde8919d
16323 Implement Install Execution Engine
Karen Tung <karen.tung@oracle.com>
parents:
902
diff
changeset
|
152 |
ROOTPYTHONVENDORSOLINSTALLTARGET = $(ROOTPYTHONVENDORSOLINSTALL)/target |
1087
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
153 |
ROOTPYTHONVENDORSCI = $(ROOTPYTHONVENDORSOLINSTALL)/sysconfig |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
154 |
ROOTPYTHONVENDORSCIPROF = $(ROOTPYTHONVENDORSCI)/profile |
96b6cc8130c5
6994260 Implement Auto-Installer Derived Manifests
Jack Schwartz <Jack.Schwartz@Oracle.COM>
parents:
1071
diff
changeset
|
155 |
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
|
156 |
ROOTPYTHONVENDORSOLINSTALLTARGETLIBADM=$(ROOTPYTHONVENDORSOLINSTALLTARGET)/libadm |
ef77609251f5
7021591 provide an implementation of TI/TD based on CUD
Drew Fisher <drew.fisher@oracle.com>
parents:
1065
diff
changeset
|
157 |
ROOTPYTHONVENDORSOLINSTALLTARGETLIBBE = $(ROOTPYTHONVENDORSOLINSTALLTARGET)/libbe |
ef77609251f5
7021591 provide an implementation of TI/TD based on CUD
Drew Fisher <drew.fisher@oracle.com>
parents:
1065
diff
changeset
|
158 |
ROOTPYTHONVENDORSOLINSTALLTARGETLIBDEVINFO = $(ROOTPYTHONVENDORSOLINSTALLTARGET)/libdevinfo |
ef77609251f5
7021591 provide an implementation of TI/TD based on CUD
Drew Fisher <drew.fisher@oracle.com>
parents:
1065
diff
changeset
|
159 |
ROOTPYTHONVENDORSOLINSTALLTARGETLIBDISKMGT = $(ROOTPYTHONVENDORSOLINSTALLTARGET)/libdiskmgt |
1623
cb56a2fb4925
PSARC 2012/074 UEFI/GRUB2/Large Disk Boot (UGLDB) (Install phase II):
Niall Power <niall.power@oracle.com>
parents:
1565
diff
changeset
|
160 |
ROOTPYTHONVENDORSOLINSTALLTARGETLIBEFI = $(ROOTPYTHONVENDORSOLINSTALLTARGET)/libefi |
1644
e827d1934114
PSARC/2012/023 Interactive Installation to iSCSI
Drew Fisher <drew.fisher@oracle.com>
parents:
1635
diff
changeset
|
161 |
ROOTPYTHONVENDORSOLINSTALLTARGETLIBIMA = $(ROOTPYTHONVENDORSOLINSTALLTARGET)/libima |
1070
ef77609251f5
7021591 provide an implementation of TI/TD based on CUD
Drew Fisher <drew.fisher@oracle.com>
parents:
1065
diff
changeset
|
162 |
ROOTPYTHONVENDORSOLINSTALLTARGETLIBNVPAIR = $(ROOTPYTHONVENDORSOLINSTALLTARGET)/libnvpair |
ef77609251f5
7021591 provide an implementation of TI/TD based on CUD
Drew Fisher <drew.fisher@oracle.com>
parents:
1065
diff
changeset
|
163 |
ROOTPYTHONVENDORSOLINSTALLTARGETSHADOW = $(ROOTPYTHONVENDORSOLINSTALLTARGET)/shadow |
1121
670325895b19
7004610 Update Text Installer to use CUD
Karen Tung <karen.tung@oracle.com>
parents:
1111
diff
changeset
|
164 |
ROOTPYTHONVENDORSOLINSTALLTI= $(ROOTPYTHONVENDORSOLINSTALL)/text_install |
1204
5c7590b24780
7050438 Update GUI Install to use CUD
Dermot <Dermot.McCluskey@Oracle.COM>
parents:
1160
diff
changeset
|
165 |
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
|
166 |
ROOTPYTHONVENDORINSTALLTRANSFER = $(ROOTPYTHONVENDORSOLINSTALL)/transfer |
272
6ffbbcf6242a
3611 liborchestrator needs to be enhanced to support IPS based installs
Alok Aggarwal <Alok.Aggarwal@Sun.COM>
parents:
266
diff
changeset
|
167 |
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
|
168 |
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
|
169 |
ROOTAUTOINSTSCPROFILES= $(ROOTAUTOINST)/sc_profiles |
1204
5c7590b24780
7050438 Update GUI Install to use CUD
Dermot <Dermot.McCluskey@Oracle.COM>
parents:
1160
diff
changeset
|
170 |
ROOTGUIINST= $(ROOT)/usr/share/gui-install |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
171 |
ROOTSBIN= $(ROOT)/sbin |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
172 |
ROOTUSRBIN= $(ROOT)/usr/bin |
773
cc0753f47d02
6367 Provide a text-installer for opensolaris
Keith Mitchell <keith.mitchell@sun.com>
parents:
723
diff
changeset
|
173 |
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
|
174 |
ROOTUSRSHAREINSTALL= $(ROOTUSRSHARE)/install |
1026
91b57d590dfa
6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents:
961
diff
changeset
|
175 |
ROOTUSRSHARESC= $(ROOTUSRSHARE)/sysconfig |
91b57d590dfa
6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents:
961
diff
changeset
|
176 |
ROOTUSRSHARESCHELP= $(ROOTUSRSHARESC)/help |
91b57d590dfa
6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents:
961
diff
changeset
|
177 |
ROOTUSRSHARESCHELPC= $(ROOTUSRSHARESCHELP)/C |
91b57d590dfa
6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents:
961
diff
changeset
|
178 |
ROOTUSRSHARESCXSLT= $(ROOTUSRSHARESC)/xslt |
773
cc0753f47d02
6367 Provide a text-installer for opensolaris
Keith Mitchell <keith.mitchell@sun.com>
parents:
723
diff
changeset
|
179 |
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
|
180 |
ROOTUSRSHARETIHELP= $(ROOTUSRSHARETI)/help |
1026
91b57d590dfa
6998974 Deliver System Configuration Interactive Tool
Jan Damborsky <dambi@opensolaris.org>
parents:
961
diff
changeset
|
181 |
ROOTUSRSHARETIHELPC= $(ROOTUSRSHARETIHELP)/C |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
182 |
ROOTUSRLIB= $(ROOT)/usr/lib |
1487
6e9ec990ad95
7090224 pybootmgmt should support autogeneration of chainload entries for other OSes on x86
Niall Power <niall.power@oracle.com>
parents:
1405
diff
changeset
|
183 |
ROOTUSRLIBBOOT= $(ROOTUSRLIB)/boot |
1631
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
184 |
ROOTUSRSHAREMSGS= $(ROOTUSRSHARE)/locale/C/LC_MESSAGES |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
185 |
ROOTUSRSBIN= $(ROOT)/usr/sbin |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
186 |
ROOTVAR= $(ROOT)/var |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
187 |
|
1631
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
188 |
INSTMSGS= $(MSG_DOMAIN:%=$(ROOTUSRSHAREMSGS)/%.po) |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
189 |
ROOTSBINPROG= $(PROG:%=$(ROOTSBIN)/%) |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
190 |
ROOTUSRINCLEXP= $(EXPHDRS:%=$(ROOTINCADMIN)/%) |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
191 |
ROOTUSRSBINPROG= $(PROG:%=$(ROOTUSRSBIN)/%) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
192 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
193 |
FILEMODE= 644 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
194 |
EXECMODE= 755 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
195 |
DIRMODE= 755 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
196 |
OWNER= bin |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
197 |
GROUP= bin |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
198 |
|
1403
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
199 |
# DTD File Versions |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
200 |
DTD_VERSION_AI = 1 |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
201 |
DTD_VERSION_DC = 1 |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
202 |
DTD_VERSION_BOOT_MODS = 1 |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
203 |
DTD_VERSION_CONFIGURATION = 1 |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
204 |
DTD_VERSION_EXECUTION = 1 |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
205 |
DTD_VERSION_MEDIA_TRANSFER = 1 |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
206 |
DTD_VERSION_SOFTWARE = 1 |
1623
cb56a2fb4925
PSARC 2012/074 UEFI/GRUB2/Large Disk Boot (UGLDB) (Install phase II):
Niall Power <niall.power@oracle.com>
parents:
1565
diff
changeset
|
207 |
DTD_VERSION_TARGET = 2 |
1403
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
208 |
|
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
209 |
# 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
|
210 |
# 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
|
211 |
# 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
|
212 |
# 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
|
213 |
# |
1348
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
214 |
# 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
|
215 |
# 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
|
216 |
# 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
|
217 |
# 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
|
218 |
# 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
|
219 |
# |
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
220 |
# 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
|
221 |
# 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
|
222 |
# (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
|
223 |
# 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
|
224 |
|
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
225 |
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
|
226 |
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
|
227 |
|
fec41e626784
7053542 Need to do slim_source clean up after conversion to CUD
Dave Miner <dave.miner@oracle.com>
parents:
1204
diff
changeset
|
228 |
CH= $(POUND_SIGN) |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
229 |
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
|
230 |
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
|
231 |
$(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
|
232 |
SRU_BUILD= $(POUND_SIGN) |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
233 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
234 |
INS.file= $(RM) $@; $(INS) -s -m $(FILEMODE) -f $(@D) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
235 |
$(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
|
236 |
INS.exec= $(RM) $@; $(INS) -s -m $(EXECMODE) -f $(@D) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
237 |
$(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
|
238 |
INS.dir= $(INS) -d -m $(DIRMODE) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
239 |
$(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
|
240 |
INS.rename= $(INS.file); $(MV) $(@D)/$(<F) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
241 |
INSTALL= $(INS.file) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
242 |
|
1395
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
243 |
# |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
244 |
# Python bakes the mtime of the .py file into the compiled .pyc and |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
245 |
# rebuilds if the baked-in mtime != the mtime of the source file |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
246 |
# (rather than only if it's less than), thus when installing python |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
247 |
# files we must make certain to not adjust the mtime of the source |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
248 |
# (.py) file. |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
249 |
# |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
250 |
INS.pyfile= $(INS.file); $(TOUCH) -r $< $@ |
d3e03b36cbe8
7067891 remove CDDL from copies of source/text files delivered to the binary product
Dave Miner <dave.miner@oracle.com>
parents:
1379
diff
changeset
|
251 |
|
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
252 |
MACH= $(TARGET_MACH:-%=%) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
253 |
ARCH= $(TARGET_ARCH:-%=%) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
254 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
255 |
# Message catalog build rule for packaging commands. |
1631
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
256 |
POFILE= $(MSG_DOMAIN).po |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
257 |
MSGROOT= $(ROOT)/catalog |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
258 |
MSGDOMAIN= $(MSGROOT)/$(TEXT_DOMAIN) |
1631
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
259 |
CLOBBERFILES += $(POFILE) |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
260 |
|
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
261 |
# Generate a po file from msgfiles |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
262 |
# The procedure for building po file from Python, Glade and Shell files |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
263 |
# differs, so we have to handle each file type separately. |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
264 |
# First, a list of files of each type is established, then xgettext is run |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
265 |
# for each non-empty list. |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
266 |
|
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
267 |
$(MSG_DOMAIN).po: $(MSGFILES) |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
268 |
PYMSGFILES=`$(ECHO) $(MSGFILES)|$(GGREP) -o '[^\ ]*\.py'` || true; \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
269 |
GLADEMSGFILES=`$(ECHO) $(MSGFILES)|$(GGREP) -o '[^\ ]*\.xml'` || true; \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
270 |
KSHMSGFILES=`$(ECHO) $(MSGFILES)|$(GGREP) -o '[^\ ]*\.ksh'` || true; \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
271 |
echo "PYMSGFILES=$$PYMSGFILES GLADEMSGFILES=$$GLADEMSGFILES KSHMSGFILES=$$KSHMSGFILES"; \ |
1635
e546d83e74e0
7161026 gsed CR 7160986 can cause slim source build failures if you use nfs mount.
Harold N Shaw- Oracle <Harold.Shaw@oracle.COM>
parents:
1631
diff
changeset
|
272 |
echo ""|$(GNUXGETTEXT) -o - --force-po -L C -|$(SED) s/charset=CHARSET/charset=UTF-8/ >$@; \ |
1631
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
273 |
if [ ! -z "$$PYMSGFILES" ]; then \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
274 |
$(GNUXGETTEXT) -o $@ $(GNUXGETFLAGS) -d $(MSG_DOMAIN) \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
275 |
--join-existing $$PYMSGFILES; \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
276 |
fi; \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
277 |
if [ ! -z "$$GLADEMSGFILES" ]; then \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
278 |
$(GNUXGETTEXT) -o $@ $(GNUXGETFLAGS) --language=glade \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
279 |
-d $(MSG_DOMAIN) --join-existing $$GLADEMSGFILES; \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
280 |
fi; \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
281 |
if [ ! -z "$$KSHMSGFILES" ]; then \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
282 |
$(GNUXGETTEXT) -o $@ $(GNUXGETFLAGS) --language=Shell \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
283 |
-d $(MSG_DOMAIN) --join-existing $$KSHMSGFILES; \ |
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
284 |
fi |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
285 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
286 |
# 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
|
287 |
# 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
|
288 |
# conditional on CFLAGS, but that would require significant Makefile |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
289 |
# effort.) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
290 |
COMPILE.po= $(CC) $(CFLAGS) \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
291 |
$(CPPFLAGS:\"$(TEXT_DOMAIN)\"=$(TEXT_DOMAIN)) -E -C |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
292 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
293 |
COMPILE.c= $(CC) $(CFLAGS) $(CPPFLAGS) -c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
294 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
295 |
# Set CFLAGS and CCFLAGS and reset below if release build. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
296 |
# Only optimize for release builds |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
297 |
# 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
|
298 |
# that is built with "CC". This suppresses the automatic generation |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
299 |
# 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
|
300 |
# included in libraries and executables which would be inappropriate |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
301 |
# for use outside of SWAN (that is, customer sites) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
302 |
CFLAGS:sh =if [ "`uname -p`" = "sparc" ]; then \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
303 |
echo "-xc99=%none -Wa,-xcg92" ; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
304 |
else echo "-xc99=%none"; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
305 |
fi |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
306 |
CCFLAGS:sh =if [ "`uname -p`" = "sparc" ]; then \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
307 |
echo "-Qoption fbe -xcg92" ; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
308 |
else echo ""; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
309 |
fi |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
310 |
|
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
311 |
$(RELEASE_BUILD)CFLAGS:sh =if [ "`uname -p`" = "sparc" ]; then \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
312 |
echo "-xc99=%none -O -Wa,-xcg92" ; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
313 |
else echo "-xc99=%none -O"; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
314 |
fi |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
315 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
316 |
$(RELEASE_BUILD)CCFLAGS:sh =if [ "`uname -p`" = "sparc" ]; then \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
317 |
echo "-O -Qoption fbe -xcg92" ; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
318 |
else echo "-O"; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
319 |
fi |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
320 |
CCFLAGS += -norunpath -compat=4 |
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 |
# CPPFLAGS.master allows values to be prepended to CPPFLAGS. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
323 |
CPPFLAGS.master= -I$(ROOT)/usr/include -I$(ONINCDIR) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
324 |
CPPFLAGS= $(CPPFLAGS.master) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
325 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
326 |
# 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
|
327 |
# processing files. Normally, these do stripping of the comment section |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
328 |
# automatically. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
329 |
# RELEASE_CM: Should be edited if std format changes. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
330 |
# POST_PROCESS_O: Post-processing for `.o' files. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
331 |
# POST_PROCESS_A: Post-processing for `.a' files (currently null). |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
332 |
# POST_PROCESS_SO: Post-processing for `.so' files. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
333 |
# POST_PROCESS: Post-processing for executable files (no suffix). |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
334 |
# 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
|
335 |
# used with the file name to be processed following. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
336 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
337 |
# 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
|
338 |
# of the release comment string. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
339 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
340 |
# If this is a development build: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
341 |
# delete the comment section (mcs -d) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
342 |
# add the standard comment (mcs -a $(RELEASE_CM)) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
343 |
# add the development specific comment (mcs -a $(DEV_CM)) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
344 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
345 |
# If this is a release build: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
346 |
# delete the comment section (mcs -d) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
347 |
# add the standard comment (mcs -a $(RELEASE_CM)) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
348 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
349 |
# 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
|
350 |
# 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
|
351 |
# even when escaped of quoted. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
352 |
# |
827
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
353 |
POUND_SIGN:sh= /usr/bin/echo \\043 |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
354 |
|
827
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
355 |
# 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
|
356 |
# 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
|
357 |
# |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
358 |
# 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
|
359 |
# 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
|
360 |
# 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
|
361 |
# 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
|
362 |
# 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
|
363 |
# 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
|
364 |
# 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
|
365 |
# 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
|
366 |
# 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
|
367 |
# 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
|
368 |
# |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
369 |
RELEASE_MAJOR= 5 |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
370 |
RELEASE_MINOR= 11 |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
371 |
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
|
372 |
VERSION= SunOS Installation Development |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
373 |
PATCHID= $(VERSION) |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
374 |
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
|
375 |
PATCH_DATE= $(RELEASE_DATE) |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
376 |
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
|
377 |
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
|
378 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
379 |
PROCESS_COMMENT= @?mcs -d -a $(RELEASE_CM) -a $(DEV_CM) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
380 |
$(RELEASE_BUILD)PROCESS_COMMENT= @?mcs -d -a $(RELEASE_CM) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
381 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
382 |
POST_PROCESS_O= $(PROCESS_COMMENT) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
383 |
POST_PROCESS_A= |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
384 |
POST_PROCESS_SO= $(PROCESS_COMMENT) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
385 |
POST_PROCESS= $(PROCESS_COMMENT) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
386 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
387 |
$(RELEASE_BUILD)POST_PROCESS= $(PROCESS_COMMENT) $@ ;\ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
388 |
strip $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
389 |
|
827
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
390 |
# |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
391 |
# 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
|
392 |
# 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
|
393 |
# 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
|
394 |
# |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
395 |
PKGPUBLISHER_REDIST= install-nightly |
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
396 |
PKGPUBLISHER_NONREDIST= install-extra |
1631
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
397 |
PKGPUBLISHER_LOCALIZABLE= install-localizable |
827
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
398 |
|
a522c6d6cba1
15784 slim_source gate should build IPS packages by default
David Miner <dminer@opensolaris.org>
parents:
773
diff
changeset
|
399 |
|
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
400 |
# Default build rules which perform comment section post-processing. |
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 |
.c: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
403 |
$(PURIFY) $(LINK.c) -o $@ $< $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
404 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
405 |
.c.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
406 |
$(PURIFY) $(COMPILE.c) $(OUTPUT_OPTION) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
407 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
408 |
.c.a: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
409 |
$(PURIFY) $(COMPILE.c) -o $% $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
410 |
$(PROCESS_COMMENT) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
411 |
$(AR) $(ARFLAGS) $@ $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
412 |
$(RM) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
413 |
.cc: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
414 |
$(PURIFY) $(LINK.cc) -o $@ $< $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
415 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
416 |
.cc.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
417 |
$(PURIFY) $(COMPILE.cc) $(OUTPUT_OPTION) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
418 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
419 |
.cc.a: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
420 |
$(PURIFY) $(COMPILE.cc) -o $% $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
421 |
$(PROCESS_COMMENT) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
422 |
$(AR) $(ARFLAGS) $@ $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
423 |
$(RM) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
424 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
425 |
.C: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
426 |
$(PURIFY) $(LINK.cc) -o $@ $< $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
427 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
428 |
.C.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
429 |
$(PURIFY) $(COMPILE.cc) $(OUTPUT_OPTION) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
430 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
431 |
.C.a: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
432 |
$(PURIFY) $(COMPILE.cc) -o $% $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
433 |
$(PROCESS_COMMENT) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
434 |
$(AR) $(ARFLAGS) $@ $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
435 |
$(RM) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
436 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
437 |
.s.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
438 |
$(COMPILE.s) -o $@ $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
439 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
440 |
.s.a: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
441 |
$(COMPILE.s) -o $% $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
442 |
$(PROCESS_COMMENT) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
443 |
$(AR) $(ARFLAGS) $@ $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
444 |
$(RM) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
445 |
.y: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
446 |
$(YACC.y) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
447 |
$(LINK.c) -o $@ y.tab.c $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
448 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
449 |
$(RM) y.tab.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
450 |
.y.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
451 |
$(YACC.y) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
452 |
$(COMPILE.c) -o $@ y.tab.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
453 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
454 |
$(RM) y.tab.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
455 |
.l: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
456 |
$(RM) $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
457 |
$(LEX.l) $< > $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
458 |
$(LINK.c) -o $@ $*.c -ll $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
459 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
460 |
$(RM) $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
461 |
.l.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
462 |
$(RM) $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
463 |
$(LEX.l) $< > $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
464 |
$(COMPILE.c) -o $@ $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
465 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
466 |
$(RM) $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
467 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
468 |
.ksh: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
469 |
$(RM) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
470 |
cat $< > $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
471 |
chmod +x $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
472 |
.ksh~: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
473 |
$(GET) $(GFLAGS) -p $< > $*.ksh |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
474 |
cp $*.ksh $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
475 |
chmod a+x $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
476 |
|
1403
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
477 |
.src: |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
478 |
$(RM) $@ |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
479 |
$(SED) -e "s,@DTD_VERSION_AI@,$(DTD_VERSION_AI),g" \ |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
480 |
-e "s,@DTD_VERSION_DC@,$(DTD_VERSION_DC),g" \ |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
481 |
-e "s,@DTD_VERSION_BOOT_MODS@,$(DTD_VERSION_BOOT_MODS),g" \ |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
482 |
-e "s,@DTD_VERSION_CONFIGURATION@,$(DTD_VERSION_CONFIGURATION),g" \ |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
483 |
-e "s,@DTD_VERSION_EXECUTION@,$(DTD_VERSION_EXECUTION),g" \ |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
484 |
-e "s,@DTD_VERSION_MEDIA_TRANSFER@,$(DTD_VERSION_MEDIA_TRANSFER),g" \ |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
485 |
-e "s,@DTD_VERSION_SOFTWARE@,$(DTD_VERSION_SOFTWARE),g" \ |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
486 |
-e "s,@DTD_VERSION_TARGET@,$(DTD_VERSION_TARGET),g" \ |
7d79448a5018
7037014 Install DTDs should be versioned
Darren Kenny <Darren.Kenny@Oracle.COM>
parents:
1395
diff
changeset
|
487 |
$< > $@ |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
488 |
|
1631
f8841ae44dc6
7117291 Deliver translatable content in a separate IPS package
Takeshi Asano <takeshi.asano@oracle.com>
parents:
1623
diff
changeset
|
489 |
.SUFFIXES: $(SUFFIXES) .ksh .ksh~ .src |