xref: /onnv-gate/usr/src/cmd/fs.d/nfs/rp_basic/Makefile.com (revision 11291:80bdcd03e626)
1*11291SRobert.Thurlow@Sun.COM#
2*11291SRobert.Thurlow@Sun.COM# CDDL HEADER START
3*11291SRobert.Thurlow@Sun.COM#
4*11291SRobert.Thurlow@Sun.COM# The contents of this file are subject to the terms of the
5*11291SRobert.Thurlow@Sun.COM# Common Development and Distribution License (the "License").
6*11291SRobert.Thurlow@Sun.COM# You may not use this file except in compliance with the License.
7*11291SRobert.Thurlow@Sun.COM#
8*11291SRobert.Thurlow@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*11291SRobert.Thurlow@Sun.COM# or http://www.opensolaris.org/os/licensing.
10*11291SRobert.Thurlow@Sun.COM# See the License for the specific language governing permissions
11*11291SRobert.Thurlow@Sun.COM# and limitations under the License.
12*11291SRobert.Thurlow@Sun.COM#
13*11291SRobert.Thurlow@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each
14*11291SRobert.Thurlow@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*11291SRobert.Thurlow@Sun.COM# If applicable, add the following below this CDDL HEADER, with the
16*11291SRobert.Thurlow@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying
17*11291SRobert.Thurlow@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner]
18*11291SRobert.Thurlow@Sun.COM#
19*11291SRobert.Thurlow@Sun.COM# CDDL HEADER END
20*11291SRobert.Thurlow@Sun.COM#
21*11291SRobert.Thurlow@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
22*11291SRobert.Thurlow@Sun.COM# Use is subject to license terms.
23*11291SRobert.Thurlow@Sun.COM#
24*11291SRobert.Thurlow@Sun.COM
25*11291SRobert.Thurlow@Sun.COMLIBRARY =	libnfs_basic.a
26*11291SRobert.Thurlow@Sun.COMVERS =		.1
27*11291SRobert.Thurlow@Sun.COM
28*11291SRobert.Thurlow@Sun.COMLIBOBJS =	libnfs_basic.o
29*11291SRobert.Thurlow@Sun.COMCOMMON =	ref_subr.o
30*11291SRobert.Thurlow@Sun.COMOBJECTS =	$(LIBOBJS) $(COMMON)
31*11291SRobert.Thurlow@Sun.COM
32*11291SRobert.Thurlow@Sun.COMinclude $(SRC)/lib/Makefile.lib
33*11291SRobert.Thurlow@Sun.COM
34*11291SRobert.Thurlow@Sun.COMlintcheck := SRCS = ../libnfs_basic.c ../../lib/ref_subr.c
35*11291SRobert.Thurlow@Sun.COM
36*11291SRobert.Thurlow@Sun.COMROOTLIBDIR =	$(ROOT)/usr/lib/reparse
37*11291SRobert.Thurlow@Sun.COMROOTLIBDIR64 =	$(ROOT)/usr/lib/reparse/$(MACH64)
38*11291SRobert.Thurlow@Sun.COM
39*11291SRobert.Thurlow@Sun.COMLIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
40*11291SRobert.Thurlow@Sun.COM
41*11291SRobert.Thurlow@Sun.COMLIBS =		$(DYNLIB)
42*11291SRobert.Thurlow@Sun.COMLDLIBS +=	-lc -lnsl
43*11291SRobert.Thurlow@Sun.COM
44*11291SRobert.Thurlow@Sun.COMCFLAGS +=	$(CCVERBOSE)
45*11291SRobert.Thurlow@Sun.COMCPPFLAGS +=	-D_REENTRANT -I$(SRC)/cmd/fs.d/nfs/lib
46*11291SRobert.Thurlow@Sun.COM
47*11291SRobert.Thurlow@Sun.COM.KEEP_STATE:
48*11291SRobert.Thurlow@Sun.COM
49*11291SRobert.Thurlow@Sun.COMall: $(LIBS)
50*11291SRobert.Thurlow@Sun.COM
51*11291SRobert.Thurlow@Sun.COMinstall: $(ROOTLIBDIR) $(ROOTLIBDIR64) all
52*11291SRobert.Thurlow@Sun.COM
53*11291SRobert.Thurlow@Sun.COMlint: lintcheck
54*11291SRobert.Thurlow@Sun.COM
55*11291SRobert.Thurlow@Sun.COMpics/ref_subr.o:     ../../lib/ref_subr.c
56*11291SRobert.Thurlow@Sun.COM	$(COMPILE.c) -o pics/ref_subr.o ../../lib/ref_subr.c
57*11291SRobert.Thurlow@Sun.COM	$(POST_PROCESS_O)
58*11291SRobert.Thurlow@Sun.COM
59*11291SRobert.Thurlow@Sun.COM$(ROOTLIBDIR):
60*11291SRobert.Thurlow@Sun.COM	$(INS.dir)
61*11291SRobert.Thurlow@Sun.COM
62*11291SRobert.Thurlow@Sun.COM$(ROOTLIBDIR64):
63*11291SRobert.Thurlow@Sun.COM	$(INS.dir)
64*11291SRobert.Thurlow@Sun.COM
65*11291SRobert.Thurlow@Sun.COMinclude $(SRC)/lib/Makefile.targ
66