85N/A#
85N/A# CDDL HEADER START
85N/A#
85N/A# The contents of this file are subject to the terms of the
85N/A# Common Development and Distribution License (the "License").
85N/A# You may not use this file except in compliance with the License.
85N/A#
85N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
85N/A# or http://www.opensolaris.org/os/licensing.
85N/A# See the License for the specific language governing permissions
85N/A# and limitations under the License.
85N/A#
85N/A# When distributing Covered Code, include this CDDL HEADER in each
85N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
85N/A# If applicable, add the following below this CDDL HEADER, with the
85N/A# fields enclosed by brackets "[]" replaced with your own identifying
85N/A# information: Portions Copyright [yyyy] [name of copyright owner]
85N/A#
85N/A# CDDL HEADER END
85N/A#
2344N/A# uts/intel/dev/Makefile
85N/A#
85N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
85N/A# Use is subject to license terms.
85N/A#
85N/A# This makefile drives the production of the dev file system
618N/A# kernel module.
85N/A#
85N/A# intel architecture dependent
844N/A#
844N/A
85N/A#
1258N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
85N/A#
2899N/AUTSBASE = ../..
2899N/A
85N/A#
85N/A# Define the module and object file sets.
85N/A#
85N/AMODULE = dev
85N/AOBJECTS = $(DEV_OBJS:%=$(OBJS_DIR)/%)
85N/ALINTS = $(DEV_OBJS:%.o=$(LINTS_DIR)/%.ln)
85N/AROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
85N/A
85N/A#
2344N/A# Include common rules.
2344N/A#
85N/Ainclude $(UTSBASE)/intel/Makefile.intel
85N/A
85N/A#
85N/A# Define targets
181N/A#
85N/AALL_TARGET = $(BINARY)
2344N/ALINT_TARGET = $(MODULE).lint
2344N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
2344N/A
85N/A#
3477N/A# Override defaults to build a unique, local modstubs.o.
3477N/A#
2344N/AMODSTUBS_DIR = $(OBJS_DIR)
85N/ACFLAGS += $(CCVERBOSE)
2344N/ALDFLAGS += -dy -Nfs/devfs -Nmisc/dls
181N/AINC_PATH += -I$(UTSBASE)/common/fs/zfs
181N/AINC_PATH += -I$(UTSBASE)/common/io/bpf
85N/A
85N/ACERRWARN += -_gcc=-Wno-parentheses
85N/ACERRWARN += -_gcc=-Wno-unused-label
85N/ACERRWARN += -_gcc=-Wno-uninitialized
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ