Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White#
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel# CDDL HEADER START
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White#
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel# The contents of this file are subject to the terms of the
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel# Common Development and Distribution License, Version 1.0 only
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel# (the "License"). You may not use this file except in compliance
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel# with the License.
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel#
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel# or http://www.opensolaris.org/os/licensing.
42bf7a7d4548ff8aea6834cf77b843423a4eeacbMarkus Engel# See the License for the specific language governing permissions
42bf7a7d4548ff8aea6834cf77b843423a4eeacbMarkus Engel# and limitations under the License.
2a2fd68051b9d3e5528e07b53a27996d4977d70dMarkus Engel#
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White# When distributing Covered Code, include this CDDL HEADER in each
709e05fc21f81d429cd28ff19b498f270192efbbMarkus Engel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4ec2915bb9ad24a16066ae23f94a36cc225ca4afMarkus Engel# If applicable, add the following below this CDDL HEADER, with the
42bf7a7d4548ff8aea6834cf77b843423a4eeacbMarkus Engel# fields enclosed by brackets "[]" replaced with your own identifying
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White# information: Portions Copyright [yyyy] [name of copyright owner]
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White#
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White# CDDL HEADER END
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White#
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White#
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White# Use is subject to license terms.
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White#
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White# ident "%Z%%M% %I% %E% SMI"
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White#
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White# cmd/audit_warn/Makefile
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White#
6afde8674707ca6bde7835c5a6e4f182daf789afLiam P. White
42bf7a7d4548ff8aea6834cf77b843423a4eeacbMarkus EngelPROG = audit_warn
42bf7a7d4548ff8aea6834cf77b843423a4eeacbMarkus EngelSRCS = audit_warn.sh
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engelinclude ../Makefile.cmd
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus EngelETCSECURITYFILES = audit_warn
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus EngelROOTETCSECURITY = $(ROOT)/etc/security
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel$(ROOTETCSECURITY) := DIRMODE = 0755
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel$(ROOTETCSECURITY) := OWNER = root
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel$(ROOTETCSECURITY) := GROUP = sys
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus EngelROOTETCSECURITYFILES = $(ETCSECURITYFILES:%=$(ROOTETCSECURITY)/%)
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel$(ROOTETCSECURITYFILES) := FILEMODE = 0740
d1a2fe4fd204a034fd34a4f0376e72d7d3f3f619Markus Engel$(ROOTETCSECURITYFILES) := OWNER = root
$(ROOTETCSECURITYFILES) := GROUP = sys
.KEEP_STATE:
all: $(PROG)
install: all $(ROOTETCSECURITY) $(ROOTETCSECURITYFILES)
$(ROOTETCSECURITY):
$(INS.dir)
$(ROOTETCSECURITY)/%:%
$(INS.file)
clean:
$(RM) -f $(PROG)
clobber: clean
lint:
include ../Makefile.targ