Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
935N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
0N/A
0N/A#
0N/A# This makefile drives the production of the zyd driver kernel module.
156N/A#
493N/A# i86pc architecture dependent
0N/A#
970N/A
970N/A#
970N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
970N/A#
970N/AUTSBASE = ../..
970N/A
970N/A#
970N/A# Define the module and object file sets.
970N/A#
970N/AMODULE = zyd
970N/AOBJECTS = $(ZYD_OBJS:%=$(OBJS_DIR)/%)
970N/ALINTS = $(ZYD_OBJS:%.o=$(LINTS_DIR)/%.ln)
970N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
970N/A
970N/A#
970N/A# Include common rules.
970N/A#
970N/Ainclude $(UTSBASE)/intel/Makefile.intel
970N/A
970N/A#
970N/A# Define targets
970N/A#
970N/AALL_TARGET = $(BINARY)
970N/ALINT_TARGET = $(MODULE).lint
970N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
0N/A
950N/A#
0N/A# Driver depends on GLDv3 & wifi kernel support module.
911N/A#
950N/ALDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Nmisc/usba
950N/A
911N/ACERRWARN += -_gcc=-Wno-uninitialized
0N/A
493N/A#
493N/A# Default build targets.
156N/A#
0N/A.KEEP_STATE:
0N/A
156N/Adef: $(DEF_DEPS)
156N/A
0N/Aall: $(ALL_DEPS)
0N/A
950N/Aclean: $(CLEAN_DEPS)
950N/A
950N/Aclobber: $(CLOBBER_DEPS)
950N/A
950N/Alint: $(LINT_DEPS)
950N/A
950N/Amodlintlib: $(MODLINTLIB_DEPS)
364N/A
156N/Aclean.lint: $(CLEAN_LINT_DEPS)
156N/A
0N/Ainstall: $(INSTALL_DEPS)
591N/A
947N/A#
947N/A# Include common targets.
591N/A#
591N/Ainclude $(UTSBASE)/intel/Makefile.targ
591N/A
947N/A#
947N/A# If you have any special case that general
947N/A# Makefile rules don't serve for you, just do
947N/A# it yourself.
947N/A#
947N/A