1*11015SSundeep.Panicker@Sun.COM# 2*11015SSundeep.Panicker@Sun.COM# CDDL HEADER START 3*11015SSundeep.Panicker@Sun.COM# 4*11015SSundeep.Panicker@Sun.COM# The contents of this file are subject to the terms of the 5*11015SSundeep.Panicker@Sun.COM# Common Development and Distribution License (the "License"). 6*11015SSundeep.Panicker@Sun.COM# You may not use this file except in compliance with the License. 7*11015SSundeep.Panicker@Sun.COM# 8*11015SSundeep.Panicker@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*11015SSundeep.Panicker@Sun.COM# or http://www.opensolaris.org/os/licensing. 10*11015SSundeep.Panicker@Sun.COM# See the License for the specific language governing permissions 11*11015SSundeep.Panicker@Sun.COM# and limitations under the License. 12*11015SSundeep.Panicker@Sun.COM# 13*11015SSundeep.Panicker@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each 14*11015SSundeep.Panicker@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*11015SSundeep.Panicker@Sun.COM# If applicable, add the following below this CDDL HEADER, with the 16*11015SSundeep.Panicker@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying 17*11015SSundeep.Panicker@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner] 18*11015SSundeep.Panicker@Sun.COM# 19*11015SSundeep.Panicker@Sun.COM# CDDL HEADER END 20*11015SSundeep.Panicker@Sun.COM# 21*11015SSundeep.Panicker@Sun.COM# 22*11015SSundeep.Panicker@Sun.COM# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23*11015SSundeep.Panicker@Sun.COM# Use is subject to license terms. 24*11015SSundeep.Panicker@Sun.COM# 25*11015SSundeep.Panicker@Sun.COM 26*11015SSundeep.Panicker@Sun.COMLIBRARY= libnvfru.a 27*11015SSundeep.Panicker@Sun.COMVERS= .1 28*11015SSundeep.Panicker@Sun.COM 29*11015SSundeep.Panicker@Sun.COMOBJECTS= nvfru.o 30*11015SSundeep.Panicker@Sun.COM 31*11015SSundeep.Panicker@Sun.COM# include library definitions 32*11015SSundeep.Panicker@Sun.COMinclude $(SRC)/lib/Makefile.lib 33*11015SSundeep.Panicker@Sun.COM 34*11015SSundeep.Panicker@Sun.COMCLOBBERFILES += $(LIBLINKS) 35*11015SSundeep.Panicker@Sun.COM 36*11015SSundeep.Panicker@Sun.COMLIBS = $(DYNLIB) 37*11015SSundeep.Panicker@Sun.COM 38*11015SSundeep.Panicker@Sun.COMLINTFLAGS = -uxn 39*11015SSundeep.Panicker@Sun.COMLINTFLAGS64 = $(LINTFLAGS) -m64 40*11015SSundeep.Panicker@Sun.COMLINTOUT= lint.out 41*11015SSundeep.Panicker@Sun.COMLINTSRC = $(LINTLIB:%.ln=%) 42*11015SSundeep.Panicker@Sun.COMROOTLINTDIR = $(ROOTLIBDIR) 43*11015SSundeep.Panicker@Sun.COMROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%) 44*11015SSundeep.Panicker@Sun.COM 45*11015SSundeep.Panicker@Sun.COMCLEANFILES= $(LINTOUT) 46*11015SSundeep.Panicker@Sun.COM 47*11015SSundeep.Panicker@Sun.COMCPPFLAGS += -I.. \ 48*11015SSundeep.Panicker@Sun.COM -I$(SRC)/lib/libfru/include \ 49*11015SSundeep.Panicker@Sun.COM -I$(SRC)/lib/libfruutils 50*11015SSundeep.Panicker@Sun.COMCPPFLAGS += -D_REENTRANT 51*11015SSundeep.Panicker@Sun.COMCFLAGS += $(CCVERBOSE) 52*11015SSundeep.Panicker@Sun.COM 53*11015SSundeep.Panicker@Sun.COM$(LINTLIB) := LINTFLAGS = -nvx -I.. 54*11015SSundeep.Panicker@Sun.COM$(LINTLIB) := LINTFLAGS64 = -nvx -m64 -I.. 55*11015SSundeep.Panicker@Sun.COM 56*11015SSundeep.Panicker@Sun.COMXGETFLAGS += -a 57*11015SSundeep.Panicker@Sun.COM 58*11015SSundeep.Panicker@Sun.COM.KEEP_STATE: 59*11015SSundeep.Panicker@Sun.COM 60*11015SSundeep.Panicker@Sun.COMall : $(LIBS) 61*11015SSundeep.Panicker@Sun.COM 62*11015SSundeep.Panicker@Sun.COMlint : lintcheck 63*11015SSundeep.Panicker@Sun.COM 64*11015SSundeep.Panicker@Sun.COM# include library targets 65*11015SSundeep.Panicker@Sun.COMinclude $(SRC)/lib/Makefile.targ 66*11015SSundeep.Panicker@Sun.COM 67*11015SSundeep.Panicker@Sun.COMpics/%.o: ../%.c 68*11015SSundeep.Panicker@Sun.COM $(COMPILE.c) -o $@ $< 69*11015SSundeep.Panicker@Sun.COM $(POST_PROCESS_O) 70*11015SSundeep.Panicker@Sun.COM 71*11015SSundeep.Panicker@Sun.COM$(ROOTLINTDIR)/%: ../% 72*11015SSundeep.Panicker@Sun.COM $(INS.file) 73