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# 24*fd9cb95cSsethg# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 25*fd9cb95cSsethg# Use is subject to license terms. 26*fd9cb95cSsethg# 27*fd9cb95cSsethg# ident "%Z%%M% %I% %E% SMI" 28*fd9cb95cSsethg# 29*fd9cb95cSsethg# This makefile drives the production of the i8042 nexus driver 30*fd9cb95cSsethg# 31*fd9cb95cSsethg# sparc implementation architecture dependent 32*fd9cb95cSsethg# 33*fd9cb95cSsethg 34*fd9cb95cSsethg# 35*fd9cb95cSsethg# Path to the base of the uts directory tree (usually /usr/src/uts). 36*fd9cb95cSsethg# 37*fd9cb95cSsethgUTSBASE = ../.. 38*fd9cb95cSsethg 39*fd9cb95cSsethg# 40*fd9cb95cSsethg# Define the module and object file sets. 41*fd9cb95cSsethg# 42*fd9cb95cSsethgMODULE = i8042 43*fd9cb95cSsethgOBJECTS = $(I8042_OBJS:%=$(OBJS_DIR)/%) 44*fd9cb95cSsethgLINTS = $(I8042_OBJS:%.o=$(LINTS_DIR)/%.ln) 45*fd9cb95cSsethgROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 46*fd9cb95cSsethg 47*fd9cb95cSsethg# 48*fd9cb95cSsethg# Include common rules. 49*fd9cb95cSsethg# 50*fd9cb95cSsethginclude $(UTSBASE)/sparc/Makefile.sparc 51*fd9cb95cSsethg 52*fd9cb95cSsethg# 53*fd9cb95cSsethg# Define targets 54*fd9cb95cSsethg# 55*fd9cb95cSsethgALL_TARGET = $(BINARY) # $(SRC_CONFILE) 56*fd9cb95cSsethgLINT_TARGET = $(MODULE).lint 57*fd9cb95cSsethgINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 58*fd9cb95cSsethg 59*fd9cb95cSsethg# 60*fd9cb95cSsethg# Default build targets. 61*fd9cb95cSsethg# 62*fd9cb95cSsethg.KEEP_STATE: 63*fd9cb95cSsethg 64*fd9cb95cSsethgdef: $(DEF_DEPS) 65*fd9cb95cSsethg 66*fd9cb95cSsethgall: $(ALL_DEPS) 67*fd9cb95cSsethg 68*fd9cb95cSsethgclean: $(CLEAN_DEPS) 69*fd9cb95cSsethg 70*fd9cb95cSsethgclobber: $(CLOBBER_DEPS) 71*fd9cb95cSsethg 72*fd9cb95cSsethglint: $(LINT_DEPS) 73*fd9cb95cSsethg 74*fd9cb95cSsethgmodlintlib: $(MODLINTLIB_DEPS) 75*fd9cb95cSsethg 76*fd9cb95cSsethgclean.lint: $(CLEAN_LINT_DEPS) 77*fd9cb95cSsethg 78*fd9cb95cSsethginstall: $(INSTALL_DEPS) 79*fd9cb95cSsethg 80*fd9cb95cSsethg# 81*fd9cb95cSsethg# Include common targets. 82*fd9cb95cSsethg# 83*fd9cb95cSsethginclude $(UTSBASE)/sparc/Makefile.targ 84