Makefile.com revision 7014882c6a3672fd0e5d60200af8643ae53c5928
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf#
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# CDDL HEADER START
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf#
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# The contents of this file are subject to the terms of the
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# Common Development and Distribution License (the "License").
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# You may not use this file except in compliance with the License.
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf#
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# or http://www.opensolaris.org/os/licensing.
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# See the License for the specific language governing permissions
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# and limitations under the License.
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf#
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# When distributing Covered Code, include this CDDL HEADER in each
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# If applicable, add the following below this CDDL HEADER, with the
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# fields enclosed by brackets "[]" replaced with your own identifying
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# information: Portions Copyright [yyyy] [name of copyright owner]
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf#
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# CDDL HEADER END
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf#
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf#
f808c858fa61e7769218966759510a8b1190dfcfraf# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# Use is subject to license terms.
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf#
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfLIBRARY= sata.a
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfVERS= .1
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfOBJECTS= cfga_sata.o cfga_rcm.o
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# include library definitions
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfinclude ../../../Makefile.lib
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
f808c858fa61e7769218966759510a8b1190dfcfrafSRCDIR = ../common
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfROOTLIBDIR= $(ROOT)/usr/lib/cfgadm
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfROOTLIBDIR64= $(ROOTLIBDIR)/$(MACH64)
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfLIBS= $(DYNLIB)
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfLINTFLAGS += -DDEBUG
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfLINTFLAGS64 += -DDEBUG
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfCFLAGS += $(CCVERBOSE)
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfCFLAGS64 += $(CCVERBOSE)
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-parentheses
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-char-subscripts
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-uninitialized
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfLDLIBS += -lc -ldevice -ldevinfo -lrcm -lnvpair
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf.KEEP_STATE:
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfall: $(LIBS)
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlflint: lintcheck
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# Install rules
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf$(ROOTLIBDIR)/%: % $(ROOTLIBDIR)
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf $(INS.file)
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf$(ROOTLIBDIR64)/%: % $(ROOTLIBDIR64)
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf $(INS.file)
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf$(ROOTLIBDIR) $(ROOTLIBDIR64):
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf $(INS.dir)
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf# include library targets
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfinclude ../../../Makefile.targ
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlfobjs/%.o pics/%.o: ../common/%.c
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf $(COMPILE.c) -o $@ $<
66f9d5cb3cc0652e2d9d1366fb950efbe4ca2f24mlf $(POST_PROCESS_O)