xref: /titanic_52/usr/src/uts/sparc/Makefile.files (revision b6c3f7863936abeae522e48a13887dddeb691a45)
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#
41#	generic-unix module
42#
43GENUNIX_OBJS +=	addsub.o	\
44		archdep.o	\
45		bitmap_arch.o	\
46		compare.o	\
47		div.o		\
48		fpu_simulator.o	\
49		getcontext.o	\
50		iu_simulator.o	\
51		mul.o		\
52		pack.o		\
53		sundep.o	\
54		syscall.o	\
55		unpack.o	\
56		utility.o
57
58#
59#			Driver (pseudo-driver) Modules
60#
61
62#
63#			Driver modules
64#
65FD_OBJS	+=	fd_asm.o
66
67CPR_SPARC_OBJS +=	cpr_sparc.o
68PCI_PCI_OBJS +=		pci_pci.o pci_debug.o pci_pwr.o pcix.o
69PX_PCI_OBJS +=		px_pci.o pcie_pwr.o
70FCODE_OBJS +=		fcode.o
71
72#
73#			file system modules
74#
75# XXX -	currently a bug?...
76#PROC_OBJS +=
77CORE_OBJS +=	prmachdep.o
78
79#
80#			misc modules
81#
82KRTLD_OBJS +=		\
83	doreloc.o 	\
84	kobj_convrelstr.o \
85	kobj_isa.o 	\
86	kobj_reloc.o
87
88SWAPGENERIC_OBJS += swapgeneric.o
89PCICFG_E_OBJS	+= pcicfg.e.o
90FCPCI_OBJS	+= fcpci.o
91FCODEM_OBJS	+= fc_ddi.o fc_physio.o fc_ops.o fc_subr.o
92
93#
94#			special files
95#
96MODSTUB_OBJ =	modstubs.o
97
98#
99#			SPARC DTrace Providers
100#
101FBT_OBJS	+= fbt.o
102SDT_OBJS	+= sdt.o
103
104#
105#	Build up paths and defines.
106#
107LINT_DEFS	+= -Dsparc
108INC_PATH	+= -I$(UTSBASE)/sparc
109INC_PATH	+= -I$(UTSBASE)/sparc/krtld
110
111#
112# Since assym.h is a derived file, the dependency must be explicit for
113# all files including this file. (This is only actually required in the
114# instance when the .nse_depinfo file does not exist.) It may seem that
115# the lint targets should also have a similar dependency, but they don't
116# since only C headers are included when #defined(lint) is true.
117#
118ASSYM_DEPS +=	sparc_ddi.o
119
120#
121# Inlined assembler routines.
122#
123INLINES		+= $(UTSBASE)/sparc/ml/sparc.il
124