xref: /titanic_50/usr/src/uts/sun4/Makefile.files (revision 4f85d229295a756a4e6f1759b47df7b97412db7d)
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 \
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
80VIS_OBJS	+= visinstr.o
81TOD_OBJS	+= tod.o
82FCODE_OBJS	+= fcode.o
83FCODEM_OBJS	+= fc_ddi.o fc_physio.o fc_ops.o fc_subr.o
84FCPCI_OBJS	+= fcpci.o
85EBUS_OBJS	+= ebus.o
86SU_OBJS		+= su_driver.o
87
88#
89#			Misc modules
90#
91CONSCONFIG_SUN4_OBJS  += consconfig.o consplat.o consconfig_util.o
92CONSCONFIG_DACF_OBJS  +=  consconfig_dacf.o
93
94#
95#			cpu modules
96#
97CPU_OBJ		+= $(OBJS_DIR)/cpu_module.o
98
99INC_PATH	+= -I$(UTSBASE)/sun4
100
101#
102# Since assym.h is a derived file, the dependency must be explicit for
103# all files including this file. (This is only actually required in the
104# instance when the .make.state file does not exist.) It may seem that
105# the lint targets should also have a similar dependency, but they don't
106# since only C headers are included when #defined(lint) is true.
107#
108ASSYM_DEPS	+= genalign.o copy.o ip_ocsum.o
109ASSYM_DEPS	+= mach_float.o common_asm.o
110ASSYM_DEPS	+= proc_init.o subr.o xc.o
111