4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
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.
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]
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 # This Makefile defines all file modules and build rules for the
26 # directory uts/sparc and it's children. These are the source files which
27 # are specific to the sparc processor.
34 CORE_OBJS += ddi_arch.o \
41 GENUNIX_OBJS += addsub.o \
57 # Driver (pseudo-driver) Modules
65 CPR_SPARC_OBJS += cpr_sparc.o
66 PCI_PCI_OBJS += pci_pci.o pci_debug.o pci_pwr.o pcix.o
67 PCIE_MISC_OBJS += pcie_sparc.o
68 PCIEB_OBJS += pcieb_sparc.o
70 NSKERN_OBJS += nsc_asm.o
75 # XXX - currently a bug?...
77 CORE_OBJS += prmachdep.o
79 # ZFS file system module
92 SWAPGENERIC_OBJS += swapgeneric.o
93 PCICFG_OBJS += pcicfg.o
95 FCODEM_OBJS += fc_ddi.o fc_physio.o fc_ops.o fc_subr.o
100 MODSTUB_OBJ = modstubs.o
103 # SPARC DTrace Providers
109 # Build up paths and defines.
112 INC_PATH += -I$(UTSBASE)/sparc
113 INC_PATH += -I$(UTSBASE)/sparc/krtld
116 # Since assym.h is a derived file, the dependency must be explicit for
117 # all files including this file. (This is only actually required in the
118 # instance when the .nse_depinfo file does not exist.) It may seem that
119 # the lint targets should also have a similar dependency, but they don't
120 # since only C headers are included when #defined(lint) is true.
122 ASSYM_DEPS += sparc_ddi.o
125 # Inlined assembler routines.
127 INLINES += $(UTSBASE)/sparc/ml/sparc.il