xref: /titanic_51/usr/src/uts/sun4/Makefile.files (revision 37714ae43602c675f9dc59b070bfdf9fa702872c)
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#
23# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26#	This Makefile defines all file modules for the directory uts/sun4
27#	and it's children. These are the source files which are common
28#	between sun4u and sun4r.
29#
30
31#
32#	object lists
33#
34CORE_OBJS +=	bcmp.o
35CORE_OBJS +=	bus_func.o
36CORE_OBJS +=	cbe.o
37CORE_OBJS +=	confunix.o
38CORE_OBJS +=	copy.o
39CORE_OBJS +=	cpupm_mach.o
40CORE_OBJS +=	cpu_states.o
41CORE_OBJS +=	ddi_impl.o
42CORE_OBJS +=	dmv.o
43CORE_OBJS +=	dtrace_subr.o
44CORE_OBJS +=	dvma.o
45CORE_OBJS +=	genalign.o
46CORE_OBJS +=	intr.o
47CORE_OBJS +=	iommutsb.o
48CORE_OBJS +=	ivintr.o
49CORE_OBJS +=	ip_ocsum.o
50CORE_OBJS +=	lgrpplat.o
51CORE_OBJS +=	mach_sysconfig.o
52CORE_OBJS +=	machdep.o
53CORE_OBJS +=	mem_config_arch.o
54CORE_OBJS +=	memlist.o
55CORE_OBJS +=	memnode.o
56CORE_OBJS +=	mlsetup.o
57CORE_OBJS +=	mp_call.o
58CORE_OBJS +=	mp_startup.o
59CORE_OBJS +=	mp_states.o
60CORE_OBJS +=	proc_init.o
61CORE_OBJS +=	prom_subr.o
62CORE_OBJS +=	sfmmu.o
63CORE_OBJS +=	startup.o
64CORE_OBJS +=	subr_asm.o
65CORE_OBJS +=	trap.o
66CORE_OBJS +=	vm_dep.o
67CORE_OBJS +=	x_call.o
68CORE_OBJS +=	xc.o
69
70#
71#			driver modules
72#
73ROOTNEX_OBJS	+= rootnex.o
74PX_OBJS		+= px.o px_debug.o px_devctl.o px_dma.o \
75		   px_fdvma.o px_fm.o px_ib.o px_intr.o px_mmu.o px_msi.o \
76		   px_msiq.o px_pec.o px_space.o px_tools.o px_util.o \
77		   pcie_pwr.o
78FPC_OBJS        += fpc.o fpc-impl.o fpc-kstats.o
79VIS_OBJS	+= visinstr.o
80TOD_OBJS	+= tod.o
81EBUS_OBJS	+= ebus.o
82SU_OBJS		+= su_driver.o
83
84#
85#			Misc modules
86#
87CONSCONFIG_SUN4_OBJS  += consconfig.o consplat.o consconfig_util.o
88CONSCONFIG_DACF_OBJS  +=  consconfig_dacf.o
89
90#
91#			cpu modules
92#
93CPU_OBJ		+= $(OBJS_DIR)/cpu_module.o
94
95INC_PATH	+= -I$(UTSBASE)/sun4
96
97#
98# Since assym.h is a derived file, the dependency must be explicit for
99# all files including this file. (This is only actually required in the
100# instance when the .make.state file does not exist.) It may seem that
101# the lint targets should also have a similar dependency, but they don't
102# since only C headers are included when #defined(lint) is true.
103#
104ASSYM_DEPS	+= genalign.o copy.o ip_ocsum.o
105ASSYM_DEPS	+= common_asm.o
106ASSYM_DEPS	+= proc_init.o subr.o xc.o
107