Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
43733a83ed92359555c0dcc766e04216ba858309Mark Andrews# CDDL HEADER START
bda64555f62216c3e785338f372a7ad9b79c197cMark Andrews# The contents of this file are subject to the terms of the
bda64555f62216c3e785338f372a7ad9b79c197cMark Andrews# Common Development and Distribution License, Version 1.0 only
bda64555f62216c3e785338f372a7ad9b79c197cMark Andrews# (the "License"). You may not use this file except in compliance
39c2b741427eedafe5054909773c2e121c078b72Mark Andrews# with the License.
39c2b741427eedafe5054909773c2e121c078b72Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
de36c606c52ad51e5abca6e42faf655937e5ed10Mark Andrews# See the License for the specific language governing permissions
23cb957a81a51a9656917ea98d0ae56b7abdcaccMark Andrews# and limitations under the License.
23cb957a81a51a9656917ea98d0ae56b7abdcaccMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
23cb957a81a51a9656917ea98d0ae56b7abdcaccMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
28d8b4118da7abed531ca09136a6d1402837d721Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
28d8b4118da7abed531ca09136a6d1402837d721Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
28d8b4118da7abed531ca09136a6d1402837d721Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
d6c0627d1e4d841eac9576427f2d4a0cf9a47e2cMark Andrews# CDDL HEADER END
5d7b81d2a49d237ff5e73fdc4bd3394a3ee29392Mark Andrews# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
72968611203d10e8a2dcee633984b455703fef7fMark Andrews# Use is subject to license terms.
8f63de30293716a22054e7db47f27e81bab545c5Mark Andrews# ident "%Z%%M% %I% %E% SMI"
8f63de30293716a22054e7db47f27e81bab545c5Mark Andrews# cmd/picl/plugins/sun4u/daktari/psvcpolicy/Makefile
c1567cb58cbf2eb816320ff49f000afafea02a85Mark Andrews# include library definitions
48b0f5ff87f0a5a138129bcd855fd72908491321Andreas GustafssonDYNFLAGS_PLAT = /usr/platform/\$$PLATFORM/lib/picl/plugins
48b0f5ff87f0a5a138129bcd855fd72908491321Andreas GustafssonDYNFLAGS_SUN4U = /usr/platform/sun4u/lib/picl/plugins
fca9cc33ad4299e58e53aa5273d805477267e27aBrian WellingtonCPPFLAGS += -I$(ROOT)/usr/platform/sun4u/include
fca9cc33ad4299e58e53aa5273d805477267e27aBrian WellingtonCPPFLAGS += -I$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcobj
84185d19c7a9ef1ac23cc6236c8773697d4efeb1Brian WellingtonLDLIBS += -L$(SRC)/lib/libpicl/$(MACH) -L$(SRC)/lib/libpicltree/$(MACH)
683f10428e292811317df38fa324f242abbf7384Mark AndrewsLDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcobj
683f10428e292811317df38fa324f242abbf7384Mark AndrewsLDLIBS += -L$(SRC)/cmd/picl/plugins/sun4u/psvc/psvcplugin
683f10428e292811317df38fa324f242abbf7384Mark AndrewsDYNFLAGS += -R$(DYNFLAGS_PLAT):$(DYNFLAGS_SUN4U):$(DYNFLAGS_COM)
5da1e589c2288dbe87002f771005a78d80a2e258Mark AndrewsLDLIBS += -lpicltree -lrt -lpsvcobj -lpsvcplugin
3e67a87fc6be516ec12afa5aa31c2c04d5a6ae17Brian Wellington @cd $(UTSBASE)/sun4u/daktari; pwd; $(MAKE) $(USR_PSM_LIB_DIR)
e9472e9f18f1c4f1279be2b3147be13a2bb731d0Mark Andrews $(RM) $(LIBLINKS); $(SYMLINK) $(DYNLIB) $(LIBLINKS)
cad61731f8e960d9d99034a2a6eaafe1069c405cMark Andrews# include library targets
90e303b114e56db5809fdd19805243457fa43cd9Olafur Gudmundsson$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR)
90e303b114e56db5809fdd19805243457fa43cd9Olafur Gudmundsson $(RM) -r $(USR_PSM_LIB_DIR)/libpsvcpolicy_psr.so; \