xref: /onnv-gate/usr/src/cmd/tsol/demo/Makefile (revision 10207:87c40ea3fc4b)
14746Srica#
24746Srica# CDDL HEADER START
34746Srica#
44746Srica# The contents of this file are subject to the terms of the
54746Srica# Common Development and Distribution License (the "License").
64746Srica# You may not use this file except in compliance with the License.
74746Srica#
84746Srica# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94746Srica# or http://www.opensolaris.org/os/licensing.
104746Srica# See the License for the specific language governing permissions
114746Srica# and limitations under the License.
124746Srica#
134746Srica# When distributing Covered Code, include this CDDL HEADER in each
144746Srica# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154746Srica# If applicable, add the following below this CDDL HEADER, with the
164746Srica# fields enclosed by brackets "[]" replaced with your own identifying
174746Srica# information: Portions Copyright [yyyy] [name of copyright owner]
184746Srica#
194746Srica# CDDL HEADER END
204746Srica#
21*10207SJames.McPherson@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
224746Srica# Use is subject to license terms.
234746Srica#
244746Srica# lib/libexacct/demo/Makefile
254746Srica#
264746Srica
274746Sricainclude ../../../cmd/Makefile.cmd
284746Srica
294746Srica.KEEP_STATE:
304746Srica
314746SricaDEMOFILES = \
324746Srica	clonebylabel.sh \
334746Srica	getmounts.sh \
344746Srica	runinzone.ksh \
354746Srica	runwlabel.ksh \
364746Srica	waitforzone.ksh
374746Srica
384746SricaROOTDEMODIR = $(ROOT)/usr/demo/tsol
394746SricaROOTDEMOFILES = $(DEMOFILES:%=$(ROOTDEMODIR)/%)
404746Srica
414746Sricaall:
424746Srica
434746Sricainstall: all $(ROOTDEMOFILES)
444746Srica
454746Sricaclean:
464746Srica
474746Sricalint: lint_PROG
484746Srica
494746Srica$(ROOTDEMODIR):
504746Srica	$(INS.dir)
514746Srica
524746Srica$(ROOTDEMODIR)/%: %
534746Srica	$(INS.file)
544746Srica
554746Srica$(ROOTDEMOFILES): $(ROOTDEMODIR)
564746Srica
574746Srica$(ROOTDEMODIR) := DIRMODE = 755
584746Srica
594746Srica$(ROOTDEMOFILES) := FILEMODE = 555
604746Srica
614746Sricainclude ../../../cmd/Makefile.targ
62