12654012fSReza Sabdar# 22654012fSReza Sabdar# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 32654012fSReza Sabdar# Use is subject to license terms. 42654012fSReza Sabdar# 52654012fSReza Sabdar 62654012fSReza Sabdar# 72654012fSReza Sabdar# BSD 3 Clause License 82654012fSReza Sabdar# 92654012fSReza Sabdar# Copyright (c) 2007, The Storage Networking Industry Association. 102654012fSReza Sabdar# 112654012fSReza Sabdar# Redistribution and use in source and binary forms, with or without 122654012fSReza Sabdar# modification, are permitted provided that the following conditions 132654012fSReza Sabdar# are met: 142654012fSReza Sabdar# - Redistributions of source code must retain the above copyright 152654012fSReza Sabdar# notice, this list of conditions and the following disclaimer. 162654012fSReza Sabdar# 172654012fSReza Sabdar# - Redistributions in binary form must reproduce the above copyright 182654012fSReza Sabdar# notice, this list of conditions and the following disclaimer in 192654012fSReza Sabdar# the documentation and/or other materials provided with the 202654012fSReza Sabdar# distribution. 212654012fSReza Sabdar# 222654012fSReza Sabdar# - Neither the name of The Storage Networking Industry Association (SNIA) 232654012fSReza Sabdar# nor the names of its contributors may be used to endorse or promote 242654012fSReza Sabdar# products derived from this software without specific prior written 252654012fSReza Sabdar# permission. 262654012fSReza Sabdar# 272654012fSReza Sabdar# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 282654012fSReza Sabdar# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 292654012fSReza Sabdar# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 302654012fSReza Sabdar# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 312654012fSReza Sabdar# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 322654012fSReza Sabdar# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 332654012fSReza Sabdar# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 342654012fSReza Sabdar# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 352654012fSReza Sabdar# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 362654012fSReza Sabdar# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 372654012fSReza Sabdar# POSSIBILITY OF SUCH DAMAGE. 382654012fSReza Sabdar# 392654012fSReza SabdarLIBRARY= libndmp.a 402654012fSReza SabdarVERS= .1 412654012fSReza SabdarOBJECTS= libndmp.o libndmp_error.o libndmp_door_data.o libndmp_prop.o libndmp_base64.o 422654012fSReza Sabdar 432654012fSReza Sabdarinclude ../../Makefile.lib 442654012fSReza Sabdar 452654012fSReza SabdarSRCDIR = ../common 462654012fSReza SabdarINCS += -I$(SRCDIR) 472654012fSReza SabdarINCS += -I$(SRC)/cmd/ndmpd/include 482654012fSReza Sabdar 492654012fSReza SabdarC99MODE= -xc99=%all 502654012fSReza SabdarC99LMODE= -Xc99=%all 512654012fSReza SabdarLIBS= $(DYNLIB) $(LINTLIB) 522654012fSReza SabdarLDLIBS += -lc -lscf 532654012fSReza SabdarCPPFLAGS += $(INCS) -D_REENTRANT 542654012fSReza Sabdar 55*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-char-subscripts 56*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 57*7014882cSRichard Lowe 582654012fSReza SabdarSRCS= $(OBJECTS:%.o=$(SRCDIR)/%.c) 592654012fSReza Sabdar$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC) 602654012fSReza Sabdar 612654012fSReza Sabdar.KEEP_STATE: 622654012fSReza Sabdar 632654012fSReza Sabdarall: $(LIBS) 642654012fSReza Sabdar 652654012fSReza Sabdarlint: lintcheck 662654012fSReza Sabdar 672654012fSReza Sabdarinclude ../../Makefile.targ 68