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