1*d62bc4baSyz147064# 2*d62bc4baSyz147064# CDDL HEADER START 3*d62bc4baSyz147064# 4*d62bc4baSyz147064# The contents of this file are subject to the terms of the 5*d62bc4baSyz147064# Common Development and Distribution License (the "License"). 6*d62bc4baSyz147064# You may not use this file except in compliance with the License. 7*d62bc4baSyz147064# 8*d62bc4baSyz147064# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*d62bc4baSyz147064# or http://www.opensolaris.org/os/licensing. 10*d62bc4baSyz147064# See the License for the specific language governing permissions 11*d62bc4baSyz147064# and limitations under the License. 12*d62bc4baSyz147064# 13*d62bc4baSyz147064# When distributing Covered Code, include this CDDL HEADER in each 14*d62bc4baSyz147064# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*d62bc4baSyz147064# If applicable, add the following below this CDDL HEADER, with the 16*d62bc4baSyz147064# fields enclosed by brackets "[]" replaced with your own identifying 17*d62bc4baSyz147064# information: Portions Copyright [yyyy] [name of copyright owner] 18*d62bc4baSyz147064# 19*d62bc4baSyz147064# CDDL HEADER END 20*d62bc4baSyz147064# 21*d62bc4baSyz147064# 22*d62bc4baSyz147064# uts/intel/net_dacf/Makefile 23*d62bc4baSyz147064# 24*d62bc4baSyz147064# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 25*d62bc4baSyz147064# Use is subject to license terms. 26*d62bc4baSyz147064# 27*d62bc4baSyz147064#pragma ident "%Z%%M% %I% %E% SMI" 28*d62bc4baSyz147064 29*d62bc4baSyz147064# 30*d62bc4baSyz147064# Path to the base of the uts directory tree (usually /usr/src/uts). 31*d62bc4baSyz147064# 32*d62bc4baSyz147064UTSBASE = ../.. 33*d62bc4baSyz147064 34*d62bc4baSyz147064# 35*d62bc4baSyz147064# Define the module and object file sets. 36*d62bc4baSyz147064# 37*d62bc4baSyz147064MODULE = net_dacf 38*d62bc4baSyz147064OBJECTS = $(NET_DACF_OBJS:%=$(OBJS_DIR)/%) 39*d62bc4baSyz147064LINTS = $(NET_DACF_OBJS:%.o=$(LINTS_DIR)/%.ln) 40*d62bc4baSyz147064ROOTMODULE = $(ROOT_DACF_DIR)/$(MODULE) 41*d62bc4baSyz147064 42*d62bc4baSyz147064# 43*d62bc4baSyz147064# Include common rules. 44*d62bc4baSyz147064# 45*d62bc4baSyz147064include $(UTSBASE)/intel/Makefile.intel 46*d62bc4baSyz147064 47*d62bc4baSyz147064# 48*d62bc4baSyz147064# lint pass one enforcement 49*d62bc4baSyz147064# 50*d62bc4baSyz147064CFLAGS += $(CCVERBOSE) 51*d62bc4baSyz147064LDFLAGS += -dy -Ndrv/softmac 52*d62bc4baSyz147064 53*d62bc4baSyz147064# 54*d62bc4baSyz147064# Define targets 55*d62bc4baSyz147064# 56*d62bc4baSyz147064ALL_TARGET = $(BINARY) 57*d62bc4baSyz147064LINT_TARGET = $(MODULE).lint 58*d62bc4baSyz147064INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 59*d62bc4baSyz147064 60*d62bc4baSyz147064.KEEP_STATE: 61*d62bc4baSyz147064 62*d62bc4baSyz147064def: $(DEF_DEPS) 63*d62bc4baSyz147064 64*d62bc4baSyz147064all: $(ALL_DEPS) 65*d62bc4baSyz147064 66*d62bc4baSyz147064clean: $(CLEAN_DEPS) 67*d62bc4baSyz147064 68*d62bc4baSyz147064clobber: $(CLOBBER_DEPS) 69*d62bc4baSyz147064 70*d62bc4baSyz147064lint: $(LINT_DEPS) 71*d62bc4baSyz147064 72*d62bc4baSyz147064modlintlib: $(MODLINTLIB_DEPS) 73*d62bc4baSyz147064 74*d62bc4baSyz147064clean.lint: $(CLEAN_LINT_DEPS) 75*d62bc4baSyz147064 76*d62bc4baSyz147064install: $(INSTALL_DEPS) 77*d62bc4baSyz147064 78*d62bc4baSyz147064# 79*d62bc4baSyz147064# Include common targets. 80*d62bc4baSyz147064# 81*d62bc4baSyz147064include $(UTSBASE)/intel/Makefile.targ 82