15cff7825Smh# 25cff7825Smh# CDDL HEADER START 35cff7825Smh# 45cff7825Smh# The contents of this file are subject to the terms of the 55cff7825Smh# Common Development and Distribution License (the "License"). 65cff7825Smh# You may not use this file except in compliance with the License. 75cff7825Smh# 85cff7825Smh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 95cff7825Smh# or http://www.opensolaris.org/os/licensing. 105cff7825Smh# See the License for the specific language governing permissions 115cff7825Smh# and limitations under the License. 125cff7825Smh# 135cff7825Smh# When distributing Covered Code, include this CDDL HEADER in each 145cff7825Smh# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 155cff7825Smh# If applicable, add the following below this CDDL HEADER, with the 165cff7825Smh# fields enclosed by brackets "[]" replaced with your own identifying 175cff7825Smh# information: Portions Copyright [yyyy] [name of copyright owner] 185cff7825Smh# 195cff7825Smh# CDDL HEADER END 205cff7825Smh# 21843e1988Sjohnlev 225cff7825Smh# 235cff7825Smh# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 245cff7825Smh# Use is subject to license terms. 255cff7825Smh# 26*7014882cSRichard Lowe 275cff7825Smh# 28843e1988Sjohnlev# This makefile drives the production of the consconfig_dacf module. 295cff7825Smh# 305cff7825Smh# Path to the base of the uts directory tree (usually /usr/src/uts). 315cff7825Smh# 32843e1988SjohnlevUTSBASE = ../.. 335cff7825Smh 345cff7825Smh# 355cff7825Smh# Define the module and object file sets. 365cff7825Smh# 37843e1988SjohnlevMODULE = consconfig_dacf 38843e1988SjohnlevOBJECTS = $(CONSCONFIG_DACF_OBJS:%=$(OBJS_DIR)/%) 39843e1988SjohnlevLINTS = $(CONSCONFIG_DACF_OBJS:%.o=$(LINTS_DIR)/%.ln) 40843e1988SjohnlevROOTMODULE = $(ROOT_PSM_DACF_DIR)/$(MODULE) 415cff7825Smh 425cff7825Smh# 435cff7825Smh# Include common rules. 445cff7825Smh# 45843e1988Sjohnlevinclude $(UTSBASE)/i86xpv/Makefile.i86xpv 465cff7825Smh 475cff7825Smh# 48843e1988Sjohnlev# Define targets 495cff7825Smh# 50843e1988SjohnlevALL_TARGET = $(BINARY) 51843e1988SjohnlevLINT_TARGET = $(MODULE).lint 52843e1988SjohnlevINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 535cff7825Smh 545cff7825Smh# 55843e1988Sjohnlev# Overrides 565cff7825Smh# 57843e1988SjohnlevLDFLAGS += -dy -Nmisc/usbser 58843e1988Sjohnlev 59*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses 60*7014882cSRichard Lowe 615cff7825Smh.KEEP_STATE: 625cff7825Smh 63843e1988Sjohnlevdef: $(DEF_DEPS) 645cff7825Smh 65843e1988Sjohnlevall: $(ALL_DEPS) 665cff7825Smh 67843e1988Sjohnlevclean: $(CLEAN_DEPS) 685cff7825Smh 69843e1988Sjohnlevclobber: $(CLOBBER_DEPS) 705cff7825Smh 71843e1988Sjohnlevlint: $(LINT_DEPS) 725cff7825Smh 73843e1988Sjohnlevmodlintlib: $(MODLINTLIB_DEPS) 745cff7825Smh 75843e1988Sjohnlevclean.lint: $(CLEAN_LINT_DEPS) 765cff7825Smh 77843e1988Sjohnlevinstall: $(INSTALL_DEPS) 785cff7825Smh 795cff7825Smh# 80843e1988Sjohnlev# Include common targets. 815cff7825Smh# 82843e1988Sjohnlevinclude $(UTSBASE)/i86xpv/Makefile.targ 83