Makefile revision f841f6ad96ea6675d6c6b35c749eaac601799fdf
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# CDDL HEADER START
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# The contents of this file are subject to the terms of the
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Common Development and Distribution License (the "License").
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# You may not use this file except in compliance with the License.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# or http://www.opensolaris.org/os/licensing.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# CDDL HEADER END
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas Gustafsson# Use is subject to license terms.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# ident "%Z%%M% %I% %E% SMI"
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# include library definitions
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafssoninclude $(SRC)/cmd/picl/plugins/Makefile.com
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Sun-Fire-880
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonDYNFLAGS_PLAT = /usr/platform/\$$PLATFORM/lib/picl/plugins
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonDYNFLAGS_SUN4U = /usr/platform/sun4u/lib/picl/plugins
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonCPPFLAGS += -I$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcobj
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonLDLIBS += -L$(SRC)/lib/libpicl/$(MACH) -L$(SRC)/lib/libpicltree/$(MACH)
ddccd5811feff696ba460dabfb666ce61040f545Andreas GustafssonLDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcobj
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas GustafssonLDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcplugin
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas GustafssonDYNFLAGS += -R$(DYNFLAGS_PLAT):$(DYNFLAGS_SUN4U):$(DYNFLAGS_COM)
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas GustafssonLDLIBS += -lc -lpicltree -lpicl -lpsvcobj -lpsvcplugin
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafssoninstall: all $(ROOTLIBDIR) $(ROOTLIBS) $(ROOTLINKS)
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas Gustafsson $(CP) $(POFILE) $(MSGDOMAIN)/$(POFILE_RENAME)
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson $(RM) $(LIBLINKS); $(SYMLINK) $(DYNLIB) $(LIBLINKS)
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# include library targets