xref: /titanic_50/usr/src/cmd/picl/plugins/Makefile.com (revision b9bd317cda1afb3a01f4812de73e8cec888cbbd7)
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
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
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 2008 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26#
27
28# There should be a mapfile here
29MAPFILES =
30
31CPPFLAGS	+= -I$(SRC)/lib/libpicl -I$(SRC)/lib/libpicltree
32CPPFLAGS	+= -I$(SRC)/cmd/picl/plugins/inc
33CFLAGS		+= $(CCVERBOSE)
34
35# Some picl plugins have dependencies to which they make no reference.  These
36# dependencies are expected to be loaded so that their .init's fire and thus
37# populate the picl database before the dependency itself adds to the database.
38# Turn off lazy loading so that all plugin dependencies are loaded.
39DYNFLAGS	+= $(ZNOLAZYLOAD)
40
41ROOTLIBDIR := DIRMODE=	0755
42ROOTLIBDIR := OWNER=		root
43ROOTLIBDIR := GROUP=		sys
44
45FILEMODE=	0755
46DIRMODE=	0755
47OWNER=		root
48GROUP=		sys
49
50ROOT_PLATFORM := DIRMODE= 0755
51ROOT_PLATFORM := OWNER= root
52ROOT_PLATFORM := GROUP= sys
53
54ROOT_PLAT_LIBDIR = $(ROOT_PLATFORM)/lib
55ROOT_PLAT_LIBDIR := DIRMODE= 0755
56ROOT_PLAT_LIBDIR := OWNER= root
57ROOT_PLAT_LIBDIR := GROUP= bin
58
59ROOT_PLAT_PICLDIR = $(ROOT_PLAT_LIBDIR)/picl
60ROOT_PLAT_PICLDIR := DIRMODE= 0755
61ROOT_PLAT_PICLDIR := OWNER= root
62ROOT_PLAT_PICLDIR := GROUP= sys
63
64ROOT_PLAT_PLUGINDIR = $(ROOT_PLAT_PICLDIR)/plugins
65ROOT_PLAT_PLUGINDIR := DIRMODE= 0755
66ROOT_PLAT_PLUGINDIR := OWNER= root
67ROOT_PLAT_PLUGINDIR := GROUP= sys
68
69USR_LIB_PICLDIR = $(ROOT)/usr/lib/picl
70USR_LIB_PLUGINDIR = $(USR_LIB_PICLDIR)/plugins
71