xref: /titanic_51/usr/src/uts/sparc/Makefile.files (revision e97130129ddee9f8432c6fff2dac3c6765280066)
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 2007 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#ident	"%Z%%M%	%I%	%E% SMI"
26#
27#	This Makefile defines all file modules and build rules for the
28# directory uts/sparc and it's children. These are the source files which
29# are specific to the sparc processor.
30#
31
32#
33#	object lists
34#
35
36CORE_OBJS +=	ddi_arch.o	\
37		polled_io.o	\
38		sparc_ddi.o
39#
40#	decompression support
41#
42CORE_OBJS += adler32.o infblock.o infcodes.o inffast.o \
43		inflate.o inftrees.o infutil.o zutil.o zmod.o
44
45
46#
47#	generic-unix module
48#
49GENUNIX_OBJS +=	addsub.o	\
50		archdep.o	\
51		bitmap_arch.o	\
52		compare.o	\
53		div.o		\
54		fpu_simulator.o	\
55		getcontext.o	\
56		iu_simulator.o	\
57		mul.o		\
58		pack.o		\
59		sundep.o	\
60		syscall.o	\
61		unpack.o	\
62		utility.o
63
64#
65#			Driver (pseudo-driver) Modules
66#
67
68#
69#			Driver modules
70#
71FD_OBJS	+=	fd_asm.o
72
73CPR_SPARC_OBJS +=	cpr_sparc.o
74PCI_PCI_OBJS +=		pci_pci.o pci_debug.o pci_pwr.o pcix.o
75PX_PCI_OBJS +=		px_pci.o pcie_pwr.o
76FCODE_OBJS +=		fcode.o
77
78#
79#			file system modules
80#
81# XXX -	currently a bug?...
82#PROC_OBJS +=
83CORE_OBJS +=	prmachdep.o
84
85#
86#			misc modules
87#
88KRTLD_BOOT_OBJS +=	kobj_boot.o
89KRTLD_OBJS +=		\
90	bootops.o	\
91	doreloc.o 	\
92	kobj_alloc.o	\
93	kobj_convrelstr.o \
94	kobj_crt.o	\
95	kobj_isa.o 	\
96	kobj_reloc.o
97
98SWAPGENERIC_OBJS += swapgeneric.o
99PCICFG_E_OBJS	+= pcicfg.e.o
100FCPCI_OBJS	+= fcpci.o
101FCODEM_OBJS	+= fc_ddi.o fc_physio.o fc_ops.o fc_subr.o
102
103#
104#			special files
105#
106MODSTUB_OBJ =	modstubs.o
107
108#
109#			SPARC DTrace Providers
110#
111FBT_OBJS	+= fbt.o
112SDT_OBJS	+= sdt.o
113
114#
115#	Build up paths and defines.
116#
117LINT_DEFS	+= -Dsparc
118INC_PATH	+= -I$(UTSBASE)/sparc
119
120#
121# Since assym.h is a derived file, the dependency must be explicit for
122# all files including this file. (This is only actually required in the
123# instance when the .nse_depinfo file does not exist.) It may seem that
124# the lint targets should also have a similar dependency, but they don't
125# since only C headers are included when #defined(lint) is true.
126#
127ASSYM_DEPS +=	sparc_ddi.o
128
129#
130# Inlined assembler routines.
131#
132INLINES		+= $(UTSBASE)/sparc/ml/sparc.il
133