Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom# CDDL HEADER START
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom# The contents of this file are subject to the terms of the
a192e900f6d2b0e1a822e3252c0dfd795ed49d76amaguire# Common Development and Distribution License, Version 1.0 only
a192e900f6d2b0e1a822e3252c0dfd795ed49d76amaguire# (the "License"). You may not use this file except in compliance
bd335c6465ddbafe543900df4b03247bfa288effesolom# with the License.
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bd335c6465ddbafe543900df4b03247bfa288effesolom# or http://www.opensolaris.org/os/licensing.
bd335c6465ddbafe543900df4b03247bfa288effesolom# See the License for the specific language governing permissions
bd335c6465ddbafe543900df4b03247bfa288effesolom# and limitations under the License.
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom# When distributing Covered Code, include this CDDL HEADER in each
bd335c6465ddbafe543900df4b03247bfa288effesolom# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bd335c6465ddbafe543900df4b03247bfa288effesolom# If applicable, add the following below this CDDL HEADER, with the
bd335c6465ddbafe543900df4b03247bfa288effesolom# fields enclosed by brackets "[]" replaced with your own identifying
bd335c6465ddbafe543900df4b03247bfa288effesolom# information: Portions Copyright [yyyy] [name of copyright owner]
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom# CDDL HEADER END
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom#
24fe0b3bf671e123467ce1df0b67cadd3614c8e4jmcp# uts/intel/usbprn/Makefile
bd335c6465ddbafe543900df4b03247bfa288effesolom# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
bd335c6465ddbafe543900df4b03247bfa288effesolom# Use is subject to license terms.
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom#pragma ident "%Z%%M% %I% %E% SMI"
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom# This makefile drives the production of the usbprn driver kernel module.
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom# Path to the base of the uts directory tree (usually /usr/src/uts).
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolomUTSBASE = ../..
bd335c6465ddbafe543900df4b03247bfa288effesolom
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom# Define the module and object file sets.
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolomMODULE = usbprn
bd335c6465ddbafe543900df4b03247bfa288effesolomOBJECTS = $(USBPRN_OBJS:%=$(OBJS_DIR)/%)
bd335c6465ddbafe543900df4b03247bfa288effesolomLINTS = $(USBPRN_OBJS:%.o=$(LINTS_DIR)/%.ln)
bd335c6465ddbafe543900df4b03247bfa288effesolomROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
bd335c6465ddbafe543900df4b03247bfa288effesolom
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom# Include common rules.
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolominclude $(UTSBASE)/intel/Makefile.intel
bd335c6465ddbafe543900df4b03247bfa288effesolom
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom# Define targets
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolomALL_TARGET = $(BINARY)
bd335c6465ddbafe543900df4b03247bfa288effesolomLINT_TARGET = $(MODULE).lint
bd335c6465ddbafe543900df4b03247bfa288effesolomINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
bd335c6465ddbafe543900df4b03247bfa288effesolom
bd335c6465ddbafe543900df4b03247bfa288effesolom#
bd335c6465ddbafe543900df4b03247bfa288effesolom# Override defaults to build a unique, local modstubs.o.
bd335c6465ddbafe543900df4b03247bfa288effesolom#
MODSTUBS_DIR = $(OBJS_DIR)
CLEANFILES += $(MODSTUBS_O)
#
# depends on misc/usba
#
LDFLAGS += -dy -Nmisc/usba
#
# 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)/intel/Makefile.targ