xref: /onnv-gate/usr/src/lib/hal/Makefile (revision 2912:85ea316d9c18)
1*2912Sartem#
2*2912Sartem# CDDL HEADER START
3*2912Sartem#
4*2912Sartem# The contents of this file are subject to the terms of the
5*2912Sartem# Common Development and Distribution License (the "License").
6*2912Sartem# You may not use this file except in compliance with the License.
7*2912Sartem#
8*2912Sartem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*2912Sartem# or http://www.opensolaris.org/os/licensing.
10*2912Sartem# See the License for the specific language governing permissions
11*2912Sartem# and limitations under the License.
12*2912Sartem#
13*2912Sartem# When distributing Covered Code, include this CDDL HEADER in each
14*2912Sartem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*2912Sartem# If applicable, add the following below this CDDL HEADER, with the
16*2912Sartem# fields enclosed by brackets "[]" replaced with your own identifying
17*2912Sartem# information: Portions Copyright [yyyy] [name of copyright owner]
18*2912Sartem#
19*2912Sartem# CDDL HEADER END
20*2912Sartem#
21*2912Sartem#
22*2912Sartem# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23*2912Sartem# Use is subject to license terms.
24*2912Sartem#
25*2912Sartem# ident	"%Z%%M%	%I%	%E% SMI"
26*2912Sartem#
27*2912Sartem
28*2912Sarteminclude		../Makefile.lib
29*2912Sarteminclude		$(SRC)/cmd/hal/Makefile.hal
30*2912Sartem
31*2912SartemSUBDIRS =	libhal libhal-storage
32*2912SartemHDRSUBDIRS =	libhal libhal-storage
33*2912Sartem
34*2912Sartemall :=		TARGET= all
35*2912Sartemclean :=	TARGET= clean
36*2912Sartemclobber :=	TARGET= clobber
37*2912Sarteminstall :=	TARGET= install
38*2912Sarteminstall_h :=	TARGET= install_h
39*2912Sartem
40*2912Sartem.KEEP_STATE:
41*2912Sartem
42*2912Sartemall clean clobber install: $(SUBDIRS)
43*2912Sartem
44*2912Sarteminstall_h: $(ROOTHDRDIR) $(ROOTHDRS) $(SUBDIRS)
45*2912Sartem
46*2912Sartem#
47*2912Sartem# Don't check 3rd party code
48*2912Sartem#
49*2912Sartemcheck:
50*2912Sartem
51*2912Sartem$(SUBDIRS):	FRC
52*2912Sartem	@cd $@; pwd; $(MAKE) $(TARGET)
53*2912Sartem
54*2912SartemFRC:
55*2912Sartem
56*2912Sarteminclude ../Makefile.targ
57