Makefile.files revision 6557:c6c4f66aed66
1168054Sflz#
2168054Sflz# CDDL HEADER START
3168266Sgabor#
4168266Sgabor# The contents of this file are subject to the terms of the
5168266Sgabor# Common Development and Distribution License (the "License").
6168266Sgabor# You may not use this file except in compliance with the License.
7168266Sgabor#
8168266Sgabor# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9168266Sgabor# or http://www.opensolaris.org/os/licensing.
10168266Sgabor# See the License for the specific language governing permissions
11168054Sflz# and limitations under the License.
12168054Sflz#
13168064Sflz# When distributing Covered Code, include this CDDL HEADER in each
14168064Sflz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15168064Sflz# If applicable, add the following below this CDDL HEADER, with the
16168064Sflz# fields enclosed by brackets "[]" replaced with your own identifying
17168064Sflz# information: Portions Copyright [yyyy] [name of copyright owner]
18168064Sflz#
19168064Sflz# CDDL HEADER END
20168064Sflz#
21168064Sflz
22168064Sflz#
23168064Sflz# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24168064Sflz# Use is subject to license terms.
25168064Sflz#
26168064Sflz# ident	"%Z%%M%	%I%	%E% SMI"
27168054Sflz#
28168054Sflz#	This Makefile defines all file modules for the directory uts/sun4u
29168064Sflz#	and it's children. These are the source files which are sun4u
30168054Sflz#	"implementation architecture" dependent.
31168064Sflz#
32171129Sobrien
33168939Stmclaugh#
34168131Sbmah#	object lists
35168113Smarcus#
36180225SmarcelCORE_OBJS +=	atomic.o
37168123SnetchildCORE_OBJS +=	bootops.o
38168939StmclaughCORE_OBJS +=	cmp.o
39168064SflzCORE_OBJS +=	cpc_hwreg.o
40168054SflzCORE_OBJS +=	cpc_subr.o
41168054SflzCORE_OBJS +=	mach_cpu_states.o
42168054SflzCORE_OBJS +=	mach_ddi_impl.o
43168054SflzCORE_OBJS +=	ecc.o
44168261SacheCORE_OBJS +=	fillsysinfo.o
45168077SflzCORE_OBJS +=	forthdebug.o
46168077SflzCORE_OBJS +=	hardclk.o
47168126SaleCORE_OBJS +=	hat_sfmmu.o
48168069SgargaCORE_OBJS +=	hat_kdi.o
49168472SnovelCORE_OBJS +=	mach_copy.o
50179877Samdmi3CORE_OBJS +=	mach_kpm.o
51168274SsemCORE_OBJS +=	mach_mp_startup.o
52169073SaraujoCORE_OBJS +=	mach_mp_states.o
53168667SstefanCORE_OBJS +=	mach_sfmmu.o
54209039SashishCORE_OBJS +=	mach_startup.o
55203044SavillaCORE_OBJS +=	mach_subr_asm.o
56193190SavlCORE_OBJS +=	mach_trap.o
57168274SsemCORE_OBJS +=	mach_vm_dep.o
58210573SbaptCORE_OBJS +=	mach_xc.o
59188692SbeatCORE_OBJS +=	mem_cage.o
60170471SbeechCORE_OBJS +=	mem_config.o
61168113SmarcusCORE_OBJS +=	memlist_new.o
62173254SbrixCORE_OBJS +=	memscrub.o
63168098SkrionCORE_OBJS +=	memscrub_asm.o
64168123SnetchildCORE_OBJS +=	ppage.o
65170601SchinsanCORE_OBJS +=	sfmmu_kdi.o
66168082SgargaCORE_OBJS +=	swtch.o
67168116SclsungCORE_OBJS +=	xhat_sfmmu.o
68168937Scperciva
69168177Sgabor#
70168354Sdanfe#	Some objects must be linked at the front of the image (or
71168072Sehaupt#	near other objects at the front of the image).
72206034Sdecke#
73168108SrafanSPECIAL_OBJS +=	trap_table.o
74168186SmatSPECIAL_OBJS +=	locore.o
75168210SitetcuSPECIAL_OBJS +=	mach_locore.o
76168068SerwinSPECIAL_OBJS +=	sfmmu_asm.o
77168072SehauptSPECIAL_OBJS +=	mach_sfmmu_asm.o
78168113SmarcusSPECIAL_OBJS +=	interrupt.o
79168059SgaborSPECIAL_OBJS +=	mach_interrupt.o
80168542SmiwiSPECIAL_OBJS +=	wbuf.o
81168098Skrion
82206495Sfluffy#
83168054Sflz#			driver modules
84168059Sgabor#
85176595SgahrROOTNEX_OBJS	+= mach_rootnex.o
86168054SflzUPA64S_OBJS	+= upa64s.o
87171129SobrienSYSIO_SBUS_OBJS	+= iommu.o sysioerr.o sysiosbus.o iocache.o
88172158SjkimPX_OBJS		+= px_asm_4u.o px_err.o px_hlib.o px_lib4u.o px_tools_4u.o
89172158SjkimPCI_COMMON_OBJS	+= pci.o pci_util.o pci_dma.o pci_devctl.o \
90168256Sijliao			pci_fdvma.o pci_iommu.o pci_sc.o pci_debug.o \
91168209Sitetcu			pci_cb.o pci_ib.o pci_ecc.o pci_pbm.o pci_intr.o \
92206184Sjacula			pci_space.o pci_counters.o pci_axq.o \
93176768Sjadawin			pci_fm.o pci_reloc.o pci_tools.o pci_asm.o
94172158SjkimRMCLOMV_OBJS	+= rmclomv.o
95168076Sjmelo
96168123SnetchildPSYCHO_PCI_OBJS	+= $(PCI_COMMON_OBJS) pcipsy.o
97168054SflzSCHIZO_PCI_OBJS	+= $(PCI_COMMON_OBJS) pcisch_asm.o pcisch.o pcix.o
98168055SpavSIMBA_PCI_OBJS	+= simba.o
99182814SjpaetzelDB21554_OBJS	+= db21554.o
100210169SjsaUS_OBJS 	+= cpudrv.o cpudrv_plat.o
101168055SpavPOWER_OBJS	+= power.o
102168536SkevloEPIC_OBJS	+= epic.o
103168177SgaborGRBEEP_OBJS	+= grbeep.o
104168098SkrionADM1031_OBJS	+= adm1031.o
105168055SpavICS951601_OBJS	+= ics951601.o
106168161SphilipPPM_OBJS	+= ppm_subr.o ppm.o ppm_plat.o
107168054SflzOPLCFG_OBJS	+= opl_cfg.o
108168208SitetcuPCF8584_OBJS    += pcf8584.o
109168295SleeymPCA9556_OBJS    += pca9556.o
110168295SleeymADM1026_OBJS	+= adm1026.o
111172158SjkimBBC_OBJS	+= bbc_beep.o
112175205SedwinTDA8444_OBJS    += tda8444.o
113168939StmclaughMAX1617_OBJS    += max1617.o
114176979SlippeSEEPROM_OBJS	+= seeprom.o
115168068SerwinI2C_SVC_OBJS	+= i2c_svc.o
116168337SlwhsuSMBUS_OBJS      += smbus.o
117175205SedwinSCHPPM_OBJS	+= schppm.o
118168177SgaborMC_OBJS		+= mc-us3.o mc-us3_asm.o
119199480SmandreeMC_US3I_OBJS	+= mc-us3i.o
120199479SmandreeGPIO_87317_OBJS	+= gpio_87317.o
121168113SmarcusISADMA_OBJS	+= isadma.o
122168918SbruefferSBBC_OBJS	+= sbbc.o
123168186SmatLM75_OBJS	+= lm75.o
124168055SpavLTC1427_OBJS	+= ltc1427.o
125168098SkrionPIC16F747_OBJS	+= pic16f747.o
126168359SmmPIC16F819_OBJS	+= pic16f819.o
127168100SmnagPCF8574_OBJS	+= pcf8574.o
128169036SnemoliuPCF8591_OBJS	+= pcf8591.o
129168123SnetchildSSC050_OBJS	+= ssc050.o
130168177SgaborSSC100_OBJS	+= ssc100.o
131168134SnorkPMUBUS_OBJS	+= pmubus.o
132168084SehauptPMUGPIO_OBJS	+= pmugpio.o
133168542SmiwiPMC_OBJS	+= pmc.o
134171129SobrienTRAPSTAT_OBJS	+= trapstat.o
135171129SobrienI2BSC_OBJS	+= i2bsc.o
136169253SfjoeGPTWOCFG_OBJS	+= gptwocfg.o
137168939StmclaughGPTWO_CPU_OBJS	+= gptwo_cpu.o
138168054SflzZULUVM_OBJS  	+= zuluvm.o zulu_asm.o zulu_hat.o zulu_hat_asm.o
139190977Spgj
140168098SkrionJBUSPPM_OBJS	+= jbusppm.o 
141180729SpgollucciRMC_COMM_OBJS	+= rmc_comm.o rmc_comm_crctab.o rmc_comm_dp.o rmc_comm_drvintf.o
142168108SrafanRMCADM_OBJS	+= rmcadm.o
143206489SreneMEM_CACHE_OBJS	+= mem_cache.o panther_asm.o
144180983Srnoland
145203046Sromain#
146206532Ssahil#			kernel cryptographic framework
147168098Skrion#
148168098Skrion
149168098SkrionBIGNUM_PSR_OBJS	+= mont_mulf_kernel_v9.o
150168055Spav
151168068SerwinAES_OBJS	+= aes.o aes_impl.o aes_cbc_crypt.o aes_crypt_asm.o
152191885Sskreuzer
153168939StmclaughDES_OBJS	+= des_crypt_asm.o
154168290Ssem
155168667SstefanARCFOUR_OBJS	+= arcfour.o arcfour_crypt.o arcfour_crypt_asm.o
156172276Stabthorpe
157168125StdbSHA1_OBJS	+= sha1_asm.o
158170675Stimur
159192568Stota#
160169018Strasz#			tod modules
161168225Strhodes#
162168186SmatTODMOSTEK_OBJS	+= todmostek.o
163168061SahzeTODDS1287_OBJS	+= todds1287.o
164168069SgargaTODDS1337_OBJS	+= todds1337.o
165180728SwxsTODSTARFIRE_OBJS += todstarfire.o
166168935StmclaughTODSTARCAT_OBJS	+= todstarcat.o
167195800SyzlinTODBLADE_OBJS	+= todblade.o
168172158SjkimTODM5819_OBJS	+= todm5819.o
169168054SflzTODM5819P_RMC_OBJS	+= todm5819p_rmc.o
170168054SflzTODBQ4802_OBJS	+= todbq4802.o
171168064SflzTODSG_OBJS	+= todsg.o
172168064SflzTODOPL_OBJS	= todopl.o
173168054Sflz
174168055Spav#
175168055Spav#			Misc modules
176168055Spav#
177168055SpavOBPSYM_OBJS	+= obpsym.o obpsym_1275.o
178168055SpavBOOTDEV_OBJS	+= bootdev.o
179182814Sjpaetzel
180182814SjpaetzelCPR_FIRST_OBJS	= cpr_resume_setup.o
181168055SpavCPR_IMPL_OBJS	= cpr_impl.o
182168057Sahze
183168055SpavSBD_OBJS	+= sbd.o sbd_cpu.o sbd_mem.o sbd_io.o
184176979Slippe
185180729Spgollucci#
186176979Slippe#			Brand modules
187168919Sbrueffer#
188168667SstefanSN1_BRAND_OBJS	= sn1_brand.o sn1_brand_asm.o
189168667Sstefan
190171129Sobrien#
191171129Sobrien#			Performance Counter BackEnd (PCBE) Modules
192206034Sdecke#
193206034SdeckeUS_PCBE_OBJS	= us234_pcbe.o
194188837SbeechOPL_PCBE_OBJS	= opl_pcbe.o
195188837Sbeech
196188837Sbeech#
197168939Stmclaugh#			cpu modules
198168939Stmclaugh#
199168939StmclaughCPU_OBJ		+= $(OBJS_DIR)/mach_cpu_module.o
200168125StdbSPITFIRE_OBJS 	= spitfire.o spitfire_asm.o spitfire_copy.o spitfire_kdi.o common_asm.o
201168208SitetcuHUMMINGBIRD_OBJS= $(SPITFIRE_OBJS)
202168125StdbUS3_CMN_OBJS	= us3_common.o us3_common_mmu.o us3_common_asm.o us3_kdi.o cheetah_copy.o common_asm.o
203168337SlwhsuCHEETAH_OBJS 	= $(US3_CMN_OBJS) us3_cheetah.o us3_cheetah_asm.o
204172275StabthorpeCHEETAHPLUS_OBJS= $(US3_CMN_OBJS) us3_cheetahplus.o us3_cheetahplus_asm.o
205168337SlwhsuJALAPENO_OBJS   = $(US3_CMN_OBJS) us3_jalapeno.o us3_jalapeno_asm.o
206169036SnemoliuOLYMPUS_OBJS	= opl_olympus.o opl_olympus_asm.o opl_olympus_copy.o \
207168108Srafan		  opl_kdi.o common_asm.o
208168108Srafan
209168186Smat#
210168186Smat#			platform module
211168938Scperciva#
212168068SerwinPLATMOD_OBJS	= platmod.o
213175205Sedwin
214175205Sedwin#	Section 3:	Misc.
215168068Serwin#
216168072SehauptALL_DEFS	+= -Dsun4u
217168072SehauptINC_PATH	+= -I$(UTSBASE)/sun4u
218168274Ssem
219168225Strhodes#
220168225Strhodes# Since assym.h is a derived file, the dependency must be explicit for
221173254Sbrix# all files including this file. (This is only actually required in the
222168068Serwin# instance when the .make.state file does not exist.) It may seem that
223168059Sgabor# the lint targets should also have a similar dependency, but they don't
224168068Serwin# since only C headers are included when #defined(lint) is true.
225168068Serwin#
226168068SerwinASSYM_DEPS	+= mach_locore.o
227168059SgaborASSYM_DEPS	+= module_sfmmu_asm.o
228168354SdanfeASSYM_DEPS	+= spitfire_asm.o spitfire_copy.o
229168098SkrionASSYM_DEPS	+= cheetah_asm.o cheetah_copy.o
230169251SfjoeASSYM_DEPS	+= mach_subr_asm.o swtch.o
231168098SkrionASSYM_DEPS	+= mach_interrupt.o mach_xc.o
232168054SflzASSYM_DEPS	+= trap_table.o wbuf.o
233168054SflzASSYM_DEPS	+= mach_sfmmu_asm.o sfmmu_asm.o memscrub_asm.o
234168054SflzASSYM_DEPS	+= mach_copy.o
235203046Sromain