1*e11c3f44Smeem# 2*e11c3f44Smeem# CDDL HEADER START 3*e11c3f44Smeem# 4*e11c3f44Smeem# The contents of this file are subject to the terms of the 5*e11c3f44Smeem# Common Development and Distribution License (the "License"). 6*e11c3f44Smeem# You may not use this file except in compliance with the License. 7*e11c3f44Smeem# 8*e11c3f44Smeem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*e11c3f44Smeem# or http://www.opensolaris.org/os/licensing. 10*e11c3f44Smeem# See the License for the specific language governing permissions 11*e11c3f44Smeem# and limitations under the License. 12*e11c3f44Smeem# 13*e11c3f44Smeem# When distributing Covered Code, include this CDDL HEADER in each 14*e11c3f44Smeem# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*e11c3f44Smeem# If applicable, add the following below this CDDL HEADER, with the 16*e11c3f44Smeem# fields enclosed by brackets "[]" replaced with your own identifying 17*e11c3f44Smeem# information: Portions Copyright [yyyy] [name of copyright owner] 18*e11c3f44Smeem# 19*e11c3f44Smeem# CDDL HEADER END 20*e11c3f44Smeem# 21*e11c3f44Smeem# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 22*e11c3f44Smeem# Use is subject to license terms. 23*e11c3f44Smeem# 24*e11c3f44Smeem# This makefile drives the production of the dlpistub STREAMS module. 25*e11c3f44Smeem# intel architecture dependent 26*e11c3f44Smeem# 27*e11c3f44Smeem 28*e11c3f44Smeem# 29*e11c3f44Smeem# Path to the base of the uts directory tree (usually /usr/src/uts). 30*e11c3f44Smeem# 31*e11c3f44SmeemUTSBASE = ../.. 32*e11c3f44Smeem 33*e11c3f44Smeem# 34*e11c3f44Smeem# Define the module and object file sets. 35*e11c3f44Smeem# 36*e11c3f44SmeemMODULE = dlpistub 37*e11c3f44SmeemOBJECTS = $(DLPISTUB_OBJS:%=$(OBJS_DIR)/%) 38*e11c3f44SmeemLINTS = $(DLPISTUB_OBJS:%.o=$(LINTS_DIR)/%.ln) 39*e11c3f44SmeemROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 40*e11c3f44SmeemCONF_SRCDIR = $(UTSBASE)/common/inet/dlpistub 41*e11c3f44Smeem 42*e11c3f44Smeem# 43*e11c3f44Smeem# Include common rules. 44*e11c3f44Smeem# 45*e11c3f44Smeeminclude $(UTSBASE)/intel/Makefile.intel 46*e11c3f44Smeem 47*e11c3f44Smeem# 48*e11c3f44Smeem# Define targets 49*e11c3f44Smeem# 50*e11c3f44SmeemALL_TARGET = $(BINARY) $(SRC_CONFFILE) 51*e11c3f44SmeemLINT_TARGET = $(MODULE).lint 52*e11c3f44SmeemINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 53*e11c3f44Smeem 54*e11c3f44Smeem# 55*e11c3f44Smeem# Overrides. 56*e11c3f44Smeem# 57*e11c3f44SmeemCFLAGS += $(CCVERBOSE) 58*e11c3f44Smeem 59*e11c3f44Smeem# 60*e11c3f44Smeem# Default build targets. 61*e11c3f44Smeem# 62*e11c3f44Smeem.KEEP_STATE: 63*e11c3f44Smeem 64*e11c3f44Smeemdef: $(DEF_DEPS) 65*e11c3f44Smeem 66*e11c3f44Smeemall: $(ALL_DEPS) 67*e11c3f44Smeem 68*e11c3f44Smeemclean: $(CLEAN_DEPS) 69*e11c3f44Smeem 70*e11c3f44Smeemclobber: $(CLOBBER_DEPS) 71*e11c3f44Smeem 72*e11c3f44Smeemlint: $(LINT_DEPS) 73*e11c3f44Smeem 74*e11c3f44Smeemmodlintlib: $(MODLINTLIB_DEPS) 75*e11c3f44Smeem 76*e11c3f44Smeemclean.lint: $(CLEAN_LINT_DEPS) 77*e11c3f44Smeem 78*e11c3f44Smeeminstall: $(INSTALL_DEPS) 79*e11c3f44Smeem 80*e11c3f44Smeem# 81*e11c3f44Smeem# Include common targets. 82*e11c3f44Smeem# 83*e11c3f44Smeeminclude $(UTSBASE)/intel/Makefile.targ 84