Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
325N/A#
325N/A# CDDL HEADER START
325N/A#
325N/A# The contents of this file are subject to the terms of the
325N/A# Common Development and Distribution License, Version 1.0 only
325N/A# (the "License"). You may not use this file except in compliance
325N/A# with the License.
325N/A#
325N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
325N/A# or http://www.opensolaris.org/os/licensing.
325N/A# See the License for the specific language governing permissions
325N/A# and limitations under the License.
325N/A#
325N/A# When distributing Covered Code, include this CDDL HEADER in each
325N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
325N/A# If applicable, add the following below this CDDL HEADER, with the
325N/A# fields enclosed by brackets "[]" replaced with your own identifying
325N/A# information: Portions Copyright [yyyy] [name of copyright owner]
325N/A#
325N/A# CDDL HEADER END
325N/A#
325N/A#
325N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
325N/A# Use is subject to license terms.
325N/A#
325N/A# ident "%Z%%M% %I% %E% SMI"
325N/A#
325N/A
325N/ALIBRARY= libpsvcplugin_psr.a
325N/AVERS= .1
325N/A
325N/AOBJECTS= psvcplugin.o
325N/A
325N/A# include library definitions
325N/Ainclude $(SRC)/lib/Makefile.lib
325N/Ainclude $(SRC)/Makefile.psm
325N/A
325N/Ainclude $(SRC)/cmd/picl/plugins/Makefile.com
325N/A
325N/ASRCS= $(OBJECTS:%.o=%.c)
325N/A
325N/ALIBS = $(DYNLIB)
325N/A
325N/AROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Sun-Fire-280R
325N/A
325N/AROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR)
325N/A
325N/ACLEANFILES= $(LINTOUT) $(LINTLIB)
325N/A
325N/ACPPFLAGS += -I$(SRC)/uts/sun4u
325N/ACPPFLAGS += -I$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcobj
325N/ACPPFLAGS += -D_REENTRANT
325N/A
325N/ACFLAGS += $(CCVERBOSE)
325N/ALDLIBS += -L$(SRC)/lib/libpicl/$(MACH) -L$(SRC)/lib/libpicltree/$(MACH)
325N/ALDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcobj
325N/ALDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcplugin
325N/ADYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib/picl/plugins:/usr/lib/picl/plugins:/usr/platform/sun4u/lib
325N/A
325N/ALDLIBS += -lc -lpicltree -lpicl -lpsvcobj -lpsvcplugin
325N/A
325N/ALINTFLAGS +=
325N/A
325N/A.KEEP_STATE:
325N/A
325N/ASUBDIRS=
325N/A
325N/APOFILE= psvcplugin.po
325N/APOFILE_RENAME= psvcplugin_lneck.po
325N/A
325N/Aall := TARGET= all
325N/Ainstall := TARGET= install
325N/Aclean := TARGET= clean
325N/Aclobber := TARGET= clobber
325N/Alint := TARGET= lint
325N/A_msg := TARGET= _msg
325N/A
325N/Aall: $(LIBS) $(LIBLINKS)
325N/A
install: all $(ROOTLIBDIR) $(ROOTLIBS) $(ROOTLINKS)
_msg: $(MSGDOMAIN) $(POFILE)
$(RM) $(MSGDOMAIN)/$(POFILE)
$(CP) $(POFILE) $(MSGDOMAIN)/$(POFILE_RENAME)
$(MSGDOMAIN):
$(INS.dir)
$(LIBLINKS): FRC
$(RM) $(LIBLINKS); $(SYMLINK) $(DYNLIB) $(LIBLINKS)
# include library targets
include $(SRC)/cmd/picl/plugins/Makefile.targ
include $(SRC)/lib/Makefile.targ
lint :
$(LINT.c) $(SRCS)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC: