equal
deleted
inserted
replaced
1 # |
1 # |
2 # CDDL HEADER START |
2 # CDDL HEADER START |
3 # |
3 # |
4 # The contents of this file are subject to the terms of the |
4 # The contents of this file are subject to the terms of the |
5 # Common Development and Distribution License, Version 1.0 only |
5 # Common Development and Distribution License (the "License"). |
6 # (the "License"). You may not use this file except in compliance |
6 # You may not use this file except in compliance with the License. |
7 # with the License. |
|
8 # |
7 # |
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
10 # or http://www.opensolaris.org/os/licensing. |
9 # or http://www.opensolaris.org/os/licensing. |
11 # See the License for the specific language governing permissions |
10 # See the License for the specific language governing permissions |
12 # and limitations under the License. |
11 # and limitations under the License. |
17 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
18 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
19 # |
18 # |
20 # CDDL HEADER END |
19 # CDDL HEADER END |
21 # |
20 # |
|
21 |
22 # |
22 # |
23 # Copyright 2004 Sun Microsystems, Inc. All rights reserved. |
23 # Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
24 # Use is subject to license terms. |
24 # Use is subject to license terms. |
25 # |
25 # |
26 #ident "%Z%%M% %I% %E% SMI" |
26 # ident "%Z%%M% %I% %E% SMI" |
|
27 # |
|
28 |
27 # |
29 # |
28 # This makefile drives the production of unix (and unix.o). |
30 # This makefile drives the production of unix (and unix.o). |
29 # |
31 # |
30 # sun4u starcat implementation architecture dependent |
32 # sun4u starcat implementation architecture dependent |
31 # |
33 # |
167 # CPU_OBJ now comprises of 2 object files which come from sun4 common |
169 # CPU_OBJ now comprises of 2 object files which come from sun4 common |
168 # and from architecture dependent code. OBJS_DIR is prepended where |
170 # and from architecture dependent code. OBJS_DIR is prepended where |
169 # CPU_DIR is defined to allow for building multiple CPU_OBJ's |
171 # CPU_DIR is defined to allow for building multiple CPU_OBJ's |
170 # |
172 # |
171 $(CPULIB): $(CPU_OBJ) |
173 $(CPULIB): $(CPU_OBJ) |
172 $(LD) -o $@ -G -h 'cpu/$$CPU' $(CPU_OBJ) |
174 $(BUILD.SO) $(CPU_OBJ) |
173 |
175 |
174 # |
176 # |
175 # The global lint target builds the kernel lint library (llib-lunix.ln) |
177 # The global lint target builds the kernel lint library (llib-lunix.ln) |
176 # which is equivalent to a lint of /unix.o. Then all kernel modules for |
178 # which is equivalent to a lint of /unix.o. Then all kernel modules for |
177 # this architecture are linted against the kernel lint library. |
179 # this architecture are linted against the kernel lint library. |