author | Clay Baenziger <ClayB@OpenSolaris.ORG> |
Fri, 18 Sep 2009 15:55:42 -0600 | |
changeset 609 | bcb2da6b8ef7 |
parent 420 | 818239049932 |
child 649 | ba353c37b287 |
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 |
# |
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
|
23 |
# Copyright 2009 Sun Microsystems, Inc. All rights reserved. |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
24 |
# Use is subject to license terms. |
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 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
28 |
# Makefile.master, global definitions for system source |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
29 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
30 |
# Special reference pointers: these allow install to be built on |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
31 |
# 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
|
32 |
# 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
|
33 |
# 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
|
34 |
# *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
|
35 |
ONREF_GATE= |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
36 |
SFWREF_GATE= |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
37 |
ONREF_PROTO=$(ONREF_GATE:%=%/proto/root_$(MACH)) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
38 |
SFWREF_PROTO=$(SFWREF_GATE:%=%/proto/root_$(MACH)) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
39 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
40 |
# 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
|
41 |
BUILD_TOOLS= /opt |
bff97dbaccdc
1268: Location of Sun Studio Tools has moved
Virginia Wray <Virginia.Wray@Sun.COM>
parents:
73
diff
changeset
|
42 |
ONBLD_TOOLS= $(BUILD_TOOLS)/onbld |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
43 |
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
|
44 |
SPRO_VROOT= $(SPRO_ROOT) |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
45 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
46 |
LINT= $(SPRO_VROOT)/bin/lint |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
47 |
CC= $(SPRO_VROOT)/bin/cc |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
48 |
|
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
49 |
# Other commands |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
50 |
LD= $(CC) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
51 |
RM= /usr/bin/rm -f |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
52 |
INS= /usr/sbin/install |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
53 |
SYMLINK= /usr/bin/ln -s |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
54 |
LN= /usr/bin/ln |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
55 |
CP= /usr/bin/cp |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
56 |
MV= /usr/bin/mv -f |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
57 |
SH= /usr/bin/sh |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
58 |
CHMOD= /usr/bin/chmod |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
59 |
CHOWN= /usr/bin/chown |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
60 |
CHGRP= /usr/bin/chgrp |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
61 |
MKDIR= /usr/bin/mkdir |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
62 |
TOUCH= /usr/bin/touch |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
63 |
SED= /usr/bin/sed |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
64 |
TAR= /usr/bin/tar |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
65 |
ECHO= /usr/bin/echo |
609
bcb2da6b8ef7
9804 Need to ensure all python #! paths in install code have version number
Clay Baenziger <ClayB@OpenSolaris.ORG>
parents:
420
diff
changeset
|
66 |
PYTHON= /usr/bin/python2.4 |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
67 |
CAT= /usr/bin/cat |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
68 |
GENCAT= /usr/bin/gencat |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
69 |
XGETTEXT= xgettext |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
70 |
XGETFLAGS= -c TRANSLATION_NOTE |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
71 |
CSTYLE= cstyle -pP |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
72 |
|
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
73 |
# 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
|
74 |
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
|
75 |
ONUSRLIBDIR= $(ONREF_PROTO)/usr/lib |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
76 |
ONINCDIR= $(ONREF_PROTO)/usr/include |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
77 |
|
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
78 |
# Common path definitions. |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
79 |
ADMINLIB= /usr/snadm/lib |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
80 |
ROOTADMIN= $(ROOT)/usr/snadm |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
81 |
ROOTADMINLIB= $(ROOTADMIN)/lib |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
82 |
ROOTBIN= $(ROOT)/bin |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
83 |
ROOTDC= $(ROOT)/usr/share/distro_const |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
84 |
ROOTDC_AI= $(ROOTDC)/auto_install |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
85 |
ROOTDC_DOC= $(ROOTDOC)/distro_const |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
86 |
ROOTDC_SLIM= $(ROOTDC)/slim_cd |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
87 |
ROOTDOC= $(ROOT)/usr/share/doc |
356
45f678bcb529
4552 Add AI documentation to SUNWinstalladm-tools
sundar.yamunachari@sun.com
parents:
287
diff
changeset
|
88 |
ROOTAI_DOC= $(ROOTDOC)/auto_install |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
89 |
ROOTINC= $(ROOT)/usr/include |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
90 |
ROOTINCADMIN= $(ROOTINC)/admin |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
91 |
ROOTMAN1M= $(ROOTMAN)/man1m |
73 | 92 |
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
|
93 |
ROOTOPTINSTALLTESTBIN= $(ROOT)/opt/install-test/bin |
57 | 94 |
ROOTPYTHON= $(ROOTUSRLIB)/python2.4 |
95 |
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
|
96 |
ROOTPYTHONVENDORINSTALL= $(ROOTPYTHONVENDOR)/osol_install |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
97 |
ROOTPYTHONVENDORINSTALLAI= $(ROOTPYTHONVENDORINSTALL)/auto_install |
197
ac1383e6038c
2618 Move install related modules in slim_source to a common place
Karen Tung <Karen.Tung@Sun.COM>
parents:
148
diff
changeset
|
98 |
ROOTPYTHONVENDORINSTALLBEADM= $(ROOTPYTHONVENDORINSTALL)/beadm |
ac1383e6038c
2618 Move install related modules in slim_source to a common place
Karen Tung <Karen.Tung@Sun.COM>
parents:
148
diff
changeset
|
99 |
ROOTPYTHONVENDORINSTALLDC= $(ROOTPYTHONVENDORINSTALL)/distro_const |
272
6ffbbcf6242a
3611 liborchestrator needs to be enhanced to support IPS based installs
Alok Aggarwal <Alok.Aggarwal@Sun.COM>
parents:
266
diff
changeset
|
100 |
ROOTAUTOINST= $(ROOT)/usr/share/auto_install |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
101 |
ROOTSBIN= $(ROOT)/sbin |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
102 |
ROOTUSRBIN= $(ROOT)/usr/bin |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
103 |
ROOTUSRLIB= $(ROOT)/usr/lib |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
104 |
ROOTUSRLIBMSGS= $(ROOTUSRLIB)/locale/C/LC_MESSAGES |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
105 |
ROOTUSRSBIN= $(ROOT)/usr/sbin |
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
106 |
ROOTVAR= $(ROOT)/var |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
107 |
|
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
108 |
INSTMSGS= $(MSG_DOMAIN:%=$(ROOTUSRLIBMSGS)/%.po) |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
109 |
ROOTSBINPROG= $(PROG:%=$(ROOTSBIN)/%) |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
110 |
ROOTUSRINCLEXP= $(EXPHDRS:%=$(ROOTINCADMIN)/%) |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
111 |
ROOTUSRSBINPROG= $(PROG:%=$(ROOTUSRSBIN)/%) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
112 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
113 |
FILEMODE= 644 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
114 |
EXECMODE= 755 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
115 |
DIRMODE= 755 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
116 |
OWNER= bin |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
117 |
GROUP= bin |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
118 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
119 |
# Borrowed from Makefile.master in NSE env SunOSint. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
120 |
# 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
|
121 |
# 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
|
122 |
# 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
|
123 |
# 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
|
124 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
125 |
CH:sh= /usr/bin/echo \\043 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
126 |
NOT_RELEASE_BUILD= |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
127 |
RELEASE_BUILD:sh= /usr/bin/echo \\043 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
128 |
$(RELEASE_BUILD)NOT_RELEASE_BUILD:sh= /usr/bin/echo \\043 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
129 |
$(RELEASE_BUILD)ROOT= /proto |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
130 |
$(NOT_RELEASE_BUILD)ROOT:sh= /usr/bin/echo ${ROOT} |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
131 |
|
73 | 132 |
CP_P.file= $(RM) $@; $(CP) -p $< $@; $(CHMOD) $(FILEMODE) $@ |
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
133 |
INS.file= $(RM) $@; $(INS) -s -m $(FILEMODE) -f $(@D) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
134 |
$(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
|
135 |
INS.exec= $(RM) $@; $(INS) -s -m $(EXECMODE) -f $(@D) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
136 |
$(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
|
137 |
INS.dir= $(INS) -d -m $(DIRMODE) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
138 |
$(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
|
139 |
INS.rename= $(INS.file); $(MV) $(@D)/$(<F) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
140 |
INSTALL= $(INS.file) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
141 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
142 |
MACH= $(TARGET_MACH:-%=%) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
143 |
ARCH= $(TARGET_ARCH:-%=%) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
144 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
145 |
# Message catalog build rule for packaging commands. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
146 |
BUILD.po= $(XGETTEXT) -d msg.$$$$ $(XGETFLAGS) $<.i ;\ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
147 |
$(CAT) msg.$$$$.po | sed "/^domain/d" > $@ ;\ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
148 |
$(RM) msg.$$$$.po $<.i |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
149 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
150 |
POFILE= $(PROG).po |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
151 |
MSGROOT= $(ROOT)/catalog |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
152 |
MSGDOMAIN= $(MSGROOT)/$(TEXT_DOMAIN) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
153 |
CLOBBERFILES += $(POFILE) $(POFILES) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
154 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
155 |
# 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
|
156 |
# 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
|
157 |
# conditional on CFLAGS, but that would require significant Makefile |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
158 |
# effort.) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
159 |
COMPILE.po= $(CC) $(CFLAGS) \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
160 |
$(CPPFLAGS:\"$(TEXT_DOMAIN)\"=$(TEXT_DOMAIN)) -E -C |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
161 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
162 |
COMPILE.c= $(CC) $(CFLAGS) $(CPPFLAGS) -c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
163 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
164 |
# Set CFLAGS and CCFLAGS and reset below if release build. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
165 |
# Only optimize for release builds |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
166 |
# 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
|
167 |
# that is built with "CC". This suppresses the automatic generation |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
168 |
# 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
|
169 |
# included in libraries and executables which would be inappropriate |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
170 |
# for use outside of SWAN (that is, customer sites) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
171 |
CFLAGS:sh =if [ "`uname -p`" = "sparc" ]; then \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
172 |
echo "-xc99=%none -Wa,-xcg92" ; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
173 |
else echo "-xc99=%none"; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
174 |
fi |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
175 |
CCFLAGS:sh =if [ "`uname -p`" = "sparc" ]; then \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
176 |
echo "-Qoption fbe -xcg92" ; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
177 |
else echo ""; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
178 |
fi |
266
ef9d9f2ade3f
2082 Removal of unused spmi libraries
Dave Miner <dminer@opensolaris.org>
parents:
263
diff
changeset
|
179 |
|
0
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
180 |
$(RELEASE_BUILD)CFLAGS:sh =if [ "`uname -p`" = "sparc" ]; then \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
181 |
echo "-xc99=%none -O -Wa,-xcg92" ; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
182 |
else echo "-xc99=%none -O"; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
183 |
fi |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
184 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
185 |
$(RELEASE_BUILD)CCFLAGS:sh =if [ "`uname -p`" = "sparc" ]; then \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
186 |
echo "-O -Qoption fbe -xcg92" ; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
187 |
else echo "-O"; \ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
188 |
fi |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
189 |
CCFLAGS += -norunpath -compat=4 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
190 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
191 |
# CPPFLAGS.master allows values to be prepended to CPPFLAGS. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
192 |
CPPFLAGS.master= -I$(ROOT)/usr/include -I$(ONINCDIR) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
193 |
CPPFLAGS= $(CPPFLAGS.master) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
194 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
195 |
# 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
|
196 |
# processing files. Normally, these do stripping of the comment section |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
197 |
# automatically. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
198 |
# RELEASE_CM: Should be edited if std format changes. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
199 |
# POST_PROCESS_O: Post-processing for `.o' files. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
200 |
# POST_PROCESS_A: Post-processing for `.a' files (currently null). |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
201 |
# POST_PROCESS_SO: Post-processing for `.so' files. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
202 |
# POST_PROCESS: Post-processing for executable files (no suffix). |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
203 |
# 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
|
204 |
# used with the file name to be processed following. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
205 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
206 |
# 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
|
207 |
# of the release comment string. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
208 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
209 |
# If this is a development build: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
210 |
# delete the comment section (mcs -d) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
211 |
# add the standard comment (mcs -a $(RELEASE_CM)) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
212 |
# add the development specific comment (mcs -a $(DEV_CM)) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
213 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
214 |
# If this is a release build: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
215 |
# delete the comment section (mcs -d) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
216 |
# add the standard comment (mcs -a $(RELEASE_CM)) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
217 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
218 |
# 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
|
219 |
# 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
|
220 |
# even when escaped of quoted. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
221 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
222 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
223 |
POUND_SIGN:sh= /usr/bin/echo \\043 |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
224 |
VERSION= SNAG Development |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
225 |
RELEASE= SunOS |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
226 |
RELEASE_DATE:sh= date "+%B %Y" |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
227 |
BUILD_DATE:sh= date "+%D" |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
228 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
229 |
RELEASE_CM= "@($(POUND_SIGN))$(RELEASE) $(VERSION). $(RELEASE_DATE)" |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
230 |
DEV_CM= "@($(POUND_SIGN))SNAG Internal Development: $(LOGNAME) $(BUILD_DATE)" |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
231 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
232 |
PROCESS_COMMENT= @?mcs -d -a $(RELEASE_CM) -a $(DEV_CM) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
233 |
$(RELEASE_BUILD)PROCESS_COMMENT= @?mcs -d -a $(RELEASE_CM) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
234 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
235 |
POST_PROCESS_O= $(PROCESS_COMMENT) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
236 |
POST_PROCESS_A= |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
237 |
POST_PROCESS_SO= $(PROCESS_COMMENT) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
238 |
POST_PROCESS= $(PROCESS_COMMENT) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
239 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
240 |
$(RELEASE_BUILD)POST_PROCESS= $(PROCESS_COMMENT) $@ ;\ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
241 |
strip $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
242 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
243 |
# Default build rules which perform comment section post-processing. |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
244 |
# |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
245 |
.c: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
246 |
$(PURIFY) $(LINK.c) -o $@ $< $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
247 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
248 |
.c.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
249 |
$(PURIFY) $(COMPILE.c) $(OUTPUT_OPTION) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
250 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
251 |
.c.a: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
252 |
$(PURIFY) $(COMPILE.c) -o $% $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
253 |
$(PROCESS_COMMENT) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
254 |
$(AR) $(ARFLAGS) $@ $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
255 |
$(RM) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
256 |
.cc: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
257 |
$(PURIFY) $(LINK.cc) -o $@ $< $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
258 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
259 |
.cc.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
260 |
$(PURIFY) $(COMPILE.cc) $(OUTPUT_OPTION) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
261 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
262 |
.cc.a: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
263 |
$(PURIFY) $(COMPILE.cc) -o $% $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
264 |
$(PROCESS_COMMENT) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
265 |
$(AR) $(ARFLAGS) $@ $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
266 |
$(RM) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
267 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
268 |
.C: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
269 |
$(PURIFY) $(LINK.cc) -o $@ $< $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
270 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
271 |
.C.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
272 |
$(PURIFY) $(COMPILE.cc) $(OUTPUT_OPTION) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
273 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
274 |
.C.a: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
275 |
$(PURIFY) $(COMPILE.cc) -o $% $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
276 |
$(PROCESS_COMMENT) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
277 |
$(AR) $(ARFLAGS) $@ $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
278 |
$(RM) $% |
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 |
.s.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
281 |
$(COMPILE.s) -o $@ $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
282 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
283 |
.s.a: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
284 |
$(COMPILE.s) -o $% $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
285 |
$(PROCESS_COMMENT) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
286 |
$(AR) $(ARFLAGS) $@ $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
287 |
$(RM) $% |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
288 |
.y: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
289 |
$(YACC.y) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
290 |
$(LINK.c) -o $@ y.tab.c $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
291 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
292 |
$(RM) y.tab.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
293 |
.y.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
294 |
$(YACC.y) $< |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
295 |
$(COMPILE.c) -o $@ y.tab.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
296 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
297 |
$(RM) y.tab.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
298 |
.l: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
299 |
$(RM) $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
300 |
$(LEX.l) $< > $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
301 |
$(LINK.c) -o $@ $*.c -ll $(LDLIBS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
302 |
$(POST_PROCESS) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
303 |
$(RM) $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
304 |
.l.o: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
305 |
$(RM) $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
306 |
$(LEX.l) $< > $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
307 |
$(COMPILE.c) -o $@ $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
308 |
$(POST_PROCESS_O) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
309 |
$(RM) $*.c |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
310 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
311 |
.po: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
312 |
$(COMPILE.po) $< > $<.i |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
313 |
$(BUILD.po) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
314 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
315 |
.c.po: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
316 |
$(COMPILE.po) $< > $<.i |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
317 |
$(BUILD.po) |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
318 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
319 |
.ksh: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
320 |
$(RM) $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
321 |
cat $< > $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
322 |
chmod +x $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
323 |
.ksh~: |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
324 |
$(GET) $(GFLAGS) -p $< > $*.ksh |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
325 |
cp $*.ksh $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
326 |
chmod a+x $@ |
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
327 |
|
87f703f8362e
OpenSolaris files for Slim Install
"mw145384 <moriah.waterland@sun.com>"
parents:
diff
changeset
|
328 |
|
287
13cbbc65259c
3440 Need webserver for A/I support
Clay Baenziger <ClayB@OpenSolaris.ORG>
parents:
272
diff
changeset
|
329 |
.SUFFIXES: $(SUFFIXES) .po .ksh .ksh~ |