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