Print this page
4266 remove Makefile*.shared nonsense in uts
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/sun4u/mpxu/Makefile.mpxu
+++ new/usr/src/uts/sun4u/mpxu/Makefile.mpxu
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 -# Common Development and Distribution License, Version 1.0 only
6 -# (the "License"). You may not use this file except in compliance
7 -# with the License.
5 +# Common Development and Distribution License (the "License").
6 +# You may not use this file except in compliance with the License.
8 7 #
9 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 9 # or http://www.opensolaris.org/os/licensing.
11 10 # See the License for the specific language governing permissions
12 11 # and limitations under the License.
13 12 #
14 13 # When distributing Covered Code, include this CDDL HEADER in each
15 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 15 # If applicable, add the following below this CDDL HEADER, with the
17 16 # fields enclosed by brackets "[]" replaced with your own identifying
18 17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 18 #
20 19 # CDDL HEADER END
21 20 #
22 -# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
23 -# Use is subject to license terms.
24 21 #
25 -# ident "%Z%%M% %I% %E% SMI"
22 +# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
26 23 #
27 24
28 -UTSTREE=$(UTSBASE)
25 +#
26 +# Global definitions for sun4u implementation specific modules.
27 +#
28 +
29 +#
30 +# Define the name of this implementation.
31 +#
32 +
33 +#
34 +# Define directories.
35 +#
36 +ROOT_MPXU_DIR = $(ROOT_PLAT_DIR)/SUNW,Sun-Fire-V240
37 +ROOT_MPXU_MOD_DIR = $(ROOT_MPXU_DIR)/kernel
38 +
39 +ROOT_MPXU_DRV_DIR_32 = $(ROOT_MPXU_MOD_DIR)/drv
40 +ROOT_MPXU_DRV_DIR_64 = $(ROOT_MPXU_MOD_DIR)/drv/$(SUBDIR64)
41 +ROOT_MPXU_DRV_DIR = $(ROOT_MPXU_DRV_DIR_$(CLASS))
42 +
43 +ROOT_MPXU_MISC_DIR_32 = $(ROOT_MPXU_MOD_DIR)/misc
44 +ROOT_MPXU_MISC_DIR_64 = $(ROOT_MPXU_MOD_DIR)/misc/$(SUBDIR64)
45 +ROOT_MPXU_MISC_DIR = $(ROOT_MPXU_MISC_DIR_$(CLASS))
46 +
47 +ROOT_MPXU_CRYPTO_DIR_32 = $(ROOT_MPXU_MOD_DIR)/crypto
48 +ROOT_MPXU_CRYPTO_DIR_64 = $(ROOT_MPXU_MOD_DIR)/crypto/$(SUBDIR64)
49 +ROOT_MPXU_CRYPTO_DIR = $(ROOT_MPXU_CRYPTO_DIR_$(CLASS))
50 +
51 +USR_MPXU_DIR = $(USR_PLAT_DIR)/SUNW,Sun-Fire-V240
52 +USR_MPXU_INC_DIR = $(USR_MPXU_DIR)/include
53 +USR_MPXU_ISYS_DIR = $(USR_MPXU_INC_DIR)/sys
54 +USR_MPXU_SBIN_DIR = $(USR_MPXU_DIR)/sbin
55 +USR_MPXU_SBIN_PRTDIAG = $(USR_MPXU_SBIN_DIR)/prtdiag
56 +USR_MPXU_SBIN_FRUADM = $(USR_MPXU_SBIN_DIR)/fruadm
57 +USR_MPXU_LIB_DIR = $(USR_MPXU_DIR)/lib
58 +
59 +MPXU_LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/mpxu/lint-libs/$(OBJS_DIR)
60 +
61 +#
62 +# Links to UltraSparc III crypto modules
63 +#
64 +MPXU_CRYPTO_LINKS = aes
65 +
66 +#
67 +# Include the makefiles which define build rule templates, the
68 +# collection of files per module, and a few specific flags. Note
69 +# that order is significant, just as with an include path. The
70 +# first build rule template which matches the files name will be
71 +# used. By including these in order from most machine dependent
72 +# to most machine independent, we allow a machine dependent file
73 +# to be used in preference over a machine independent version
74 +# (Such as a machine specific optimization, which preserves the
75 +# interfaces.)
76 +#
77 +
78 +include $(UTSBASE)/sun4u/mpxu/Makefile.files
79 +#
80 +# Include common rules.
81 +#
82 +
83 +include $(UTSBASE)/sun4u/Makefile.sun4u
84 +
85 +#
86 +# Define modules (must come after Makefile.sun4u).
87 +#
88 +MPXU_KMODS = tsalarm
89 +
90 +MODSTUBS_DIR = $(UNIX_DIR)
91 +LINTS_DIR = $(OBJS_DIR)
92 +LINT_LIB_DIR = $(UTSBASE)/$(PLATFORM)/mpxu/lint-libs/$(OBJS_DIR)
29 93
30 -include $(UTSBASE)/sun4u/mpxu/Makefile.mpxu.shared
94 +#
95 +# Define the actual specific platforms
96 +#
97 +MACHINE_DEFS = -D$(PLATFORM) -D_MACHDEP -DSFMMU -DMP
98 +
99 +#
100 +# Define platform specific values
101 +#
102 +#MACHINE_DEFS += -DNCPU=554
103 +#MACHINE_DEFS += -DMAX_UPA=1024
104 +#MACHINE_DEFS += -DIGN_SIZE=10
105 +# Max IOSRAM TOC major version number supported
106 +#MACHINE_DEFS += -DMAX_IOSRAM_TOC_VER=0x1
107 +
108 +# Define for inline pre-processing since
109 +# cpp not smart about v9 yet.
110 +#
111 +CPP_DEFS_32 =
112 +CPP_DEFS_64 = -D__sparcv9
113 +CPP_DEFS = $(CPP_DEFS_$(CLASS))
114 +
115 +#
116 +# For now, disable these lint checks; maintainers should endeavor
117 +# to investigate and remove these for maximum lint coverage.
118 +# Please do not carry these forward to new Makefiles.
119 +#
120 +LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
121 +LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
122 +LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
123 +LINTTAGS += -erroff=E_STATIC_UNUSED
124 +LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
125 +LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX