Makefile revision dd51520e127b452179a2ce4ea3bd8dee949f9afe
2ronwalf#
2ronwalf# CDDL HEADER START
2ronwalf#
2ronwalf# The contents of this file are subject to the terms of the
2ronwalf# Common Development and Distribution License (the "License").
2ronwalf# You may not use this file except in compliance with the License.
2ronwalf#
2ronwalf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2ronwalf# or http://www.opensolaris.org/os/licensing.
2ronwalf# See the License for the specific language governing permissions
2ronwalf# and limitations under the License.
2ronwalf#
2ronwalf# When distributing Covered Code, include this CDDL HEADER in each
2ronwalf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2ronwalf# If applicable, add the following below this CDDL HEADER, with the
2ronwalf# fields enclosed by brackets "[]" replaced with your own identifying
2ronwalf# information: Portions Copyright [yyyy] [name of copyright owner]
2ronwalf#
2ronwalf# CDDL HEADER END
2ronwalf#
2ronwalf#
2ronwalf# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
2ronwalf#
2ronwalf
2ronwalfFSTYPE = nfs
2ronwalfTYPEPROG = mountd
2ronwalfATTMK = $(TYPEPROG)
2ronwalf
2ronwalfinclude ../../Makefile.fstype
2ronwalf
2ronwalfCOMMON = $(FSLIB) nfs_sec.o sharetab.o daemon.o smfcfg.o
2ronwalfLOCAL = mountd.o netgroup.o rmtab.o nfsauth.o \
2ronwalf nfsauth_xdr.o exportlist.o hashset.o nfs_cmd.o
2ronwalfOBJS = $(LOCAL) $(COMMON)
2ronwalfSRCS = $(LOCAL:%.o=%.c) $(FSLIBSRC) ../lib/nfs_sec.c \
2ronwalf ../lib/sharetab.c ../lib/daemon.c ../lib/smfcfg.c
2ronwalfDSRC = mountd_dt.d
2ronwalfDOBJ = $(DSRC:%.d=%.o)
2ronwalfLDLIBS += -lrpcsvc -lnsl -lbsm -lsocket -ltsnet -ltsol -lnvpair -lscf
2ronwalfCPPFLAGS += -D_REENTRANT -I../lib
2ronwalf
2ronwalf$(TYPEPROG): $(OBJS)
2ronwalf $(COMPILE.d) -s $(DSRC) -o $(DOBJ) $(OBJS)
2ronwalf $(LINK.c) -o $@ $(DOBJ) $(OBJS) $(LDLIBS)
2ronwalf $(POST_PROCESS)
2ronwalf
2ronwalfnfs_sec.o: ../lib/nfs_sec.c
2ronwalf $(COMPILE.c) ../lib/nfs_sec.c
2ronwalf
2ronwalfsharetab.o: ../lib/sharetab.c
2ronwalf $(COMPILE.c) ../lib/sharetab.c
2ronwalf
2ronwalfdaemon.o: ../lib/daemon.c
2ronwalf $(COMPILE.c) ../lib/daemon.c
2ronwalf
2ronwalfsmfcfg.o: ../lib/smfcfg.c
2ronwalf $(COMPILE.c) ../lib/smfcfg.c
2ronwalf
2ronwalflint:
2ronwalf $(LINT.c) $(SRCS) $(LDLIBS)
2ronwalf
2ronwalfclean:
2ronwalf $(RM) $(OBJS) $(DOBJ)
2ronwalf