5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 #ident "%Z%%M% %I% %E% SMI"
26
27 #
28 # Global definitions for sun4u implementation specific modules.
29 #
30
31 #
32 # Define the name of this implementation.
33 #
34
35 #
36 # Define directories.
37 #
38 ROOT_SERENGETI_DIR = $(ROOT_PLAT_DIR)/SUNW,Sun-Fire
39 ROOT_SERENGETI_MOD_DIR = $(ROOT_SERENGETI_DIR)/kernel
40
41 ROOT_SERENGETI_KERN_DIR_32 = $(ROOT_SERENGETI_MOD_DIR)
42 ROOT_SERENGETI_KERN_DIR_64 = $(ROOT_SERENGETI_MOD_DIR)/$(SUBDIR64)
43 ROOT_SERENGETI_KERN_DIR = $(ROOT_SERENGETI_KERN_DIR_$(CLASS))
44
45 ROOT_SERENGETI_CPU_DIR_32 = $(ROOT_SERENGETI_MOD_DIR)/cpu
69
70 SERENGETI_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/lint-libs/$(OBJS_DIR)
71
72 #
73 # Include the makefiles which define build rule templates, the
74 # collection of files per module, and a few specific flags. Note
75 # that order is significant, just as with an include path. The
76 # first build rule template which matches the files name will be
77 # used. By including these in order from most machine dependent
78 # to most machine independent, we allow a machine dependent file
79 # to be used in preference over a machine independent version
80 # (Such as a machine specific optimization, which preserves the
81 # interfaces.)
82 #
83
84 #
85 # Links to UltraSparc III crypto modules
86 #
87 SERENGETI_CRYPTO_LINKS += aes
88
89 include $(UTSTREE)/sun4u/serengeti/Makefile.files
90 #
91 # Include common rules.
92 #
93
94 include $(UTSTREE)/sun4u/Makefile.sun4u
95
96 #
97 # Define modules
98 #
99 SERENGETI_KMODS = cheetah cheetahplus
100 SERENGETI_KMODS += platmod sbdp sgcn sghsc sgsbbc ssm
101
102 #
103 # Everybody needs to know how to build modstubs.o and to locate unix.o
104 #
105 UNIX_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/unix
106 MODSTUBS_DIR = $(UNIX_DIR)
107 DSF_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/genassym
108 LINTS_DIR = $(OBJS_DIR)
109 LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/lint-libs/$(OBJS_DIR)
110
111 UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
112
113 LINT_LIB = $(LINT_LIB_DIR)/llib-lunix.ln
114
|
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25
26 #
27 # Global definitions for sun4u implementation specific modules.
28 #
29
30 #
31 # Define the name of this implementation.
32 #
33
34 #
35 # Define directories.
36 #
37 ROOT_SERENGETI_DIR = $(ROOT_PLAT_DIR)/SUNW,Sun-Fire
38 ROOT_SERENGETI_MOD_DIR = $(ROOT_SERENGETI_DIR)/kernel
39
40 ROOT_SERENGETI_KERN_DIR_32 = $(ROOT_SERENGETI_MOD_DIR)
41 ROOT_SERENGETI_KERN_DIR_64 = $(ROOT_SERENGETI_MOD_DIR)/$(SUBDIR64)
42 ROOT_SERENGETI_KERN_DIR = $(ROOT_SERENGETI_KERN_DIR_$(CLASS))
43
44 ROOT_SERENGETI_CPU_DIR_32 = $(ROOT_SERENGETI_MOD_DIR)/cpu
68
69 SERENGETI_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/lint-libs/$(OBJS_DIR)
70
71 #
72 # Include the makefiles which define build rule templates, the
73 # collection of files per module, and a few specific flags. Note
74 # that order is significant, just as with an include path. The
75 # first build rule template which matches the files name will be
76 # used. By including these in order from most machine dependent
77 # to most machine independent, we allow a machine dependent file
78 # to be used in preference over a machine independent version
79 # (Such as a machine specific optimization, which preserves the
80 # interfaces.)
81 #
82
83 #
84 # Links to UltraSparc III crypto modules
85 #
86 SERENGETI_CRYPTO_LINKS += aes
87
88 include $(UTSBASE)/sun4u/serengeti/Makefile.files
89 #
90 # Include common rules.
91 #
92
93 include $(UTSBASE)/sun4u/Makefile.sun4u
94
95 #
96 # Define modules
97 #
98 SERENGETI_KMODS = cheetah cheetahplus
99 SERENGETI_KMODS += platmod sbdp sgcn sghsc sgsbbc ssm
100
101 #
102 # Everybody needs to know how to build modstubs.o and to locate unix.o
103 #
104 UNIX_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/unix
105 MODSTUBS_DIR = $(UNIX_DIR)
106 DSF_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/genassym
107 LINTS_DIR = $(OBJS_DIR)
108 LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/serengeti/lint-libs/$(OBJS_DIR)
109
110 UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
111
112 LINT_LIB = $(LINT_LIB_DIR)/llib-lunix.ln
113
|