Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
d9638e547d8811f2c689977f8dd2a353938b61fdmws#
d9638e547d8811f2c689977f8dd2a353938b61fdmws# CDDL HEADER START
d9638e547d8811f2c689977f8dd2a353938b61fdmws#
d9638e547d8811f2c689977f8dd2a353938b61fdmws# The contents of this file are subject to the terms of the
6925cc42fcfffef1cafe5a65944be35a27987b37cindi# Common Development and Distribution License (the "License").
6925cc42fcfffef1cafe5a65944be35a27987b37cindi# You may not use this file except in compliance with the License.
d9638e547d8811f2c689977f8dd2a353938b61fdmws#
d9638e547d8811f2c689977f8dd2a353938b61fdmws# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d9638e547d8811f2c689977f8dd2a353938b61fdmws# or http://www.opensolaris.org/os/licensing.
d9638e547d8811f2c689977f8dd2a353938b61fdmws# See the License for the specific language governing permissions
d9638e547d8811f2c689977f8dd2a353938b61fdmws# and limitations under the License.
d9638e547d8811f2c689977f8dd2a353938b61fdmws#
d9638e547d8811f2c689977f8dd2a353938b61fdmws# When distributing Covered Code, include this CDDL HEADER in each
d9638e547d8811f2c689977f8dd2a353938b61fdmws# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d9638e547d8811f2c689977f8dd2a353938b61fdmws# If applicable, add the following below this CDDL HEADER, with the
d9638e547d8811f2c689977f8dd2a353938b61fdmws# fields enclosed by brackets "[]" replaced with your own identifying
d9638e547d8811f2c689977f8dd2a353938b61fdmws# information: Portions Copyright [yyyy] [name of copyright owner]
d9638e547d8811f2c689977f8dd2a353938b61fdmws#
d9638e547d8811f2c689977f8dd2a353938b61fdmws# CDDL HEADER END
d9638e547d8811f2c689977f8dd2a353938b61fdmws#
d9638e547d8811f2c689977f8dd2a353938b61fdmws#
d9638e547d8811f2c689977f8dd2a353938b61fdmws# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
b5875ddd9f650174db2616fc7cc262d30eb77bf0James Kremer# Use is subject to license terms.
d9638e547d8811f2c689977f8dd2a353938b61fdmws#
d9638e547d8811f2c689977f8dd2a353938b61fdmws
d9638e547d8811f2c689977f8dd2a353938b61fdmwsUTSBASE = ../../..
d9638e547d8811f2c689977f8dd2a353938b61fdmws
d9638e547d8811f2c689977f8dd2a353938b61fdmws#
d9638e547d8811f2c689977f8dd2a353938b61fdmws# include global definitions
d9638e547d8811f2c689977f8dd2a353938b61fdmws#
d9638e547d8811f2c689977f8dd2a353938b61fdmwsinclude ../Makefile.starcat
d9638e547d8811f2c689977f8dd2a353938b61fdmws
d9638e547d8811f2c689977f8dd2a353938b61fdmws#
d9638e547d8811f2c689977f8dd2a353938b61fdmws# Override defaults.
d9638e547d8811f2c689977f8dd2a353938b61fdmws#
d9638e547d8811f2c689977f8dd2a353938b61fdmwsFILEMODE = 644
d9638e547d8811f2c689977f8dd2a353938b61fdmws
d9638e547d8811f2c689977f8dd2a353938b61fdmwsHDRS=
d9638e547d8811f2c689977f8dd2a353938b61fdmws
d9638e547d8811f2c689977f8dd2a353938b61fdmws
b5875ddd9f650174db2616fc7cc262d30eb77bf0James KremerCHKHDRS= axq.h dman.h domaind.h drmach.h \
d9638e547d8811f2c689977f8dd2a353938b61fdmws iosramio.h iosramreg.h iosramvar.h \
d9638e547d8811f2c689977f8dd2a353938b61fdmws sc_cvc.h sc_cvcio.h \
d9638e547d8811f2c689977f8dd2a353938b61fdmws sckm_msg.h sckm_io.h
d9638e547d8811f2c689977f8dd2a353938b61fdmws
d9638e547d8811f2c689977f8dd2a353938b61fdmwsSTARHDRS= $(UTSBASE)/sun4u/ngdr/sys/dr.h \
b5875ddd9f650174db2616fc7cc262d30eb77bf0James Kremer $(UTSBASE)/sun4u/ngdr/sys/dr_util.h
b5875ddd9f650174db2616fc7cc262d30eb77bf0James Kremer
b5875ddd9f650174db2616fc7cc262d30eb77bf0James KremerROOTHDRS= $(HDRS:%=$(USR_STARCAT_ISYS_DIR)/%)
b5875ddd9f650174db2616fc7cc262d30eb77bf0James Kremer
d9638e547d8811f2c689977f8dd2a353938b61fdmwsROOTDIR= $(ROOT)/usr/share/src
d9638e547d8811f2c689977f8dd2a353938b61fdmwsROOTDIRS= $(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM)
d9638e547d8811f2c689977f8dd2a353938b61fdmws
d9638e547d8811f2c689977f8dd2a353938b61fdmwsCHECKHDRS= $(HDRS:%.h=%.check) \
d9638e547d8811f2c689977f8dd2a353938b61fdmws $(CHKHDRS:%.h=%.check) \
d9638e547d8811f2c689977f8dd2a353938b61fdmws $(STARHDRS:%.h=%.check)
d9638e547d8811f2c689977f8dd2a353938b61fdmws
d9638e547d8811f2c689977f8dd2a353938b61fdmws.KEEP_STATE:
d9638e547d8811f2c689977f8dd2a353938b61fdmws
d9638e547d8811f2c689977f8dd2a353938b61fdmws.PARALLEL: $(CHECKHDRS) $(ROOTHDRS)
d9638e547d8811f2c689977f8dd2a353938b61fdmws
dc8f2b859f821ae6843b73f65d2468778f15cdbaJames Kremerinstall_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTLINK)
dc8f2b859f821ae6843b73f65d2468778f15cdbaJames Kremer
dc8f2b859f821ae6843b73f65d2468778f15cdbaJames Kremercheck: $(CHECKHDRS)
dc8f2b859f821ae6843b73f65d2468778f15cdbaJames Kremer
dc8f2b859f821ae6843b73f65d2468778f15cdbaJames Kremer#
dc8f2b859f821ae6843b73f65d2468778f15cdbaJames Kremer# install rules
dc8f2b859f821ae6843b73f65d2468778f15cdbaJames Kremer#
b5875ddd9f650174db2616fc7cc262d30eb77bf0James Kremer$(USR_STARCAT_ISYS_DIR)/%: % $(USR_STARCAT_ISYS_DIR)
b5875ddd9f650174db2616fc7cc262d30eb77bf0James Kremer $(INS.file)
d9638e547d8811f2c689977f8dd2a353938b61fdmws
d9638e547d8811f2c689977f8dd2a353938b61fdmws$(ROOTDIRS):
d9638e547d8811f2c689977f8dd2a353938b61fdmws $(INS.dir.bin.bin)
d9638e547d8811f2c689977f8dd2a353938b61fdmws
d9638e547d8811f2c689977f8dd2a353938b61fdmwsFRC:
d9638e547d8811f2c689977f8dd2a353938b61fdmws
d9638e547d8811f2c689977f8dd2a353938b61fdmwsinclude ../Makefile.targ
d9638e547d8811f2c689977f8dd2a353938b61fdmws