Makefile revision 9444c26f4faabda140242c3986089704c4073ced
425N/A#
425N/A# CDDL HEADER START
425N/A#
425N/A# The contents of this file are subject to the terms of the
911N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
425N/A#
425N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
919N/A
425N/Ainclude ../../Makefile.cmd
425N/A
425N/AFILEMODE = 0444
425N/A
493N/ABUILTXML= \
425N/A console-login.xml
425N/A
493N/AFSSVCS= \
425N/A local-fs.xml \
911N/A minimal-fs.xml \
911N/A root-fs.xml \
911N/A usr-fs.xml
911N/A
425N/AFSMANIFESTS= $(FSSVCS:%=$(ROOTSVCSYSTEMFILESYSTEM)/%)
425N/A
425N/ANETSVCS= \
425N/A network-initial.xml \
425N/A network-iptun.xml \
493N/A network-ipqos.xml \
493N/A network-location.xml \
425N/A network-loopback.xml \
425N/A network-netcfg.xml \
network-netmask.xml \
network-netcfg.xml \
network-physical.xml \
network-routing-setup.xml \
network-service.xml
NETMANIFESTS= $(NETSVCS:%=$(ROOTSVCNETWORK)/%)
MAINMILESTONES= \
multi-user-server.xml \
multi-user.xml \
name-services.xml \
network.xml \
single-user.xml \
sysconfig.xml
MAINMANIFESTS= $(MAINMILESTONES:%=$(ROOTSVCMILESTONE)/%)
SYSDEVSVCS= \
devices-local.xml \
devices-audio.xml
SYSDEVMANIFESTS= $(SYSDEVSVCS:%=$(ROOTSVCSYSTEMDEVICE)/%)
SYSTEMSVCS= \
boot-archive.xml \
console-login.xml \
early-manifest-import.xml \
identity.xml \
manifest-import.xml \
rmtmpfiles.xml \
vtdaemon.xml
SYSTEMMANIFESTS = $(SYSTEMSVCS:%=$(ROOTSVCSYSTEM)/%)
SYSTEMSVCSVCS= \
restarter.xml \
global.xml
SYSTEMSVCMANIFESTS= $(SYSTEMSVCSVCS:%=$(ROOTSVCSYSTEM)/svc/%)
MISCFILES= \
README.share
SYSTEMMISCFILES = $(MISCFILES:%.share=$(ROOT)/lib/svc/share/%)
#
# MANIFEST is used solely in the construction of the check target.
#
MANIFEST= $(FSSVCS) $(NETSVCS) $(MAINMILESTONES) $(SYSTEMSVCS) \
$(SYSDEVSVCS) $(SYSTEMSVCSVCS)
SVCMETHOD=\
boot-archive \
console-login \
devices-audio \
devices-local \
fs-local \
fs-minimal \
fs-root \
fs-usr \
identity-domain \
identity-node \
manifest-import \
net-loc \
net-loopback \
net-init \
net-iptun \
net-ipqos \
net-netmask \
net-nwam \
net-physical \
net-routing-setup \
net-svc \
rmtmpfiles \
vtdaemon
$(ROOTSVCMETHOD) := FILEMODE = 0555
all: $(BUILTXML)
install: $(FSMANIFESTS) $(MAINMANIFESTS) $(NETMANIFESTS) $(SYSTEMMANIFESTS) \
$(ROOTSVCMETHOD) $(SYSDEVMANIFESTS) $(SYSTEMSVCMANIFESTS) \
$(SYSTEMMISCFILES)
check: $(CHKMANIFEST)
console-login.xml: make-console-login-xml
$(SH) ./make-console-login-xml
clobber: clean
-$(RM) $(BUILTXML)
$(ROOTSVCMILESTONE)/%: %
$(INS.file)
$(ROOTSVCNETWORK)/%: %
$(INS.file)
$(ROOTSVCSYSTEM)/%: %
$(INS.file)
$(ROOTSVCSYSTEMDEVICE)/%: %
$(INS.file)
$(ROOTSVCSYSTEMFILESYSTEM)/%: %
$(INS.file)
$(ROOTSVCSYSTEM)/svc/%: %
$(INS.file)
$(ROOT)/lib/svc/share/%: %.share
$(INS.rename)
clean lint _msg: