xref: /titanic_52/usr/src/cmd/tsol/demo/Makefile (revision cc7a88b54b4969574f03e1a1225bb13be487f5db)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
22# Use is subject to license terms.
23#
24#ident	"%Z%%M%	%I%	%E% SMI"
25#
26# lib/libexacct/demo/Makefile
27#
28
29include ../../../cmd/Makefile.cmd
30
31.KEEP_STATE:
32
33DEMOFILES = \
34	clonebylabel.sh \
35	getmounts.sh \
36	runinzone.ksh \
37	runwlabel.ksh \
38	waitforzone.ksh
39
40ROOTDEMODIR = $(ROOT)/usr/demo/tsol
41ROOTDEMOFILES = $(DEMOFILES:%=$(ROOTDEMODIR)/%)
42
43all:
44
45install: all $(ROOTDEMOFILES)
46
47clean:
48
49lint: lint_PROG
50
51$(ROOTDEMODIR):
52	$(INS.dir)
53
54$(ROOTDEMODIR)/%: %
55	$(INS.file)
56
57$(ROOTDEMOFILES): $(ROOTDEMODIR)
58
59$(ROOTDEMODIR) := OWNER = root
60$(ROOTDEMODIR) := GROUP = bin
61$(ROOTDEMODIR) := DIRMODE = 755
62
63$(ROOTDEMOFILES) := OWNER = root
64$(ROOTDEMOFILES) := GROUP = bin
65$(ROOTDEMOFILES) := FILEMODE = 555
66
67include ../../../cmd/Makefile.targ
68