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