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