Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
9a0dd99a757c469d9530acd5cb11789b3b0af5ceEvan Hunt#
9a0dd99a757c469d9530acd5cb11789b3b0af5ceEvan Hunt# CDDL HEADER START
9a0dd99a757c469d9530acd5cb11789b3b0af5ceEvan Hunt#
9a0dd99a757c469d9530acd5cb11789b3b0af5ceEvan Hunt# The contents of this file are subject to the terms of the
641e87a1a0ee716f46b4d0f529e73b58f19aee4eEvan Hunt# Common Development and Distribution License, Version 1.0 only
641e87a1a0ee716f46b4d0f529e73b58f19aee4eEvan Hunt# (the "License"). You may not use this file except in compliance
641e87a1a0ee716f46b4d0f529e73b58f19aee4eEvan Hunt# with the License.
2154c019124246199c7fe494b86860461c8a5f40Evan Hunt#
2154c019124246199c7fe494b86860461c8a5f40Evan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2154c019124246199c7fe494b86860461c8a5f40Evan Hunt# or http://www.opensolaris.org/os/licensing.
2154c019124246199c7fe494b86860461c8a5f40Evan Hunt# See the License for the specific language governing permissions
214836c18496e0d2630df1cda5eeee13c38b9068Evan Hunt# and limitations under the License.
214836c18496e0d2630df1cda5eeee13c38b9068Evan Hunt#
214836c18496e0d2630df1cda5eeee13c38b9068Evan Hunt# When distributing Covered Code, include this CDDL HEADER in each
43d84798fac5cfeeecf9431ef848a9ffdcf0d86fEvan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
43d84798fac5cfeeecf9431ef848a9ffdcf0d86fEvan Hunt# If applicable, add the following below this CDDL HEADER, with the
43d84798fac5cfeeecf9431ef848a9ffdcf0d86fEvan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
43d84798fac5cfeeecf9431ef848a9ffdcf0d86fEvan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
71f8edccba553c4ed4988dd12ac877564e4987d1Evan Hunt#
71f8edccba553c4ed4988dd12ac877564e4987d1Evan Hunt# CDDL HEADER END
3806133da574f4570db3005473e0d56b746cc6eaEvan Hunt#
71f8edccba553c4ed4988dd12ac877564e4987d1Evan Hunt#
71f8edccba553c4ed4988dd12ac877564e4987d1Evan Hunt# Copyright 2000, 2003 Sun Microsystems, Inc. All rights reserved.
71f8edccba553c4ed4988dd12ac877564e4987d1Evan Hunt# Use is subject to license terms.
c8803902d6e740d1ed85e099835813466fa51391Curtis Blackburn#
b3d116c299722ed7b27550744fff789a61ad3d2bEvan Hunt#ident "%Z%%M% %I% %E% SMI"
b3d116c299722ed7b27550744fff789a61ad3d2bEvan Hunt#
b3d116c299722ed7b27550744fff789a61ad3d2bEvan Hunt# uts/sun4u/daktari/sys/Makefile
99394e9807411cbbeb9814b603c7dfa3b569388eMark Andrews#
99394e9807411cbbeb9814b603c7dfa3b569388eMark AndrewsUTSBASE = ../../..
dc6cea0448ea7b10eb1ae7d38bfc18544a4dfb97Evan Hunt
dc6cea0448ea7b10eb1ae7d38bfc18544a4dfb97Evan Hunt#
dc6cea0448ea7b10eb1ae7d38bfc18544a4dfb97Evan Hunt# include global definitions
54ca2413348024c6d03904c01486c952c3d4a3bcEvan Hunt#
54ca2413348024c6d03904c01486c952c3d4a3bcEvan Huntinclude ../Makefile.daktari
54ca2413348024c6d03904c01486c952c3d4a3bcEvan Hunt
54ca2413348024c6d03904c01486c952c3d4a3bcEvan Hunt#
54ca2413348024c6d03904c01486c952c3d4a3bcEvan Hunt# Override defaults.
48019314431389cca5f8eba7ee9aa5bc08a67f4eMark Andrews#
48019314431389cca5f8eba7ee9aa5bc08a67f4eMark AndrewsFILEMODE = 644
48019314431389cca5f8eba7ee9aa5bc08a67f4eMark AndrewsOWNER = root
dab4aac006fadcaf3c5a9ccd983188b37ead08eeMark AndrewsGROUP = bin
dab4aac006fadcaf3c5a9ccd983188b37ead08eeMark Andrews
578e3196076b409c509c6c0a0873e7bfe54f4d61Evan HuntHDRS= daktari.h hpc3130_events.h
578e3196076b409c509c6c0a0873e7bfe54f4d61Evan Hunt
578e3196076b409c509c6c0a0873e7bfe54f4d61Evan HuntROOTHDRS= $(HDRS:%=$(USR_DAKTARI_ISYS_DIR)/%)
c07c2a862e0f9d671e2961cd179c7b28d7b04f10Mark Andrews
c07c2a862e0f9d671e2961cd179c7b28d7b04f10Mark AndrewsROOTDIR= $(ROOT)/usr/share/src
c07c2a862e0f9d671e2961cd179c7b28d7b04f10Mark AndrewsROOTDIRS= $(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM)
f1c1aab2c9e720399d66d8db5f40515d47c45ecfMark Andrews
f1c1aab2c9e720399d66d8db5f40515d47c45ecfMark AndrewsROOTLINK= $(ROOTDIR)/uts/$(PLATFORM)/sys
a6b0db81c82ab3528d19137b08d1cb3f8ed06a52Evan HuntLINKDEST= ../../../../platform/$(PLATFORM)/include/sys
ef2aea274a14bd33e722336ed8a15bab0289b1f3Mark Andrews
24798afb6e0fa969cf9f6d3b91d1545410853bb8Mark AndrewsCHECKHDRS= $(HDRS:%.h=%.check)
24798afb6e0fa969cf9f6d3b91d1545410853bb8Mark Andrews
aa24128022b85c49f59ad45a3c81ad124d645530Mark Andrews.KEEP_STATE:
aa24128022b85c49f59ad45a3c81ad124d645530Mark Andrews
fc0bfa07c7b7aff70cf75e9414167e1f2d532845Mark Andrews.PARALLEL: $(CHECKHDRS) $(ROOTHDRS)
fc0bfa07c7b7aff70cf75e9414167e1f2d532845Mark Andrews
fc0bfa07c7b7aff70cf75e9414167e1f2d532845Mark Andrewsinstall_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTLINK)
cdf252d6b84dd160dbf37b22845d54d6e4b1732dMark Andrews
c9cecf7bb509b1c860d0b6deba7fccd85b9feb68Mark Andrewscheck: $(CHECKHDRS)
c359f7b10f2ea19f08668a3c89c91d0834035ec8Mark Andrews
c359f7b10f2ea19f08668a3c89c91d0834035ec8Mark Andrews#
c359f7b10f2ea19f08668a3c89c91d0834035ec8Mark Andrews# install rules
25b95d31ce658326510bef979cf2909c6eddc428Mark Andrews#
25b95d31ce658326510bef979cf2909c6eddc428Mark Andrews$(USR_DAKTARI_ISYS_DIR)/%: % $(USR_DAKTARI_ISYS_DIR)
25b95d31ce658326510bef979cf2909c6eddc428Mark Andrews $(INS.file)
e285c6ea84312a7be807b3af30151444b0002ba6Mark Andrews
e285c6ea84312a7be807b3af30151444b0002ba6Mark Andrews$(ROOTDIRS):
e285c6ea84312a7be807b3af30151444b0002ba6Mark Andrews $(INS.dir.root.bin)
e285c6ea84312a7be807b3af30151444b0002ba6Mark Andrews
222d38735f97f771054e223b03f84c5858252332Evan Hunt# -r because this used to be a directory and is now a link.
222d38735f97f771054e223b03f84c5858252332Evan Hunt$(ROOTLINK): $(ROOTDIRS)
222d38735f97f771054e223b03f84c5858252332Evan Hunt -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@ $(CHOWNLINK) $(CHGRPLINK)
0277a7d6c19ab116b6832076ab9d850e1bf112d3Mark Andrews
0277a7d6c19ab116b6832076ab9d850e1bf112d3Mark AndrewsFRC:
2dd959aa18d0f661efb0d9646963993a4773d036Evan Hunt
2dd959aa18d0f661efb0d9646963993a4773d036Evan Huntinclude ../Makefile.targ
2dd959aa18d0f661efb0d9646963993a4773d036Evan Hunt