Makefile revision ae115bc77f6fcde83175c75b4206dc2e50747966
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# CDDL HEADER START
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# The contents of this file are subject to the terms of the
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# Common Development and Distribution License (the "License").
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# You may not use this file except in compliance with the License.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# or http://www.opensolaris.org/os/licensing.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# See the License for the specific language governing permissions
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# and limitations under the License.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# When distributing Covered Code, include this CDDL HEADER in each
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# If applicable, add the following below this CDDL HEADER, with the
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# fields enclosed by brackets "[]" replaced with your own identifying
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# information: Portions Copyright [yyyy] [name of copyright owner]
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# CDDL HEADER END
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# Use is subject to license terms.
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#ident "%Z%%M% %I% %E% SMI"
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# uts/intel/amd64/sys/Makefile
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen#
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen# include global definitions
981b809bc6ed10a21e89444d9447e5475801874fjohanengeleninclude ../../../../Makefile.master
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenHDRS= \
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen kdi_regs.h \
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen privregs.h
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenROOTINCISA= $(ROOT)/usr/include/amd64
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenROOTDIR= $(ROOTINCISA)/sys
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenROOTDIRS= $(ROOTDIR)
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen
981b809bc6ed10a21e89444d9447e5475801874fjohanengelenROOTHDRS= $(HDRS:%=$(ROOTDIR)/%)
29684a16b6c92bee28a94fdc2607bcc143950fa8johanengelen
29684a16b6c92bee28a94fdc2607bcc143950fa8johanengelenCHECKHDRS= $(HDRS:%.h=%.check)
29684a16b6c92bee28a94fdc2607bcc143950fa8johanengelen
29684a16b6c92bee28a94fdc2607bcc143950fa8johanengelen# install rules
29684a16b6c92bee28a94fdc2607bcc143950fa8johanengelen$(ROOTDIR)/%: %
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen $(INS.file)
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen.KEEP_STATE:
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen.PARALLEL: $(CHECKHDRS) $(ROOTHDRS)
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen
29684a16b6c92bee28a94fdc2607bcc143950fa8johanengeleninstall_h: $(ROOTINCISA) .WAIT $(ROOTDIRS) .WAIT $(ROOTHDRS)
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen$(ROOTINCISA):
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen $(INS.dir)
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen$(ROOTDIRS): $(ROOTINCISA)
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen $(INS.dir)
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen
981b809bc6ed10a21e89444d9447e5475801874fjohanengelencheck: $(CHECKHDRS)
981b809bc6ed10a21e89444d9447e5475801874fjohanengelen