Makefile.intel.shared revision 080575042aba2197b425ebfd52061dea061a9aa1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER START
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Common Development and Distribution License (the "License").
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You may not use this file except in compliance with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Use is subject to license terms.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# ident "%Z%%M% %I% %E% SMI"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# This makefile contains the common definitions for all intel
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# implementation architecture independent modules.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Machine type (implementation architecture):
# Note that unix.o must currently be selected from among the possible
# "implementation architectures". Note further, that unix.o is only
UNIX_DIR = $(UTSBASE)/i86pc/unix
GENLIB_DIR = $(UTSBASE)/intel/genunix
GENASSYM_DIR = $(UTSBASE)/intel/genassym
IPDRV_DIR = $(UTSBASE)/intel/ip
LINT_LIB_DIR = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR)
UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
GENLIB = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so
MODSTUBS_O = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o
include $(UTSTREE)/intel/Makefile.files
include $(UTSTREE)/common/Makefile.files
# defined before we include Makefile.uts, or else genunix's build
# that the resulting module from rules in Makefile.uts is machine
include $(UTSBASE)/Makefile.uts
MODSTUBS = $(UTSBASE)/intel/ia32/ml/modstubs.s
INLINES_32 = $(UTSBASE)/intel/ia32/ml/ia32.il
INLINES_64 = $(UTSBASE)/intel/amd64/ml/amd64.il
# kernel-specific optimizations; override default in Makefile.master
$(IF_DEBUG_OBJ)syscall.o := DEBUG_DEFS += -DSYSCALLTRACE
$(IF_DEBUG_OBJ)clock.o := DEBUG_DEFS += -DKSLICE=1
$(LINTS_DIR)/kcpc.ln := LINTFLAGS += $(LINTMACHFLAGS)
$(LINTS_DIR)/kdi.ln := LINTFLAGS += $(LINTMACHFLAGS)
$(LINTS_DIR)/msacct.ln := LINTFLAGS += $(LINTMACHFLAGS)
$(LINTS_DIR)/thread.ln := LINTFLAGS += $(LINTMACHFLAGS)
# Common Drivers (usually pseudo drivers) (/kernel/drv)
# Machine Specific Driver Modules (/kernel/drv):
# Exec Class Modules (/kernel/exec):
# Scheduling Class Modules (/kernel/sched):
# File System Modules (/kernel/fs):
# Streams Modules (/kernel/strmod):
# 'System' Modules (/kernel/sys):
# 'Misc' Modules (/kernel/misc)
# Software Cryptographic Providers (/kernel/crypto):
# IP Policy Modules (/kernel/ipp)
# generic-unix module (/kernel/genunix):
# SVVS Testing Modules (/kernel/strmod):
# 'Dacf' Modules (/kernel/dacf):
# Performance Counter BackEnd modules (/usr/kernel/pcbe)
# MAC-Type Plugin Modules (/kernel/mac)
# 'Devname' Modules (kernel/devname)