xref: /onnv-gate/usr/src/lib/hal/libhal/Makefile (revision 8100:1c162fabbdb8)
12912Sartem#
22912Sartem# CDDL HEADER START
32912Sartem#
42912Sartem# The contents of this file are subject to the terms of the
52912Sartem# Common Development and Distribution License (the "License").
62912Sartem# You may not use this file except in compliance with the License.
72912Sartem#
82912Sartem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
92912Sartem# or http://www.opensolaris.org/os/licensing.
102912Sartem# See the License for the specific language governing permissions
112912Sartem# and limitations under the License.
122912Sartem#
132912Sartem# When distributing Covered Code, include this CDDL HEADER in each
142912Sartem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152912Sartem# If applicable, add the following below this CDDL HEADER, with the
162912Sartem# fields enclosed by brackets "[]" replaced with your own identifying
172912Sartem# information: Portions Copyright [yyyy] [name of copyright owner]
182912Sartem#
192912Sartem# CDDL HEADER END
202912Sartem#
212912Sartem#
22*8100SLin.Guo@Sun.COM# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
232912Sartem# Use is subject to license terms.
242912Sartem#
252912Sartem
262912Sarteminclude	../../Makefile.lib
272912Sarteminclude ../Makefile.com
282912Sartem
292912SartemHDRS =		libhal.h
302912SartemHDRDIR =	common
312912SartemROOTHDRDIR =	$(ROOT)/usr/include/hal
322912Sartem
332912SartemSUBDIRS=	$(MACH)
34*8100SLin.Guo@Sun.COM$(BUILD64)SUBDIRS += $(MACH64)
352912Sartem
362912Sartemall :=		TARGET= all
372912Sartemclean :=	TARGET= clean
382912Sartemclobber :=	TARGET= clobber
392912Sarteminstall :=	TARGET= install
402912Sartem
412912Sartem.KEEP_STATE:
422912Sartem
432912Sartemall clean clobber install: $(SUBDIRS)
442912Sartem
452912Sarteminstall_h:	$(ROOTHDRS)
462912Sartem
472912Sartem$(SUBDIRS): FRC
482912Sartem	@cd $@; pwd; $(MAKE) $(TARGET)
492912Sartem
502912SartemFRC:
512912Sartem
522912Sarteminclude $(SRC)/lib/Makefile.targ
53