xref: /titanic_41/usr/src/uts/i86pc/Makefile.files (revision fd9cb95cbb2f626355a60efb9d02c5f0a33c10e6)
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 in the directory uts/i86pc
29#	and it's children. These are the source files which i86pc
30#	"implementation architecture" dependent.
31#
32
33#
34#	object lists
35#
36CORE_OBJS +=			\
37	beeper.o		\
38	biosdisk.o		\
39	cbe.o			\
40	confunix.o		\
41	cpuid.o			\
42	dis_tables.o		\
43	ddi_impl.o		\
44	dtrace_subr.o		\
45	dvma.o			\
46	graphics.o		\
47	hat_i86.o		\
48	hat_kdi.o		\
49	hment.o			\
50	hrtimers.o		\
51	htable.o		\
52	instr_size.o		\
53	intr.o			\
54	lgrpplat.o		\
55	mach_i86mmu.o		\
56	mach_kdi.o		\
57	mach_sysconfig.o	\
58	machdep.o		\
59	mem_config_stubs.o	\
60	memnode.o		\
61	mlsetup.o		\
62	mp_call.o		\
63	mp_implfuncs.o		\
64	mp_machdep.o		\
65	mp_startup.o		\
66	memscrub.o		\
67	mpcore.o		\
68	notes.o			\
69	pci_cfgspace.o		\
70	pci_mech1.o		\
71	pci_mech2.o		\
72	pci_neptune.o		\
73	pci_orion.o		\
74	pmem.o			\
75	ppage.o			\
76	startup.o		\
77	timestamp.o		\
78	trap.o			\
79	vm_machdep.o		\
80	x_call.o
81
82#
83#	Add the SMBIOS subsystem object files directly to the list of objects
84#	built into unix itself; this is all common code except for smb_dev.c.
85#
86CORE_OBJS += $(SMBIOS_OBJS)
87
88#
89#	locore.o is special. It must be the first file relocated so that it
90#	it is relocated just where its name implies.
91#
92SPECIAL_OBJS_32 +=		\
93	locore.o		\
94	fast_trap_asm.o		\
95	interrupt.o		\
96	syscall_asm.o
97
98SPECIAL_OBJS_64 +=		\
99	locore.o		\
100	fast_trap_asm.o		\
101	interrupt.o		\
102	syscall_asm_amd64.o
103
104SPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS))
105
106#
107#			driver modules
108#
109ROOTNEX_OBJS += rootnex.o
110ISANEXUS_OBJS += isa.o dma_engine.o i8237A.o
111PCINEXUS_OBJS += pci.o pci_tools.o
112
113TCIC_OBJS +=	tcic.o
114
115ATA_OBJS +=	$(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \
116		ata_dma.o atapi.o atapi_fsm.o ata_debug.o \
117		sil3xxx.o
118
119CHS_OBJS	+= chs.o chs_busops.o chs_conf.o chs_dac.o	\
120		   chs_devops.o chs_hba.o chs_interrupt.o	\
121		   chs_intr.o chs_queue.o chs_raid.o		\
122		   chs_transport.o chs_viper.o chs_viperconf.o
123
124NCRS_OBJS	+= glm.o
125ELXL_OBJS	+= elxl.o elxl_cmn.o mii.o
126
127FD_OBJS		+= fd.o
128
129PCN_OBJS	+= mii.o
130SBPRO_OBJS	+= sbpro.o
131
132DNET_OBJS	+= dnet.o mii.o
133IPRB_OBJS	+= iprb.o mii.o
134BMC_OBJS	+= bmc_fe.o bmc_kcs.o
135LOGI_OBJS	+= logi.o
136MSCSI_OBJS	+= mscsi.o
137MSMOUSE_OBJS	+= msm.o
138PCPLUSMP_OBJS	+= apic.o psm_common.o apic_introp.o
139RTLS_OBJS	+= rtls.o
140SPWR_OBJS	+= spwr.o 9432.o lm9432.o lm9432cf.o
141AGPGART_OBJS	+=	agpgart.o \
142			agp_kstat.o
143AGPTARGET_OBJS	+=	agptarget.o
144AMD64GART_OBJS	+=	amd64_gart.o
145BSCV_OBJS	+= bscv.o
146BSCBUS_OBJS	+= bscbus.o
147
148#
149#	platform specific modules
150#
151UPPC_OBJS += uppc.o psm_common.o
152PCI_AUTOCONFIG_OBJS += \
153	pci_autoconfig.o \
154	pci_boot.o	\
155	pci_memlist.o	\
156	pci_resource.o
157
158ACPICA_OBJS	+= dbcmds.o dbdisply.o \
159		   dbexec.o dbfileio.o dbhistry.o dbinput.o dbstats.o \
160		   dbutils.o dbxface.o evevent.o evgpe.o evgpeblk.o \
161		   evmisc.o evregion.o evrgnini.o evsci.o evxface.o \
162		   evxfevnt.o evxfregn.o hwacpi.o hwgpe.o hwregs.o \
163		   hwsleep.o hwtimer.o dsfield.o dsinit.o dsmethod.o \
164		   dsmthdat.o dsobject.o dsopcode.o dsutils.o dswexec.o \
165		   dswload.o dswscope.o dswstate.o exconfig.o exconvrt.o \
166		   excreate.o exdump.o exfield.o exfldio.o exmisc.o \
167		   exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o \
168		   exoparg6.o exprep.o exregion.o exresnte.o exresolv.o \
169		   exresop.o exstore.o exstoren.o exstorob.o exsystem.o \
170		   exutils.o psargs.o psopcode.o psparse.o psscope.o \
171		   pstree.o psutils.o pswalk.o psxface.o nsaccess.o \
172		   nsalloc.o nsdump.o nsdumpdv.o nseval.o nsinit.o \
173		   nsload.o nsnames.o nsobject.o nsparse.o nssearch.o \
174		   nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o \
175		   rsaddr.o rscalc.o rscreate.o rsdump.o \
176		   rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \
177		   rsutils.o rsxface.o tbconvrt.o tbget.o tbgetall.o \
178		   tbinstal.o tbrsdt.o tbutils.o tbxface.o tbxfroot.o \
179		   utalloc.o utclib.o utcopy.o utdebug.o utdelete.o \
180		   uteval.o utglobal.o utinit.o utmath.o utmisc.o \
181		   utobject.o utxface.o acpica.o acpi_enum.o master_ops.o \
182		   osl.o osl_ml.o acpica_ec.o utcache.o utmutex.o utstate.o \
183		   psloop.o
184
185POWER_OBJS	+= power.o
186
187#
188#	Build up defines and paths.
189#
190ALL_DEFS	+= -Di86pc
191INC_PATH	+= -I$(UTSBASE)/i86pc
192
193#
194# Since assym.h is a derived file, the dependency must be explicit for
195# all files including this file. (This is only actually required in the
196# instance when the .nse_depinfo file does not exist.) It may seem that
197# the lint targets should also have a similar dependency, but they don't
198# since only C headers are included when #defined(__lint) is true.
199#
200ASSYM_DEPS      += 		\
201	copy.o			\
202	desctbls_asm.o		\
203	ddi_i86_asm.o		\
204	exception.o		\
205	fast_trap_asm.o		\
206	float.o			\
207	i86_subr.o		\
208	interrupt.o		\
209	lock_prim.o		\
210	locore.o		\
211	mpcore.o		\
212	sseblk.o		\
213	swtch.o			\
214	syscall_asm.o		\
215	syscall_asm_amd64.o
216