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