1*fd9cb95cSsethg# 2*fd9cb95cSsethg# CDDL HEADER START 3*fd9cb95cSsethg# 4*fd9cb95cSsethg# The contents of this file are subject to the terms of the 5*fd9cb95cSsethg# Common Development and Distribution License, Version 1.0 only 6*fd9cb95cSsethg# (the "License"). You may not use this file except in compliance 7*fd9cb95cSsethg# with the License. 8*fd9cb95cSsethg# 9*fd9cb95cSsethg# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*fd9cb95cSsethg# or http://www.opensolaris.org/os/licensing. 11*fd9cb95cSsethg# See the License for the specific language governing permissions 12*fd9cb95cSsethg# and limitations under the License. 13*fd9cb95cSsethg# 14*fd9cb95cSsethg# When distributing Covered Code, include this CDDL HEADER in each 15*fd9cb95cSsethg# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*fd9cb95cSsethg# If applicable, add the following below this CDDL HEADER, with the 17*fd9cb95cSsethg# fields enclosed by brackets "[]" replaced with your own identifying 18*fd9cb95cSsethg# information: Portions Copyright [yyyy] [name of copyright owner] 19*fd9cb95cSsethg# 20*fd9cb95cSsethg# CDDL HEADER END 21*fd9cb95cSsethg# 22*fd9cb95cSsethg# 23*fd9cb95cSsethg# uts/sparc/mouse8042/%M% 24*fd9cb95cSsethg# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 25*fd9cb95cSsethg# Use is subject to license terms. 26*fd9cb95cSsethg# 27*fd9cb95cSsethg#pragma ident "%Z%%M% %I% %E% SMI" 28*fd9cb95cSsethg# 29*fd9cb95cSsethg# This makefile drives the production of the mouse8042 driver 30*fd9cb95cSsethg# 31*fd9cb95cSsethg# 32*fd9cb95cSsethg 33*fd9cb95cSsethg# 34*fd9cb95cSsethg# Path to the base of the uts directory tree (usually /usr/src/uts). 35*fd9cb95cSsethg# 36*fd9cb95cSsethgUTSBASE = ../.. 37*fd9cb95cSsethg 38*fd9cb95cSsethg# 39*fd9cb95cSsethg# Define the module and object file sets. 40*fd9cb95cSsethg# 41*fd9cb95cSsethgMODULE = mouse8042 42*fd9cb95cSsethgOBJECTS = $(MOUSE8042_OBJS:%=$(OBJS_DIR)/%) 43*fd9cb95cSsethgLINTS = $(MOUSE8042_OBJS:%.o=$(LINTS_DIR)/%.ln) 44*fd9cb95cSsethgROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 45*fd9cb95cSsethg 46*fd9cb95cSsethg# 47*fd9cb95cSsethg# Include common rules. 48*fd9cb95cSsethg# 49*fd9cb95cSsethginclude $(UTSBASE)/sparc/Makefile.sparc 50*fd9cb95cSsethg 51*fd9cb95cSsethg# 52*fd9cb95cSsethg# Define targets 53*fd9cb95cSsethg# 54*fd9cb95cSsethgALL_TARGET = $(BINARY) # $(SRC_CONFILE) 55*fd9cb95cSsethgLINT_TARGET = $(MODULE).lint 56*fd9cb95cSsethgINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 57*fd9cb95cSsethg 58*fd9cb95cSsethgLDFLAGS += -dy -Ndacf/consconfig_dacf 59*fd9cb95cSsethg 60*fd9cb95cSsethg# 61*fd9cb95cSsethg# Default build targets. 62*fd9cb95cSsethg# 63*fd9cb95cSsethg.KEEP_STATE: 64*fd9cb95cSsethg 65*fd9cb95cSsethgdef: $(DEF_DEPS) 66*fd9cb95cSsethg 67*fd9cb95cSsethgall: $(ALL_DEPS) 68*fd9cb95cSsethg 69*fd9cb95cSsethgclean: $(CLEAN_DEPS) 70*fd9cb95cSsethg 71*fd9cb95cSsethgclobber: $(CLOBBER_DEPS) 72*fd9cb95cSsethg 73*fd9cb95cSsethglint: $(LINT_DEPS) 74*fd9cb95cSsethg 75*fd9cb95cSsethgmodlintlib: $(MODLINTLIB_DEPS) 76*fd9cb95cSsethg 77*fd9cb95cSsethgclean.lint: $(CLEAN_LINT_DEPS) 78*fd9cb95cSsethg 79*fd9cb95cSsethginstall: $(INSTALL_DEPS) 80*fd9cb95cSsethg 81*fd9cb95cSsethg# 82*fd9cb95cSsethg# Include common targets. 83*fd9cb95cSsethg# 84*fd9cb95cSsethginclude $(UTSBASE)/sparc/Makefile.targ 85