xref: /titanic_44/usr/src/lib/libndmp/Makefile (revision 2654012f83cec5dc15b61dfe3e4a4915f186e7a6)
1*2654012fSReza Sabdar#
2*2654012fSReza Sabdar# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
3*2654012fSReza Sabdar# Use is subject to license terms.
4*2654012fSReza Sabdar#
5*2654012fSReza Sabdar
6*2654012fSReza Sabdar#
7*2654012fSReza Sabdar# BSD 3 Clause License
8*2654012fSReza Sabdar#
9*2654012fSReza Sabdar# Copyright (c) 2007, The Storage Networking Industry Association.
10*2654012fSReza Sabdar#
11*2654012fSReza Sabdar# Redistribution and use in source and binary forms, with or without
12*2654012fSReza Sabdar# modification, are permitted provided that the following conditions
13*2654012fSReza Sabdar# are met:
14*2654012fSReza Sabdar# 	- Redistributions of source code must retain the above copyright
15*2654012fSReza Sabdar#	  notice, this list of conditions and the following disclaimer.
16*2654012fSReza Sabdar#
17*2654012fSReza Sabdar# 	- Redistributions in binary form must reproduce the above copyright
18*2654012fSReza Sabdar#	  notice, this list of conditions and the following disclaimer in
19*2654012fSReza Sabdar#	  the documentation and/or other materials provided with the
20*2654012fSReza Sabdar#	  distribution.
21*2654012fSReza Sabdar#
22*2654012fSReza Sabdar#	- Neither the name of The Storage Networking Industry Association (SNIA)
23*2654012fSReza Sabdar#	  nor the names of its contributors may be used to endorse or promote
24*2654012fSReza Sabdar#	  products derived from this software without specific prior written
25*2654012fSReza Sabdar#	  permission.
26*2654012fSReza Sabdar#
27*2654012fSReza Sabdar# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
28*2654012fSReza Sabdar# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29*2654012fSReza Sabdar# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30*2654012fSReza Sabdar# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
31*2654012fSReza Sabdar# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
32*2654012fSReza Sabdar# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
33*2654012fSReza Sabdar# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34*2654012fSReza Sabdar# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
35*2654012fSReza Sabdar# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36*2654012fSReza Sabdar# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37*2654012fSReza Sabdar# POSSIBILITY OF SUCH DAMAGE.
38*2654012fSReza Sabdar#
39*2654012fSReza Sabdar
40*2654012fSReza Sabdarinclude		../Makefile.lib
41*2654012fSReza Sabdar
42*2654012fSReza SabdarHDRS=		libndmp.h
43*2654012fSReza Sabdar
44*2654012fSReza SabdarHDRDIR=		common
45*2654012fSReza Sabdar
46*2654012fSReza SabdarSUBDIRS=	$(MACH)
47*2654012fSReza Sabdar$(BUILD64)SUBDIRS += $(MACH64)
48*2654012fSReza Sabdar
49*2654012fSReza Sabdarall :=		TARGET= all
50*2654012fSReza Sabdarclean :=	TARGET= clean
51*2654012fSReza Sabdarclobber :=	TARGET= clobber
52*2654012fSReza Sabdarinstall :=	TARGET= install
53*2654012fSReza Sabdarlint :=		TARGET= lint
54*2654012fSReza Sabdar
55*2654012fSReza Sabdar.KEEP_STATE:
56*2654012fSReza Sabdar
57*2654012fSReza Sabdarall clean clobber install lint: $(SUBDIRS)
58*2654012fSReza Sabdar
59*2654012fSReza Sabdarinstall_h: $(ROOTHDRS)
60*2654012fSReza Sabdarcheck: $(CHECKHDRS)
61*2654012fSReza Sabdar$(SUBDIRS): FRC
62*2654012fSReza Sabdar	@cd $@; pwd; $(MAKE) $(TARGET)
63*2654012fSReza Sabdar
64*2654012fSReza SabdarFRC:
65*2654012fSReza Sabdar
66*2654012fSReza Sabdarinclude ../Makefile.targ
67*2654012fSReza Sabdarinclude ../../Makefile.msg.targ
68*2654012fSReza Sabdar
69