Makefile revision 1099afd7a24ed1f7d94bdae249576a66e1952d05
0N/A#
2362N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
2362N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2362N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
2362N/A#
2362N/A# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
2362N/A#
0N/A
0N/Ainclude ../Makefile.lib
0N/A
0N/ASUBDIRS = help $(MACH)
0N/A$(BUILD64)SUBDIRS += $(MACH64)
0N/A
0N/AMSGSUBDIRS= help
0N/A
0N/Aall:= TARGET= all
0N/Aclean:= TARGET= clean
0N/Aclobber:= TARGET= clobber
0N/Ainstall:= TARGET= install
0N/Alint:= TARGET= lint
0N/A_msg:= TARGET= _msg
0N/A
0N/A.KEEP_STATE:
0N/A
0N/AROOTETC = $(ROOT)/etc
0N/AROOTETCSECURITY = $(ROOTETC)/security
0N/A
0N/AEFILES = user_attr
0N/AEFILESRC = $(EFILES:%=%)
0N/AETCFILES = $(EFILES:%=$(ROOTETC)/%)
0N/AETCDFILES = $(EFILES:%=$(ROOTETC)/%.d/SUNWcs)
0N/A
0N/AESDFILES = auth_attr exec_attr prof_attr
0N/AESFILES = $(ESDFILES) policy.conf
0N/AESSRC = $(ESFILES:%=%)
0N/AETCSECURITYFILES = $(ESFILES:%=$(ROOTETCSECURITY)/%)
0N/AETCSECURITYDFILES = $(ESDFILES:%=$(ROOTETCSECURITY)/%.d/SUNWcs)
0N/A
0N/A
0N/AMFSTFILES = rbac.xml
0N/AMANIFESTDIR = $(ROOT)/lib/svc/manifest/system
0N/AMANIFEST = $(MFSTFILES:%=$(MANIFESTDIR)/%)
0N/A$(MANIFEST) := FILEMODE = 0444
0N/A
0N/AMETHODFILES = svc-rbac
0N/AMETHODDIR = $(ROOT)/lib/svc/method
0N/AMETHOD = $(METHODFILES:%=$(METHODDIR)/%)
0N/A$(METHOD) := FILEMODE = 0555
0N/A
0N/ASCRIPTS = i.rbac r.rbac
0N/ACLASS_SCR_SRC_DIR = common
0N/AINSTALL_DIR = $(ROOT)/usr/sadm/install
0N/A
0N/ACLASS_SCR_DIR = $(INSTALL_DIR)/scripts
0N/A
0N/ACLASS_SCR_FILES = $(SCRIPTS:%=$(CLASS_SCR_DIR)/%)
0N/A$(CLASS_SCR_FILES) := FILEMODE = 0555
0N/A
0N/Aall clean clobber delete install lint package: $(SUBDIRS)
0N/A_msg: $(MSGSUBDIRS)
0N/A
0N/Ainstall: install_data
0N/A
0N/Ainstall_data: $(ETCSECURITYFILES) $(ETCSECURITYDFILES) $(ETCFILES) \
0N/A $(ETCDFILES) $(CLASS_SCR_FILES) $(MANIFESTDIR) $(MANIFEST) \
0N/A $(METHODDIR) $(METHOD)
0N/A
0N/AATTR_FILES = auth_attr exec_attr prof_attr user_attr
0N/A${ATTR_FILES}: $$@.txt ${CLASS_SCR_SRC_DIR}/i.rbac
0N/A > $@
0N/A $(ECHO) $@.txt $@ | $(SHELL) ${CLASS_SCR_SRC_DIR}/i.rbac
0N/A
0N/A$(ETCSECURITYDFILES) $(ETCDFILES): $$(@D)
0N/A
0N/A$(ETCSECURITYFILES) $(ETCFILES): $(ETCSECURITY) $(ROOTETCSECURITY)
0N/A
0N/A$(ETCSECURITY)/%: %
0N/A $(INS.file)
0N/A
0N/A$(ROOTETCSECURITY):
0N/A $(INS.dir)
0N/A
0N/A$(ROOTETCSECURITY)/%: %
0N/A $(INS.file)
0N/A
0N/A$(ROOTETCSECURITY)/%.d/SUNWcs: %
0N/A $(INS.rename)
0N/A
0N/A$(ROOTETC)/% : %
0N/A $(INS.file)
0N/A
0N/A$(ROOTETC)/%.d/SUNWcs: %
0N/A $(INS.rename)
0N/A
0N/A$(MANIFESTDIR):
0N/A $(INS.dir)
0N/A
0N/A$(MANIFESTDIR)/% : %
0N/A $(INS.file)
0N/A
0N/A$(METHODDIR):
0N/A $(INS.dir)
0N/A
0N/A$(METHODDIR)/% : %
0N/A $(INS.file)
0N/A
0N/A$(CLASS_SCR_FILES): $(INSTALL_DIR) $(CLASS_SCR_DIR)
0N/A
0N/A$(INSTALL_DIR):
0N/A $(INS.dir)
0N/A
0N/A$(CLASS_SCR_DIR):
0N/A $(INS.dir)
0N/A
0N/A$(CLASS_SCR_DIR)/%: $(CLASS_SCR_SRC_DIR)/%
0N/A $(INS.file)
0N/A
0N/Aclobber clean:
0N/A $(RM) $(ATTR_FILES)
0N/A
0N/A$(SUBDIRS): FRC
0N/A @cd $@; pwd; $(MAKE) $(TARGET)
0N/A
0N/AFRC:
0N/A