usr/src/cmd/Makefile.cmd
author Susan Sohn <susan.sohn@oracle.com>
Fri, 05 Aug 2011 12:23:54 -0700
changeset 1361 8fa0488f54d3
parent 1087 96b6cc8130c5
permissions -rw-r--r--
7075323 additional slim_unit_test failure after 7066078 went in

#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#

#
# Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
#
include $(SRC)/Makefile.master

FILEMODE = 0755

# Definitions of common installation directories
ROOTADMINBIN	= $(ROOT)/usr/snadm/bin
ROOTEXECATTR	= $(ROOT)/etc/security/exec_attr.d
ROOTLIBSVCMANIFEST	= $(ROOT)/lib/svc/manifest
ROOTLIBSVCMETHOD	= $(ROOT)/lib/svc/method
ROOTLIBSVCSHARE	= $(ROOT)/lib/svc/share
ROOTMANAPP	= $(ROOTLIBSVCMANIFEST)/application
ROOTMANSYS	= $(ROOTLIBSVCMANIFEST)/system
ROOTMANSYSFIL	= $(ROOTMANSYS)/filesystem
ROOTMANSYSSVC	= $(ROOTMANSYS)/svc
ROOTMANSYSINS	= $(ROOTMANSYS)/install
ROOTPROFATTR	= $(ROOT)/etc/security/prof_attr.d
ROOTUSERATTR	= $(ROOT)/etc/user_attr.d
ROOTUSRLIBINSTALLADM	= $(ROOT)/usr/lib/installadm
ROOTUSRLIBINSTALL	= $(ROOT)/usr/lib/install
ROOTVARSADM	= $(ROOT)/var/sadm
ROOTVARINSTADM	= $(ROOT)/var/installadm
ROOTVARAIWEB	= $(ROOT)/var/installadm/ai-webserver
ROOTETCSVCPROFILE	= $(ROOT)/etc/svc/profile
ROOTVARAICGI	= $(ROOT)/var/ai/image-server/cgi-bin

# Derived installation rules
ROOTUSRBINPROG	= $(PROG:%=$(ROOTUSRBIN)/%)

ROOTUSRSBINFILES = $(FILES:%=$(ROOTUSRSBIN)/%)

ROOTSBINFILES	= $(FILES:%=$(ROOTSBIN)/%)

ROOTUSRLIBINSTALLFILES = $(FILES:%=$(ROOTUSRLIBINSTALL)/%)

ROOTEXECATTRFILES	= $(EXECATTRFILES:exec_attr.%=$(ROOTEXECATTR)/%)
ROOTPROFATTRFILES	= $(PROFATTRFILES:prof_attr.%=$(ROOTPROFATTR)/%)
ROOTUSERATTRFILES	= $(USERATTRFILES:user_attr.%=$(ROOTUSERATTR)/%)

# Basic linkage macro
LDLIBS.cmd	= -L$(ROOTUSRLIB) -L$(ONLIBDIR) -L$(ONUSRLIBDIR)