Makefile.cmd (ead1f93ee620d7580f7e53350fe5a884fc4f158a) Makefile.cmd (9444c26f4faabda140242c3986089704c4073ced)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 5 unchanged lines hidden (view full) ---

14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 5 unchanged lines hidden (view full) ---

14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
22# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
23# Use is subject to license terms.
24#
25# Definitions common to command source.
26#
27# include global definitions; SRC should be defined in the shell.
28# SRC is needed until RFE 1026993 is implemented.
29
30include $(SRC)/Makefile.master

--- 170 unchanged lines hidden (view full) ---

201$(ROOTLIBZONESFILES) := FILEMODE = 0555
202
203ROOTADMIN_SRC_FILE= $(ADMINFILE:%=$(ROOTADMIN_SRC_DIR)/%)
204$(ROOTADMIN_SRC_FILE) := FILEMODE = 0444
205
206#
207# Directories for smf(5) service manifests and profiles.
208#
23# Use is subject to license terms.
24#
25# Definitions common to command source.
26#
27# include global definitions; SRC should be defined in the shell.
28# SRC is needed until RFE 1026993 is implemented.
29
30include $(SRC)/Makefile.master

--- 170 unchanged lines hidden (view full) ---

201$(ROOTLIBZONESFILES) := FILEMODE = 0555
202
203ROOTADMIN_SRC_FILE= $(ADMINFILE:%=$(ROOTADMIN_SRC_DIR)/%)
204$(ROOTADMIN_SRC_FILE) := FILEMODE = 0444
205
206#
207# Directories for smf(5) service manifests and profiles.
208#
209ROOTVARSVC= $(ROOT)/var/svc
209ROOTSVC= $(ROOT)/lib/svc
210ROOTETCSVC= $(ROOT)/etc/svc
210
211
211ROOTVARSVCMANIFEST= $(ROOTVARSVC)/manifest
212ROOTVARSVCPROFILE= $(ROOTVARSVC)/profile
212ROOTSVCMANIFEST= $(ROOTSVC)/manifest
213ROOTSVCPROFILE= $(ROOTETCSVC)/profile
213
214
214ROOTSVCMILESTONE= $(ROOTVARSVCMANIFEST)/milestone
215ROOTSVCDEVICE= $(ROOTVARSVCMANIFEST)/device
216ROOTSVCSYSTEM= $(ROOTVARSVCMANIFEST)/system
215ROOTSVCMILESTONE= $(ROOTSVCMANIFEST)/milestone
216ROOTSVCDEVICE= $(ROOTSVCMANIFEST)/device
217ROOTSVCSYSTEM= $(ROOTSVCMANIFEST)/system
217ROOTSVCSYSTEMDEVICE= $(ROOTSVCSYSTEM)/device
218ROOTSVCSYSTEMFILESYSTEM= $(ROOTSVCSYSTEM)/filesystem
219ROOTSVCSYSTEMSECURITY= $(ROOTSVCSYSTEM)/security
218ROOTSVCSYSTEMDEVICE= $(ROOTSVCSYSTEM)/device
219ROOTSVCSYSTEMFILESYSTEM= $(ROOTSVCSYSTEM)/filesystem
220ROOTSVCSYSTEMSECURITY= $(ROOTSVCSYSTEM)/security
220ROOTSVCNETWORK= $(ROOTVARSVCMANIFEST)/network
221ROOTSVCNETWORK= $(ROOTSVCMANIFEST)/network
221ROOTSVCNETWORKDNS= $(ROOTSVCNETWORK)/dns
222ROOTSVCNETWORKISCSI= $(ROOTSVCNETWORK)/iscsi
223ROOTSVCNETWORKLDAP= $(ROOTSVCNETWORK)/ldap
224ROOTSVCNETWORKNFS= $(ROOTSVCNETWORK)/nfs
225ROOTSVCNETWORKNIS= $(ROOTSVCNETWORK)/nis
226ROOTSVCNETWORKROUTING= $(ROOTSVCNETWORK)/routing
227ROOTSVCNETWORKRPC= $(ROOTSVCNETWORK)/rpc
228ROOTSVCNETWORKSMB= $(ROOTSVCNETWORK)/smb
229ROOTSVCNETWORKSECURITY= $(ROOTSVCNETWORK)/security
230ROOTSVCNETWORKSSL= $(ROOTSVCNETWORK)/ssl
231ROOTSVCNETWORKIPSEC= $(ROOTSVCNETWORK)/ipsec
232ROOTSVCNETWORKSHARES= $(ROOTSVCNETWORK)/shares
233ROOTSVCSMB= $(ROOTSVCNETWORK)/smb
222ROOTSVCNETWORKDNS= $(ROOTSVCNETWORK)/dns
223ROOTSVCNETWORKISCSI= $(ROOTSVCNETWORK)/iscsi
224ROOTSVCNETWORKLDAP= $(ROOTSVCNETWORK)/ldap
225ROOTSVCNETWORKNFS= $(ROOTSVCNETWORK)/nfs
226ROOTSVCNETWORKNIS= $(ROOTSVCNETWORK)/nis
227ROOTSVCNETWORKROUTING= $(ROOTSVCNETWORK)/routing
228ROOTSVCNETWORKRPC= $(ROOTSVCNETWORK)/rpc
229ROOTSVCNETWORKSMB= $(ROOTSVCNETWORK)/smb
230ROOTSVCNETWORKSECURITY= $(ROOTSVCNETWORK)/security
231ROOTSVCNETWORKSSL= $(ROOTSVCNETWORK)/ssl
232ROOTSVCNETWORKIPSEC= $(ROOTSVCNETWORK)/ipsec
233ROOTSVCNETWORKSHARES= $(ROOTSVCNETWORK)/shares
234ROOTSVCSMB= $(ROOTSVCNETWORK)/smb
234ROOTSVCPLATFORM= $(ROOTVARSVCMANIFEST)/platform
235ROOTSVCPLATFORM= $(ROOTSVCMANIFEST)/platform
235ROOTSVCPLATFORMSUN4U= $(ROOTSVCPLATFORM)/sun4u
236ROOTSVCPLATFORMSUN4V= $(ROOTSVCPLATFORM)/sun4v
236ROOTSVCPLATFORMSUN4U= $(ROOTSVCPLATFORM)/sun4u
237ROOTSVCPLATFORMSUN4V= $(ROOTSVCPLATFORM)/sun4v
237ROOTSVCAPPLICATION= $(ROOTVARSVCMANIFEST)/application
238ROOTSVCAPPLICATION= $(ROOTSVCMANIFEST)/application
238ROOTSVCAPPLICATIONMANAGEMENT= $(ROOTSVCAPPLICATION)/management
239ROOTSVCAPPLICATIONSECURITY= $(ROOTSVCAPPLICATION)/security
240ROOTSVCAPPLICATIONPRINT= $(ROOTSVCAPPLICATION)/print
241
242#
243# Commands Makefiles delivering a manifest are expected to define MANIFEST.
244#
245# Like ROOTCMDDIR, any lower-level Makefiles that put their manifests in a
246# subdirectory of the manifest directories listed above should reset
247# ROOTMANIFESTDIR and use it in their `install' target. By default we set this
248# to a bogus value so that it will not conflict with any of the other values
249# already defined in this Makefile.
250#
251# The manifest validation of the $SRC/cmd check target is also derived from a
252# valid MANIFEST setting.
253#
239ROOTSVCAPPLICATIONMANAGEMENT= $(ROOTSVCAPPLICATION)/management
240ROOTSVCAPPLICATIONSECURITY= $(ROOTSVCAPPLICATION)/security
241ROOTSVCAPPLICATIONPRINT= $(ROOTSVCAPPLICATION)/print
242
243#
244# Commands Makefiles delivering a manifest are expected to define MANIFEST.
245#
246# Like ROOTCMDDIR, any lower-level Makefiles that put their manifests in a
247# subdirectory of the manifest directories listed above should reset
248# ROOTMANIFESTDIR and use it in their `install' target. By default we set this
249# to a bogus value so that it will not conflict with any of the other values
250# already defined in this Makefile.
251#
252# The manifest validation of the $SRC/cmd check target is also derived from a
253# valid MANIFEST setting.
254#
254ROOTMANIFESTDIR= $(ROOTVARSVCMANIFEST)/__nonexistent_directory__
255ROOTMANIFESTDIR= $(ROOTSVCMANIFEST)/__nonexistent_directory__
255ROOTMANIFEST= $(MANIFEST:%=$(ROOTMANIFESTDIR)/%)
256CHKMANIFEST= $(MANIFEST:%.xml=%.xmlchk)
257
258# Manifests cannot be checked in parallel, because we are using the global
259# repository that is in $(SRC)/cmd/svc/seed/global.db. This is a
260# repository that is built from the manifests in this workspace, whereas
261# the build machine's repository may be out of sync with these manifests.
262# Because we are using a private repository, svccfg-native must start up a

--- 249 unchanged lines hidden ---
256ROOTMANIFEST= $(MANIFEST:%=$(ROOTMANIFESTDIR)/%)
257CHKMANIFEST= $(MANIFEST:%.xml=%.xmlchk)
258
259# Manifests cannot be checked in parallel, because we are using the global
260# repository that is in $(SRC)/cmd/svc/seed/global.db. This is a
261# repository that is built from the manifests in this workspace, whereas
262# the build machine's repository may be out of sync with these manifests.
263# Because we are using a private repository, svccfg-native must start up a

--- 249 unchanged lines hidden ---