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