Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
7e5b2100ea65658a7ec3795919b4ecd29a6f118aMark Andrews# CDDL HEADER START
7e5b2100ea65658a7ec3795919b4ecd29a6f118aMark Andrews#
eae67738cba5ca069e9d1d4e7b836a2f7b00a374Mark Andrews# The contents of this file are subject to the terms of the
eae67738cba5ca069e9d1d4e7b836a2f7b00a374Mark Andrews# Common Development and Distribution License, Version 1.0 only
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# (the "License"). You may not use this file except in compliance
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark 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.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# See the License for the specific language governing permissions
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# and limitations under the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
01bf5871f8861eb805dd8ca79bdb9b0b9e4e6a5eMark 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/intel/inst_sync/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Use is subject to license terms.
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews#
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# This makefile drives the production of the inst_sync system call module.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews# intel processor architecture dependent
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Path to the base of the uts directory tree (usually /usr/src/uts).
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsUTSBASE = ../..
c069a20053d41ae299eb9457e50ea44ae9f73ed2Mark Andrews
ed178efa9ab8f813538fce4ff603b81ded9f1799Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Define the module and object file sets.
605bd686e437162b5ab65ac4e7c1be0bba1886ddMark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsMODULE = inst_sync
ede29aeb412c5448ab9a2028763ae08e7887ca74Mark AndrewsOBJECTS = $(INSTANCE_OBJS:%=$(OBJS_DIR)/%)
1eb1e1e838d2ea00b166c918bf50764a95826be8Mark AndrewsLINTS = $(INSTANCE_OBJS:%.o=$(LINTS_DIR)/%.ln)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsROOTMODULE = $(ROOT_SYS_DIR)/$(MODULE)
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# Include common rules.
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews#
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssoninclude $(UTSBASE)/intel/Makefile.intel
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews#
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Define targets
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonALL_TARGET = $(BINARY)
26a77b80bb7ee886c6fa704348d5e80a011d8811Mark AndrewsLINT_TARGET = $(MODULE).lint
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
7e5b2100ea65658a7ec3795919b4ecd29a6f118aMark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsCERRWARN += -_gcc=-Wno-parentheses
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
62ee2c9f460d2e2e45dcf1abc8b4b4a4a43f5618Mark Andrews# Default build targets.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews.KEEP_STATE:
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews
068a66979695c77359e7a9181bb3f831c965b21cMark Andrewsdef: $(DEF_DEPS)
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonall: $(ALL_DEPS)
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrewsclean: $(CLEAN_DEPS)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrewsclobber: $(CLOBBER_DEPS)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrewslint: $(LINT_DEPS)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
c25080dc50542213058c240226c9f342186e6285Mark Andrewsmodlintlib: $(MODLINTLIB_DEPS)
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark Andrewsclean.lint: $(CLEAN_LINT_DEPS)
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark Andrews
642e0716c8b4ab82ebc8e60f94c9e897ee89f19aMark Andrewsinstall: $(INSTALL_DEPS)
605bd686e437162b5ab65ac4e7c1be0bba1886ddMark Andrews
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews#
413988c8166976498250c0ebb2e3a645d0366bd3Mark Andrews# Include common targets.
605bd686e437162b5ab65ac4e7c1be0bba1886ddMark Andrews#
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrewsinclude $(UTSBASE)/intel/Makefile.targ
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrews