xref: /illumos-gate/usr/src/tools/ctf/libctf/Makefile (revision bc1f688b4872ace323eaddbb1a6365d054e7bf56)
1*bc1f688bSRobert Mustacchi#
2*bc1f688bSRobert Mustacchi# CDDL HEADER START
3*bc1f688bSRobert Mustacchi#
4*bc1f688bSRobert Mustacchi# The contents of this file are subject to the terms of the
5*bc1f688bSRobert Mustacchi# Common Development and Distribution License (the "License").
6*bc1f688bSRobert Mustacchi# You may not use this file except in compliance with the License.
7*bc1f688bSRobert Mustacchi#
8*bc1f688bSRobert Mustacchi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*bc1f688bSRobert Mustacchi# or http://www.opensolaris.org/os/licensing.
10*bc1f688bSRobert Mustacchi# See the License for the specific language governing permissions
11*bc1f688bSRobert Mustacchi# and limitations under the License.
12*bc1f688bSRobert Mustacchi#
13*bc1f688bSRobert Mustacchi# When distributing Covered Code, include this CDDL HEADER in each
14*bc1f688bSRobert Mustacchi# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*bc1f688bSRobert Mustacchi# If applicable, add the following below this CDDL HEADER, with the
16*bc1f688bSRobert Mustacchi# fields enclosed by brackets "[]" replaced with your own identifying
17*bc1f688bSRobert Mustacchi# information: Portions Copyright [yyyy] [name of copyright owner]
18*bc1f688bSRobert Mustacchi#
19*bc1f688bSRobert Mustacchi# CDDL HEADER END
20*bc1f688bSRobert Mustacchi#
21*bc1f688bSRobert Mustacchi#
22*bc1f688bSRobert Mustacchi# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23*bc1f688bSRobert Mustacchi# Use is subject to license terms.
24*bc1f688bSRobert Mustacchi#
25*bc1f688bSRobert Mustacchi
26*bc1f688bSRobert Mustacchiinclude ../../Makefile.tools
27*bc1f688bSRobert Mustacchi
28*bc1f688bSRobert MustacchiHDRS = libctf.h
29*bc1f688bSRobert MustacchiHDRDIR = common
30*bc1f688bSRobert Mustacchi
31*bc1f688bSRobert MustacchiSUBDIRS = $(MACH)
32*bc1f688bSRobert Mustacchi
33*bc1f688bSRobert Mustacchiall := TARGET = all
34*bc1f688bSRobert Mustacchiclean := TARGET = clean
35*bc1f688bSRobert Mustacchiclobber := TARGET = clobber
36*bc1f688bSRobert Mustacchiinstall := TARGET = install
37*bc1f688bSRobert Mustacchilint := TARGET = lint
38*bc1f688bSRobert Mustacchi
39*bc1f688bSRobert Mustacchi.KEEP_STATE:
40*bc1f688bSRobert Mustacchi
41*bc1f688bSRobert Mustacchiall clean clobber install lint: $(SUBDIRS)
42*bc1f688bSRobert Mustacchi
43*bc1f688bSRobert Mustacchi$(SUBDIRS): FRC
44*bc1f688bSRobert Mustacchi	@cd $@; pwd; $(MAKE) $(TARGET)
45*bc1f688bSRobert Mustacchi
46*bc1f688bSRobert MustacchiFRC:
47