Makefile.com revision 2
1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License (the "License").
1N/A# You may not use this file except in compliance with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A#
1N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1N/A# Use is subject to license terms.
1N/A#
1N/A# ident "%Z%%M% %I% %E% SMI"
1N/A#
1N/A
1N/ALIBS = $(DYNLIB)
1N/A
1N/ACPPFLAGS += -I../inc -I$(SRC)/cmd/smserverd/
1N/ALDLIBS += -lc $(PLUGIN_SPECIFIC_LIB)
1N/A
1N/ALINTPLUGIN = llib-$(LIBNAME).ln
1N/APLUGINDIR = $(ROOTLIBDIR)/smedia
1N/APLUGINDIR64 = $(ROOTLIBDIR)/smedia/$(MACH64)
1N/AFILEMODE = 555
1N/A
1N/ASOFILES = $(LIBRARY:%.a=%.so)
1N/APLUGINS = $(LIBS:%=$(PLUGINDIR)/%)
1N/APLUGINS64 = $(LIBS:%=$(PLUGINDIR64)/%)
1N/A
1N/ACLEANFILES= $(LINTOUT) $(LINTPLUGIN)
1N/A
1N/ASRCDIR = ../common
1N/A
1N/ALINTFLAGS += -xu
1N/ALINTFLAGS64 += -xu
1N/A$(LINTPLUGIN) := SRCS=$(OBJECTS:%.o=../common/%.c)
1N/A$(LINTPLUGIN) := LINTFLAGS=-nvx
1N/A$(LINTPLUGIN) := TARGET_ARCH=
1N/A
1N/ALINTSRC= $(LINTPLUGIN:%.ln=%)
1N/AROOTLINTDIR= $(ROOTLIBDIR)
1N/AROOTLINT= $(LINTSRC:%=$(ROOTLINTDIR)/%)
1N/A
1N/A.KEEP_STATE:
1N/A
1N/Alint: lintcheck
1N/A
1N/Aobjs/%.o pics/%.o: ../common/%.c
1N/A $(COMPILE.c) -o $@ $<
1N/A $(POST_PROCESS_O)
1N/A
1N/A$(PLUGINDIR) :
1N/A ${INS.dir}
1N/A
1N/A$(PLUGINDIR64) :
1N/A ${INS.dir}
1N/A
1N/A$(PLUGINDIR)/% : %
1N/A ${INS.file}
1N/A
1N/A$(PLUGINDIR64)/% : %
1N/A ${INS.file}
1N/A
1N/A