xref: /titanic_41/usr/src/uts/intel/Makefile.files (revision 4e968bc268231e8ec239c56e97b85a0969b6ff62)
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	arch_kdi.o	\
40	copy.o		\
41	copy_subr.o	\
42	cpc_subr.o	\
43	ddi_arch.o	\
44	ddi_i86.o	\
45	ddi_i86_asm.o	\
46	desctbls.o	\
47	desctbls_asm.o	\
48	exception.o	\
49	float.o		\
50	fpu.o		\
51	i86_subr.o	\
52	lwp_private.o	\
53	lock_prim.o	\
54	ovbcopy.o	\
55	polled_io.o	\
56	sseblk.o	\
57	sundep.o	\
58	swtch.o		\
59	sysi86.o
60
61#
62# 64-bit multiply/divide compiler helper routines
63# used only for ia32
64#
65
66SPECIAL_OBJS_32 +=	\
67	muldiv.o
68
69#
70#	Generic-unix Module
71#
72GENUNIX_OBJS +=		\
73	archdep.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#	Decompression code
114#
115CORE_OBJS += decompress.o adler32.o infblock.o infcodes.o inffast.o \
116		inflate.o inftrees.o infutil.o zutil.o zmod.o
117
118#
119#	Driver modules
120#
121AGPGART_OBJS +=	agpgart.o agp_kstat.o
122AGPTARGET_OBJS += agptarget.o
123AMD64GART_OBJS += amd64_gart.o
124ATA_OBJS += $(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \
125	ata_dma.o atapi.o atapi_fsm.o ata_debug.o \
126	sil3xxx.o
127CMDK_OBJS += cmdk.o
128CMLB_OBJS += cmlb.o
129DADK_OBJS += dadk.o
130DNET_OBJS += dnet.o mii.o
131FD_OBJS += fd.o
132GDA_OBJS += gda.o
133GHD_OBJS += ghd.o ghd_debug.o ghd_dma.o ghd_queue.o ghd_scsa.o \
134	ghd_scsi.o ghd_timer.o ghd_waitq.o ghd_gcmd.o
135I915_OBJS += i915_sundrv.o i915_dma.o i915_drv.o i915_irq.o i915_mem.o
136LOGI_OBJS += logi.o
137MSMOUSE_OBJS += msm.o
138MSCSI_OBJS += mscsi.o
139PCICFG_OBJS += pcicfg.o
140PCI_E_PCINEXUS_OBJS += pcie_pci.o
141PCI_PCINEXUS_OBJS += pci_pci.o
142PCIEHPCNEXUS_OBJS += pciehpc_x86.o pciehpc_acpi.o pciehpc_nvidia.o
143PCN_OBJS += mii.o
144POWER_OBJS += power.o
145PCI_AUTOCONFIG_OBJS += pci_autoconfig.o pci_boot.o pcie_nvidia.o \
146			pci_memlist.o pci_resource.o
147SD_OBJS += sd.o sd_xbuf.o
148STRATEGY_OBJS += strategy.o
149VGATEXT_OBJS += vgatext.o vgasubr.o
150
151#
152#	Kernel linker
153#
154KRTLD_OBJS +=		\
155	bootrd.o	\
156	ufsops.o	\
157	hsfs.o		\
158	doreloc.o	\
159	kobj_boot.o	\
160	kobj_convrelstr.o \
161	kobj_crt.o	\
162	kobj_isa.o	\
163	kobj_reloc.o
164
165#
166#	misc. modules
167#
168ACPICA_OBJS	+= dbcmds.o dbdisply.o \
169		   dbexec.o dbfileio.o dbhistry.o dbinput.o dbstats.o \
170		   dbutils.o dbxface.o evevent.o evgpe.o evgpeblk.o \
171		   evmisc.o evregion.o evrgnini.o evsci.o evxface.o \
172		   evxfevnt.o evxfregn.o hwacpi.o hwgpe.o hwregs.o \
173		   hwsleep.o hwtimer.o dsfield.o dsinit.o dsmethod.o \
174		   dsmthdat.o dsobject.o dsopcode.o dsutils.o dswexec.o \
175		   dswload.o dswscope.o dswstate.o exconfig.o exconvrt.o \
176		   excreate.o exdump.o exfield.o exfldio.o exmisc.o \
177		   exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o \
178		   exoparg6.o exprep.o exregion.o exresnte.o exresolv.o \
179		   exresop.o exstore.o exstoren.o exstorob.o exsystem.o \
180		   exutils.o psargs.o psopcode.o psparse.o psscope.o \
181		   pstree.o psutils.o pswalk.o psxface.o nsaccess.o \
182		   nsalloc.o nsdump.o nsdumpdv.o nseval.o nsinit.o \
183		   nsload.o nsnames.o nsobject.o nsparse.o nssearch.o \
184		   nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o \
185		   rsaddr.o rscalc.o rscreate.o rsdump.o \
186		   rsinfo.o rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \
187		   rsutils.o rsxface.o tbconvrt.o tbget.o tbgetall.o \
188		   tbinstal.o tbrsdt.o tbutils.o tbxface.o tbxfroot.o \
189		   utalloc.o utclib.o utcopy.o utdebug.o utdelete.o \
190		   uteval.o utglobal.o utinit.o utmath.o utmisc.o \
191		   utobject.o utresrc.o utxface.o acpica.o acpi_enum.o \
192		   master_ops.o osl.o osl_ml.o acpica_ec.o utcache.o \
193		   utmutex.o utstate.o dmbuffer.o dmnames.o dmobject.o \
194		   dmopcode.o dmresrc.o dmresrcl.o dmresrcs.o dmutils.o \
195		   dmwalk.o psloop.o uttrack.o
196
197ACPI_INTP_OBJS += acpi_inf.o acpi_mod.o  acpi_ml.o \
198	acpi_decl.o acpi_exe.o acpi_gram.o acpi_io.o acpi_lex.o \
199	acpi_name.o acpi_ns.o acpi_op1.o acpi_op2.o acpi_rule.o \
200	acpi_tab.o acpi_thr.o acpi_val.o \
201	acpi_exc.o acpi_bst.o acpi_node.o acpi_stk.o acpi_par.o
202
203AGP_OBJS += agpmaster.o
204FBT_OBJS += fbt.o
205SDT_OBJS += sdt.o
206
207#
208#	Pentium Performance Counter BackEnd module
209#
210P123_PCBE_OBJS = p123_pcbe.o
211
212#
213#	Pentium 4 Performance Counter BackEnd module
214#
215P4_PCBE_OBJS = p4_pcbe.o
216
217#
218#	AMD Opteron/Athlon64 Performance Counter BackEnd module
219#
220OPTERON_PCBE_OBJS = opteron_pcbe.o
221
222#
223#	AAC module
224#
225AAC_OBJS = aac.o aac_ioctl.o
226
227#
228#	AMR module
229#
230AMR_OBJS = amr.o
231
232#
233#	Brand modules
234#
235SN1_BRAND_OBJS	=	sn1_brand.o sn1_brand_asm.o
236
237LX_BRAND_OBJS  =		\
238	lx_brand.o		\
239	lx_brand_asm.o		\
240	lx_brk.o		\
241	lx_clone.o		\
242	lx_futex.o		\
243	lx_getpid.o		\
244	lx_id.o			\
245	lx_kill.o		\
246	lx_misc.o		\
247	lx_modify_ldt.o		\
248	lx_pid.o		\
249	lx_sched.o		\
250	lx_signum.o		\
251	lx_syscall.o		\
252	lx_sysinfo.o		\
253	lx_thread_area.o
254
255#
256#	special files
257#
258MODSTUB_OBJ +=	 	\
259	modstubs.o
260
261BOOTDEV_OBJS +=		\
262	bootdev.o
263
264INC_PATH	+= -I$(UTSBASE)/intel
265