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