Makefile revision 3afe87ebb25691cb6d158edaa34a6fb9b703a691
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# Use is subject to license terms.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# BSD 3 Clause License
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# Copyright (c) 2007, The Storage Networking Industry Association.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# Redistribution and use in source and binary forms, with or without
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# modification, are permitted provided that the following conditions
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# - Redistributions of source code must retain the above copyright
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# notice, this list of conditions and the following disclaimer.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# - Redistributions in binary form must reproduce the above copyright
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# notice, this list of conditions and the following disclaimer in
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# the documentation and/or other materials provided with the
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# distribution.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# - Neither the name of The Storage Networking Industry Association (SNIA)
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# nor the names of its contributors may be used to endorse or promote
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# products derived from this software without specific prior written
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# permission.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# POSSIBILITY OF SUCH DAMAGE.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# lint does not like unused _umem_*_init
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# function argument declared inconsistently
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# value type used inconsistently
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# value type declared inconsistently
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync# argument used inconsistently
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncLDLIBS += -lsocket -lnsl -lzfs -lsec -lndmp -lmd5 -lnvpair -lumem -lbsm -lgen -lcmdutils
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync $(NDMP_OBJ:%.o=$(NDMP_DIR)/%.o) $(TLM_OBJ:%.o=$(TLM_DIR)/%.o)
TLM_OBJ = \
$(ROOTNDMPDDIR):
$(INS.dir)
$(ROOTNDMPDDIR)/%: %
$(INS.file)
$(POST_PROCESS)
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<