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