Makefile revision 9b5bf10ab04b9be5564d70a57980cfb68b6372e7
147N/A#
147N/A# CDDL HEADER START
147N/A#
147N/A# The contents of this file are subject to the terms of the
147N/A# Common Development and Distribution License (the "License").
147N/A# You may not use this file except in compliance with the License.
147N/A#
147N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
147N/A# or http://www.opensolaris.org/os/licensing.
147N/A# See the License for the specific language governing permissions
147N/A# and limitations under the License.
147N/A#
147N/A# When distributing Covered Code, include this CDDL HEADER in each
147N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
147N/A# If applicable, add the following below this CDDL HEADER, with the
147N/A# fields enclosed by brackets "[]" replaced with your own identifying
147N/A# information: Portions Copyright [yyyy] [name of copyright owner]
147N/A#
147N/A# CDDL HEADER END
147N/A#
3817N/A#
147N/A# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
147N/A#
147N/A
147N/Ainclude ../../Makefile.cmd
147N/A
147N/AFILEMODE = 0444
147N/A
147N/ABUILTXML= \
844N/A console-login.xml
844N/A
147N/AFSSVCS= \
1258N/A local-fs.xml \
147N/A minimal-fs.xml \
2899N/A root-fs.xml \
2899N/A usr-fs.xml
3817N/A
3817N/AFSMANIFESTS= $(FSSVCS:%=$(ROOTSVCSYSTEMFILESYSTEM)/%)
3817N/A
147N/ANETSVCS= \
147N/A network-initial.xml \
147N/A network-install.xml \
206N/A network-iptun.xml \
206N/A network-ipqos.xml \
206N/A network-location.xml \
206N/A network-loopback.xml \
806N/A network-netcfg.xml \
806N/A network-netmask.xml \
806N/A network-netcfg.xml \
806N/A network-physical.xml \
806N/A network-routing-setup.xml \
147N/A network-service.xml
147N/A
147N/ANETMANIFESTS= $(NETSVCS:%=$(ROOTSVCNETWORK)/%)
806N/A
206N/AMAINMILESTONES= \
147N/A multi-user-server.xml \
147N/A multi-user.xml \
147N/A name-services.xml \
147N/A network.xml \
147N/A single-user.xml \
147N/A sysconfig.xml
1938N/A
1938N/AMAINMANIFESTS= $(MAINMILESTONES:%=$(ROOTSVCMILESTONE)/%)
3477N/A
3477N/ASYSDEVSVCS= \
147N/A devices-local.xml \
147N/A devices-audio.xml
181N/A
147N/ASYSDEVMANIFESTS= $(SYSDEVSVCS:%=$(ROOTSVCSYSTEMDEVICE)/%)
181N/A
147N/ASYSTEMSVCS= \
147N/A boot-archive.xml \
3817N/A console-login.xml \
3817N/A early-manifest-import.xml \
3817N/A 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-install \
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: