xref: /illumos-gate/usr/src/uts/sparc/Makefile.files (revision 564d5236)
1#
2# CDDL HEADER START
3#
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.
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 2009 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#	This Makefile defines all file modules and build rules for the
26# directory uts/sparc and its children. These are the source files which
27# are specific to the sparc processor.
28#
29
30#
31#	object lists
32#
33
34CORE_OBJS +=	ddi_arch.o	\
35		polled_io.o	\
36		sparc_ddi.o	\
37		multi3.o
38
39#
40#	generic-unix module
41#
42GENUNIX_OBJS +=	addsub.o	\
43		archdep.o	\
44		bitmap_arch.o	\
45		compare.o	\
46		div.o		\
47		fpu_simulator.o	\
48		getcontext.o	\
49		iu_simulator.o	\
50		mul.o		\
51		pack.o		\
52		sundep.o	\
53		syscall.o	\
54		unpack.o	\
55		utility.o
56
57#
58#			Driver (pseudo-driver) Modules
59#
60
61#
62#			Driver modules
63#
64FD_OBJS	+=	fd_asm.o
65
66CPR_SPARC_OBJS +=	cpr_sparc.o
67PCI_PCI_OBJS +=		pci_pci.o pci_debug.o pci_pwr.o pcix.o
68PCIE_MISC_OBJS +=	pcie_sparc.o
69PCIEB_OBJS +=		pcieb_sparc.o
70FCODE_OBJS +=		fcode.o
71NSKERN_OBJS +=		nsc_asm.o
72
73#
74#			file system modules
75#
76# XXX -	currently a bug?...
77#PROC_OBJS +=
78CORE_OBJS +=	prmachdep.o
79
80#			ZFS file system module
81ZFS_OBJS +=		\
82	spa_boot.o
83
84#
85#			misc modules
86#
87KRTLD_OBJS +=		\
88	doreloc.o	\
89	kobj_convrelstr.o \
90	kobj_isa.o	\
91	kobj_reloc.o
92
93SWAPGENERIC_OBJS += swapgeneric.o
94PCICFG_OBJS	+= pcicfg.o
95FCPCI_OBJS	+= fcpci.o
96FCODEM_OBJS	+= fc_ddi.o fc_physio.o fc_ops.o fc_subr.o
97
98#
99#			special files
100#
101MODSTUB_OBJ =	modstubs.o
102
103#
104#			SPARC DTrace Providers
105#
106FBT_OBJS	+= fbt.o
107SDT_OBJS	+= sdt.o
108
109#
110#	Build up paths and defines.
111#
112INC_PATH	+= -I$(UTSBASE)/sparc
113INC_PATH	+= -I$(UTSBASE)/sparc/krtld
114
115#
116# Since assym.h is a derived file, the dependency must be explicit for
117# all files including this file.
118#
119ASSYM_DEPS +=	sparc_ddi.o
120