Makefile revision 22eb7cb54d8a6bcf6fe2674cb4b1f0cf2d85cfb6
1605N/A#
1605N/A# CDDL HEADER START
1605N/A#
1605N/A# The contents of this file are subject to the terms of the
1605N/A# Common Development and Distribution License (the "License").
1605N/A# You may not use this file except in compliance with the License.
1605N/A#
1605N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1605N/A# or http://www.opensolaris.org/os/licensing.
1605N/A# See the License for the specific language governing permissions
1605N/A# and limitations under the License.
1605N/A#
1605N/A# When distributing Covered Code, include this CDDL HEADER in each
1605N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1605N/A# If applicable, add the following below this CDDL HEADER, with the
1605N/A# fields enclosed by brackets "[]" replaced with your own identifying
1605N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1605N/A#
1605N/A# CDDL HEADER END
1605N/A#
1605N/A#
1605N/A# uts/sparc/dmfe/Makefile
3639N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
1605N/A# Use is subject to license terms.
1605N/A#
1605N/A#ident "%Z%%M% %I% %E% SMI"
1605N/A#
1605N/A# This makefile drives the production of the dmfe driver module.
1605N/A#
1605N/A
1605N/A#
1605N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1605N/A#
1605N/AUTSBASE = ../..
1605N/A
1605N/A#
1605N/A# Define the module and object file sets.
2899N/A#
2899N/AMODULE = dmfe
3817N/AOBJECTS = $(DMFE_OBJS:%=$(OBJS_DIR)/%)
3817N/ALINTS = $(DMFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
3817N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
1605N/ACONF_SRCDIR = $(UTSBASE)/common/io/dmfe
1605N/A
1605N/A#
3639N/A# Include common rules.
3639N/A#
3639N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
3724N/A
3639N/A#
3639N/A# Define targets
3639N/A#
1938N/AALL_TARGET = $(BINARY) $(SRC_CONFFILE)
1605N/ALINT_TARGET = $(MODULE).lint
1605N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
3477N/A
3477N/A#
1605N/A# lint pass one enforcement
1605N/A#
1605N/ACFLAGS += $(CCVERBOSE)
1605N/A
1605N/A#
1605N/A# extra link arguments
3817N/A#
3817N/ALDFLAGS += -dy -N misc/mac -N drv/ip
1605N/A
#
# 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)/sparc/Makefile.targ