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