xref: /illumos-gate/usr/src/uts/intel/Makefile.files (revision 4fceebdf03eeac0d7c58a4f70cc19b00a8c40a73)
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# uts/intel/Makefile.files
24#
25# Copyright 2007 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 its 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
104LX_PROC_OBJS +=	\
105	lx_prsubr.o	\
106	lx_prvfsops.o	\
107	lx_prvnops.o
108
109LX_AUTOFS_OBJS +=	\
110	lx_autofs.o
111
112#
113#	Driver modules
114#
115CMDK_OBJS +=	cmdk.o
116
117CMLB_OBJS += cmlb.o
118
119DADK_OBJS +=	dadk.o
120
121GDA_OBJS +=	gda.o
122
123SD_OBJS += sd.o sd_xbuf.o
124
125STRATEGY_OBJS += strategy.o
126
127VGATEXT_OBJS += vgatext.o vgasubr.o
128
129#
130#	misc. modules
131#
132KRTLD_BOOT_OBJS +=	\
133	kobj_boot.o
134
135KRTLD_OBJS +=		\
136	bootrd.o	\
137	ufsops.o	\
138	hsfs.o		\
139	doreloc.o	\
140	kobj_convrelstr.o \
141	kobj_crt.o	\
142	kobj_isa.o	\
143	kobj_reloc.o
144
145#
146#	misc. modules
147#
148ACPI_INTP_OBJS += acpi_inf.o acpi_mod.o  acpi_ml.o \
149	acpi_decl.o acpi_exe.o acpi_gram.o acpi_io.o acpi_lex.o \
150	acpi_name.o acpi_ns.o acpi_op1.o acpi_op2.o acpi_rule.o \
151	acpi_tab.o acpi_thr.o acpi_val.o \
152	acpi_exc.o acpi_bst.o acpi_node.o acpi_stk.o acpi_par.o
153
154FBT_OBJS += fbt.o
155SDT_OBJS += sdt.o
156
157#
158#	Pentium Performance Counter BackEnd module
159#
160P123_PCBE_OBJS = p123_pcbe.o
161
162#
163#	Pentium 4 Performance Counter BackEnd module
164#
165P4_PCBE_OBJS = p4_pcbe.o
166
167#
168#	AMD Opteron/Athlon64 Performance Counter BackEnd module
169#
170OPTERON_PCBE_OBJS = opteron_pcbe.o
171
172#
173#	AAC module
174#
175AAC_OBJS = aac.o aac_ioctl.o
176
177#
178#	AMR module
179#
180AMR_OBJS = amr.o
181
182#
183#	Brand modules
184#
185SN1_BRAND_OBJS	=	sn1_brand.o sn1_brand_asm.o
186
187LX_BRAND_OBJS  =		\
188	lx_brand.o		\
189	lx_brand_asm.o		\
190	lx_brk.o		\
191	lx_clone.o		\
192	lx_futex.o		\
193	lx_getpid.o		\
194	lx_id.o			\
195	lx_kill.o		\
196	lx_misc.o		\
197	lx_modify_ldt.o		\
198	lx_pid.o		\
199	lx_sched.o		\
200	lx_signum.o		\
201	lx_syscall.o		\
202	lx_sysinfo.o		\
203	lx_thread_area.o
204
205#
206#	special files
207#
208MODSTUB_OBJ +=	 	\
209	modstubs.o
210
211BOOTDEV_OBJS +=		\
212	bootdev.o
213
214INC_PATH	+= -I$(UTSBASE)/intel
215