xref: /titanic_44/usr/src/uts/sparc/Makefile.files (revision 1a7c1b724419d3cb5fa6eea75123c6b2060ba31b)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26#ident	"%Z%%M%	%I%	%E% SMI"
27#
28#	This Makefile defines all file modules and build rules for the
29# directory uts/sparc and it's children. These are the source files which
30# are specific to the sparc processor.
31#
32
33#
34#	object lists
35#
36
37CORE_OBJS +=	ddi_arch.o	\
38		polled_io.o	\
39		sparc_ddi.o
40
41#
42#	generic-unix module
43#
44GENUNIX_OBJS +=	addsub.o	\
45		archdep.o	\
46		bitmap_arch.o	\
47		compare.o	\
48		div.o		\
49		fpu_simulator.o	\
50		getcontext.o	\
51		iu_simulator.o	\
52		mul.o		\
53		pack.o		\
54		sundep.o	\
55		syscall.o	\
56		unpack.o	\
57		utility.o
58
59#
60#			Driver (pseudo-driver) Modules
61#
62
63#
64#			Driver modules
65#
66FD_OBJS	+=	fd_asm.o
67
68CPR_SPARC_OBJS +=	cpr_sparc.o
69PCI_PCI_OBJS +=		pci_pci.o pci_debug.o pci_pwr.o pcix.o
70PX_PCI_OBJS +=		px_pci.o px_debug.o pcie_pwr.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_BOOT_OBJS +=	kobj_boot.o
83KRTLD_OBJS +=		\
84	bootops.o	\
85	doreloc.o 	\
86	kobj_alloc.o	\
87	kobj_convrelstr.o \
88	kobj_crt.o	\
89	kobj_isa.o 	\
90	kobj_reloc.o
91
92SWAPGENERIC_OBJS += swapgeneric.o
93
94#
95#			special files
96#
97MODSTUB_OBJ =	modstubs.o
98
99#
100#			SPARC DTrace Providers
101#
102FBT_OBJS	+= fbt.o
103SDT_OBJS	+= sdt.o
104
105#
106#	Build up paths and defines.
107#
108LINT_DEFS	+= -Dsparc
109INC_PATH	+= -I$(UTSBASE)/sparc
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