Makefile revision 54d34259930c76758a7e9e03732cb1e37f9a6ba9
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# CDDL HEADER START
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# The contents of this file are subject to the terms of the
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# Common Development and Distribution License (the "License").
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# You may not use this file except in compliance with the License.
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# or http://www.opensolaris.org/os/licensing.
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# See the License for the specific language governing permissions
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# and limitations under the License.
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# When distributing Covered Code, include this CDDL HEADER in each
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# If applicable, add the following below this CDDL HEADER, with the
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# fields enclosed by brackets "[]" replaced with your own identifying
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# information: Portions Copyright [yyyy] [name of copyright owner]
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# CDDL HEADER END
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd#
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndFSTYPE = nfs
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndTYPEPROG = mountd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndATTMK = $(TYPEPROG)
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndinclude ../../Makefile.fstype
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndCOMMON = $(FSLIB) nfs_sec.o sharetab.o daemon.o smfcfg.o
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndLOCAL = mountd.o netgroup.o rmtab.o nfsauth.o \
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd nfsauth_xdr.o exportlist.o hashset.o nfs_cmd.o
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndOBJS = $(LOCAL) $(COMMON)
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndSRCS = $(LOCAL:%.o=%.c) $(FSLIBSRC) ../lib/nfs_sec.c \
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd ../lib/sharetab.c ../lib/daemon.c ../lib/smfcfg.c
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndDSRC = mountd_dt.d
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndDOBJ = $(DSRC:%.d=%.o)
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndLDLIBS += -lrpcsvc -lnsl -lbsm -lsocket -ltsnet -ltsol -lnvpair -lscf -lumem
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndCPPFLAGS += -D_REENTRANT -I../lib
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndCERRWARN += -_gcc=-Wno-uninitialized
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndCERRWARN += -_gcc=-Wno-switch
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd$(TYPEPROG): $(OBJS)
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd $(COMPILE.d) -s $(DSRC) -o $(DOBJ) $(OBJS)
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd $(LINK.c) -o $@ $(DOBJ) $(OBJS) $(LDLIBS)
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd $(POST_PROCESS)
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndnfs_sec.o: ../lib/nfs_sec.c
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd $(COMPILE.c) ../lib/nfs_sec.c
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndsharetab.o: ../lib/sharetab.c
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd $(COMPILE.c) ../lib/sharetab.c
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nddaemon.o: ../lib/daemon.c
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd $(COMPILE.c) ../lib/daemon.c
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndsmfcfg.o: ../lib/smfcfg.c
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd $(COMPILE.c) ../lib/smfcfg.c
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndlint:
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd $(LINT.c) $(SRCS) $(LDLIBS)
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd
41e3d6b4e67a52c6570c0412c3e5526278cf07d7ndclean:
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd $(RM) $(OBJS) $(DOBJ)
41e3d6b4e67a52c6570c0412c3e5526278cf07d7nd