187c96ac5SQuaker Fang# 287c96ac5SQuaker Fang# CDDL HEADER START 387c96ac5SQuaker Fang# 487c96ac5SQuaker Fang# The contents of this file are subject to the terms of the 587c96ac5SQuaker Fang# Common Development and Distribution License (the "License"). 687c96ac5SQuaker Fang# You may not use this file except in compliance with the License. 787c96ac5SQuaker Fang# 887c96ac5SQuaker Fang# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 987c96ac5SQuaker Fang# or http://www.opensolaris.org/os/licensing. 1087c96ac5SQuaker Fang# See the License for the specific language governing permissions 1187c96ac5SQuaker Fang# and limitations under the License. 1287c96ac5SQuaker Fang# 1387c96ac5SQuaker Fang# When distributing Covered Code, include this CDDL HEADER in each 1487c96ac5SQuaker Fang# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1587c96ac5SQuaker Fang# If applicable, add the following below this CDDL HEADER, with the 1687c96ac5SQuaker Fang# fields enclosed by brackets "[]" replaced with your own identifying 1787c96ac5SQuaker Fang# information: Portions Copyright [yyyy] [name of copyright owner] 1887c96ac5SQuaker Fang# 1987c96ac5SQuaker Fang# CDDL HEADER END 2087c96ac5SQuaker Fang# 2187c96ac5SQuaker Fang# 2287c96ac5SQuaker Fang# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 2387c96ac5SQuaker Fang# Use is subject to license terms. 2487c96ac5SQuaker Fang# 2587c96ac5SQuaker Fang 2687c96ac5SQuaker Fang# 2787c96ac5SQuaker Fang# This makefile drives the production of the rum driver kernel module. 2887c96ac5SQuaker Fang# 2987c96ac5SQuaker Fang# i86pc architecture dependent 3087c96ac5SQuaker Fang# 3187c96ac5SQuaker Fang 3287c96ac5SQuaker Fang# 3387c96ac5SQuaker Fang# Path to the base of the uts directory tree (usually /usr/src/uts). 3487c96ac5SQuaker Fang# 3587c96ac5SQuaker FangUTSBASE = ../.. 3687c96ac5SQuaker Fang 3787c96ac5SQuaker Fang# 3887c96ac5SQuaker Fang# Define the module and object file sets. 3987c96ac5SQuaker Fang# 4087c96ac5SQuaker FangMODULE = rum 4187c96ac5SQuaker FangOBJECTS = $(RUM_OBJS:%=$(OBJS_DIR)/%) 4287c96ac5SQuaker FangROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 4387c96ac5SQuaker Fang 4487c96ac5SQuaker Fang# 4587c96ac5SQuaker Fang# Include common rules. 4687c96ac5SQuaker Fang# 4787c96ac5SQuaker Fanginclude $(UTSBASE)/intel/Makefile.intel 4887c96ac5SQuaker Fang 4987c96ac5SQuaker Fang# 5087c96ac5SQuaker Fang# Define targets 5187c96ac5SQuaker Fang# 5287c96ac5SQuaker FangALL_TARGET = $(BINARY) 5387c96ac5SQuaker FangINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 5487c96ac5SQuaker Fang 5587c96ac5SQuaker Fang# 5687c96ac5SQuaker Fang# Driver depends on GLDv3 & wifi kernel support module. 5787c96ac5SQuaker Fang# 58*82d0151aSRichard LoweLDFLAGS += -Nmisc/mac -Nmisc/net80211 -Nmisc/usba 5987c96ac5SQuaker Fang 6087c96ac5SQuaker Fang# 6187c96ac5SQuaker Fang# Default build targets. 6287c96ac5SQuaker Fang# 6387c96ac5SQuaker Fang.KEEP_STATE: 6487c96ac5SQuaker Fang 6587c96ac5SQuaker Fangdef: $(DEF_DEPS) 6687c96ac5SQuaker Fang 6787c96ac5SQuaker Fangall: $(ALL_DEPS) 6887c96ac5SQuaker Fang 6987c96ac5SQuaker Fangclean: $(CLEAN_DEPS) 7087c96ac5SQuaker Fang 7187c96ac5SQuaker Fangclobber: $(CLOBBER_DEPS) 7287c96ac5SQuaker Fang 7387c96ac5SQuaker Fanginstall: $(INSTALL_DEPS) 7487c96ac5SQuaker Fang 7587c96ac5SQuaker Fang# 7687c96ac5SQuaker Fang# Include common targets. 7787c96ac5SQuaker Fang# 7887c96ac5SQuaker Fanginclude $(UTSBASE)/intel/Makefile.targ 7987c96ac5SQuaker Fang 8087c96ac5SQuaker Fang# 8187c96ac5SQuaker Fang# If you have any special case that general 8287c96ac5SQuaker Fang# Makefile rules don't serve for you, just do 8387c96ac5SQuaker Fang# it yourself. 8487c96ac5SQuaker Fang# 85