xref: /illumos-gate/usr/src/uts/intel/Makefile.files (revision 0dee7919e2f2a6479d16b370af93747b9416b242)
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# uts/intel/Makefile.files
24#
25# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
26# Use is subject to license terms.
27#
28# ident	"%Z%%M%	%I%	%E% SMI"
29#
30#	This Makefile defines all file modules and build rules for the
31# directory uts/intel and it's children. These are the source files which
32# are specific to x86 processor architectures.
33#
34
35#
36#	Core (unix) objects
37#
38CORE_OBJS +=		\
39	copy.o		\
40	copy_subr.o	\
41	cpc_subr.o	\
42	ddi_arch.o	\
43	ddi_i86.o	\
44	ddi_i86_asm.o	\
45	desctbls.o	\
46	desctbls_asm.o	\
47	exception.o	\
48	float.o		\
49	fpu.o		\
50	i86_subr.o	\
51	lwp_private.o	\
52	lock_prim.o	\
53	ovbcopy.o	\
54	polled_io.o	\
55	sseblk.o	\
56	sundep.o	\
57	swtch.o		\
58	sysi86.o
59
60#
61# 64-bit multiply/divide compiler helper routines
62# used only for ia32
63#
64
65SPECIAL_OBJS_32 +=	\
66	muldiv.o
67
68#
69#	Generic-unix Module
70#
71GENUNIX_OBJS +=		\
72	archdep.o	\
73	arch_kdi.o	\
74	getcontext.o	\
75	install_utrap.o	\
76	prom_enter.o	\
77	prom_exit.o	\
78	prom_panic.o	\
79	sendsig.o	\
80	syscall.o
81
82
83#
84#	PROM Routines
85#
86GENUNIX_OBJS +=		\
87	prom_env.o	\
88	prom_emul.o	\
89	prom_getchar.o	\
90	prom_init.o	\
91	prom_node.o	\
92	prom_printf.o	\
93	prom_prop.o	\
94	prom_putchar.o	\
95	prom_reboot.o	\
96	prom_version.o
97
98#
99#	file system modules
100#
101CORE_OBJS +=		\
102	prmachdep.o
103
104XMEMFS_OBJS +=		\
105	seg_xmem.o	\
106	xmem_dir.o	\
107	xmem_subr.o	\
108	xmem_vfsops.o	\
109	xmem_vnops.o
110
111#
112#	Driver modules
113#
114SD_OBJS += sd.o sd_xbuf.o
115
116VGATEXT_OBJS += vgatext.o vgasubr.o
117
118#
119#	misc. modules
120#
121KRTLD_BOOT_OBJS +=	\
122	kobj_boot.o
123
124KRTLD_OBJS +=		\
125	bootrd.o	\
126	ufsops.o	\
127	hsfs.o		\
128	doreloc.o	\
129	kobj_convrelstr.o \
130	kobj_crt.o	\
131	kobj_isa.o	\
132	kobj_reloc.o
133
134#
135#	misc. modules
136#
137ACPI_INTP_OBJS += acpi_inf.o acpi_mod.o  acpi_ml.o \
138	acpi_decl.o acpi_exe.o acpi_gram.o acpi_io.o acpi_lex.o \
139	acpi_name.o acpi_ns.o acpi_op1.o acpi_op2.o acpi_rule.o \
140	acpi_tab.o acpi_thr.o acpi_val.o \
141	acpi_exc.o acpi_bst.o acpi_node.o acpi_stk.o acpi_par.o
142
143FBT_OBJS += fbt.o
144SDT_OBJS += sdt.o
145
146#
147#	adpu320 module
148#
149ADPU320_OBJS  = adpu320.o hwminit.o hwmhrst.o hwmtask.o \
150                hwmutil.o hwmptcl.o hwmintr.o hwmdlvr.o \
151                hwmse2.o hwmdiag.o rsminit.o rsmtask.o \
152                rsmutil.o xlminit.o xlmtask.o xlmutil.o
153
154#
155#	Pentium Performance Counter BackEnd module
156#
157P123_PCBE_OBJS = p123_pcbe.o
158
159#
160#	Pentium 4 Performance Counter BackEnd module
161#
162P4_PCBE_OBJS = p4_pcbe.o
163
164#
165#	AMD Opteron/Athlon64 Performance Counter BackEnd module
166#
167OPTERON_PCBE_OBJS = opteron_pcbe.o
168
169#
170#	AAC module
171#
172AAC_OBJS = aac.o
173
174#
175#	AMR module
176#
177AMR_OBJS = amr.o
178
179#
180#	LSIMEGA module
181#
182LSIMEGA_OBJS = lsimega.o
183
184#
185#	special files
186#
187MODSTUB_OBJ +=	 	\
188	modstubs.o
189
190BOOTDEV_OBJS +=		\
191	bootdev.o
192
193INC_PATH	+= -I$(UTSBASE)/intel
194