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 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 and build rules for the 29# directory uts/sparc and it's children. These are the source files which 30# are specific to the sparc processor. 31# 32 33# 34# object lists 35# 36 37CORE_OBJS += ddi_arch.o \ 38 polled_io.o \ 39 sparc_ddi.o 40 41# 42# generic-unix module 43# 44GENUNIX_OBJS += addsub.o \ 45 archdep.o \ 46 bitmap_arch.o \ 47 compare.o \ 48 div.o \ 49 fpu_simulator.o \ 50 getcontext.o \ 51 iu_simulator.o \ 52 mul.o \ 53 pack.o \ 54 sundep.o \ 55 syscall.o \ 56 unpack.o \ 57 utility.o 58 59# 60# Driver (pseudo-driver) Modules 61# 62 63# 64# Driver modules 65# 66FD_OBJS += fd_asm.o 67 68CPR_SPARC_OBJS += cpr_sparc.o 69PCI_PCI_OBJS += pci_pci.o pci_debug.o pci_pwr.o pcix.o 70PX_PCI_OBJS += px_pci.o px_debug.o pcie_pwr.o 71FCODE_OBJS += fcode.o 72 73# 74# file system modules 75# 76# XXX - currently a bug?... 77#PROC_OBJS += 78CORE_OBJS += prmachdep.o 79 80# 81# misc modules 82# 83KRTLD_BOOT_OBJS += kobj_boot.o 84KRTLD_OBJS += \ 85 bootops.o \ 86 doreloc.o \ 87 kobj_alloc.o \ 88 kobj_convrelstr.o \ 89 kobj_crt.o \ 90 kobj_isa.o \ 91 kobj_reloc.o 92 93SWAPGENERIC_OBJS += swapgeneric.o 94PCICFG_E_OBJS += pcicfg.e.o 95FCPCI_OBJS += fcpci.o 96FCODEM_OBJS += fc_ddi.o fc_physio.o fc_ops.o fc_subr.o 97 98# 99# special files 100# 101MODSTUB_OBJ = modstubs.o 102 103# 104# SPARC DTrace Providers 105# 106FBT_OBJS += fbt.o 107SDT_OBJS += sdt.o 108 109# 110# Build up paths and defines. 111# 112LINT_DEFS += -Dsparc 113INC_PATH += -I$(UTSBASE)/sparc 114 115# 116# Since assym.h is a derived file, the dependency must be explicit for 117# all files including this file. (This is only actually required in the 118# instance when the .nse_depinfo file does not exist.) It may seem that 119# the lint targets should also have a similar dependency, but they don't 120# since only C headers are included when #defined(lint) is true. 121# 122ASSYM_DEPS += sparc_ddi.o 123 124# 125# Inlined assembler routines. 126# 127INLINES += $(UTSBASE)/sparc/ml/sparc.il 128