xref: /illumos-gate/usr/src/lib/libndmp/Makefile (revision 241c90a06e8d1708235651863df515a2d522a03a)
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 Sabdar
402654012fSReza Sabdarinclude		../Makefile.lib
412654012fSReza Sabdar
422654012fSReza SabdarHDRS=		libndmp.h
432654012fSReza Sabdar
442654012fSReza SabdarHDRDIR=		common
452654012fSReza Sabdar
462654012fSReza SabdarSUBDIRS=	$(MACH)
472654012fSReza Sabdar$(BUILD64)SUBDIRS += $(MACH64)
482654012fSReza Sabdar
492654012fSReza Sabdarall :=		TARGET= all
502654012fSReza Sabdarclean :=	TARGET= clean
512654012fSReza Sabdarclobber :=	TARGET= clobber
522654012fSReza Sabdarinstall :=	TARGET= install
532654012fSReza Sabdar
542654012fSReza Sabdar.KEEP_STATE:
552654012fSReza Sabdar
56*241c90a0SRichard Loweall clean clobber install: $(SUBDIRS)
572654012fSReza Sabdar
582654012fSReza Sabdarinstall_h: $(ROOTHDRS)
592654012fSReza Sabdarcheck: $(CHECKHDRS)
602654012fSReza Sabdar$(SUBDIRS): FRC
612654012fSReza Sabdar	@cd $@; pwd; $(MAKE) $(TARGET)
622654012fSReza Sabdar
632654012fSReza SabdarFRC:
642654012fSReza Sabdar
652654012fSReza Sabdarinclude ../Makefile.targ
662654012fSReza Sabdarinclude ../../Makefile.msg.targ
672654012fSReza Sabdar
68