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