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