Makefile revision c8343062f6e25afd9c2a31b65df357030e69fa55
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# CDDL HEADER START
04428429c4e689333e3ef8d19a2debeb20d4d15dMark Andrews#
e999539fb3e45b2617571e0e3ecd651992291701Mark Andrews# The contents of this file are subject to the terms of the
e999539fb3e45b2617571e0e3ecd651992291701Mark Andrews# Common Development and Distribution License, Version 1.0 only
2a40fdc2d34adb8a5c72a748449699666032d461Mark Andrews# (the "License"). You may not use this file except in compliance
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# with the License.
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews#
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# or http://www.opensolaris.org/os/licensing.
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# See the License for the specific language governing permissions
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# and limitations under the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
d56e188030368b835122d759ebbf8d9613c166f4Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews#
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# uts/i86pc/vuidm5p/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# Use is subject to license terms.
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews#
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#ident "%Z%%M% %I% %E% SMI"
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews#
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# This makefile drives the production of the vuidm5p streams kernel
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# module.
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# i86pc implementation architecture dependent
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews#
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews# Path to the base of the uts directory tree (usually /usr/src/uts).
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c718d15a9a95054ee3c71540c02335426071fc6dMark AndrewsUTSBASE = ../..
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c069a20053d41ae299eb9457e50ea44ae9f73ed2Mark Andrews#
ed178efa9ab8f813538fce4ff603b81ded9f1799Mark Andrews# Define the module and object file sets.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
605bd686e437162b5ab65ac4e7c1be0bba1886ddMark AndrewsMODULE = vuidm5p
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsOBJECTS = $(VUIDM5P_OBJS:%=$(OBJS_DIR)/%)
3f6174bffe227be44e241a29d186add00c032ff6Mark AndrewsLINTS = $(VUIDM5P_OBJS:%.o=$(LINTS_DIR)/%.ln)
1eb1e1e838d2ea00b166c918bf50764a95826be8Mark AndrewsROOTMODULE = $(ROOT_PSM_STRMOD_DIR)/$(MODULE)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews#
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Include common rules.
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews#
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrewsinclude $(UTSBASE)/i86pc/Makefile.i86pc
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews#
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Define targets
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews#
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsALL_TARGET = $(BINARY)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonLINT_TARGET = $(MODULE).lint
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
26a77b80bb7ee886c6fa704348d5e80a011d8811Mark AndrewsALL_DEFS += -DVUIDM5P
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
6f046a065e5543f8cd7e2f24991c65d2372f4c8dMark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Default build targets.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews.KEEP_STATE:
62ee2c9f460d2e2e45dcf1abc8b4b4a4a43f5618Mark Andrews
e086341ea57e618a60c9f166b95daee1fab71b3bMark Andrewsdef: $(DEF_DEPS)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewsall: $(ALL_DEPS)
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrewsclean: $(CLEAN_DEPS)
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewsclobber: $(CLOBBER_DEPS)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewslint: $(LINT_DEPS)
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonmodlintlib: $(MODLINTLIB_DEPS)
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonclean.lint: $(CLEAN_LINT_DEPS)
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtoninstall: $(INSTALL_DEPS)
45eca3a5d46ed15aee14d81f6cb6c9fb6f365344Mark Andrews
80f9a970ae6681c08529ef209eaabbe078c27ca3Mark Andrews#
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# Include common targets.
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark Andrews#
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark Andrewsinclude $(UTSBASE)/i86pc/Makefile.targ
dd9ad704c3800e3ab07ede8595871eac79984871Mark Andrews