xref: /onnv-gate/usr/src/lib/libtsol/Makefile (revision 2522:79989c8fe091)
11676Sjpk#
21676Sjpk# CDDL HEADER START
31676Sjpk#
41676Sjpk# The contents of this file are subject to the terms of the
51676Sjpk# Common Development and Distribution License (the "License").
61676Sjpk# You may not use this file except in compliance with the License.
71676Sjpk#
81676Sjpk# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91676Sjpk# or http://www.opensolaris.org/os/licensing.
101676Sjpk# See the License for the specific language governing permissions
111676Sjpk# and limitations under the License.
121676Sjpk#
131676Sjpk# When distributing Covered Code, include this CDDL HEADER in each
141676Sjpk# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151676Sjpk# If applicable, add the following below this CDDL HEADER, with the
161676Sjpk# fields enclosed by brackets "[]" replaced with your own identifying
171676Sjpk# information: Portions Copyright [yyyy] [name of copyright owner]
181676Sjpk#
191676Sjpk# CDDL HEADER END
201676Sjpk#
211676Sjpk#
221676Sjpk# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
231676Sjpk# Use is subject to license terms.
241676Sjpk#
25*2522Sraf# ident	"%Z%%M%	%I%	%E% SMI"
261676Sjpk#
271676Sjpk
281676Sjpkinclude ../Makefile.lib
291676Sjpk
301676SjpkHDRS =		label.h
311676SjpkHDRDIR =	common
321676SjpkSUBDIRS =	$(MACH)
331676Sjpk$(BUILD64)SUBDIRS += $(MACH64)
341676Sjpk
351676SjpkPOFILE =	libtsol.po
361676SjpkMSGFILES =	common/btos.c common/private.c common/stob.c
371676SjpkXGETFLAGS =	-a
381676Sjpk
391676Sjpkall := 		TARGET = all
401676Sjpkclean :=	TARGET = clean
411676Sjpkclobber :=	TARGET = clobber
421676Sjpkinstall	:=	TARGET = install
431676Sjpklint :=		TARGET = lint
441676Sjpk
451676Sjpk.KEEP_STATE:
461676Sjpk
471676Sjpk# Override so that label.h gets installed where expected.
481676SjpkROOTHDRDIR=	$(ROOT)/usr/include/tsol
491676Sjpk
50*2522Srafall clean clobber install lint: $(SUBDIRS)
511676Sjpk
521676Sjpkinstall_h: $(ROOTHDRS)
531676Sjpk
541676Sjpkcheck: $(CHECKHDRS)
551676Sjpk
561676Sjpk$(POFILE):	$(MSGFILES)
571676Sjpk		$(BUILDPO.msgfiles)
581676Sjpk
591676Sjpk_msg:		$(MSGDOMAINPOFILE)
601676Sjpk
61*2522Sraf$(SUBDIRS):	FRC
621676Sjpk	@cd $@; pwd; $(MAKE) $(TARGET)
631676Sjpk
641676SjpkFRC:
651676Sjpk
661676Sjpkinclude $(SRC)/Makefile.msg.targ
671676Sjpkinclude $(SRC)/lib/Makefile.targ
68