xref: /titanic_51/usr/src/lib/libtsol/Makefile (revision f808c858fa61e7769218966759510a8b1190dfcf)
145916cd2Sjpk#
245916cd2Sjpk# CDDL HEADER START
345916cd2Sjpk#
445916cd2Sjpk# The contents of this file are subject to the terms of the
545916cd2Sjpk# Common Development and Distribution License (the "License").
645916cd2Sjpk# You may not use this file except in compliance with the License.
745916cd2Sjpk#
845916cd2Sjpk# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
945916cd2Sjpk# or http://www.opensolaris.org/os/licensing.
1045916cd2Sjpk# See the License for the specific language governing permissions
1145916cd2Sjpk# and limitations under the License.
1245916cd2Sjpk#
1345916cd2Sjpk# When distributing Covered Code, include this CDDL HEADER in each
1445916cd2Sjpk# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1545916cd2Sjpk# If applicable, add the following below this CDDL HEADER, with the
1645916cd2Sjpk# fields enclosed by brackets "[]" replaced with your own identifying
1745916cd2Sjpk# information: Portions Copyright [yyyy] [name of copyright owner]
1845916cd2Sjpk#
1945916cd2Sjpk# CDDL HEADER END
2045916cd2Sjpk#
2145916cd2Sjpk#
2245916cd2Sjpk# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2345916cd2Sjpk# Use is subject to license terms.
2445916cd2Sjpk#
2545916cd2Sjpk# ident	"%Z%%M%	%I%	%E% SMI"
2645916cd2Sjpk#
2745916cd2Sjpk
2845916cd2Sjpkinclude ../Makefile.lib
2945916cd2Sjpk
3045916cd2SjpkHDRS =		label.h
3145916cd2SjpkHDRDIR =	common
3245916cd2SjpkSUBDIRS =	$(MACH)
3345916cd2Sjpk$(BUILD64)SUBDIRS += $(MACH64)
3445916cd2Sjpk
3545916cd2SjpkPOFILE =	libtsol.po
3645916cd2SjpkMSGFILES =	common/btos.c common/private.c common/stob.c
3745916cd2SjpkXGETFLAGS =	-a
3845916cd2Sjpk
3945916cd2Sjpkall := 		TARGET = all
4045916cd2Sjpkclean :=	TARGET = clean
4145916cd2Sjpkclobber :=	TARGET = clobber
4245916cd2Sjpkinstall	:=	TARGET = install
4345916cd2Sjpklint :=		TARGET = lint
4445916cd2Sjpk
4545916cd2Sjpk.KEEP_STATE:
4645916cd2Sjpk
4745916cd2Sjpk# Override so that label.h gets installed where expected.
4845916cd2SjpkROOTHDRDIR=	$(ROOT)/usr/include/tsol
4945916cd2Sjpk
50*f808c858Srafall clean clobber install lint: $(SUBDIRS)
5145916cd2Sjpk
5245916cd2Sjpkinstall_h: $(ROOTHDRS)
5345916cd2Sjpk
5445916cd2Sjpkcheck: $(CHECKHDRS)
5545916cd2Sjpk
5645916cd2Sjpk$(POFILE):	$(MSGFILES)
5745916cd2Sjpk		$(BUILDPO.msgfiles)
5845916cd2Sjpk
5945916cd2Sjpk_msg:		$(MSGDOMAINPOFILE)
6045916cd2Sjpk
61*f808c858Sraf$(SUBDIRS):	FRC
6245916cd2Sjpk	@cd $@; pwd; $(MAKE) $(TARGET)
6345916cd2Sjpk
6445916cd2SjpkFRC:
6545916cd2Sjpk
6645916cd2Sjpkinclude $(SRC)/Makefile.msg.targ
6745916cd2Sjpkinclude $(SRC)/lib/Makefile.targ
68