xref: /titanic_50/usr/src/lib/libpri/Makefile (revision ef8846857fcf954444cdc77e72249afef48377d2)
1*ef884685Srb144127#
2*ef884685Srb144127# CDDL HEADER START
3*ef884685Srb144127#
4*ef884685Srb144127# The contents of this file are subject to the terms of the
5*ef884685Srb144127# Common Development and Distribution License (the "License").
6*ef884685Srb144127# You may not use this file except in compliance with the License.
7*ef884685Srb144127#
8*ef884685Srb144127# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*ef884685Srb144127# or http://www.opensolaris.org/os/licensing.
10*ef884685Srb144127# See the License for the specific language governing permissions
11*ef884685Srb144127# and limitations under the License.
12*ef884685Srb144127#
13*ef884685Srb144127# When distributing Covered Code, include this CDDL HEADER in each
14*ef884685Srb144127# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*ef884685Srb144127# If applicable, add the following below this CDDL HEADER, with the
16*ef884685Srb144127# fields enclosed by brackets "[]" replaced with your own identifying
17*ef884685Srb144127# information: Portions Copyright [yyyy] [name of copyright owner]
18*ef884685Srb144127#
19*ef884685Srb144127# CDDL HEADER END
20*ef884685Srb144127#
21*ef884685Srb144127#
22*ef884685Srb144127# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*ef884685Srb144127# Use is subject to license terms.
24*ef884685Srb144127#
25*ef884685Srb144127# ident	"%Z%%M%	%I%	%E% SMI"
26*ef884685Srb144127#
27*ef884685Srb144127
28*ef884685Srb144127include ../Makefile.lib
29*ef884685Srb144127
30*ef884685Srb144127HDRS = pri.h
31*ef884685Srb144127HDRDIR = common
32*ef884685Srb144127
33*ef884685Srb144127ROOTHDRDIR = $(ROOT)/usr/platform/sun4v/include/sys
34*ef884685Srb144127
35*ef884685Srb144127SUBDIRS = $(MACH)
36*ef884685Srb144127$(BUILD64)SUBDIRS += $(MACH64)
37*ef884685Srb144127
38*ef884685Srb144127all := TARGET = all
39*ef884685Srb144127clean := TARGET = clean
40*ef884685Srb144127clobber := TARGET = clobber
41*ef884685Srb144127install := TARGET = install
42*ef884685Srb144127lint := TARGET = lint
43*ef884685Srb144127
44*ef884685Srb144127.KEEP_STATE:
45*ef884685Srb144127
46*ef884685Srb144127all clean clobber lint: $(SUBDIRS)
47*ef884685Srb144127
48*ef884685Srb144127check: $(CHECKHDRS)
49*ef884685Srb144127
50*ef884685Srb144127install: all .WAIT $(SUBDIRS)
51*ef884685Srb144127
52*ef884685Srb144127install_h: $(ROOTHDRS)
53*ef884685Srb144127
54*ef884685Srb144127$(SUBDIRS): FRC
55*ef884685Srb144127	@cd $@; pwd; $(MAKE) $(TARGET)
56*ef884685Srb144127
57*ef884685Srb144127FRC:
58*ef884685Srb144127
59*ef884685Srb144127include ../Makefile.targ
60