xref: /illumos-gate/usr/src/lib/libds/Makefile (revision 241c90a06e8d1708235651863df515a2d522a03a)
130588217SMike Christensen#
230588217SMike Christensen# CDDL HEADER START
330588217SMike Christensen#
430588217SMike Christensen# The contents of this file are subject to the terms of the
530588217SMike Christensen# Common Development and Distribution License (the "License").
630588217SMike Christensen# You may not use this file except in compliance with the License.
730588217SMike Christensen#
830588217SMike Christensen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
930588217SMike Christensen# or http://www.opensolaris.org/os/licensing.
1030588217SMike Christensen# See the License for the specific language governing permissions
1130588217SMike Christensen# and limitations under the License.
1230588217SMike Christensen#
1330588217SMike Christensen# When distributing Covered Code, include this CDDL HEADER in each
1430588217SMike Christensen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1530588217SMike Christensen# If applicable, add the following below this CDDL HEADER, with the
1630588217SMike Christensen# fields enclosed by brackets "[]" replaced with your own identifying
1730588217SMike Christensen# information: Portions Copyright [yyyy] [name of copyright owner]
1830588217SMike Christensen#
1930588217SMike Christensen# CDDL HEADER END
2030588217SMike Christensen#
2130588217SMike Christensen#
2230588217SMike Christensen# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
2330588217SMike Christensen# Use is subject to license terms.
2430588217SMike Christensen#
2530588217SMike Christensen#
2630588217SMike Christensen
2730588217SMike Christenseninclude ../Makefile.lib
2830588217SMike Christensen
2930588217SMike ChristensenHDRS = libds.h
3030588217SMike ChristensenHDRDIR = common
3130588217SMike Christensen
3230588217SMike ChristensenROOTHDRDIR = $(ROOT)/usr/platform/sun4v/include/sys
3330588217SMike Christensen
3430588217SMike ChristensenSUBDIRS = $(MACH)
3530588217SMike Christensen$(BUILD64)SUBDIRS += $(MACH64)
3630588217SMike Christensen
3730588217SMike Christensenall := TARGET = all
3830588217SMike Christensenclean := TARGET = clean
3930588217SMike Christensenclobber := TARGET = clobber
4030588217SMike Christenseninstall := TARGET = install
4130588217SMike Christensen
4230588217SMike Christensen.KEEP_STATE:
4330588217SMike Christensen
44*241c90a0SRichard Loweall clean clobber: $(SUBDIRS)
4530588217SMike Christensen
4630588217SMike Christensencheck: $(CHECKHDRS)
4730588217SMike Christensen
4830588217SMike Christenseninstall: all .WAIT $(SUBDIRS)
4930588217SMike Christensen
5030588217SMike Christenseninstall_h: $(ROOTHDRS)
5130588217SMike Christensen
5230588217SMike Christensen$(SUBDIRS): FRC
5330588217SMike Christensen	@cd $@; pwd; $(MAKE) $(TARGET)
5430588217SMike Christensen
5530588217SMike ChristensenFRC:
5630588217SMike Christensen
5730588217SMike Christenseninclude ../Makefile.targ
58