xref: /titanic_41/usr/src/cmd/tsol/Makefile.targ (revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4)
1f875b4ebSrica#
2f875b4ebSrica# CDDL HEADER START
3f875b4ebSrica#
4f875b4ebSrica# The contents of this file are subject to the terms of the
5f875b4ebSrica# Common Development and Distribution License (the "License").
6f875b4ebSrica# You may not use this file except in compliance with the License.
7f875b4ebSrica#
8f875b4ebSrica# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9f875b4ebSrica# or http://www.opensolaris.org/os/licensing.
10f875b4ebSrica# See the License for the specific language governing permissions
11f875b4ebSrica# and limitations under the License.
12f875b4ebSrica#
13f875b4ebSrica# When distributing Covered Code, include this CDDL HEADER in each
14f875b4ebSrica# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15f875b4ebSrica# If applicable, add the following below this CDDL HEADER, with the
16f875b4ebSrica# fields enclosed by brackets "[]" replaced with your own identifying
17f875b4ebSrica# information: Portions Copyright [yyyy] [name of copyright owner]
18f875b4ebSrica#
19f875b4ebSrica# CDDL HEADER END
20f875b4ebSrica#
21*24fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
22f875b4ebSrica# Use is subject to license terms.
23f875b4ebSrica#
24f875b4ebSrica
25f875b4ebSrica#
26f875b4ebSrica# Conditional assignment of default group/owner/permissions for SMF
27f875b4ebSrica# manifests and method scripts.
28f875b4ebSrica#
29f875b4ebSrica$(ROOTMANIFEST) :=	FILEMODE= 444
30f875b4ebSrica$(ROOTSVCBIN) :=	FILEMODE= 544
31f875b4ebSrica
32f875b4ebSricaclobber: clean
33f875b4ebSrica	-$(RM) $(PROG) $(CLOBBERFILES)
34f875b4ebSrica
35f875b4ebSricalint_PROG:	$$(PROG).c
36f875b4ebSrica	$(LINT.c) $(PROG).c $(LDLIBS)
37f875b4ebSrica
38f875b4ebSricalint_SRCS:	$$(SRCS)
39f875b4ebSrica	$(LINT.c) $(SRCS) $(LDLIBS)
40f875b4ebSrica
41f875b4ebSrica$(ROOTCMDDIR)/%: $(ROOTCMDDIR) %
42f875b4ebSrica	$(INS.file)
43f875b4ebSrica
44f875b4ebSrica$(ROOTCMDDIR) $(ROOTCMDDIR64):
45f875b4ebSrica	$(INS.dir)
46f875b4ebSrica
47f875b4ebSrica$(ROOTCMDDIR64)/%: $(ROOTCMDDIR64) %
48f875b4ebSrica	$(INS.file)
49f875b4ebSrica
50f875b4ebSrica$(ROOTMANIFEST): $(ROOTMANIFESTDIR)
51f875b4ebSrica
52f875b4ebSrica$(ROOTMANIFESTDIR):
53f875b4ebSrica	$(INS.dir)
54f875b4ebSrica
55f875b4ebSrica$(ROOTMANIFESTDIR)/%: %
56f875b4ebSrica	$(INS.file)
57f875b4ebSrica
58f875b4ebSrica#
59f875b4ebSrica# For message catalogue files
60f875b4ebSrica#
61f875b4ebSrica_msg: $(POFILE)
62f875b4ebSrica
63f875b4ebSrica# the build of the $(DCFILE) should be defined locally
64f875b4ebSrica# its .dc extension gets renamed to .po upon installation
65f875b4ebSrica#
66f875b4ebSrica_dc: $(DCMSGDOMAIN) $(DCFILE)
67f875b4ebSrica	$(RM) $(DCMSGDOMAIN)/$(DCFILE)
68f875b4ebSrica	$(CP) $(DCFILE) $(DCMSGDOMAIN)/$(DCFILE:.dc=.po)
69f875b4ebSrica
70f875b4ebSrica$(MSGDOMAIN) $(DCMSGDOMAIN):
71f875b4ebSrica	$(INS.dir)
72