xref: /titanic_52/usr/src/lib/libdscp/Makefile (revision f808c858fa61e7769218966759510a8b1190dfcf)
125cf1a30Sjl139090#
225cf1a30Sjl139090# CDDL HEADER START
325cf1a30Sjl139090#
425cf1a30Sjl139090# The contents of this file are subject to the terms of the
525cf1a30Sjl139090# Common Development and Distribution License (the "License").
625cf1a30Sjl139090# You may not use this file except in compliance with the License.
725cf1a30Sjl139090#
825cf1a30Sjl139090# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
925cf1a30Sjl139090# or http://www.opensolaris.org/os/licensing.
1025cf1a30Sjl139090# See the License for the specific language governing permissions
1125cf1a30Sjl139090# and limitations under the License.
1225cf1a30Sjl139090#
1325cf1a30Sjl139090# When distributing Covered Code, include this CDDL HEADER in each
1425cf1a30Sjl139090# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1525cf1a30Sjl139090# If applicable, add the following below this CDDL HEADER, with the
1625cf1a30Sjl139090# fields enclosed by brackets "[]" replaced with your own identifying
1725cf1a30Sjl139090# information: Portions Copyright [yyyy] [name of copyright owner]
1825cf1a30Sjl139090#
1925cf1a30Sjl139090# CDDL HEADER END
2025cf1a30Sjl139090#
2125cf1a30Sjl139090#
2225cf1a30Sjl139090# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2325cf1a30Sjl139090# Use is subject to license terms.
2425cf1a30Sjl139090#
2525cf1a30Sjl139090# ident	"%Z%%M%	%I%	%E% SMI"
2625cf1a30Sjl139090#
2725cf1a30Sjl139090
2825cf1a30Sjl139090include ../Makefile.lib
2925cf1a30Sjl139090
30*f808c858SrafSUBDIRS=	sparc svc
3125cf1a30Sjl139090
3225cf1a30Sjl139090all	:= TARGET= all
3325cf1a30Sjl139090install	:= TARGET= install
3425cf1a30Sjl139090clean	:= TARGET= clean
3525cf1a30Sjl139090clobber	:= TARGET= clobber
3625cf1a30Sjl139090lint	:= TARGET= lint
3725cf1a30Sjl139090
3825cf1a30Sjl139090# definitions for install_h target
3925cf1a30Sjl139090HDRS=		libdscp.h
4025cf1a30Sjl139090ROOTHDRDIR=	$(ROOT)/usr/include
4125cf1a30Sjl139090ROOTHDRS=	$(HDRS:%=$(ROOTHDRDIR)/%)
4225cf1a30Sjl139090CHECKHDRS=	$(HDRS:%.h=%.check)
4325cf1a30Sjl139090
4425cf1a30Sjl139090.KEEP_STATE:
4525cf1a30Sjl139090
4625cf1a30Sjl139090all install clean clobber lint: $(SUBDIRS)
4725cf1a30Sjl139090
4825cf1a30Sjl139090# install rule for install_h target
4925cf1a30Sjl139090
5025cf1a30Sjl139090$(ROOTHDRDIR)/%: %
5125cf1a30Sjl139090	$(INS.file)
5225cf1a30Sjl139090
5325cf1a30Sjl139090install_h: $(ROOTHDRS)
5425cf1a30Sjl139090
5525cf1a30Sjl139090check: $(CHECKHDRS)
5625cf1a30Sjl139090
57*f808c858Sraf$(SUBDIRS): FRC
5825cf1a30Sjl139090	@cd $@; pwd; $(MAKE) $(TARGET)
5925cf1a30Sjl139090
6025cf1a30Sjl139090FRC:
61