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