Makefile revision 0a0e9771ca0211c15f3ac4466b661c145feeb9e4
1029N/A#
1029N/A# CDDL HEADER START
1029N/A#
1029N/A# The contents of this file are subject to the terms of the
1042N/A# Common Development and Distribution License (the "License").
1029N/A# You may not use this file except in compliance with the License.
1029N/A#
1042N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1042N/A# or http://www.opensolaris.org/os/licensing.
1042N/A# See the License for the specific language governing permissions
1042N/A# and limitations under the License.
1042N/A#
1042N/A# When distributing Covered Code, include this CDDL HEADER in each
1042N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1042N/A# If applicable, add the following below this CDDL HEADER, with the
1042N/A# fields enclosed by brackets "[]" replaced with your own identifying
1042N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1042N/A#
1042N/A# CDDL HEADER END
1042N/A#
1042N/A#
1042N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
1042N/A# Use is subject to license terms.
1042N/A#
1029N/A# This makefile drives the production of the nca driver
1029N/A# kernel module.
1029N/A#
1029N/A# sparc architecture dependent
1029N/A#
1029N/A
1029N/A#
1029N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1029N/A#
1029N/AUTSBASE = ../..
1029N/A
1029N/A#
1029N/A# Define the module and object file sets.
1029N/A#
1029N/AMODULE = sockpfp
1029N/AOBJECTS = $(PFP_SOCK_MOD_OBJS:%=$(OBJS_DIR)/%)
1029N/ALINTS = $(PFP_SOCK_MOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
1029N/AROOTMODULE = $(USR_SOCK_DIR)/$(MODULE)
1029N/A
1029N/A#
1029N/A# Include common rules.
1042N/A#
1029N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
1029N/A
1029N/A#
1029N/A# Define targets
1029N/A#
1029N/AALL_TARGET = $(BINARY)
1029N/ALINT_TARGET = $(MODULE).lint
1029N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
1029N/A
1029N/A#
1029N/A# lint pass one enforcement and OS version
1029N/A#
1029N/ACFLAGS += $(CCVERBOSE)
1029N/A
1029N/ALDFLAGS += -dy -Nfs/sockfs -Nmisc/dls -Nmisc/mac -Ndrv/bpf
1029N/AINC_PATH += -I$(UTSBASE)/common/inet/sockmods -I$(UTSBASE)/common/io/bpf
1029N/A
1029N/A#
1029N/A# For now, disable these lint checks; maintainers should endeavor
1029N/A# to investigate and remove these for maximum lint coverage.
1029N/A# Please do not carry these forward to new Makefiles.
1029N/A#
1029N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
1029N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
1029N/A
1029N/A#
1029N/A# Default build targets.
1029N/A#
1029N/A.KEEP_STATE:
1029N/A
1029N/Adef: $(DEF_DEPS)
1029N/A
1029N/Aall: $(ALL_DEPS)
1029N/A
1029N/Aclean: $(CLEAN_DEPS)
1029N/A
1029N/Aclobber: $(CLOBBER_DEPS)
1029N/A
1029N/Alint: $(LINT_DEPS)
1029N/A
1029N/Amodlintlib: $(MODLINTLIB_DEPS)
1029N/A
1029N/Aclean.lint: $(CLEAN_LINT_DEPS)
1029N/A
1029N/Ainstall: $(INSTALL_DEPS)
1029N/A
1029N/A#
1029N/A# Include common targets.
1029N/A#
1029N/Ainclude $(UTSBASE)/sparc/Makefile.targ
1029N/A