xref: /titanic_41/usr/src/uts/sun4/Makefile.files (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
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 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_cb.o px_debug.o px_devctl.o px_dma.o px_fault.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_util.o pcie_pwr.o
79VIS_OBJS	+= visinstr.o
80TOD_OBJS	+= tod.o
81FCODE_OBJS	+= fcode.o
82FCODEM_OBJS	+= fc_ddi.o fc_physio.o fc_ops.o fc_subr.o
83FCPCI_OBJS	+= fcpci.o
84EBUS_OBJS	+= ebus.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	+= mach_float.o common_asm.o
108ASSYM_DEPS	+= proc_init.o subr.o xc.o
109