xref: /titanic_51/usr/src/lib/libds/Makefile (revision 30588217a56ff2c9137248fb2e5065c4f0101459)
1*30588217SMike Christensen#
2*30588217SMike Christensen# CDDL HEADER START
3*30588217SMike Christensen#
4*30588217SMike Christensen# The contents of this file are subject to the terms of the
5*30588217SMike Christensen# Common Development and Distribution License (the "License").
6*30588217SMike Christensen# You may not use this file except in compliance with the License.
7*30588217SMike Christensen#
8*30588217SMike Christensen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*30588217SMike Christensen# or http://www.opensolaris.org/os/licensing.
10*30588217SMike Christensen# See the License for the specific language governing permissions
11*30588217SMike Christensen# and limitations under the License.
12*30588217SMike Christensen#
13*30588217SMike Christensen# When distributing Covered Code, include this CDDL HEADER in each
14*30588217SMike Christensen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*30588217SMike Christensen# If applicable, add the following below this CDDL HEADER, with the
16*30588217SMike Christensen# fields enclosed by brackets "[]" replaced with your own identifying
17*30588217SMike Christensen# information: Portions Copyright [yyyy] [name of copyright owner]
18*30588217SMike Christensen#
19*30588217SMike Christensen# CDDL HEADER END
20*30588217SMike Christensen#
21*30588217SMike Christensen#
22*30588217SMike Christensen# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23*30588217SMike Christensen# Use is subject to license terms.
24*30588217SMike Christensen#
25*30588217SMike Christensen#
26*30588217SMike Christensen
27*30588217SMike Christenseninclude ../Makefile.lib
28*30588217SMike Christensen
29*30588217SMike ChristensenHDRS = libds.h
30*30588217SMike ChristensenHDRDIR = common
31*30588217SMike Christensen
32*30588217SMike ChristensenROOTHDRDIR = $(ROOT)/usr/platform/sun4v/include/sys
33*30588217SMike Christensen
34*30588217SMike ChristensenSUBDIRS = $(MACH)
35*30588217SMike Christensen$(BUILD64)SUBDIRS += $(MACH64)
36*30588217SMike Christensen
37*30588217SMike Christensenall := TARGET = all
38*30588217SMike Christensenclean := TARGET = clean
39*30588217SMike Christensenclobber := TARGET = clobber
40*30588217SMike Christenseninstall := TARGET = install
41*30588217SMike Christensenlint := TARGET = lint
42*30588217SMike Christensen
43*30588217SMike Christensen.KEEP_STATE:
44*30588217SMike Christensen
45*30588217SMike Christensenall clean clobber lint: $(SUBDIRS)
46*30588217SMike Christensen
47*30588217SMike Christensencheck: $(CHECKHDRS)
48*30588217SMike Christensen
49*30588217SMike Christenseninstall: all .WAIT $(SUBDIRS)
50*30588217SMike Christensen
51*30588217SMike Christenseninstall_h: $(ROOTHDRS)
52*30588217SMike Christensen
53*30588217SMike Christensen$(SUBDIRS): FRC
54*30588217SMike Christensen	@cd $@; pwd; $(MAKE) $(TARGET)
55*30588217SMike Christensen
56*30588217SMike ChristensenFRC:
57*30588217SMike Christensen
58*30588217SMike Christenseninclude ../Makefile.targ
59