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# 2324fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2403831d35Sstevel# Use is subject to license terms. 2503831d35Sstevel# 2603831d35Sstevel 2703831d35Sstevelinclude $(SRC)/Makefile.psm 2803831d35Sstevel 2903831d35SstevelLIBRARY = libpiclfrutree.a 3003831d35SstevelVERS = .1 3103831d35Sstevel 3203831d35SstevelOBJECTS = piclfrutree.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 -I$(SRC)/uts/sun4u/serengeti 4203831d35SstevelCPPFLAGS += -I$(SRC)/uts/sun4u/serengeti 4303831d35SstevelCPPFLAGS += -I$(SRC)/uts/sun4u/lw8 4456ffda17SRichard LoweCPPFLAGS += -I$(SRC)/uts/sun4u 4556ffda17SRichard LoweCPPFLAGS += -I$(SRC)/uts/common 4603831d35Sstevel 4703831d35SstevelSRCS = $(OBJECTS:%.o=%.c) 4803831d35Sstevel 4903831d35SstevelLIBS = $(DYNLIB) 5003831d35Sstevel 5103831d35SstevelROOTLIBDIR = $(ROOT_PLAT_PLUGINDIR) 5203831d35Sstevel 5303831d35SstevelCPPFLAGS += -D_SGFRU 5403831d35SstevelCFLAGS += $(CCVERBOSE) 5503831d35SstevelDYNFLAGS += -R/usr/platform/\$$PLATFORM/lib/picl/plugins:/usr/platform/sun4u/lib/picl/plugins:/usr/lib/picl/plugins 5603831d35SstevelLDLIBS += -L$(DEVTREE_SRC_DIR) 5703831d35SstevelLDLIBS += -L$(SRC)/lib/libpicltree/$(MACH) 5803831d35SstevelLDLIBS += -L$(SRC)/cmd/picl/plugins/common/devtree 5903831d35SstevelLDLIBS += -L$(ROOT)/usr/lib/picl/plugins 60*1872d23eSToomas SoomeLDLIBS += -lpicltree -lnvpair -lkstat -ldevice -lc 6103831d35Sstevel 6203831d35Sstevel.KEEP_STATE: 6303831d35Sstevel 6403831d35SstevelSUBDIRS = 6503831d35Sstevel 6603831d35SstevelPOFILE = piclfrutree.po 6703831d35Sstevel 6803831d35Sstevelall := TARGET= all 6903831d35Sstevelinstall := TARGET= install 7003831d35Sstevelclean := TARGET= clean 7103831d35Sstevelclobber := TARGET= clobber 7203831d35Sstevel_msg := TARGET= _msg 7303831d35Sstevel 7403831d35Sstevelall: $(LIBS) $(LIBLINKS) 7503831d35Sstevel 7603831d35Sstevelinstall: $(ROOTLIBDIR) all $(ROOTLIBS) $(ROOTLINKS) 7703831d35Sstevel 7803831d35Sstevel_msg: $(MSGDOMAIN) $(POFILE) 7903831d35Sstevel $(RM) $(MSGDOMAIN)/$(POFILE) 8003831d35Sstevel $(CP) $(POFILE) $(MSGDOMAIN)/lw8_$(POFILE) 8103831d35Sstevel 8203831d35Sstevel$(MSGDOMAIN): 8303831d35Sstevel $(INS.dir) 8403831d35Sstevel 8503831d35Sstevel$(LIBLINKS): FRC 8603831d35Sstevel $(RM) $@; $(SYMLINK) $(DYNLIB) $@ 8703831d35Sstevel 8803831d35Sstevel# include library targets 8903831d35Sstevelinclude $(SRC)/lib/Makefile.targ 9003831d35Sstevelinclude $(SRC)/cmd/picl/plugins/Makefile.targ 9103831d35Sstevel 9203831d35Sstevel$(SUBDIRS): FRC 9303831d35Sstevel @cd $@; pwd; $(MAKE) $(TARGET) 9403831d35Sstevel 9503831d35SstevelFRC: 96