Home | History | Annotate | Download | only in sun4
      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 2009 Sun Microsystems, Inc.  All rights reserved.
     24 # Use is subject to license terms.
     25 #
     26 #	This Makefile defines all file modules for the directory uts/sun4
     27 #	and it's children. These are the source files which are common 
     28 #	between sun4u and sun4r.
     29 #
     30 
     31 #
     32 #	object lists
     33 #
     34 CORE_OBJS +=	bcmp.o
     35 CORE_OBJS +=	bus_func.o
     36 CORE_OBJS +=	cbe.o
     37 CORE_OBJS +=	confunix.o
     38 CORE_OBJS +=	copy.o
     39 CORE_OBJS +=	cpupm_mach.o
     40 CORE_OBJS +=	cpu_states.o
     41 CORE_OBJS +=	ddi_impl.o
     42 CORE_OBJS +=	dmv.o
     43 CORE_OBJS +=	dtrace_subr.o
     44 CORE_OBJS +=	dvma.o
     45 CORE_OBJS +=	genalign.o
     46 CORE_OBJS +=	intr.o
     47 CORE_OBJS +=	iommutsb.o
     48 CORE_OBJS +=	ivintr.o
     49 CORE_OBJS +=	ip_ocsum.o
     50 CORE_OBJS +=	lgrpplat.o
     51 CORE_OBJS +=	mach_sysconfig.o
     52 CORE_OBJS +=	machdep.o
     53 CORE_OBJS +=	mem_config_arch.o
     54 CORE_OBJS +=	memlist.o
     55 CORE_OBJS +=	memnode.o
     56 CORE_OBJS +=	mlsetup.o
     57 CORE_OBJS +=	mp_call.o
     58 CORE_OBJS +=	mp_startup.o
     59 CORE_OBJS +=	mp_states.o
     60 CORE_OBJS +=	proc_init.o
     61 CORE_OBJS +=	prom_subr.o
     62 CORE_OBJS +=	sfmmu.o
     63 CORE_OBJS +=	startup.o
     64 CORE_OBJS +=	subr_asm.o
     65 CORE_OBJS +=	trap.o
     66 CORE_OBJS +=	vm_dep.o
     67 CORE_OBJS +=	x_call.o
     68 CORE_OBJS +=	xc.o
     69 
     70 #
     71 #			driver modules
     72 #
     73 ROOTNEX_OBJS	+= rootnex.o
     74 PX_OBJS		+= px.o px_debug.o px_devctl.o px_dma.o \
     75 		   px_fdvma.o px_fm.o px_ib.o px_intr.o px_mmu.o px_msi.o \
     76 		   px_msiq.o px_pec.o px_space.o px_tools.o px_util.o
     77 FPC_OBJS        += fpc.o fpc-impl.o fpc-kstats.o
     78 VIS_OBJS	+= visinstr.o
     79 TOD_OBJS	+= tod.o
     80 EBUS_OBJS	+= ebus.o
     81 SU_OBJS		+= su_driver.o
     82 
     83 #
     84 #			Misc modules
     85 #
     86 CONSCONFIG_SUN4_OBJS  += consconfig.o consplat.o consconfig_util.o
     87 CONSCONFIG_DACF_OBJS  +=  consconfig_dacf.o
     88 
     89 #
     90 #			cpu modules
     91 #
     92 CPU_OBJ		+= $(OBJS_DIR)/cpu_module.o
     93 
     94 INC_PATH	+= -I$(UTSBASE)/sun4
     95 
     96 #
     97 # Since assym.h is a derived file, the dependency must be explicit for
     98 # all files including this file. (This is only actually required in the
     99 # instance when the .make.state file does not exist.) It may seem that
    100 # the lint targets should also have a similar dependency, but they don't
    101 # since only C headers are included when #defined(lint) is true.
    102 #
    103 ASSYM_DEPS	+= genalign.o copy.o ip_ocsum.o
    104 ASSYM_DEPS	+= common_asm.o
    105 ASSYM_DEPS	+= proc_init.o subr.o xc.o
    106