xref: /titanic_52/usr/src/uts/sun4u/Makefile.files (revision 20036fe5e9e9df6dd3168c764d777e19b1f0acdd)
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# Copyright 2006 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 for the directory uts/sun4u
29#	and it's children. These are the source files which are sun4u
30#	"implementation architecture" dependent.
31#
32
33#
34#	object lists
35#
36CORE_OBJS +=	bootops.o
37CORE_OBJS +=	cmp.o
38CORE_OBJS +=	cpc_hwreg.o
39CORE_OBJS +=	cpc_subr.o
40CORE_OBJS +=	mach_cpu_states.o
41CORE_OBJS +=	mach_ddi_impl.o
42CORE_OBJS +=	ecc.o
43CORE_OBJS +=	fillsysinfo.o
44CORE_OBJS +=	forthdebug.o
45CORE_OBJS +=	hardclk.o
46CORE_OBJS +=	hat_sfmmu.o
47CORE_OBJS +=	hat_kdi.o
48CORE_OBJS +=	mach_copy.o
49CORE_OBJS +=	mach_mp_startup.o
50CORE_OBJS +=	mach_mp_states.o
51CORE_OBJS +=	mach_sfmmu.o
52CORE_OBJS +=	mach_startup.o
53CORE_OBJS +=	mach_subr_asm.o
54CORE_OBJS +=	mach_trap.o
55CORE_OBJS +=	mach_vm_dep.o
56CORE_OBJS +=	mach_xc.o
57CORE_OBJS +=	mem_cage.o
58CORE_OBJS +=	mem_config.o
59CORE_OBJS +=	memlist_new.o
60CORE_OBJS +=	memscrub.o
61CORE_OBJS +=	memscrub_asm.o
62CORE_OBJS +=	ppage.o
63CORE_OBJS +=	sfmmu_kdi.o
64CORE_OBJS +=	swtch.o
65CORE_OBJS +=	xhat_sfmmu.o
66
67#
68#	Some objects must be linked at the front of the image (or
69#	near other objects at the front of the image).
70#
71SPECIAL_OBJS +=	trap_table.o
72SPECIAL_OBJS +=	locore.o
73SPECIAL_OBJS +=	mach_locore.o
74SPECIAL_OBJS +=	sfmmu_asm.o
75SPECIAL_OBJS +=	mach_sfmmu_asm.o
76SPECIAL_OBJS +=	interrupt.o
77SPECIAL_OBJS +=	mach_interrupt.o
78SPECIAL_OBJS +=	wbuf.o
79
80#
81#			driver modules
82#
83ROOTNEX_OBJS	+= mach_rootnex.o
84UPA64S_OBJS	+= upa64s.o
85SYSIO_SBUS_OBJS	+= iommu.o sysioerr.o sysiosbus.o iocache.o
86PX_OBJS		+= px_asm_4u.o px_err.o px_hlib.o px_lib4u.o px_tools_4u.o
87FPC_OBJS	+= fpc-impl-4u.o
88PCI_COMMON_OBJS	+= pci.o pci_util.o pci_dma.o pci_devctl.o \
89			pci_fdvma.o pci_iommu.o pci_sc.o pci_debug.o \
90			pci_cb.o pci_ib.o pci_ecc.o pci_pbm.o pci_intr.o \
91			pci_space.o pci_counters.o pci_axq.o \
92			pci_fm.o pci_reloc.o pci_tools.o pci_asm.o
93
94PSYCHO_PCI_OBJS	+= $(PCI_COMMON_OBJS) pcipsy.o
95SCHIZO_PCI_OBJS	+= $(PCI_COMMON_OBJS) pcisch_asm.o pcisch.o pcix.o
96SIMBA_PCI_OBJS	+= simba.o
97DB21554_OBJS	+= db21554.o
98US_OBJS 	+= us_drv.o
99POWER_OBJS	+= power.o
100EPIC_OBJS	+= epic.o
101GRBEEP_OBJS	+= grbeep.o
102ADM1031_OBJS	+= adm1031.o
103ICS951601_OBJS	+= ics951601.o
104PPM_OBJS	+= ppm_subr.o ppm.o
105PCF8584_OBJS    += pcf8584.o
106PCA9556_OBJS    += pca9556.o
107ADM1026_OBJS	+= adm1026.o
108BBC_OBJS	+= bbc_beep.o
109TDA8444_OBJS    += tda8444.o
110MAX1617_OBJS    += max1617.o
111SEEPROM_OBJS	+= seeprom.o
112I2C_SVC_OBJS	+= i2c_svc.o
113SMBUS_OBJS      += smbus.o
114SCHPPM_OBJS	+= schppm.o
115MC_OBJS		+= mc-us3.o mc-us3_asm.o
116MC_US3I_OBJS	+= mc-us3i.o
117GPIO_87317_OBJS	+= gpio_87317.o
118ISADMA_OBJS	+= isadma.o
119SBBC_OBJS	+= sbbc.o
120LM75_OBJS	+= lm75.o
121LTC1427_OBJS	+= ltc1427.o
122PIC16F747_OBJS	+= pic16f747.o
123PIC16F819_OBJS	+= pic16f819.o
124PCF8574_OBJS	+= pcf8574.o
125PCF8591_OBJS	+= pcf8591.o
126SSC050_OBJS	+= ssc050.o
127SSC100_OBJS	+= ssc100.o
128PMUBUS_OBJS	+= pmubus.o
129PMUGPIO_OBJS	+= pmugpio.o
130PMC_OBJS	+= pmc.o
131TRAPSTAT_OBJS	+= trapstat.o
132WRSM_OBJS	+= wci_common.o \
133			wrsm_barrier.o \
134			wrsm_cf.o \
135			wrsm_cmmu.o \
136			wrsm_common.o \
137			wrsm_confpack.o \
138			wrsm_copy.o \
139			wrsm_driver.o \
140			wrsm_getput.o \
141			wrsm_intr.o \
142			wrsm_lc.o \
143			wrsm_memseg.o \
144			wrsm_memseg_export.o \
145			wrsm_memseg_import.o \
146			wrsm_mh.o \
147			wrsm_nc.o \
148			wrsm_nr.o \
149			wrsm_rsmpi.o \
150			wrsm_session.o \
151			wrsm_tl.o \
152			wrsm_trap.o
153ZULUVM_OBJS  	+= zuluvm.o zulu_asm.o zulu_hat.o zulu_hat_asm.o
154
155JBUSPPM_OBJS	+= jbusppm.o
156DMFE_OBJS	+= dmfe_log.o dmfe_main.o dmfe_mii.o dmfe_ndd.o
157RMC_COMM_OBJS	+= rmc_comm.o rmc_comm_crctab.o rmc_comm_dp.o rmc_comm_drvintf.o
158RMCADM_OBJS	+= rmcadm.o
159
160#
161#			kernel cryptographic framework
162#
163
164AES_OBJS	+= aes.o aes_impl.o aes_cbc_crypt.o aes_crypt_asm.o
165
166DES_OBJS	+= des_crypt_asm.o
167
168ARCFOUR_OBJS	+= arcfour.o arcfour_crypt.o arcfour_crypt_asm.o
169
170SHA1_OBJS	+= sha1_asm.o
171
172RSAPROV_OBJS    += mont_mulf.o
173
174#
175#			tod modules
176#
177TODMOSTEK_OBJS	+= todmostek.o
178TODDS1287_OBJS	+= todds1287.o
179TODDS1337_OBJS	+= todds1337.o
180TODSTARFIRE_OBJS += todstarfire.o
181TODBLADE_OBJS	+= todblade.o
182TODM5819_OBJS	+= todm5819.o
183TODBQ4802_OBJS	+= todbq4802.o
184TODSG_OBJS	+= todsg.o
185
186#
187#			Misc modules
188#
189OBPSYM_OBJS	+= obpsym.o obpsym_1275.o
190BOOTDEV_OBJS	+= bootdev.o
191
192CPR_FIRST_OBJS	= cpr_resume_setup.o
193CPR_IMPL_OBJS	= cpr_impl.o
194
195SBD_OBJS	+= sbd.o sbd_cpu.o sbd_mem.o sbd_io.o
196
197#
198#			Performance Counter BackEnd (PCBE) Modules
199#
200US_PCBE_OBJS	= us234_pcbe.o
201
202#
203#			cpu modules
204#
205CPU_OBJ		+= $(OBJS_DIR)/mach_cpu_module.o
206SPITFIRE_OBJS 	= spitfire.o spitfire_asm.o spitfire_copy.o spitfire_kdi.o common_asm.o
207HUMMINGBIRD_OBJS= $(SPITFIRE_OBJS)
208US3_CMN_OBJS	= us3_common.o us3_common_mmu.o us3_common_asm.o us3_kdi.o cheetah_copy.o common_asm.o
209CHEETAH_OBJS 	= $(US3_CMN_OBJS) us3_cheetah.o us3_cheetah_asm.o
210CHEETAHPLUS_OBJS= $(US3_CMN_OBJS) us3_cheetahplus.o us3_cheetahplus_asm.o
211JALAPENO_OBJS   = $(US3_CMN_OBJS) us3_jalapeno.o us3_jalapeno_asm.o
212
213#
214#			platform module
215#
216PLATMOD_OBJS	= platmod.o
217
218#	Section 3:	Misc.
219#
220ALL_DEFS	+= -Dsun4u
221INC_PATH	+= -I$(UTSBASE)/sun4u
222
223#
224# Since assym.h is a derived file, the dependency must be explicit for
225# all files including this file. (This is only actually required in the
226# instance when the .make.state file does not exist.) It may seem that
227# the lint targets should also have a similar dependency, but they don't
228# since only C headers are included when #defined(lint) is true.
229#
230ASSYM_DEPS	+= mach_locore.o
231ASSYM_DEPS	+= module_sfmmu_asm.o
232ASSYM_DEPS	+= spitfire_asm.o spitfire_copy.o
233ASSYM_DEPS	+= cheetah_asm.o cheetah_copy.o
234ASSYM_DEPS	+= mach_subr_asm.o swtch.o
235ASSYM_DEPS	+= mach_interrupt.o mach_xc.o
236ASSYM_DEPS	+= trap_table.o wbuf.o
237ASSYM_DEPS	+= mach_sfmmu_asm.o sfmmu_asm.o memscrub_asm.o
238ASSYM_DEPS	+= mach_copy.o
239