Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
012a352f4b26cfd874db8d06debc495c2303e8b2Bob Halley#
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley# CDDL HEADER START
24a4fabc0b0508a2d2b4651454dba1dfa93968f2Tinderbox User#
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# The contents of this file are subject to the terms of the
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# Common Development and Distribution License, Version 1.0 only
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# (the "License"). You may not use this file except in compliance
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# with the License.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews#
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# or http://www.opensolaris.org/os/licensing.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# See the License for the specific language governing permissions
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# and limitations under the License.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews#
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley# fields enclosed by brackets "[]" replaced with your own identifying
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence#
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt# CDDL HEADER END
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt#
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt#
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt# uts/i86pc/msmouse/Makefile
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt#
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence# Use is subject to license terms.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley#
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley#ident "%Z%%M% %I% %E% SMI"
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt#
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# This makefile drives the production of the msmouse driver
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# kernel module.
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley#
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# i86pc architecture dependent
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley#
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt#
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley# Path to the base of the uts directory tree (usually /usr/src/uts).
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley#
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan HuntUTSBASE = ../..
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley#
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt# Define the module and object file sets.
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt#
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan HuntMODULE = msm
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan HuntOBJECTS = $(MSMOUSE_OBJS:%=$(OBJS_DIR)/%)
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan HuntLINTS = $(MSMOUSE_OBJS:%.o=$(LINTS_DIR)/%.ln)
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan HuntROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan HuntITU_SRCDIR = $(UTSBASE)/i86pc/io
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt#
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan Hunt# Include common rules.
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence#
460b427411b72da26b1836b9424e2e70d65d9394David Lawrenceinclude $(UTSBASE)/i86pc/Makefile.i86pc
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrews
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrews#
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrews# Define targets
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrews#
18483fce5b9d1e02748bdcb916014cedea654f78Mark AndrewsALL_TARGET = $(BINARY) $(ITUMOD)
18483fce5b9d1e02748bdcb916014cedea654f78Mark AndrewsLINT_TARGET = $(MODULE).lint
18483fce5b9d1e02748bdcb916014cedea654f78Mark AndrewsINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_ITUFILE)
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley#
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence# Overrides.
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence#
af9dbf1ccdd53933aaae9300d13ce0965d39b067Evan HuntDEF_BUILDS = $(DEF_BUILDS32)
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David LawrenceALL_BUILDS = $(ALL_BUILDS32)
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence
dabea86dac4c01f852b7aea728f73b4f55a89d44Mark Andrews#
dabea86dac4c01f852b7aea728f73b4f55a89d44Mark Andrews# Default build targets.
dabea86dac4c01f852b7aea728f73b4f55a89d44Mark Andrews#
12a3ab37fe6556406acdf92fc7c5f198d603ca2eMark Andrews.KEEP_STATE:
f5cfcbf2f7906fb59c2b8b9b8fc9c7a75ac44dabMark Andrews
2d46d268ccff30bb50e661b47c6496d23d9156c7Mark Andrewsdef: $(DEF_DEPS)
2d46d268ccff30bb50e661b47c6496d23d9156c7Mark Andrews
dabea86dac4c01f852b7aea728f73b4f55a89d44Mark Andrewsall: $(ALL_DEPS)
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrewsclean: $(CLEAN_DEPS)
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrewsclobber: $(CLOBBER_DEPS)
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrewslint: $(LINT_DEPS)
2d9bd38ec3fbbfe920757b8972d94f664a9b354bMark Andrews
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrewsmodlintlib: $(MODLINTLIB_DEPS)
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrewsclean.lint: $(CLEAN_LINT_DEPS)
8319af16557b81eba3277ee67215285f0823b587Mark Andrews
8319af16557b81eba3277ee67215285f0823b587Mark Andrewsinstall: $(INSTALL_DEPS)
aee5e9cbacd8f88325840b8a498876f4319b0890Mark Andrews
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrews#
9e5854255178c04170bc98839282d4cf3fae7443Mark Andrews# Include common targets.
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrews#
460b427411b72da26b1836b9424e2e70d65d9394David Lawrenceinclude $(UTSBASE)/i86pc/Makefile.targ
18483fce5b9d1e02748bdcb916014cedea654f78Mark Andrews