103831d35Sstevel# 203831d35Sstevel# CDDL HEADER START 303831d35Sstevel# 403831d35Sstevel# The contents of this file are subject to the terms of the 503831d35Sstevel# Common Development and Distribution License (the "License"). 603831d35Sstevel# You may not use this file except in compliance with the License. 703831d35Sstevel# 803831d35Sstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 903831d35Sstevel# or http://www.opensolaris.org/os/licensing. 1003831d35Sstevel# See the License for the specific language governing permissions 1103831d35Sstevel# and limitations under the License. 1203831d35Sstevel# 1303831d35Sstevel# When distributing Covered Code, include this CDDL HEADER in each 1403831d35Sstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1503831d35Sstevel# If applicable, add the following below this CDDL HEADER, with the 1603831d35Sstevel# fields enclosed by brackets "[]" replaced with your own identifying 1703831d35Sstevel# information: Portions Copyright [yyyy] [name of copyright owner] 1803831d35Sstevel# 1903831d35Sstevel# CDDL HEADER END 2003831d35Sstevel# 2103831d35Sstevel 2203831d35Sstevel# 23*24fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2403831d35Sstevel# Use is subject to license terms. 2503831d35Sstevel# 2603831d35Sstevel 2703831d35Sstevelinclude $(SRC)/Makefile.psm 2803831d35Sstevel 2903831d35SstevelLIBRARY= libfruaccess.a 3003831d35SstevelVERS= .1 3103831d35Sstevel 3203831d35SstevelOBJECTS= libfruaccess.o 3303831d35Sstevel 3403831d35Sstevel# include library definitions 3503831d35Sstevelinclude $(SRC)/lib/Makefile.lib 3603831d35Sstevel 3703831d35SstevelROOT_PLATFORM = $(USR_PLAT_DIR)/SUNW,Netra-T12 3803831d35Sstevel 3903831d35Sstevelinclude $(SRC)/cmd/picl/plugins/Makefile.com 4003831d35Sstevel 4103831d35SstevelCPPFLAGS += -D_REENTRANT 4203831d35SstevelCPPFLAGS += -I$(SRC)/uts/sun4u/ -I$(SRC)/uts/common/ 4303831d35Sstevel 4403831d35SstevelSRCS= $(OBJECTS:%.o=%.c) 4503831d35Sstevel 4603831d35SstevelLIBS = $(DYNLIB) 4703831d35Sstevel 4803831d35SstevelROOTLIBDIR = $(ROOT_PLAT_LIBDIR) 4903831d35Sstevel 5003831d35SstevelCFLAGS += $(CCVERBOSE) 5103831d35SstevelCPPFLAGS += -I$(SRC)/uts/sun4u/lw8 5203831d35SstevelCPPFLAGS += -I$(SRC)/cmd/picl/plugins/sun4u/lib/fruaccess 5303831d35SstevelDYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib/picl/plugins:/usr/lib/picl/plugins 5403831d35SstevelLDLIBS += -L$(SRC)/lib/libptree/$(MACH) 5503831d35SstevelLDLIBS += -L$(ROOT)/usr/lib/picl/plugins 5603831d35SstevelLDLIBS += -lc -lpicltree 5703831d35Sstevel 5803831d35Sstevel.KEEP_STATE: 5903831d35Sstevel 6003831d35SstevelSUBDIRS= 6103831d35Sstevel 6203831d35Sstevelall := TARGET= all 6303831d35Sstevelinstall := TARGET= install 6403831d35Sstevelclean := TARGET= clean 6503831d35Sstevelclobber := TARGET= clobber 6603831d35Sstevel_msg := TARGET= _msg 6703831d35Sstevel 6803831d35SstevelPOFILE= libfruaccess.po 6903831d35Sstevel 7003831d35Sstevelall: $(LIBS) $(LIBLINKS) 7103831d35Sstevel 7203831d35Sstevelinstall: $(ROOTLIBDIR) all $(ROOTLIBS) $(ROOTLINKS) 7303831d35Sstevel 7403831d35Sstevel_msg: $(MSGDOMAIN) $(POFILE) 7503831d35Sstevel $(RM) $(MSGDOMAIN)/$(POFILE) 7603831d35Sstevel $(CP) $(POFILE) $(MSGDOMAIN)/lw8_$(POFILE) 7703831d35Sstevel 7803831d35Sstevel$(MSGDOMAIN): 7903831d35Sstevel $(INS.dir) 8003831d35Sstevel 8103831d35Sstevel$(LIBLINKS): FRC 8203831d35Sstevel rm -f $(LIBLINKS); ln -s $(DYNLIB) $(LIBLINKS) 8303831d35Sstevel 8403831d35Sstevel# include library targets 8503831d35Sstevelinclude $(SRC)/cmd/picl/plugins/Makefile.targ 8603831d35Sstevelinclude $(SRC)/lib/Makefile.targ 8703831d35Sstevel 8803831d35Sstevellint : 8903831d35Sstevel 9003831d35Sstevel$(SUBDIRS): FRC 9103831d35Sstevel @cd $@; pwd; $(MAKE) $(TARGET) 9203831d35Sstevel 9303831d35SstevelFRC: 94