Makefile revision 0a0e9771ca0211c15f3ac4466b661c145feeb9e4
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# CDDL HEADER START
477c09a2656e6a2c1075425ad81e61d594164fa9Lubos Kosco# The contents of this file are subject to the terms of the
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# Common Development and Distribution License (the "License").
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# You may not use this file except in compliance with the License.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# See the License for the specific language governing permissions
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# and limitations under the License.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# When distributing Covered Code, include this CDDL HEADER in each
c11ca22dbe6cf6ad259e4848ece6fe5152f9505cLubos Kosco# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6d7c6f82e644c205bc679ee5b1fa2929ec949963Lubos Kosco# If applicable, add the following below this CDDL HEADER, with the
67b14513c549ae0027ba7590e736b3dd3281db7cLubos Kosco# fields enclosed by brackets "[]" replaced with your own identifying
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# information: Portions Copyright [yyyy] [name of copyright owner]
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# CDDL HEADER END
f9fd2b96d1c5ea62664f74da0e34a04b6511a8ffLubos Kosco# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# Use is subject to license terms.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# This makefile drives the production of the nca driver
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# kernel module.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# sparc architecture dependent
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye# Path to the base of the uts directory tree (usually /usr/src/uts).
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# Define the module and object file sets.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoLINTS = $(PFP_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# Include common rules.
87396bac3204b6788c817e19222626eefde8f3f0Knut Anders Hatlen# Define targets
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# lint pass one enforcement and OS version
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoLDFLAGS += -dy -Nfs/sockfs -Nmisc/dls -Nmisc/mac -Ndrv/bpf
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos KoscoINC_PATH += -I$(UTSBASE)/common/inet/sockmods -I$(UTSBASE)/common/io/bpf
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# For now, disable these lint checks; maintainers should endeavor
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# to investigate and remove these for maximum lint coverage.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# Please do not carry these forward to new Makefiles.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# Default build targets.
fb96d0f1ab431db23ef75c52867d8261acda9b0aLubos Kosco# Include common targets.