xref: /illumos-gate/usr/src/uts/sparc/Makefile.files (revision 564d5236)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
57aadd8d4Skini# Common Development and Distribution License (the "License").
67aadd8d4Skini# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
217c478bd9Sstevel@tonic-gate#
22fc51f9bbSKrishna Elango# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
237c478bd9Sstevel@tonic-gate# Use is subject to license terms.
247c478bd9Sstevel@tonic-gate#
257c478bd9Sstevel@tonic-gate#	This Makefile defines all file modules and build rules for the
26*0aaef2f5SRichard Lowe# directory uts/sparc and its children. These are the source files which
277c478bd9Sstevel@tonic-gate# are specific to the sparc processor.
287c478bd9Sstevel@tonic-gate#
297c478bd9Sstevel@tonic-gate
307c478bd9Sstevel@tonic-gate#
317c478bd9Sstevel@tonic-gate#	object lists
327c478bd9Sstevel@tonic-gate#
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gateCORE_OBJS +=	ddi_arch.o	\
357c478bd9Sstevel@tonic-gate		polled_io.o	\
36fdb2a7e9SToomas Soome		sparc_ddi.o	\
37fdb2a7e9SToomas Soome		multi3.o
387c478bd9Sstevel@tonic-gate
397c478bd9Sstevel@tonic-gate#
407c478bd9Sstevel@tonic-gate#	generic-unix module
417c478bd9Sstevel@tonic-gate#
427c478bd9Sstevel@tonic-gateGENUNIX_OBJS +=	addsub.o	\
437c478bd9Sstevel@tonic-gate		archdep.o	\
447c478bd9Sstevel@tonic-gate		bitmap_arch.o	\
457c478bd9Sstevel@tonic-gate		compare.o	\
467c478bd9Sstevel@tonic-gate		div.o		\
477c478bd9Sstevel@tonic-gate		fpu_simulator.o	\
487c478bd9Sstevel@tonic-gate		getcontext.o	\
497c478bd9Sstevel@tonic-gate		iu_simulator.o	\
507c478bd9Sstevel@tonic-gate		mul.o		\
517c478bd9Sstevel@tonic-gate		pack.o		\
527c478bd9Sstevel@tonic-gate		sundep.o	\
537c478bd9Sstevel@tonic-gate		syscall.o	\
547c478bd9Sstevel@tonic-gate		unpack.o	\
557c478bd9Sstevel@tonic-gate		utility.o
567c478bd9Sstevel@tonic-gate
577c478bd9Sstevel@tonic-gate#
587c478bd9Sstevel@tonic-gate#			Driver (pseudo-driver) Modules
597c478bd9Sstevel@tonic-gate#
607c478bd9Sstevel@tonic-gate
617c478bd9Sstevel@tonic-gate#
627c478bd9Sstevel@tonic-gate#			Driver modules
637c478bd9Sstevel@tonic-gate#
647c478bd9Sstevel@tonic-gateFD_OBJS	+=	fd_asm.o
657c478bd9Sstevel@tonic-gate
667c478bd9Sstevel@tonic-gateCPR_SPARC_OBJS +=	cpr_sparc.o
677c478bd9Sstevel@tonic-gatePCI_PCI_OBJS +=		pci_pci.o pci_debug.o pci_pwr.o pcix.o
68e762302fSShesha SreenivasamurthyPCIE_MISC_OBJS +=	pcie_sparc.o
69d4bc0535SKrishna ElangoPCIEB_OBJS +=		pcieb_sparc.o
70b65731f1SkiniFCODE_OBJS +=		fcode.o
71fcf3ce44SJohn ForteNSKERN_OBJS +=		nsc_asm.o
727c478bd9Sstevel@tonic-gate
737c478bd9Sstevel@tonic-gate#
747c478bd9Sstevel@tonic-gate#			file system modules
757c478bd9Sstevel@tonic-gate#
767c478bd9Sstevel@tonic-gate# XXX -	currently a bug?...
77e762302fSShesha Sreenivasamurthy#PROC_OBJS +=
787c478bd9Sstevel@tonic-gateCORE_OBJS +=	prmachdep.o
797c478bd9Sstevel@tonic-gate
80e7cbe64fSgw#			ZFS file system module
81e7cbe64fSgwZFS_OBJS +=		\
82e7cbe64fSgw	spa_boot.o
83e7cbe64fSgw
847c478bd9Sstevel@tonic-gate#
857c478bd9Sstevel@tonic-gate#			misc modules
867c478bd9Sstevel@tonic-gate#
877c478bd9Sstevel@tonic-gateKRTLD_OBJS +=		\
88fdb2a7e9SToomas Soome	doreloc.o	\
897c478bd9Sstevel@tonic-gate	kobj_convrelstr.o \
90fdb2a7e9SToomas Soome	kobj_isa.o	\
917c478bd9Sstevel@tonic-gate	kobj_reloc.o
927c478bd9Sstevel@tonic-gate
937c478bd9Sstevel@tonic-gateSWAPGENERIC_OBJS += swapgeneric.o
9426947304SEvan YanPCICFG_OBJS	+= pcicfg.o
95b65731f1SkiniFCPCI_OBJS	+= fcpci.o
96b65731f1SkiniFCODEM_OBJS	+= fc_ddi.o fc_physio.o fc_ops.o fc_subr.o
977c478bd9Sstevel@tonic-gate
987c478bd9Sstevel@tonic-gate#
997c478bd9Sstevel@tonic-gate#			special files
1007c478bd9Sstevel@tonic-gate#
1017c478bd9Sstevel@tonic-gateMODSTUB_OBJ =	modstubs.o
1027c478bd9Sstevel@tonic-gate
1037c478bd9Sstevel@tonic-gate#
1047c478bd9Sstevel@tonic-gate#			SPARC DTrace Providers
1057c478bd9Sstevel@tonic-gate#
1067c478bd9Sstevel@tonic-gateFBT_OBJS	+= fbt.o
1077c478bd9Sstevel@tonic-gateSDT_OBJS	+= sdt.o
1087c478bd9Sstevel@tonic-gate
1097c478bd9Sstevel@tonic-gate#
1107c478bd9Sstevel@tonic-gate#	Build up paths and defines.
1117c478bd9Sstevel@tonic-gate#
1127c478bd9Sstevel@tonic-gateINC_PATH	+= -I$(UTSBASE)/sparc
113986fd29aSsetjeINC_PATH	+= -I$(UTSBASE)/sparc/krtld
1147c478bd9Sstevel@tonic-gate
1157c478bd9Sstevel@tonic-gate#
1167c478bd9Sstevel@tonic-gate# Since assym.h is a derived file, the dependency must be explicit for
117*0aaef2f5SRichard Lowe# all files including this file.
1187c478bd9Sstevel@tonic-gate#
1197c478bd9Sstevel@tonic-gateASSYM_DEPS +=	sparc_ddi.o
120