1c138f478Syz147069# 2c138f478Syz147069# CDDL HEADER START 3c138f478Syz147069# 4c138f478Syz147069# The contents of this file are subject to the terms of the 5c138f478Syz147069# Common Development and Distribution License, Version 1.0 only 6c138f478Syz147069# (the "License"). You may not use this file except in compliance 7c138f478Syz147069# with the License. 8c138f478Syz147069# 9c138f478Syz147069# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10c138f478Syz147069# or http://www.opensolaris.org/os/licensing. 11c138f478Syz147069# See the License for the specific language governing permissions 12c138f478Syz147069# and limitations under the License. 13c138f478Syz147069# 14c138f478Syz147069# When distributing Covered Code, include this CDDL HEADER in each 15c138f478Syz147069# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16c138f478Syz147069# If applicable, add the following below this CDDL HEADER, with the 17c138f478Syz147069# fields enclosed by brackets "[]" replaced with your own identifying 18c138f478Syz147069# information: Portions Copyright [yyyy] [name of copyright owner] 19c138f478Syz147069# 20c138f478Syz147069# CDDL HEADER END 21c138f478Syz147069# 22c138f478Syz147069# 23*845fc514Syz147069# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24c138f478Syz147069# Use is subject to license terms. 25c138f478Syz147069# 26c138f478Syz147069#ident "%Z%%M% %I% %E% SMI" 27c138f478Syz147069# 28c138f478Syz147069# uts/sparc/usbs49_fw/Makefile 29c138f478Syz147069 30c138f478Syz147069# 31c138f478Syz147069# This makefile drives the production of the usbs49_fw kernel module. 32c138f478Syz147069# 33c138f478Syz147069# 34c138f478Syz147069# Path to the base of the uts directory tree (usually /usr/src/uts). 35c138f478Syz147069# 36c138f478Syz147069UTSBASE = ../.. 37c138f478Syz147069 38c138f478Syz147069# 39c138f478Syz147069# Define the module and object file sets. 40c138f478Syz147069# 41c138f478Syz147069MODULE = usbs49_fw 42c138f478Syz147069OBJECTS = $(USBS49_FW_OBJS:%=$(OBJS_DIR)/%) 43c138f478Syz147069LINTS = $(USBS49_FW_OBJS:%.o=$(LINTS_DIR)/%.ln) 44c138f478Syz147069ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) 45c138f478Syz147069 46c138f478Syz147069# 47c138f478Syz147069# Include common rules. 48c138f478Syz147069# 49c138f478Syz147069include $(UTSBASE)/sparc/Makefile.sparc 50c138f478Syz147069 51c138f478Syz147069# 52c138f478Syz147069# lint pass one enforcement 53c138f478Syz147069# 54c138f478Syz147069CFLAGS += $(CCVERBOSE) 55c138f478Syz147069 56c138f478Syz147069# 57c138f478Syz147069# Define targets 58c138f478Syz147069# 59c138f478Syz147069ALL_TARGET = $(BINARY) 60c138f478Syz147069LINT_TARGET = $(MODULE).lint 61c138f478Syz147069INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 62c138f478Syz147069 63c138f478Syz147069.KEEP_STATE: 64c138f478Syz147069 65c138f478Syz147069all: $(ALL_DEPS) 66c138f478Syz147069 67c138f478Syz147069def: $(DEF_DEPS) 68c138f478Syz147069 69*845fc514Syz147069clean: $(CLEAN_DEPS); 70c138f478Syz147069 71*845fc514Syz147069clobber: $(CLOBBER_DEPS); 72c138f478Syz147069 73c138f478Syz147069lint: $(LINT_DEPS) 74c138f478Syz147069 75c138f478Syz147069modlintlib: $(MODLINTLIB_DEPS) 76c138f478Syz147069 77c138f478Syz147069clean.lint: $(CLEAN_LINT_DEPS) 78c138f478Syz147069 79c138f478Syz147069install: $(INSTALL_DEPS) 80c138f478Syz147069 81c138f478Syz147069# 82c138f478Syz147069# Include common targets. 83c138f478Syz147069# 84c138f478Syz147069include $(UTSBASE)/sparc/Makefile.targ 85