xref: /illumos-gate/usr/src/lib/libfru/libfrupicltree/Makefile (revision 0aaef2f550fa500248f59b0b8a14225b5afbd198)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright (c) 2000-2001 by Sun Microsystems, Inc.
24# All rights reserved.
25#
26
27include	$(SRC)/lib/Makefile.lib
28
29SUBDIRS = .WAIT $(MACH)
30
31all :=		TARGET= all
32install :=      TARGET= install
33clean :=        TARGET= clean
34clobber :=      TARGET= clobber
35_msg :=         TARGET= _msg
36
37sparc_HDRS=
38sparcv9_HDRS=
39i386_HDRS=
40HDRS=	$($(MACH)_HDRS)
41ROOTHDRDIR=     $(ROOT)/usr/include
42ROOTHDRS=       $(HDRS:%=$(ROOTHDRDIR)/%)
43CHECKHDRS=      $(HDRS:%.h=%.check)
44
45.KEEP_STATE:
46
47all install clean clobber: $(SUBDIRS)
48
49_msg:	$(MACH) $(MACH64)
50
51
52$(ROOTHDRDIR)/%: %
53	$(INS.file)
54
55$(ROOTHDRDIR):
56	$(INS.dir)
57
58check: $(CHECKHDRS)
59
60$(MACH) $(MACH64): FRC
61	@cd $@; pwd; $(MAKE) $(TARGET)
62
63FRC:
64
65