12b24ab6bSSebastien Roy# 22b24ab6bSSebastien Roy# CDDL HEADER START 32b24ab6bSSebastien Roy# 42b24ab6bSSebastien Roy# The contents of this file are subject to the terms of the 52b24ab6bSSebastien Roy# Common Development and Distribution License (the "License"). 62b24ab6bSSebastien Roy# You may not use this file except in compliance with the License. 72b24ab6bSSebastien Roy# 82b24ab6bSSebastien Roy# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 92b24ab6bSSebastien Roy# or http://www.opensolaris.org/os/licensing. 102b24ab6bSSebastien Roy# See the License for the specific language governing permissions 112b24ab6bSSebastien Roy# and limitations under the License. 122b24ab6bSSebastien Roy# 132b24ab6bSSebastien Roy# When distributing Covered Code, include this CDDL HEADER in each 142b24ab6bSSebastien Roy# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 152b24ab6bSSebastien Roy# If applicable, add the following below this CDDL HEADER, with the 162b24ab6bSSebastien Roy# fields enclosed by brackets "[]" replaced with your own identifying 172b24ab6bSSebastien Roy# information: Portions Copyright [yyyy] [name of copyright owner] 182b24ab6bSSebastien Roy# 192b24ab6bSSebastien Roy# CDDL HEADER END 202b24ab6bSSebastien Roy# 212b24ab6bSSebastien Roy# 222b24ab6bSSebastien Roy# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 232b24ab6bSSebastien Roy# Use is subject to license terms. 242b24ab6bSSebastien Roy# 252b24ab6bSSebastien Roy# 262b24ab6bSSebastien Roy# This makefile drives the production of the mac_ipv6 plugin 272b24ab6bSSebastien Roy# kernel module. 282b24ab6bSSebastien Roy# 292b24ab6bSSebastien Roy 302b24ab6bSSebastien Roy# 312b24ab6bSSebastien Roy# Path to the base of the uts directory tree (usually /usr/src/uts). 322b24ab6bSSebastien Roy# 332b24ab6bSSebastien RoyUTSBASE = ../.. 342b24ab6bSSebastien Roy 352b24ab6bSSebastien Roy# 362b24ab6bSSebastien Roy# Define the module and object file sets. 372b24ab6bSSebastien Roy# 382b24ab6bSSebastien RoyMODULE = mac_ipv6 392b24ab6bSSebastien RoyOBJECTS = $(MAC_IPV6_OBJS:%=$(OBJS_DIR)/%) 402b24ab6bSSebastien RoyROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE) 412b24ab6bSSebastien Roy 422b24ab6bSSebastien Roy# 432b24ab6bSSebastien Roy# Include common rules. 442b24ab6bSSebastien Roy# 452b24ab6bSSebastien Royinclude $(UTSBASE)/intel/Makefile.intel 462b24ab6bSSebastien Roy 472b24ab6bSSebastien Roy# 482b24ab6bSSebastien Roy# Define targets 492b24ab6bSSebastien Roy# 502b24ab6bSSebastien RoyALL_TARGET = $(BINARY) 512b24ab6bSSebastien RoyINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 522b24ab6bSSebastien Roy 532b24ab6bSSebastien Roy# 542b24ab6bSSebastien Roy# Overrides. 552b24ab6bSSebastien Roy# 562b24ab6bSSebastien RoyCFLAGS += $(CCVERBOSE) 57*82d0151aSRichard LoweLDFLAGS += -Nmisc/mac -Nmac/mac_ipv4 582b24ab6bSSebastien Roy 592b24ab6bSSebastien Roy 602b24ab6bSSebastien Roy# 612b24ab6bSSebastien Roy# Default build targets. 622b24ab6bSSebastien Roy# 632b24ab6bSSebastien Roy.KEEP_STATE: 642b24ab6bSSebastien Roy 652b24ab6bSSebastien Roydef: $(DEF_DEPS) 662b24ab6bSSebastien Roy 672b24ab6bSSebastien Royall: $(ALL_DEPS) 682b24ab6bSSebastien Roy 692b24ab6bSSebastien Royclean: $(CLEAN_DEPS) 702b24ab6bSSebastien Roy 712b24ab6bSSebastien Royclobber: $(CLOBBER_DEPS) 722b24ab6bSSebastien Roy 732b24ab6bSSebastien Royinstall: $(INSTALL_DEPS) 742b24ab6bSSebastien Roy 752b24ab6bSSebastien Roy# 762b24ab6bSSebastien Roy# Include common targets. 772b24ab6bSSebastien Roy# 782b24ab6bSSebastien Royinclude $(UTSBASE)/intel/Makefile.targ 79