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