Makefile revision 48bc00d6814e04ff3edb32cafe7d1bc580baff68
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye#
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# CDDL HEADER START
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye#
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# The contents of this file are subject to the terms of the
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# Common Development and Distribution License (the "License").
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# You may not use this file except in compliance with the License.
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye#
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# or http://www.opensolaris.org/os/licensing.
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# See the License for the specific language governing permissions
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# and limitations under the License.
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye#
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# When distributing Covered Code, include this CDDL HEADER in each
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# If applicable, add the following below this CDDL HEADER, with the
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# fields enclosed by brackets "[]" replaced with your own identifying
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# information: Portions Copyright [yyyy] [name of copyright owner]
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye#
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# CDDL HEADER END
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye#
a50c3755d4cb6dd8bebe81731d52fceba56f2e85Knut Anders Hatlen# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye# Use is subject to license terms.
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye#
9ec7787531611654e8f50932473aa48963eaba55Trond NorbyeUTSBASE = ../../..
2808f4902a3b32dffe1dade478ff2a5e25dd7f04Trond Norbye
2808f4902a3b32dffe1dade478ff2a5e25dd7f04Trond Norbye#
2808f4902a3b32dffe1dade478ff2a5e25dd7f04Trond Norbye# include global definitions
2808f4902a3b32dffe1dade478ff2a5e25dd7f04Trond Norbye#
4fa5b314ea11e65a2566a4e5f05fa34ec4e9ebb7Jan Berginclude ../Makefile.excalibur
4fa5b314ea11e65a2566a4e5f05fa34ec4e9ebb7Jan Berg
2808f4902a3b32dffe1dade478ff2a5e25dd7f04Trond Norbye#
2808f4902a3b32dffe1dade478ff2a5e25dd7f04Trond Norbye# Override defaults.
2808f4902a3b32dffe1dade478ff2a5e25dd7f04Trond Norbye#
2808f4902a3b32dffe1dade478ff2a5e25dd7f04Trond NorbyeFILEMODE = 644
4fa5b314ea11e65a2566a4e5f05fa34ec4e9ebb7Jan Berg
4fa5b314ea11e65a2566a4e5f05fa34ec4e9ebb7Jan BergHDRS= xcalppm_reg.h xcalppm_var.h
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye
50203181d8c071cfd69cb197b5da0eda5c4d6372Jens ElknerROOTHDRS= $(HDRS:%=$(USR_EXCALIBUR_ISYS_DIR)/%)
0bf389800bb44c93232c59d843e62f136b06b38aTrond Norbye
50203181d8c071cfd69cb197b5da0eda5c4d6372Jens ElknerROOTDIR= $(ROOT)/usr/share/src
56c70b1779694ab3e83d294e3dcb839fe4374c97Patrick HigginsROOTDIRS= $(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM)
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye
50203181d8c071cfd69cb197b5da0eda5c4d6372Jens ElknerCHECKHDRS= $(HDRS:%.h=%.check)
56c70b1779694ab3e83d294e3dcb839fe4374c97Patrick Higgins
50203181d8c071cfd69cb197b5da0eda5c4d6372Jens Elkner.KEEP_STATE:
f60d84bfe9ece4779c642dfe4849acd35ade9388Trond Norbye
21a4d72952d00f5543757ed8622efddce2ca0e04Trond Norbye.PARALLEL: $(CHECKHDRS) $(ROOTHDRS)
865ea0b94260b721a2f6ec872b914d6e0b4d3e08Trond Norbye
bfb054a567cb4af250de4c052934c9541b1cd7faTrond Norbyeinstall_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTLINK)
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye
9ec7787531611654e8f50932473aa48963eaba55Trond Norbyecheck: $(CHECKHDRS)
3964f12b6c2f77701e771971afc8ac5995843b41Trond Norbye
3964f12b6c2f77701e771971afc8ac5995843b41Trond Norbye#
3964f12b6c2f77701e771971afc8ac5995843b41Trond Norbye# install rules
3964f12b6c2f77701e771971afc8ac5995843b41Trond Norbye#
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye$(USR_EXCALIBUR_ISYS_DIR)/%: % $(USR_EXCALIBUR_ISYS_DIR)
f91c13132a7782210ca6a8a6ea6d0595b06900faTrond Norbye $(INS.file)
9ec7787531611654e8f50932473aa48963eaba55Trond Norbye
b8311716d0833ecb773617df6d18ad50b177cc5cKnut Anders HatlenFRC:
b8311716d0833ecb773617df6d18ad50b177cc5cKnut Anders Hatlen
9ec7787531611654e8f50932473aa48963eaba55Trond Norbyeinclude ../Makefile.targ
b8311716d0833ecb773617df6d18ad50b177cc5cKnut Anders Hatlen