1*84612482Sminht# 2*84612482Sminht# CDDL HEADER START 3*84612482Sminht# 4*84612482Sminht# The contents of this file are subject to the terms of the 5*84612482Sminht# Common Development and Distribution License, Version 1.0 only 6*84612482Sminht# (the "License"). You may not use this file except in compliance 7*84612482Sminht# with the License. 8*84612482Sminht# 9*84612482Sminht# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*84612482Sminht# or http://www.opensolaris.org/os/licensing. 11*84612482Sminht# See the License for the specific language governing permissions 12*84612482Sminht# and limitations under the License. 13*84612482Sminht# 14*84612482Sminht# When distributing Covered Code, include this CDDL HEADER in each 15*84612482Sminht# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*84612482Sminht# If applicable, add the following below this CDDL HEADER, with the 17*84612482Sminht# fields enclosed by brackets "[]" replaced with your own identifying 18*84612482Sminht# information: Portions Copyright [yyyy] [name of copyright owner] 19*84612482Sminht# 20*84612482Sminht# CDDL HEADER END 21*84612482Sminht# 22*84612482Sminht# 23*84612482Sminht# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24*84612482Sminht# Use is subject to license terms. 25*84612482Sminht# 26*84612482Sminht# ident "%Z%%M% %I% %E% SMI" 27*84612482Sminht# 28*84612482Sminht# 29*84612482Sminht# This makefile drives the production of todbq4802 kernel module. 30*84612482Sminht# 31*84612482Sminht# sun4u implementation architecture dependent 32*84612482Sminht# 33*84612482Sminht 34*84612482Sminht# 35*84612482Sminht# Path to the base of the uts directory tree (usually /usr/src/uts). 36*84612482Sminht# 37*84612482SminhtUTSBASE = ../.. 38*84612482Sminht 39*84612482Sminht# 40*84612482Sminht# Define the module anD Object file sets. 41*84612482Sminht# 42*84612482SminhtMODULE = todbq4802 43*84612482SminhtOBJECTS = $(TODBQ4802_OBJS:%=$(OBJS_DIR)/%) 44*84612482SminhtLINTS = $(TODBQ4802_OBJS:%.o=$(LINTS_DIR)/%.ln) 45*84612482SminhtROOTMODULE = $(ROOT_PSM_TOD_DIR)/$(MODULE) 46*84612482Sminht 47*84612482Sminht# 48*84612482Sminht# Include common rules. 49*84612482Sminht# 50*84612482Sminhtinclude $(UTSBASE)/sun4u/Makefile.sun4u 51*84612482Sminht 52*84612482Sminht# 53*84612482Sminht# Define targets 54*84612482Sminht# 55*84612482SminhtALL_TARGET = $(BINARY) 56*84612482SminhtLINT_TARGET = $(MODULE).lint 57*84612482SminhtINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 58*84612482Sminht 59*84612482Sminht# 60*84612482Sminht# lint pass one enforcement 61*84612482Sminht# 62*84612482SminhtCFLAGS += $(CCVERBOSE) 63*84612482Sminht 64*84612482Sminht# 65*84612482Sminht# Default build targets. 66*84612482Sminht# 67*84612482Sminht.KEEP_STATE: 68*84612482Sminht 69*84612482Sminhtdef: $(DEF_DEPS) 70*84612482Sminht 71*84612482Sminhtall: $(ALL_DEPS) 72*84612482Sminht 73*84612482Sminhtclean: $(CLEAN_DEPS) 74*84612482Sminht 75*84612482Sminhtclobber: $(CLOBBER_DEPS) 76*84612482Sminht 77*84612482Sminhtlint: $(LINT_DEPS) 78*84612482Sminht 79*84612482Sminhtmodlintlib: $(MODLINTLIB_DEPS) 80*84612482Sminht 81*84612482Sminhtclean.lint: $(CLEAN_LINT_DEPS) 82*84612482Sminht 83*84612482Sminhtinstall: $(INSTALL_DEPS) 84*84612482Sminht 85*84612482Sminht# 86*84612482Sminht# Include common targets. 87*84612482Sminht# 88*84612482Sminhtinclude $(UTSBASE)/sun4u/Makefile.targ 89*84612482Sminht 90