xref: /illumos-gate/usr/src/lib/libnwam/Makefile (revision b00044a2eb43864b8718585d21949611a2ee59ef)
1*b00044a2SJames Carlson#
2*b00044a2SJames Carlson# CDDL HEADER START
3*b00044a2SJames Carlson#
4*b00044a2SJames Carlson# The contents of this file are subject to the terms of the
5*b00044a2SJames Carlson# Common Development and Distribution License (the "License").
6*b00044a2SJames Carlson# You may not use this file except in compliance with the License.
7*b00044a2SJames Carlson#
8*b00044a2SJames Carlson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*b00044a2SJames Carlson# or http://www.opensolaris.org/os/licensing.
10*b00044a2SJames Carlson# See the License for the specific language governing permissions
11*b00044a2SJames Carlson# and limitations under the License.
12*b00044a2SJames Carlson#
13*b00044a2SJames Carlson# When distributing Covered Code, include this CDDL HEADER in each
14*b00044a2SJames Carlson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*b00044a2SJames Carlson# If applicable, add the following below this CDDL HEADER, with the
16*b00044a2SJames Carlson# fields enclosed by brackets "[]" replaced with your own identifying
17*b00044a2SJames Carlson# information: Portions Copyright [yyyy] [name of copyright owner]
18*b00044a2SJames Carlson#
19*b00044a2SJames Carlson# CDDL HEADER END
20*b00044a2SJames Carlson#
21*b00044a2SJames Carlson#
22*b00044a2SJames Carlson# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23*b00044a2SJames Carlson# Use is subject to license terms.
24*b00044a2SJames Carlson#
25*b00044a2SJames Carlson
26*b00044a2SJames Carlsoninclude $(SRC)/lib/Makefile.lib
27*b00044a2SJames Carlson
28*b00044a2SJames CarlsonHDRS =		libnwam.h
29*b00044a2SJames CarlsonHDRDIR =	common
30*b00044a2SJames CarlsonSUBDIRS =	$(MACH)
31*b00044a2SJames Carlson
32*b00044a2SJames Carlsonall :=		TARGET = all
33*b00044a2SJames Carlsonclean :=	TARGET = clean
34*b00044a2SJames Carlsonclobber :=	TARGET = clobber
35*b00044a2SJames Carlsoninstall :=	TARGET = install
36*b00044a2SJames Carlsonlint :=		TARGET = lint
37*b00044a2SJames Carlson
38*b00044a2SJames Carlson.KEEP_STATE:
39*b00044a2SJames Carlson
40*b00044a2SJames Carlsonall clean clobber install lint: $(SUBDIRS)
41*b00044a2SJames Carlson
42*b00044a2SJames Carlsoninstall_h:	$(ROOTHDRS)
43*b00044a2SJames Carlson
44*b00044a2SJames Carlsoncheck:
45*b00044a2SJames Carlson
46*b00044a2SJames Carlson$(SUBDIRS): FRC
47*b00044a2SJames Carlson	@cd $@; pwd; $(MAKE) $(TARGET)
48*b00044a2SJames Carlson
49*b00044a2SJames CarlsonFRC:
50*b00044a2SJames Carlson
51*b00044a2SJames Carlsoninclude $(SRC)/Makefile.msg.targ
52*b00044a2SJames Carlsoninclude $(SRC)/lib/Makefile.targ
53