xref: /illumos-gate/usr/src/lib/print/libpapi-common/Makefile (revision 241c90a06e8d1708235651863df515a2d522a03a)
1*355b4669Sjacobs#
2*355b4669Sjacobs# CDDL HEADER START
3*355b4669Sjacobs#
4*355b4669Sjacobs# The contents of this file are subject to the terms of the
5*355b4669Sjacobs# Common Development and Distribution License (the "License").
6*355b4669Sjacobs# You may not use this file except in compliance with the License.
7*355b4669Sjacobs#
8*355b4669Sjacobs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*355b4669Sjacobs# or http://www.opensolaris.org/os/licensing.
10*355b4669Sjacobs# See the License for the specific language governing permissions
11*355b4669Sjacobs# and limitations under the License.
12*355b4669Sjacobs#
13*355b4669Sjacobs# When distributing Covered Code, include this CDDL HEADER in each
14*355b4669Sjacobs# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*355b4669Sjacobs# If applicable, add the following below this CDDL HEADER, with the
16*355b4669Sjacobs# fields enclosed by brackets "[]" replaced with your own identifying
17*355b4669Sjacobs# information: Portions Copyright [yyyy] [name of copyright owner]
18*355b4669Sjacobs#
19*355b4669Sjacobs# CDDL HEADER END
20*355b4669Sjacobs#
21*355b4669Sjacobs#
22*355b4669Sjacobs# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23*355b4669Sjacobs# Use is subject to license terms.
24*355b4669Sjacobs#
25*355b4669Sjacobs
26*355b4669Sjacobsinclude         ../../Makefile.lib
27*355b4669Sjacobs
28*355b4669SjacobsHDRS =			papi.h
29*355b4669SjacobsHDRDIR =		common
30*355b4669SjacobsSUBDIRS =		$(MACH)
31*355b4669Sjacobs#$(BUILD64)SUBDIRS +=	$(MACH64)
32*355b4669Sjacobs
33*355b4669Sjacobsall :=			TARGET = all
34*355b4669Sjacobsclean :=		TARGET = clean
35*355b4669Sjacobsclobber :=		TARGET = clobber
36*355b4669Sjacobsinstall :=		TARGET = install
37*355b4669Sjacobs
38*355b4669Sjacobs.KEEP_STATE:
39*355b4669Sjacobs
40*355b4669Sjacobsall clean clobber:	.WAIT $(SUBDIRS)
41*355b4669Sjacobsinstall:	.WAIT $(SUBDIRS) install_h
42*355b4669Sjacobs
43*355b4669Sjacobsinstall_h:		$(ROOTHDRS)
44*355b4669Sjacobs
45*355b4669Sjacobscheck:			$(CHECKHDRS)
46*355b4669Sjacobs
47*355b4669Sjacobs$(SUBDIRS):	FRC
48*355b4669Sjacobs	@cd $@; pwd; $(MAKE) $(TARGET)
49*355b4669Sjacobs
50*355b4669SjacobsFRC:
51*355b4669Sjacobs
52*355b4669Sjacobsinclude ../../Makefile.targ
53